Function at 0x407420
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d84c1
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1a08
call fcn.0068e250
mov eax, dword [0x79a200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x19c8], ecx
mov eax, dword [ebx + 0xc]
push 0
mov dword [ebp - 0x19c0], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movzx ecx, word [ebx + 8]
mov esi, eax
push 0x770074
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0x9001
push dword [ebp - 0x19c0]
lea ecx, [ebp - 0x19f8]
mov esi, eax
call fcn.00552aff
mov dword [ebp - 4], 0
call fcn.0054ae98
push edi
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push esi
lea ecx, [ebp - 0x19f8]
call fcn.0055357f
lea ecx, [ebp - 0x19f8]
call fcn.00552de7
call fcn.0054592c
mov ecx, eax
test ecx, ecx
je 0x407830
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x19c4], eax
mov edx, dword [ebp - 0x19c0]
mov byte [ebp - 4], 1
test edx, edx
je 0x407543
test edx, 0xffff0000
jne 0x40752d
movzx eax, dx
lea ecx, [ebp - 0x19c4]
push eax
call fcn.00406a60
jmp 0x407552
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407532
sub ecx, esi
sar ecx, 1
jmp 0x407545
xor ecx, ecx
push ecx
push edx
lea ecx, [ebp - 0x19c4]
call fcn.00406bf0
push 0x104
lea eax, [ebp - 0x120]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.00690e10
mov esi, dword [ebp - 0x19c4]
lea eax, [ebp - 0x19b4]
add esp, 0xc
mov dword [ebp - 0x19b8], eax
lea ecx, [ebp - 0x19b8]
push 3
push esi
call fcn.00407ce0
push 0x104
push dword [ebp - 0x19b8]
lea eax, [ebp - 0x120]
push eax
call fcn.0069a550
mov eax, dword [ebp - 0x19b8]
lea ecx, [ebp - 0x19b4]
add esp, 0xc
cmp eax, ecx
je 0x4075bf
push eax
call fcn.0069ba2b
add esp, 4
mov edi, dword [ebp - 0x19c8]
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x4075d0
mov dword [edi + 8], eax
lea ecx, [ebp - 0x19e4]
call fcn.0042b660
push 0x800
lea eax, [ebp - 0x920]
mov byte [ebp - 4], 3
push 0
push eax
call fcn.00690e10
add esp, 0xc
lea eax, [ebp - 0x1120]
push 0x800
push 0
push eax
call fcn.00690e10
add esp, 0xc
lea eax, [ebp - 0x1920]
push 0x800
push 0
push eax
call fcn.00690e10
add esp, 8
lea eax, [ebp - 0x120]
lea ecx, [ebp - 0x19e4]
push eax
call fcn.0042b780
test al, al
jne 0x40764e
mov ecx, dword [ebp - 0x19c0]
call fcn.0041ac90
mov byte [ebp - 0x19b9], 0
jmp 0x4077d8
push 1
push str.document
lea ecx, [ebp - 0x19e4]
call fcn.0042bb30
test al, al
je 0x4077b5
nop dword [eax + eax]
push 0
push str.ContrlListData
lea ecx, [ebp - 0x19e4]
call fcn.0042bb30
test al, al
je 0x40779d
nop word [eax + eax]
push 0x400
push str.RectPos
lea ecx, [ebp - 0x19e4]
call fcn.0042bd80
push eax
lea eax, [ebp - 0x920]
push 0x400
push eax
call fcn.0069a742
add esp, 0x10
lea ecx, [ebp - 0x19e4]
push 0x400
push 0x770064
call fcn.0042bd80
push eax
lea eax, [ebp - 0x1120]
push 0x400
push eax
call fcn.0069a742
add esp, 0x10
lea ecx, [ebp - 0x19e4]
push 0x400
push str.Enum
call fcn.0042bd80
push eax
lea eax, [ebp - 0x1920]
push 0x400
push eax
call fcn.0069a742
add esp, 0x10
lea eax, [ebp - 0x1930]
push eax
lea eax, [ebp - 0x920]
push eax
call fcn.004078c0
lea eax, [ebp - 0x1120]
push eax
call fcn.0069b988
add esp, 4
mov dword [ebp - 0x1a10], eax
lea eax, [ebp - 0x1920]
push eax
call fcn.0069b988
movups xmm1, xmmword [ebp - 0x1930]
mov dword [ebp - 0x1a0c], eax
add esp, 4
mov eax, dword [edi + 8]
movups xmmword [ebp - 0x1a08], xmm1
cmp eax, dword [edi + 0xc]
je 0x407775
movups xmm0, xmmword [ebp - 0x1a18]
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm1
add dword [edi + 8], 0x20
jmp 0x407785
lea ecx, [ebp - 0x1a18]
push ecx
push eax
lea ecx, [edi + 4]
call fcn.00408030
push str.ContrlListData
lea ecx, [ebp - 0x19e4]
call fcn.0042bc60
test al, al
jne 0x407690
push str.document
lea ecx, [ebp - 0x19e4]
call fcn.0042bc60
test al, al
jne 0x407670
mov ecx, dword [ebp - 0x19c0]
call fcn.0041ac90
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
jne 0x4077d1
mov byte [ebp - 0x19b9], 0
jmp 0x4077d8
mov byte [ebp - 0x19b9], 1
lea ecx, [ebp - 0x19e4]
call fcn.0042b6c0
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4077ff
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x19f8]
call fcn.00552b64
mov al, byte [ebp - 0x19b9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0068d76f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
push 0x80004005
call fcn.00407310
int3