Function at 0x458f90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548ac1
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x5abcc4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c], ecx
push 0
movzx eax, word [ebp + 8]
push eax
call fcn.0045bab0
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x458fd7
xor eax, eax
jmp 0x4591e9
lea ecx, [ebp - 0x34]
call fcn.0043d0c0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00505652
movzx edx, word [ebp + 8]
mov dword [ebp - 0x20], edx
call fcn.004092e0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x45903a
push 0xf1
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x45903a
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x459058
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0043d110
mov eax, dword [ebp - 0x40]
jmp 0x4591e9
mov ecx, dword [ebp - 0x18]
movzx edx, word [ecx + 4]
push edx
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax + 2]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0045c1a0
mov edx, dword [ebp - 0x6c]
cmp dword [edx + 0x9c], 0
jne 0x4590eb
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x28]
mov dword [eax + 0x9c], ecx
mov edx, dword [ebp - 0x24]
mov dword [eax + 0xa0], edx
push 4
push 4
lea ecx, [ebp - 0x50]
call fcn.0045c1a0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x28]
call fcn.0045c210
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x6c]
mov dword [eax + 0xa4], ecx
mov dword [eax + 0xa8], edx
push 0xa
push 0
push 1
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x6c]
add ecx, 0x38
call fcn.00510c06
jmp 0x45912f
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x6c]
add ecx, 0x9c
call fcn.0045c1d0
test eax, eax
je 0x45912f
mov dword [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0043d110
mov eax, dword [ebp - 0x64]
jmp 0x4591e9
mov ecx, dword [ebp - 0x6c]
add ecx, 0x38
call fcn.0045c6c0
mov dword [ebp - 0x1c], eax
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x6c]
add ecx, 0x38
call fcn.0045c8e0
mov dword [ebp - 0x38], 0
jmp 0x459167
mov edx, dword [ebp - 0x38]
add edx, 1
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax + 6]
cmp dword [ebp - 0x38], ecx
jge 0x4591b9
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax + edx*2 + 8]
mov dword [ebp - 0x3c], ecx
cmp dword [ebp - 0x3c], 0
jbe 0x4591b7
movzx edx, word [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0x6c]
call fcn.0045bf30
test eax, eax
jl 0x45919a
jmp 0x4591ae
mov eax, dword [ebp - 0x1c]
push eax
movzx ecx, word [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x6c]
add ecx, 0x40
call fcn.0045c470
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
jmp 0x45915e
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x6c]
add ecx, 0x24
call fcn.00450510
lea ecx, [ebp - 0x34]
call fcn.0050567e
mov dword [ebp - 0x68], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0043d110
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4