Function at 0x454510
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x593bac
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x60fe70]
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 0x59dcc0
push str.CDuiFrameWnd::LoadDomainFile
call fcn.004962c0
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.00557390
push esi
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.00555d00
mov esi, esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [ebp - 0x110], 0
jne 0x4545dc
xor ecx, ecx
jmp 0x4545ee
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4545e5
sub ecx, edx
push ecx
lea eax, [ebp - 0x110]
mov ecx, esi
push eax
call fcn.004227c0
lea eax, [ebp - 0x170]
push eax
call fcn.00444d00
add esp, 0x1c
mov edx, eax
cmp dword [edx + 0x14], 8
mov dword [ebp - 4], 0
jb 0x45461d
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 0x454643
xor ecx, ecx
jmp 0x45465f
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x454650
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x454650
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x140]
call fcn.00421fd0
cmp dword [ebp - 0x15c], 8
mov byte [ebp - 4], 2
jb 0x454687
push dword [ebp - 0x170]
call fcn.00481ffe
add esp, 4
xor eax, eax
mov dword [ebp - 0x15c], 7
push eax
push 0x5f0a28
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.00421fd0
push 2
xor eax, eax
mov byte [ebp - 4], 3
push 0x59e854
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x114], 7
mov dword [ebp - 0x118], 0
mov word [ebp - 0x128], ax
call fcn.00421fd0
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.00444cf0
add esp, 0xc
cmp dword [ebp - 0x114], 8
jb 0x454737
push dword [ebp - 0x128]
call fcn.00481ffe
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 0x45476f
push dword [ebp - 0x158]
call fcn.00481ffe
add esp, 4
mov ecx, dword [ebp - 0x174]
lea eax, [ebp - 0x140]
add ecx, 0x72c
cmp ecx, eax
je 0x45478f
push 0xffffffffffffffff
push 0
push eax
call fcn.00421c60
lea eax, [ebp - 0x110]
push eax
push str.Domain:_s
push 1
push 0x3e0
push 0x59dcc0
push str.CDuiFrameWnd::LoadDomainFile
call fcn.004962c0
add esp, 0x18
cmp dword [ebp - 0x12c], 8
jb 0x4547cb
push dword [ebp - 0x140]
call fcn.00481ffe
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.00555894
mov esp, ebp
pop ebp
ret