Function at 0x4520b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5957dc
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x611e60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x174], ecx
push str.LoadDomainFile
push 1
push 0x3d5
push 0x59fcd0
push str.CDuiFrameWnd::LoadDomainFile
call fcn.00493e90
add esp, 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0xa
mov ebx, eax
push 0x6a
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0xfe
mov esi, eax
mov byte [ebp - 0x110], 0
lea eax, [ebp - 0x10f]
push 0
push eax
call fcn.00558cf0
push esi
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.00557660
mov esi, esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [ebp - 0x110], 0
jne 0x45217c
xor ecx, ecx
jmp 0x45218e
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x452185
sub ecx, edx
push ecx
lea eax, [ebp - 0x110]
mov ecx, esi
push eax
call fcn.00422c20
lea eax, [ebp - 0x170]
push eax
call fcn.00441a20
add esp, 0x1c
mov edx, eax
cmp dword [edx + 0x14], 8
mov dword [ebp - 4], 0
jb 0x4521bd
mov edx, dword [edx]
xor eax, eax
mov dword [ebp - 0x12c], 7
mov dword [ebp - 0x130], 0
mov word [ebp - 0x140], ax
cmp word [edx], ax
jne 0x4521e3
xor ecx, ecx
jmp 0x4521ff
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x4521f0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4521f0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x140]
call fcn.00422430
cmp dword [ebp - 0x15c], 8
mov byte [ebp - 4], 2
jb 0x452227
push dword [ebp - 0x170]
call fcn.00556a60
add esp, 4
xor eax, eax
mov dword [ebp - 0x15c], 7
push eax
push 0x5f2ad0
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x160], 0
mov word [ebp - 0x170], ax
mov dword [ebp - 0x144], 7
mov dword [ebp - 0x148], eax
mov word [ebp - 0x158], ax
call fcn.00422430
push 2
xor eax, eax
mov byte [ebp - 4], 3
push 0x5a0864
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x114], 7
mov dword [ebp - 0x118], 0
mov word [ebp - 0x128], ax
call fcn.00422430
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.00441a10
add esp, 0xc
cmp dword [ebp - 0x114], 8
jb 0x4522d7
push dword [ebp - 0x128]
call fcn.00556a60
add esp, 4
xor eax, eax
mov dword [ebp - 0x114], 7
cmp dword [ebp - 0x144], 8
mov dword [ebp - 0x118], 0
mov word [ebp - 0x128], ax
mov byte [ebp - 4], 2
jb 0x45230f
push dword [ebp - 0x158]
call fcn.00556a60
add esp, 4
mov ecx, dword [ebp - 0x174]
lea eax, [ebp - 0x140]
add ecx, 0x72c
cmp ecx, eax
je 0x45232f
push 0xffffffffffffffff
push 0
push eax
call fcn.004220c0
lea eax, [ebp - 0x110]
push eax
push str.Domain:_s
push 1
push 0x3e0
push 0x59fcd0
push str.CDuiFrameWnd::LoadDomainFile
call fcn.00493e90
add esp, 0x18
cmp dword [ebp - 0x12c], 8
jb 0x45236b
push dword [ebp - 0x140]
call fcn.00556a60
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005571f4
mov esp, ebp
pop ebp
ret