Function at 0x421a80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b495c
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x4e4520]
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 0x302
push 0x4bbff0
push str.CDuiFrameWnd::LoadDomainFile
call fcn.00462700
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.0047e820
push esi
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.0047d190
mov esi, esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [ebp - 0x110], 0
jne 0x421b4c
xor ecx, ecx
jmp 0x421b5e
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421b55
sub ecx, edx
push ecx
lea eax, [ebp - 0x110]
mov ecx, esi
push eax
call fcn.00403660
lea eax, [ebp - 0x170]
push eax
call fcn.00413a90
add esp, 0x1c
mov edx, eax
cmp dword [edx + 0x14], 8
mov dword [ebp - 4], 0
jb 0x421b8d
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 0x421bb3
xor ecx, ecx
jmp 0x421bcf
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x421bc0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421bc0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x140]
call fcn.00402f30
cmp dword [ebp - 0x15c], 8
mov byte [ebp - 4], 2
jb 0x421bf7
push dword [ebp - 0x170]
call fcn.0047c598
add esp, 4
xor eax, eax
mov dword [ebp - 0x15c], 7
push eax
push 0x4d36a8
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.00402f30
push 2
xor eax, eax
mov byte [ebp - 4], 3
push 0x4bca18
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x114], 7
mov dword [ebp - 0x118], 0
mov word [ebp - 0x128], ax
call fcn.00402f30
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.00413a80
add esp, 0xc
cmp dword [ebp - 0x114], 8
jb 0x421ca7
push dword [ebp - 0x128]
call fcn.0047c598
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 0x421cdf
push dword [ebp - 0x158]
call fcn.0047c598
add esp, 4
mov ecx, dword [ebp - 0x174]
lea eax, [ebp - 0x140]
add ecx, 0x734
cmp ecx, eax
je 0x421cff
push 0xffffffffffffffff
push 0
push eax
call fcn.00402bb0
lea eax, [ebp - 0x110]
push eax
push str.Domain:_s
push 1
push 0x30d
push 0x4bbff0
push str.CDuiFrameWnd::LoadDomainFile
call fcn.00462700
add esp, 0x18
cmp dword [ebp - 0x12c], 8
jb 0x421d3b
push dword [ebp - 0x140]
call fcn.0047c598
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.0047cd24
mov esp, ebp
pop ebp
ret