Function at 0x4071c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440e80
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x45510c]
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 esi, ecx
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x3c]
push eax
push 1
push 0x4023c0
push 0x401df0
push 0x402370
push 0x402320
push 0x401b60
push 0x401e70
push 0x401e50
call fcn.0040bc3c
add esp, 0x24
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
push 0x10
xor eax, eax
mov dword [ebp - 0x48], 0
push 0x44d9ec
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.00402b30
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
cmp dword [ebp - 0x20], ecx
je 0x4072af
mov eax, dword [ebp - 0x58]
mov edx, 7
mov dword [ecx + 0x10], 0
mov dword [ecx], eax
mov eax, dword [ebp - 0x54]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x50]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x4c]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x48]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x44]
mov dword [ecx + 0x14], eax
xor eax, eax
add dword [ebp - 0x24], 0x18
mov word [ebp - 0x58], ax
jmp 0x4072bf
lea eax, [ebp - 0x58]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00402670
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x4072fa
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4072f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407462
push edx
push ecx
call fcn.0040ea0e
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x40737b
push 0xa
push 0x7da
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x40737b
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
push edi
mov dword [ebp - 0x5c], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40737b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x40737b
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x40]
push eax
call fcn.004016b0
test al, al
je 0x40737b
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
and eax, 0xfffffffc
cmp eax, 4
jne 0x40737b
push dword [esi + 0x214]
lea eax, [esi + 0x218]
push ecx
mov ecx, dword [ecx]
push eax
call fcn.00401f00
test al, al
je 0x40737b
mov bl, 1
jmp 0x40738a
cmp dword [esi + 4], 8
ja 0x407388
mov dword [esi + 4], 0x3f4
xor bl, bl
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x40739a
push eax
call fcn.0040bc44
add esp, 4
lea ecx, [ebp - 0x40]
call fcn.00401480
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x4073ee
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x4073cf
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407467
push ecx
push edx
call fcn.0040ea0e
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x407444
mov edx, dword [ebp - 0x24]
push ecx
call fcn.00402850
mov ecx, dword [ebp - 0x20]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x28]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x40743a
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40746c
push ecx
push esi
call fcn.0040ea0e
add esp, 8
mov al, bl
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.0040e9fd
mov esp, ebp
pop ebp
ret
call fcn.00429676
call fcn.00429676
call fcn.00429676
int3