Function at 0x402bb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x60
mov eax, dword [0x438e28]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebp
mov ebp, dword [esp + 0x68]
push esi
push 0x43330c
push 0x72
push 0
mov dword [esp + 0x18], ebp
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x402bf1
lea eax, [esi + 1]
pop esi
pop ebp
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.004181f3
add esp, 0x60
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402c14
pop esi
mov eax, 3
pop ebp
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.004181f3
add esp, 0x60
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x402c37
lea eax, [edi + 2]
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.004181f3
add esp, 0x60
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esp + 0x38], eax
test eax, eax
jne 0x402c5f
pop edi
pop esi
mov eax, 3
pop ebp
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.004181f3
add esp, 0x60
ret
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x10]
push edx
push eax
push edi
call fcn.0040f330
add esp, 0x10
test eax, eax
jne 0x402c8e
pop edi
pop esi
mov eax, 4
pop ebp
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.004181f3
add esp, 0x60
ret
mov edx, dword [esp + 0xc]
mov edi, dword [edx + 0x10]
mov esi, dword [edx + 8]
push ebx
mov ebx, dword [edx + 0xc]
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], ebx
cmp edi, 3
jle 0x402cb0
mov edi, 3
jmp 0x402cb7
jge 0x402cb7
mov edi, 1
mov eax, edi
imul eax, esi
mov ecx, eax
and ecx, 0xfffffffc
mov dword [esp + 0x24], ecx
cmp ecx, eax
jge 0x402cd0
add ecx, 4
mov dword [esp + 0x24], ecx
xor eax, eax
test edi, edi
jle 0x402cee
mov ecx, dword [edx + 0x14]
mov ecx, dword [ecx + 8]
lea esp, [esp]
cmp ecx, 8
jne 0x402d90
inc eax
cmp eax, edi
jl 0x402ce0
push 0x2c
lea ecx, [esp + 0x44]
push 0
push ecx
call fcn.0041f9b0
lea eax, [edi*8]
mov word [esp + 0x5a], ax
mov eax, dword [0x43ba40]
add esp, 0xc
mov edx, 1
mov dword [esp + 0x40], 0x28
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], ebx
mov word [esp + 0x4c], dx
mov dword [esp + 0x50], 0
test eax, eax
je 0x402d3d
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebp
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0
lea ecx, [esp + 0x34]
push ecx
push 0
lea edx, [esp + 0x50]
mov ebp, eax
push edx
push ebp
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [0x43ba40], eax
test eax, eax
jne 0x402db6
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.0040f0a0
add esp, 8
pop ebx
pop edi
pop esi
mov eax, 6
pop ebp
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.004181f3
add esp, 0x60
ret
mov eax, dword [esp + 0x1c]
push eax
push edx
call fcn.0040f0a0
add esp, 8
pop ebx
pop edi
pop esi
mov eax, 5
pop ebp
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.004181f3
add esp, 0x60
ret
mov edx, dword [esp + 0x14]
push ebp
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
imul eax, ebx
push eax
push 0
push ecx
call fcn.0041f9b0
add esp, 0xc
xor ebp, ebp
test edi, edi
jle 0x402e85
lea eax, [edi + edi*4]
add eax, eax
add eax, eax
mov dword [esp + 0x20], eax
mov edi, edi
test ebx, ebx
jle 0x402e77
mov ecx, esi
neg ecx
add ecx, ecx
add ecx, ecx
lea eax, [ebx*4 - 4]
imul eax, esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x34], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], ebx
mov edi, edi
test esi, esi
jle 0x402e63
mov ecx, dword [esp + 0x18]
jmp 0x402e30
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 0x14]
mov ebx, dword [esp + 0x20]
mov edx, dword [edx + ebx - 4]
mov ebx, dword [esp + 0x2c]
mov dl, byte [eax + edx]
add ebx, ecx
add eax, 4
add ecx, edi
dec esi
mov byte [ebx + ebp], dl
jne 0x402e30
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
add dword [esp + 0x18], edx
add eax, ecx
dec dword [esp + 0x14]
mov dword [esp + 0x28], eax
jne 0x402e20
sub dword [esp + 0x20], 0x14
inc ebp
cmp ebp, edi
jl 0x402df0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.0040f0a0
mov ecx, dword [esp + 0x74]
add esp, 8
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.004181f3
add esp, 0x60
ret