Function at 0x483f50
Capabilities:
Enumerate pe sections
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x5026c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
xor ebp, ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], vtable.CBitmap.0
push 0xffffff
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], ebp
call fcn.004894c0
mov eax, dword [esi + 0x20]
mov byte [esp + 0x34], 1
cmp eax, ebp
je 0x483fd3
call fcn.004f0976
mov edi, dword [esp + 0x3c]
mov eax, dword [eax + 0xc]
mov ebx, dword [sym.imp.USER32.dll_LoadBitmapW]
and edi, 0xffff
push edi
push eax
call ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.004df9fd
call fcn.004f0976
mov eax, dword [eax + 0xc]
push edi
push eax
call ebx
push eax
lea ecx, [esp + 0x24]
jmp 0x484012
mov eax, dword [esp + 0x3c]
push ebp
and eax, 0xffff
push eax
call fcn.00485ae0
add esp, 8
cmp eax, ebp
jne 0x48400d
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 0
call fcn.00489500
mov dword [esp + 0x18], vtable.CGdiObject.0
mov dword [esp + 0x34], 2
jmp 0x48424f
push eax
lea ecx, [esp + 0x1c]
call fcn.004df9fd
mov eax, dword [esp + 0x40]
cmp eax, ebp
jne 0x484023
mov eax, dword [esp + 0x3c]
and eax, 0xffff
mov ebx, eax
call fcn.004f0976
mov edi, dword [eax + 0xc]
cmp edi, ebp
je 0x484231
push 0xf1
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, ebp
je 0x484231
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
mov dword [esp + 0x14], eax
je 0x484231
xor ebp, ebp
xor edi, edi
mov bp, word [eax + 4]
mov di, word [eax + 2]
mov eax, dword [esi + 0xe8]
test eax, eax
jne 0x4841fd
lea ecx, [edi + 4]
lea eax, [ebp + 4]
mov dword [esi + 0xf0], ecx
mov dword [esi + 0xf4], eax
mov eax, dword [esi + 0x20]
mov dword [esi + 0xe8], edi
test eax, eax
mov dword [esi + 0xec], ebp
mov ebx, 1
je 0x4840ac
mov ebx, 0xff
push 0xa
push 0
push ebx
push ebp
push edi
lea ecx, [esi + 0x44]
call fcn.004d5563
push 0xa
push 0
push ebx
push ebp
push edi
lea ecx, [esi + 0x4c]
call fcn.004d5563
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4841b5
mov ecx, dword [esi + 0x48]
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
mov edi, dword [esi + 0x24]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x4840f8
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov edi, eax
mov ebp, dword [esp + 0x1c]
mov edx, dword [esi + 0x48]
lea eax, [esp + 0x18]
mov ebx, dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
neg eax
sbb eax, eax
push edi
and eax, ebp
push eax
push edx
call ebx
push 0
push edi
lea ecx, [esp + 0x28]
call fcn.00489a70
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x20]
neg eax
sbb eax, eax
push edi
and eax, ecx
push eax
mov eax, dword [esi + 0x50]
push eax
call ebx
mov eax, dword [esp + 0x14]
xor ebp, ebp
cmp word [eax + 6], bp
jbe 0x4841b5
lea ecx, [eax + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x44]
xor edi, edi
mov di, word [edx]
test edi, edi
jbe 0x48419f
lea eax, [esp + 0x10]
lea ebx, [esi + 0x54]
push eax
push edi
mov ecx, ebx
call fcn.004d7067
test eax, eax
jne 0x48417c
lea ecx, [esp + 0x10]
push ecx
push edi
lea ecx, [esi + 0x70]
call fcn.004d7067
test eax, eax
je 0x484184
mov eax, dword [esp + 0x10]
test eax, eax
jge 0x484192
push edi
mov ecx, ebx
call fcn.004d7089
mov edx, dword [esp + 0x40]
mov dword [eax], edx
mov eax, dword [esp + 0x40]
inc eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x44]
xor ecx, ecx
mov cx, word [eax + 6]
inc ebp
add edi, 2
cmp ebp, ecx
mov dword [esp + 0x44], edi
jl 0x484149
mov edx, dword [esp + 0x3c]
mov eax, dword [esi + 0x38]
lea ecx, [esi + 0x30]
push edx
push eax
call fcn.004d5f6e
lea ecx, [esp + 0x18]
call fcn.004dfa2a
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 0
call fcn.00489500
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 5
call fcn.004dfa54
mov eax, 1
jmp 0x48425a
cmp dword [esi + 0xe8], edi
jne 0x484211
cmp dword [esi + 0xec], ebp
je 0x4840ca
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 0
call fcn.00489500
mov dword [esp + 0x18], vtable.CGdiObject.0
mov dword [esp + 0x34], 4
jmp 0x48424f
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 0
call fcn.00489500
mov dword [esp + 0x18], vtable.CGdiObject.0
mov dword [esp + 0x34], 3
lea ecx, [esp + 0x18]
call fcn.004dfa54
xor eax, eax
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc