Function at 0x409530
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov ebx, ecx
xor ecx, ecx
push ebp
push 0x409b08
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov byte [ebp - 1], 0
push edx
push eax
mov eax, dword [0x40d670]
push eax
call sub.kernel32.dll_FindResourceA
mov esi, eax
push esi
mov eax, dword [0x40d670]
push eax
call sub.kernel32.dll_SizeofResource
test eax, eax
jne 0x409589
push 0x30
push 0x409b1c
push 0x409b2c
push 0
call sub.user32.dll_MessageBoxA
jmp 0x409af2
push esi
mov eax, dword [0x40d670]
push eax
call sub.kernel32.dll_LoadResource
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_LockResource
mov dword [ebp - 0xc], eax
mov eax, ebx
mov edx, 0x77
call fcn.00403c04
mov eax, ebx
mov edx, dword [ebp - 0xc]
call fcn.00402754
mov eax, dword [ebx]
call fcn.004027bc
inc eax
add dword [ebp - 0xc], eax
lea eax, [ebx + 4]
mov ecx, 1
mov edx, dword [ebp - 0xc]
call fcn.00403bfc
inc dword [ebp - 0xc]
lea eax, [ebx + 5]
mov ecx, 1
mov edx, dword [ebp - 0xc]
call fcn.00403bfc
inc dword [ebp - 0xc]
lea eax, [ebx + 6]
mov ecx, 8
mov edx, dword [ebp - 0xc]
call fcn.00403bfc
add dword [ebp - 0xc], 8
lea eax, [ebx + 0xe]
mov ecx, 1
mov edx, dword [ebp - 0xc]
call fcn.00403bfc
inc dword [ebp - 0xc]
lea eax, [ebx + 0xf]
mov ecx, 1
mov edx, dword [ebp - 0xc]
call fcn.00403bfc
inc dword [ebp - 0xc]
lea eax, [ebx + 0x10]
mov ecx, 4
mov edx, dword [ebp - 0xc]
call fcn.00403bfc
add dword [ebp - 0xc], 4
lea eax, [ebx + 0x14]
mov edx, dword [ebp - 0xc]
call fcn.00402754
mov eax, dword [ebx + 0x14]
call fcn.004027bc
inc eax
add dword [ebp - 0xc], eax
lea eax, [ebx + 0x18]
mov ecx, 1
mov edx, dword [ebp - 0xc]
call fcn.00403bfc
inc dword [ebp - 0xc]
lea eax, [ebx + 0x19]
mov ecx, 1
mov edx, dword [ebp - 0xc]
call fcn.00403bfc
inc dword [ebp - 0xc]
lea eax, [ebx + 0x1a]
mov ecx, 1
mov edx, dword [ebp - 0xc]
call fcn.00403bfc
inc dword [ebp - 0xc]
lea eax, [ebx + 0x1b]
mov ecx, 1
mov edx, dword [ebp - 0xc]
call fcn.00403bfc
inc dword [ebp - 0xc]
lea eax, [ebx + 0x1c]
mov ecx, 1
mov edx, dword [ebp - 0xc]
call fcn.00403bfc
inc dword [ebp - 0xc]
lea eax, [ebx + 0x1d]
mov ecx, 1
mov edx, dword [ebp - 0xc]
call fcn.00403bfc
inc dword [ebp - 0xc]
lea eax, [ebx + 0x1e]
mov ecx, 1
mov edx, dword [ebp - 0xc]
call fcn.00403bfc
inc dword [ebp - 0xc]
lea eax, [ebx + 0x1f]
mov edx, dword [ebp - 0xc]
call fcn.00402754
mov eax, dword [ebx + 0x1f]
call fcn.004027bc
inc eax
add dword [ebp - 0xc], eax
lea eax, [ebx + 0x23]
mov edx, dword [ebp - 0xc]
call fcn.00402754
mov eax, dword [ebx + 0x23]
call fcn.004027bc
inc eax
add dword [ebp - 0xc], eax
push 0
xor eax, eax
mov al, byte [ebx + 0x19]
push eax
push 0xf1
push 7
mov eax, dword [0x40c12c]
mov eax, dword [eax]
push eax
call sub.user32.dll_SendDlgItemMessageA
push 0
xor eax, eax
mov al, byte [ebx + 0x1a]
push eax
push 0xf1
push 8
mov eax, dword [0x40c12c]
mov eax, dword [eax]
push eax
call sub.user32.dll_SendDlgItemMessageA
push 0
xor eax, eax
mov al, byte [ebx + 0x1b]
push eax
push 0xf1
push 9
mov eax, dword [0x40c12c]
mov eax, dword [eax]
push eax
call sub.user32.dll_SendDlgItemMessageA
push 0
xor eax, eax
mov al, byte [ebx + 0x1d]
push eax
push 0xf1
push 0xa
mov eax, dword [0x40c12c]
mov eax, dword [eax]
push eax
call sub.user32.dll_SendDlgItemMessageA
cmp byte [ebx + 0x1d], 0
je 0x409794
push 0x13
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [0x40c12c]
mov eax, dword [eax]
push eax
call sub.user32.dll_SetWindowPos
jmp 0x4097ad
push 0x13
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
mov eax, dword [0x40c12c]
mov eax, dword [eax]
push eax
call sub.user32.dll_SetWindowPos
lea eax, [ebx + 0x27]
mov ecx, 1
mov edx, dword [ebp - 0xc]
call fcn.00403bfc
inc dword [ebp - 0xc]
lea eax, [ebx + 0x28]
mov ecx, 1
mov edx, dword [ebp - 0xc]
call fcn.00403bfc
inc dword [ebp - 0xc]
lea eax, [ebx + 0x29]
mov ecx, 4
mov edx, dword [ebp - 0xc]
call fcn.00403bfc
add dword [ebp - 0xc], 4
mov esi, dword [ebx + 0x29]
test esi, esi
jbe 0x40987f
push esi
lea eax, [ebx + 0x2d]
mov ecx, 1
mov edx, dword [0x40721c]
call fcn.004035bc
add esp, 4
mov ecx, dword [ebx + 0x29]
shl ecx, 3
mov eax, dword [ebx + 0x2d]
mov edx, dword [ebp - 0xc]
call fcn.00403bfc
mov eax, dword [ebx + 0x29]
shl eax, 3
add dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x29]
push eax
lea eax, [ebx + 0x31]
mov ecx, 1
mov edx, dword [0x407244]
call fcn.004035bc
add esp, 4
mov ecx, dword [ebx + 0x29]
mov eax, dword [ebx + 0x31]
mov edx, dword [ebp - 0xc]
call fcn.00403bfc
mov eax, dword [ebx + 0x29]
add dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x29]
push eax
lea eax, [ebx + 0x35]
mov ecx, 1
mov edx, dword [0x40726c]
call fcn.004035bc
add esp, 4
mov ecx, dword [ebx + 0x29]
mov eax, dword [ebx + 0x35]
mov edx, dword [ebp - 0xc]
call fcn.00403bfc
mov eax, dword [ebx + 0x29]
add dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0x39]
mov ecx, 4
call fcn.00403bfc
add dword [ebp - 0xc], 4
mov esi, dword [ebx + 0x39]
test esi, esi
jbe 0x409992
push esi
lea eax, [ebx + 0x3d]
mov ecx, 1
mov edx, dword [0x407294]
call fcn.004035bc
add esp, 4
mov eax, dword [ebx + 0x39]
push eax
lea eax, [ebx + 0x41]
mov ecx, 1
mov edx, dword [0x4072bc]
call fcn.004035bc
add esp, 4
mov eax, dword [ebx + 0x39]
push eax
lea eax, [ebx + 0x45]
mov ecx, 1
mov edx, dword [0x4072e4]
call fcn.004035bc
add esp, 4
mov eax, dword [ebx + 0x39]
push eax
lea eax, [ebx + 0x49]
mov ecx, 1
mov edx, dword [0x40730c]
call fcn.004035bc
add esp, 4
mov edi, dword [ebx + 0x39]
dec edi
test edi, edi
jl 0x409992
inc edi
xor esi, esi
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
mov edx, dword [ebx + 0x3d]
mov dword [edx + esi*4], eax
add dword [ebp - 0xc], 4
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
mov edx, dword [ebx + 0x41]
mov dword [edx + esi*4], eax
add dword [ebp - 0xc], 4
mov eax, dword [ebx + 0x41]
mov edx, dword [eax + esi*4]
mov eax, dword [ebx + 0x45]
lea eax, [eax + esi*4]
call fcn.00402ae0
mov eax, dword [ebx + 0x41]
mov ecx, dword [eax + esi*4]
mov eax, dword [ebx + 0x45]
mov eax, dword [eax + esi*4]
mov edx, dword [ebp - 0xc]
call fcn.00403bfc
mov eax, dword [ebx + 0x41]
mov eax, dword [eax + esi*4]
add dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x41]
mov edx, dword [eax + esi*4]
mov eax, dword [ebx + 0x49]
lea eax, [eax + esi*4]
call fcn.00402ae0
mov eax, dword [ebx + 0x41]
mov ecx, dword [eax + esi*4]
mov eax, dword [ebx + 0x49]
mov eax, dword [eax + esi*4]
mov edx, dword [ebp - 0xc]
call fcn.00403bfc
mov eax, dword [ebx + 0x41]
mov eax, dword [eax + esi*4]
add dword [ebp - 0xc], eax
inc esi
dec edi
jne 0x409912
lea eax, [ebx + 0x4d]
mov ecx, 4
mov edx, dword [ebp - 0xc]
call fcn.00403bfc
add dword [ebp - 0xc], 4
lea eax, [ebx + 0x51]
mov ecx, 4
mov edx, dword [ebp - 0xc]
call fcn.00403bfc
add dword [ebp - 0xc], 4
lea eax, [ebx + 0x55]
mov edx, dword [ebp - 0xc]
call fcn.00402754
mov eax, dword [ebx + 0x55]
call fcn.004027bc
inc eax
add dword [ebp - 0xc], eax
lea eax, [ebx + 0x59]
mov ecx, 1
mov edx, dword [ebp - 0xc]
call fcn.00403bfc
inc dword [ebp - 0xc]
lea eax, [ebx + 0x5a]
mov ecx, 8
mov edx, dword [ebp - 0xc]
call fcn.00403bfc
add dword [ebp - 0xc], 8
lea eax, [ebx + 0x62]
mov ecx, 1
mov edx, dword [ebp - 0xc]
call fcn.00403bfc
inc dword [ebp - 0xc]
lea eax, [ebx + 0x63]
mov ecx, 1
mov edx, dword [ebp - 0xc]
call fcn.00403bfc
inc dword [ebp - 0xc]
lea eax, [ebx + 0x64]
mov ecx, 1
mov edx, dword [ebp - 0xc]
call fcn.00403bfc
inc dword [ebp - 0xc]
lea eax, [ebx + 0x65]
mov ecx, 1
mov edx, dword [ebp - 0xc]
call fcn.00403bfc
inc dword [ebp - 0xc]
lea eax, [ebx + 0x66]
mov ecx, 1
mov edx, dword [ebp - 0xc]
call fcn.00403bfc
inc dword [ebp - 0xc]
lea eax, [ebx + 0x67]
mov edx, dword [ebp - 0xc]
call fcn.00402754
mov eax, dword [ebx + 0x67]
call fcn.004027bc
inc eax
add dword [ebp - 0xc], eax
lea eax, [ebx + 0x6b]
mov ecx, 4
mov edx, dword [ebp - 0xc]
call fcn.00403bfc
add dword [ebp - 0xc], 4
lea eax, [ebx + 0x6f]
mov edx, dword [ebp - 0xc]
call fcn.00402754
mov eax, dword [ebx + 0x6f]
call fcn.004027bc
inc eax
add dword [ebp - 0xc], eax
lea eax, [ebx + 0x73]
mov edx, dword [ebp - 0xc]
call fcn.00402754
mov eax, dword [ebx + 0x73]
call fcn.004027bc
inc eax
add dword [ebp - 0xc], eax
cmp dword [ebx + 0x6f], 0
je 0x409add
cmp dword [ebx + 0x73], 0
je 0x409add
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebx + 0x73]
mov edx, dword [ebx + 0x6f]
mov eax, dword [ebx + 0x6b]
call fcn.00405b30
mov edx, dword [ebp - 0x10]
mov eax, 0x40dbcc
call fcn.004025bc
mov eax, dword [ebp - 8]
call fcn.00403c0c
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeResource
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409b0f
lea eax, [ebp - 0x10]
call fcn.00402568
ret