Function at 0x4380c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x47a268
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4921bc]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [esp + 0x84]
mov esi, ecx
mov ebx, dword [eax + 0x18]
cmp ebx, 8
lea edi, [eax + 4]
jb 0x4380ff
mov eax, dword [edi]
jmp 0x438101
mov eax, edi
mov ecx, 0x481e0c
mov dx, word [eax]
xor ebp, ebp
cmp dx, word [ecx]
jne 0x43812e
cmp dx, bp
je 0x43812a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43812e
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x438106
xor eax, eax
jmp 0x438133
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
jne 0x4381ac
movzx eax, word [esp + 0x80]
mov ecx, dword [esi + 0x4c]
push eax
push ecx
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov esi, eax
cmp esi, ebp
je 0x4381e9
lea edx, [esp + 0x2c]
push edx
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
push 0x10
call fcn.00462098
add esp, 4
cmp eax, ebp
je 0x438182
mov dword [eax], ebp
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
jmp 0x438184
xor eax, eax
mov ecx, dword [esp + 0x88]
mov dword [ecx], eax
mov dword [eax], esi
mov eax, dword [ecx]
mov edx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov eax, dword [ecx]
mov edx, dword [esp + 0x34]
mov dword [eax + 8], edx
mov eax, dword [ecx]
mov byte [eax + 0xc], 0
jmp 0x438486
cmp ebx, 8
jb 0x4381b5
mov eax, dword [edi]
jmp 0x4381b7
mov eax, edi
movzx ecx, word [esp + 0x80]
mov edx, dword [esi + 0x4c]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, ebp
je 0x4381e9
mov eax, dword [esi + 0x4c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
cmp ebx, ebp
push edi
jne 0x4381f0
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor al, al
jmp 0x438488
mov ecx, dword [esi + 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
cmp esi, ebp
je 0x4381e9
mov dword [esp + 0x1c], ebp
push esi
mov dword [esp + 0x7c], ebp
call fcn.00461d22
add esp, 4
push ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
call fcn.00462147
add esp, 4
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, dword [esp + 0x1c]
push eax
push ebx
call fcn.00464e30
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea edx, [esp + 0x84]
push edx
push esi
push ebx
lea edx, [esp + 0x34]
lea ecx, [esp + 0x20]
call fcn.0044c6f0
mov esi, eax
add esp, 0xc
cmp esi, ebp
mov dword [esp + 0x24], esi
jne 0x438273
push ebx
call fcn.00462147
add esp, 4
xor al, al
jmp 0x438488
push 0x2c
lea eax, [esp + 0x48]
push ebp
push eax
call fcn.00464db0
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x54], eax
imul eax, ecx
add esp, 0xc
add eax, eax
push ebp
add eax, eax
push ebp
mov dword [esp + 0x60], eax
lea eax, [esp + 0x88]
push eax
mov edx, ecx
push ebp
lea ecx, [esp + 0x54]
push ecx
neg edx
push ebp
mov dword [esp + 0x5c], 0x28
mov dword [esp + 0x64], edx
mov word [esp + 0x68], 1
mov word [esp + 0x6a], 0x20
mov dword [esp + 0x6c], ebp
xor bl, bl
mov dword [esp + 0x98], ebp
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov edi, eax
cmp edi, ebp
mov dword [esp + 0x20], edi
jne 0x438306
push esi
call fcn.00462d2f
mov edx, dword [esp + 0x1c]
add esp, 4
push edx
call fcn.00462147
add esp, 4
xor al, al
jmp 0x438488
mov eax, dword [esp + 0x84]
imul eax, dword [esp + 0x14]
xor ecx, ecx
test eax, eax
jle 0x438429
mov eax, dword [esp + 0x80]
add esi, 3
jmp 0x438330
mov dl, byte [esi]
mov byte [eax + ecx*4 + 3], dl
mov edi, dword [esp + 0x80]
cmp byte [edi + ecx*4 + 3], 0xff
jae 0x43839d
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 + 0x80]
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 + 0x80]
shr edx, 7
mov byte [eax + ecx*4 + 2], dl
mov bl, 1
jmp 0x4383c1
mov dl, byte [esi - 1]
mov byte [edi + ecx*4], dl
movzx eax, byte [esi - 2]
mov edx, dword [esp + 0x80]
mov byte [edx + ecx*4 + 1], al
movzx eax, byte [esi - 3]
mov edx, dword [esp + 0x80]
mov byte [edx + ecx*4 + 2], al
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x8c]
cmp dword [eax + ecx*4], edx
jne 0x438405
mov byte [eax + ecx*4], 0
mov eax, dword [esp + 0x80]
mov byte [eax + ecx*4 + 1], 0
mov edx, dword [esp + 0x80]
mov byte [edx + ecx*4 + 2], 0
mov eax, dword [esp + 0x80]
mov byte [eax + ecx*4 + 3], 0
mov eax, dword [esp + 0x80]
mov bl, 1
mov edx, dword [esp + 0x84]
imul edx, dword [esp + 0x14]
add ecx, 1
add esi, 4
cmp ecx, edx
jl 0x438330
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
xor ebp, ebp
push 0x10
call fcn.00462098
add esp, 4
cmp eax, ebp
je 0x438449
mov dword [eax], ebp
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
jmp 0x43844b
xor eax, eax
mov ecx, dword [esp + 0x88]
mov dword [ecx], eax
mov dword [eax], edi
mov eax, dword [ecx]
mov edx, dword [esp + 0x84]
mov dword [eax + 4], edx
mov eax, dword [ecx]
mov edx, dword [esp + 0x14]
mov dword [eax + 8], edx
mov eax, dword [ecx]
push esi
mov byte [eax + 0xc], bl
call fcn.00462d2f
mov ecx, dword [esp + 0x1c]
add esp, 4
push ecx
call fcn.00462147
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0x10