Function at 0x43a990
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x54
push ebx
mov ebx, dword [esp + 0x60]
push ebp
mov ebp, dword [esp + 0x60]
push esi
push edi
mov edi, dword [eax + 0x18]
cmp edi, 8
lea esi, [eax + 4]
jb 0x43a9ae
mov eax, dword [esi]
jmp 0x43a9b0
mov eax, esi
mov ecx, 0x4d0b48
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43a9db
test dx, dx
je 0x43a9d7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43a9db
add eax, 4
add ecx, 4
test dx, dx
jne 0x43a9b5
xor eax, eax
jmp 0x43a9e0
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x43aa56
mov ecx, dword [ebp + 0x38]
movzx eax, bx
push eax
push ecx
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x43aa8e
lea edx, [esp + 0x1c]
push edx
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
push 0x10
call fcn.004abce7
add esp, 4
cmp eax, edi
je 0x43aa28
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov byte [eax + 0xc], 0
jmp 0x43aa2a
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword [ecx], eax
mov dword [eax], esi
mov eax, dword [ecx]
mov edx, dword [esp + 0x20]
mov dword [eax + 4], edx
mov eax, dword [ecx]
mov edx, dword [esp + 0x24]
mov dword [eax + 8], edx
mov eax, dword [ecx]
mov byte [eax + 0xc], 0
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x10
cmp edi, 8
jb 0x43aa5f
mov eax, dword [esi]
jmp 0x43aa61
mov eax, esi
mov edx, dword [ebp + 0x38]
movzx ecx, bx
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x43aa8e
mov eax, dword [ebp + 0x38]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
push edi
jne 0x43aa9a
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x10
mov ecx, dword [ebp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x43aa8e
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
lea edx, [esp + 0x68]
push edx
push esi
lea esi, [esp + 0x1c]
lea edx, [esp + 0x18]
mov ecx, eax
call fcn.00455b50
add esp, 8
test eax, eax
mov dword [esp + 0x68], eax
je 0x43aa8e
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push 0x2c
lea eax, [esp + 0x38]
push 0
push eax
call fcn.004ae6c0
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
add esp, 0xc
push 0
mov ebp, edi
imul ebp, esi
push 0
mov ecx, esi
neg ecx
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0x48], ecx
push 0
lea ecx, [esp + 0x44]
push ecx
lea edx, [ebp*4]
push 0
mov dword [esp + 0x4c], 0x28
mov dword [esp + 0x50], edi
mov word [esp + 0x58], 1
mov word [esp + 0x5a], 0x20
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], edx
xor bl, bl
mov dword [esp + 0x84], 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
test eax, eax
mov dword [esp + 0x18], eax
jne 0x43ab71
mov edx, dword [esp + 0x68]
push edx
call fcn.004acb57
add esp, 4
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x10
xor ecx, ecx
test ebp, ebp
jle 0x43ac50
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
add esi, 3
mov dl, byte [esi]
mov byte [eax + ecx*4 + 3], dl
mov edi, dword [esp + 0x6c]
cmp byte [edi + ecx*4 + 3], 0xff
jae 0x43abea
movzx eax, byte [esi]
movzx edx, byte [esi - 1]
imul edx, eax
mov eax, 0x80808081
mul edx
shr edx, 7
mov byte [edi + ecx*4], dl
movzx eax, byte [esi]
movzx edx, byte [esi - 2]
imul edx, eax
mov eax, 0x80808081
mul edx
mov eax, dword [esp + 0x6c]
shr edx, 7
mov byte [eax + ecx*4 + 1], dl
movzx eax, byte [esi]
movzx edx, byte [esi - 3]
imul edx, eax
mov eax, 0x80808081
mul edx
mov eax, dword [esp + 0x6c]
shr edx, 7
mov byte [eax + ecx*4 + 2], dl
mov bl, 1
jmp 0x43ac08
mov dl, byte [esi - 1]
mov byte [edi + ecx*4], dl
movzx eax, byte [esi - 2]
mov edx, dword [esp + 0x6c]
mov byte [edx + ecx*4 + 1], al
movzx eax, byte [esi - 3]
mov edx, dword [esp + 0x6c]
mov byte [edx + ecx*4 + 2], al
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x74]
cmp dword [eax + ecx*4], edx
jne 0x43ac3a
mov byte [eax + ecx*4], 0
mov eax, dword [esp + 0x6c]
mov byte [eax + ecx*4 + 1], 0
mov edx, dword [esp + 0x6c]
mov byte [edx + ecx*4 + 2], 0
mov eax, dword [esp + 0x6c]
mov byte [eax + ecx*4 + 3], 0
mov eax, dword [esp + 0x6c]
mov bl, 1
add ecx, 1
add esi, 4
cmp ecx, ebp
jl 0x43ab86
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
push 0x10
call fcn.004abce7
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x43ac6d
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov byte [eax + 0xc], cl
jmp 0x43ac6f
xor eax, eax
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [eax], edx
mov eax, dword [ecx]
mov dword [eax + 4], edi
mov edx, dword [ecx]
mov dword [edx + 8], esi
mov eax, dword [ecx]
mov ecx, dword [esp + 0x68]
push ecx
mov byte [eax + 0xc], bl
call fcn.004acb57
add esp, 4
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x54
ret 0x10