Function at 0x479fc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4a5170
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.00479e50
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x47a028
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0xa0]
push eax
call fcn.0049ccd1
xor eax, eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
call fcn.00479ae0
mov ebx, dword [eax]
mov edx, dword [esp + 0x9c]
push 1
mov dword [esp + 0x3c], ebx
mov ebp, dword [eax + 4]
mov eax, dword [edx]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x40], ebp
mov ecx, dword [edx + 4]
mov dword [esp + 0x60], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x64], eax
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x68], ecx
mov ecx, esi
call fcn.00479e50
push 2
mov ecx, esi
mov edi, eax
call fcn.00479e50
mov ecx, dword [esi + 0xe8]
test ecx, ecx
je 0x47a0d0
cmp edi, 0xffffffff
je 0x47a094
mov ecx, dword [esi + 0xf8]
test ecx, ecx
jne 0x47a094
add dword [esp + 0x58], ebx
cmp eax, 0xffffffff
je 0x47a0a7
mov eax, dword [esi + 0xf8]
test eax, eax
jne 0x47a0a7
sub dword [esp + 0x60], ebx
mov ecx, dword [esi + 0xf4]
test ecx, ecx
jle 0x47a11d
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x5c]
sub eax, ecx
sub eax, edi
cdq
sub eax, edx
sar eax, 1
add edi, eax
add ecx, edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x64], ecx
jmp 0x47a11d
cmp edi, 0xffffffff
je 0x47a0e3
mov ecx, dword [esi + 0xf8]
test ecx, ecx
jne 0x47a0e3
add dword [esp + 0x5c], ebp
cmp eax, 0xffffffff
je 0x47a0f6
mov eax, dword [esi + 0xf8]
test eax, eax
jne 0x47a0f6
sub dword [esp + 0x64], ebp
mov edi, dword [esi + 0xf4]
test edi, edi
jle 0x47a11d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x58]
sub eax, edi
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add ecx, eax
add edi, ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x60], edi
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x58]
sub eax, edx
test eax, eax
mov dword [esp + 0x14], eax
jle 0x47a00b
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
sub eax, edx
test eax, eax
mov dword [esp + 0x18], eax
jle 0x47a00b
lea ecx, [esp + 0x68]
call fcn.00499e7d
mov edi, dword [esp + 0x98]
mov dword [esp + 0x90], 0
test edi, edi
jne 0x47a16c
xor eax, eax
jmp 0x47a16f
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x6c]
call fcn.00499f34
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0x4bf43c
mov edx, dword [edi + 4]
push ebp
push ebx
push edx
mov byte [esp + 0x9c], 1
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x54]
call fcn.0049aa74
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x50]
neg eax
sbb eax, eax
and eax, ecx
push eax
mov eax, dword [esp + 0x70]
push eax
call fcn.0049a075
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0xe8]
test eax, eax
je 0x47a217
mov eax, dword [esi + 0xbc]
lea ecx, [esp + 0x68]
push eax
push ebp
push ebx
push 0
push 0
call fcn.0049ccfb
mov edx, dword [esp + 0x6c]
mov ecx, dword [esi + 0x54]
lea eax, [esp + 0x68]
push 1
neg eax
sbb eax, eax
push 0
and eax, edx
mov edx, dword [esp + 0x18]
push 0
push eax
mov eax, dword [ecx + 4]
push edx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
jmp fcn.0047a325
lea ecx, [esp + 0x78]
call fcn.00499e7d
test edi, edi
mov byte [esp + 0x90], 2
jne 0x47a230
xor eax, eax
jmp 0x47a233
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x7c]
call fcn.00499f34
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0x4bf43c
mov ecx, dword [edi + 4]
push ebx
push ebp
push ecx
mov byte [esp + 0x9c], 3
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x4c]
call fcn.0049aa74
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x48]
neg eax
sbb eax, eax
and eax, edx
mov edx, dword [esp + 0x7c]
push eax
push edx
call fcn.0049a075
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0xbc]
push eax
push ebx
push ebp
push 0
push 0
lea ecx, [esp + 0x8c]
call fcn.0049ccfb
mov edx, dword [esp + 0x7c]
mov ecx, dword [esi + 0x54]
lea eax, [esp + 0x78]
push 1
neg eax
mov ecx, dword [ecx + 4]
push 0
sbb eax, eax
push 0
and eax, edx
push eax
mov eax, dword [esp + 0x20]
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
lea edx, [esp + 0x68]
lea eax, [esp + 0x78]
push edx