Function at 0x430b44
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
push 2
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_FindResourceA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x430e40
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_LoadResource
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x430e39
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.DLL_LockResource
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x430e22
xor eax, eax
push ebp
push 0x430e1b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 0xe]
mov edx, dword [ebp - 0x24]
movzx edx, word [edx + 0xc]
imul edx
cmp eax, 8
ja 0x430db2
mov eax, dword [ebp - 0x24]
mov cx, word [eax + 0xe]
mov eax, 1
shl eax, cl
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov edx, dword [ebp - 0x1c]
shl edx, 2
add eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
call fcn.00402b1c
mov dword [ebp - 0x28], eax
xor eax, eax
push ebp
push 0x430dab
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
call fcn.00402d3c
mov eax, dword [ebp - 0x24]
cmp word [eax + 0xe], 8
ja 0x430cb7
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
call fcn.0042cfe0
mov eax, dword [ebp - 0x1c]
dec eax
test eax, eax
jl 0x430cac
inc eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x30], 0
mov eax, dword [ebp + 0x10]
test eax, eax
jl 0x430ca4
inc eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x34]
mov eax, dword [eax + edx*4]
call fcn.0042a9f0
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov eax, dword [eax + edx*4]
cmp eax, dword [ebp - 0x38]
jne 0x430c9c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x34]
mov eax, dword [eax + edx*4]
call fcn.0042a9f0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x3c]
mov dword [eax + edx*4], ecx
inc dword [ebp - 0x34]
dec dword [ebp - 0x58]
jne 0x430c60
inc dword [ebp - 0x30]
dec dword [ebp - 0x54]
jne 0x430c4e
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
call fcn.0042cfe0
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x44], eax
xor eax, eax
push ebp
push 0x430d8b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x44]
push eax
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x430d69
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x44]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x430d69
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x48]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x4c], eax
push 0xcc0020
push 0
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 4]
push eax
push 0
push 0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 4]
push eax
push 0
push 0
mov eax, dword [ebp - 0x48]
push eax
call sub.gdi32.dll_StretchDIBits
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x48]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x48]
push eax
call sub.gdi32.dll_DeleteDC
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430d92
mov eax, dword [ebp - 0x44]
push eax
push 0
call sub.user32.dll_ReleaseDC
ret
mov dl, 1
mov eax, dword [0x429e2c]
call fcn.004318a0
mov dword [ebp - 0x50], eax
xor eax, eax
push ebp
push 0x430dfe
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x50]
call fcn.004327c8
mov eax, dword [ebp - 0x50]
call fcn.00433a5c
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430e05
mov eax, dword [ebp - 0x50]
call fcn.004038c4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430e40
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.DLL_FreeResource
ret
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 0xc