Function at 0x4099c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x4372c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov al, byte [0x448dd4]
push ebx
push ebp
xor ebp, ebp
push esi
push edi
test al, 1
mov dword [esp + 0x1c], ebp
mov esi, 0x43a2f8
jne 0x409a36
mov cl, al
push ebp
or cl, 1
push ebp
mov byte [0x448dd4], cl
mov ecx, 0x448d90
call fcn.00405100
push ebp
push ebp
mov ecx, 0x448da0
mov dword [esp + 0x80], 1
call fcn.00404ee0
push 0x409f80
mov dword [0x448d90], esi
mov byte [esp + 0x7c], 0
call fcn.0041ad95
add esp, 4
mov al, byte [0x448dd4]
test al, 2
jne 0x409a8f
mov cl, al
push ebp
or cl, 2
push ebp
mov byte [0x448dd4], cl
mov ecx, 0x448df0
call fcn.0040b510
push ebp
push ebp
mov ecx, 0x448df0
mov dword [esp + 0x80], 2
mov dword [0x448df0], 0x43a310
mov dword [0x448dfc], ebp
call fcn.00416710
push 0x409f70
mov byte [esp + 0x7c], 0
call fcn.0041ad95
add esp, 4
mov edx, dword [0x448df8]
cmp edx, ebp
jne 0x409c9e
push ebp
push ebp
lea ecx, [esp + 0x58]
call fcn.00405100
push ebp
push ebp
lea ecx, [esp + 0x68]
mov dword [esp + 0x80], 3
call fcn.00404ee0
mov dword [esp + 0x50], esi
mov ebx, 4
push 0xffffffffffffffff
push str.message
lea ecx, [esp + 0x28]
mov dword [esp + 0x80], ebx
call fcn.00401b90
mov dword [esp + 0x20], 0x43a2c4
push 1
lea eax, [esp + 0x54]
push ebp
push eax
lea ecx, [esp + 0x2c]
push 0x411cd0
lea edx, [esp + 0x50]
push ecx
mov ecx, dword [0x448e94]
push edx
mov byte [esp + 0x90], 5
call fcn.0040f390
lea ecx, [esp + 0x40]
call fcn.00401cc0
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], bl
call fcn.00401cc0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], ebp
cmp eax, ebp
jle 0x409c55
mov ebp, 0x43a294
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x60]
push eax
lea ecx, [esp + 0x64]
call dword [edx + 4]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x14]
push 0x3d
mov edi, dword [eax + ecx*4]
mov eax, dword [esp + 0x68]
add edi, eax
push edi
call fcn.0041c030
mov esi, eax
add esp, 8
test esi, esi
je 0x409c3e
mov byte [esi], 0
push edi
inc esi
call fcn.0041c2d7
add esp, 4
test eax, eax
jle 0x409c3e
lea edx, [esp + 0x18]
push 1
push edx
mov ecx, 0x448df0
mov dword [esp + 0x20], eax
call fcn.00416710
mov eax, dword [0x448df8]
mov edi, dword [0x448d98]
push 1
push eax
mov ecx, 0x448df0
call fcn.0040b530
lea ecx, [esp + 0x40]
push esi
push ecx
mov dword [eax], edi
call fcn.00409f90
add esp, 8
mov esi, eax
mov eax, dword [esi + 8]
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [esp + 0x7c], 6
call dword [edx + 4]
mov ecx, dword [0x448da8]
mov esi, dword [esi + 4]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ecx
push 1
push edx
mov ecx, 0x448d90
call fcn.00416710
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x28]
call fcn.004050c0
push eax
mov ecx, 0x448da0
mov byte [esp + 0x7c], 7
call fcn.00404fa0
lea eax, [esp + 0x13]
push 1
push eax
mov ecx, 0x448da0
mov byte [esp + 0x80], 6
mov dword [esp + 0x28], ebp
mov byte [esp + 0x1b], 0
call fcn.004019d0
lea ecx, [esp + 0x40]
mov byte [esp + 0x78], bl
call fcn.00401cc0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x58]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x409b3b
xor ebp, ebp
mov ecx, dword [0x448df8]
push 1
push ecx
mov ecx, 0x448df0
xor esi, esi
call fcn.0040b530
mov dword [eax], esi
mov edx, dword [0x448df8]
push 1
push edx
mov ecx, 0x448df0
call fcn.0040b530
lea ecx, [esp + 0x60]
mov dword [eax], esi
mov byte [esp + 0x78], 0
call fcn.00401cc0
lea ecx, [esp + 0x50]
call fcn.00401d30
mov edx, dword [0x448df8]
mov edi, dword [esp + 0x84]
cmp edx, 1
jle 0x409cd7
mov eax, dword [0x448df4]
mov ebx, dword [0x448d98]
mov ecx, 1
cmp dword [eax], edi
jne 0x409ccd
mov esi, dword [eax + 4]
cmp esi, ebp
jl 0x409ccd
cmp esi, ebx
jl 0x409dd9
add ecx, 2
add eax, 8
cmp ecx, edx
jl 0x409cba
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x38]
call fcn.00401b90
mov dword [esp + 0x30], 0x43a2c4
push ebp
lea ecx, [esp + 0x34]
mov dword [esp + 0x7c], 8
call dword [0x43a2c8]
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
mov eax, edi
shr eax, 4
inc eax
push 6
and eax, 0xffff
and edi, 0xf
push eax
push esi
mov ebx, edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
cmp edi, ebp
je 0x409d9b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
shr ebp, 1
push ebp
push eax
lea ecx, [esp + 0x28]
call fcn.00401700
xor esi, esi
mov byte [esp + 0x78], 9
test ebx, ebx
jle 0x409d70
push 0
push esi
lea ecx, [esp + 0x28]
call fcn.0040ac00
and eax, 0xffff
dec ebx
lea esi, [esi + eax + 1]
jne 0x409d58
mov eax, esi
push 0
push eax
lea ecx, [esp + 0x28]
inc esi
call fcn.0040ac00
mov ecx, dword [esp + 0x24]
and eax, 0xffff
push eax
lea edx, [ecx + esi*2]
lea ecx, [esp + 0x34]
push edx
call fcn.00405a20
mov byte [esp + 0x78], 8
mov esi, dword [esp + 0x80]
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.00409e20
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], 1
mov byte [esp + 0x78], 0
call fcn.00401cc0
mov ecx, dword [esp + 0x70]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret
mov eax, dword [0x448da8]
mov edx, dword [0x448da0]
push eax
mov ecx, 0x448da0
call dword [edx + 4]
mov eax, dword [0x448d94]
push 0xffffffffffffffff
mov eax, dword [eax + esi*4]
mov esi, dword [0x448da4]
add eax, esi
mov esi, dword [esp + 0x84]
push eax
mov ecx, esi
call fcn.00401b90
mov dword [esi], 0x43a2c4
jmp 0x409dc4