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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x58c012
push eax
mov dword fs:[0], esp
sub esp, 0xd8
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 5
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
call fcn.0056fafe
xor ebx, ebx
cmp eax, ebx
jne 0x4ad489
xor eax, eax
jmp 0x4ad48c
mov eax, dword [eax + 4]
mov esi, dword [esp + 0xf8]
push eax
mov eax, dword [esp + 0x100]
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
push 1
mov ecx, esi
call fcn.0056f1fb
mov ebp, dword [esi]
push 8
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov ecx, esi
call dword [ebp + 0x30]
lea edx, [edi + 0x184]
mov ecx, esi
push edx
call fcn.0056f11f
mov dword [esp + 0x80], eax
mov eax, dword [edi + 0x7c]
xor ebp, ebp
cmp eax, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], ebx
jle 0x4ad540
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x48]
lea edx, [esp + 0x8c]
push ecx
push edx
lea ecx, [edi + 0xa0]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ebx
call fcn.004aebb0
mov eax, dword [eax]
mov ecx, dword [edi + 0x48]
mov eax, dword [eax + 0x10]
add eax, ebp
cmp eax, ecx
jg 0x4ad52b
mov ecx, dword [edi + 0x7c]
mov ebp, eax
mov eax, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4ad4e5
jmp 0x4ad540
mov eax, dword [esp + 0xfc]
mov edx, dword [edi + 0x48]
mov eax, dword [eax + 4]
sub eax, edx
add eax, ebp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 0x7c]
cmp eax, ecx
mov dword [esp + 0x7c], eax
jge 0x4adc57
jmp 0x4ad557
xor ebx, ebx
mov ecx, dword [esp + 0xfc]
mov eax, dword [esp + 0x1c]
cmp eax, dword [ecx + 0xc]
jg 0x4adc57
mov ebp, dword [ecx]
mov ecx, dword [edi + 0x4c]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x78]
sub ebp, ecx
cmp eax, ebx
mov dword [esp + 0x14], ebx
jle 0x4ada81
jmp 0x4ad589
xor ebx, ebx
mov ecx, dword [0x5f9f88]
mov dword [esp + 0x4c], ecx
push 0x5ea618
lea ecx, [esp + 0x50]
mov dword [esp + 0xf4], ebx
mov dword [esp + 0x4c], 0x64
call fcn.00568895
lea edx, [esp + 0x14]
lea eax, [esp + 0x94]
push edx
push eax
lea ecx, [edi + 0x80]
mov dword [esp + 0xf8], 1
call fcn.004ae3a0
mov eax, dword [edi + 0x84]
mov ecx, dword [esp + 0x94]
cmp ecx, eax
je 0x4ad5f8
mov edx, dword [ecx + 0x10]
add ecx, 0x14
push ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x4c], edx
call fcn.00568845
mov eax, dword [0x5f9f88]
mov dword [esp + 0x34], eax
push 0x5ea618
lea ecx, [esp + 0x38]
mov byte [esp + 0xf4], 2
call fcn.00568895
mov dword [esp + 0x38], 0xffffff
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x98], ecx
lea eax, [esp + 0x98]
lea ecx, [esp + 0x88]
push eax
push ecx
lea ecx, [edi + 0x90]
mov byte [esp + 0xf8], 3
mov dword [esp + 0xa4], edx
call fcn.004aea80
mov eax, dword [edi + 0x94]
mov ecx, dword [esp + 0x88]
cmp ecx, eax
je 0x4ad6a0
lea ebx, [ecx + 0x14]
lea ecx, [esp + 0x34]
push ebx
call fcn.00568845
mov edx, dword [ebx + 4]
mov dword [esp + 0x38], edx
mov eax, dword [ebx + 8]
mov dword [esp + 0x3c], eax
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x40], ecx
mov edx, dword [ebx + 0x10]
mov dword [esp + 0x44], edx
xor ebx, ebx
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], ecx
push 0xfffffffffffffffe
lea ecx, [esp + 0x24]
add eax, ebp
mov dword [esp + 0x24], ebp
mov ebp, dword [sym.imp.USER32.dll_InflateRect]
push 0xfffffffffffffffe
push ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], eax
call ebp
mov eax, dword [edi + 0x6c]
mov edx, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0x50], edx
jne 0x4ad6ee
mov eax, dword [esp + 0x34]
mov edx, dword [esi]
push 0xc10
mov ecx, dword [eax - 8]
jmp 0x4ad708
mov edx, dword [esi]
cmp eax, 2
mov eax, dword [esp + 0x34]
mov ecx, dword [eax - 8]
jne 0x4ad703
push 0xc12
jmp 0x4ad708
push 0xc11
lea ebx, [esp + 0x24]
push ebx
push ecx
push eax
mov ecx, esi
call dword [edx + 0x68]
mov ecx, dword [edi + 0x58]
mov eax, dword [esp + 0x50]
xor ebx, ebx
mov dword [esp + 0x28], eax
cmp ecx, ebx
je 0x4ad7d2
mov edx, dword [esp + 0x10]
xor ecx, ecx
cmp edx, dword [edi + 0x70]
sete cl
cmp ecx, ebx
je 0x4ad7ec
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x2c]
push 2
lea ecx, [esp + 0x60]
push 2
push ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x74], eax
call ebp
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xa8]
lea ecx, [esp + 0xe0]
push eax
push ecx
lea ecx, [edi + 0xa0]
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], ebx
call fcn.004aebb0
mov eax, dword [eax]
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x60]
lea ecx, [edx + eax + 1]
inc eax
mov dword [esp + 0x60], eax
mov eax, dword [edi + 0x50]
cmp eax, 0xc56a31
mov dword [esp + 0x68], ecx
jne 0x4ad8c1
push 0xd
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
call fcn.0056fafe
cmp eax, ebx
jne 0x4ad879
xor eax, eax
jmp 0x4ad87c
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 0x70]
cmp ecx, edx
jne 0x4ad7ec
mov edx, dword [esp + 0x14]
mov ecx, dword [edi + 0x74]
cmp edx, ecx
je 0x4ad73d
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x2c]
push 2
lea ecx, [esp + 0x70]
push 2
push ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x84], eax
call ebp
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xb0]
lea ecx, [esp + 0xc8]
push eax
push ecx
lea ecx, [edi + 0xa0]
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], ebx
call fcn.004aebb0
mov eax, dword [eax]
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x70]
lea ecx, [edx + eax + 1]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x78], ecx
inc eax
push edx
lea ecx, [esp + 0x90]
mov dword [esp + 0x74], eax
call fcn.0056fbd0
cmp eax, ebx
jne 0x4ad921
xor eax, eax
jmp 0x4ad924
mov eax, dword [eax + 4]
push eax
mov eax, dword [esi + 4]
lea edx, [esp + 0x60]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
mov ebp, dword [sym.imp.USER32.dll_GetSysColor]
push 0xd
call ebp
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jne 0x4ad8b4
mov edx, dword [esi]
push 0xe
mov dword [esp + 0x54], edx
call ebp
mov edx, dword [esp + 0x50]
push eax
mov ecx, esi
jmp 0x4ad964
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x30]
jmp 0x4ad967
push eax
lea ecx, [esp + 0xa4]
call fcn.0056fbd0
cmp eax, ebx
jne 0x4ad8d6
xor eax, eax
jmp 0x4ad8d9
mov eax, dword [eax + 4]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x5c]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
mov dword [esp + 0xa0], vtable.CGdiObject.0
lea ecx, [esp + 0xa0]
mov byte [esp + 0xf0], 4
call fcn.0056fb6a
mov eax, dword [edi + 0x50]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
mov byte [esp + 0xf0], 3
jne 0x4ad8b4
mov edx, dword [esi]
not eax
jmp 0x4ad961
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
lea eax, [esp + 0x70]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
mov dword [esp + 0x8c], vtable.CGdiObject.0
lea ecx, [esp + 0x8c]
mov byte [esp + 0xf0], 5
call fcn.0056fb6a
mov edx, dword [esi]
mov eax, dword [esp + 0x3c]
mov byte [esp + 0xf0], 3
push eax
mov ecx, esi
call dword [edx + 0x30]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
add eax, 3
cmp eax, ecx
mov dword [esp + 0x2c], eax
jle 0x4ad97e
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x6c]
cmp eax, ebx
jne 0x4ad995
mov eax, dword [esp + 0x34]
mov edx, dword [esi]
push 0x810
mov ecx, dword [eax - 8]
jmp 0x4ad9af
mov edx, dword [esi]
cmp eax, 2
mov eax, dword [esp + 0x34]
mov ecx, dword [eax - 8]
jne 0x4ad9aa
push 0x812
jmp 0x4ad9af
push 0x811
lea ebp, [esp + 0x24]
push ebp
push ecx
push eax
mov ecx, esi
call dword [edx + 0x68]
cmp dword [esp + 0x40], ebx
je 0x4ad9fd
call fcn.00578d59
mov ebp, dword [esp + 0x40]
call fcn.00578d59
mov eax, dword [eax + 0xc]
and ebp, 0xffff
push ebp
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ecx, dword [esp + 0x20]
push 3
mov edx, dword [esi + 4]
push ebx
push ebx
push 0x10
push 0x10
push eax
mov eax, dword [esp + 0x3c]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawIconEx]
cmp dword [esp + 0x44], ebx
je 0x4ada42
call fcn.00578d59
mov ebp, dword [esp + 0x44]
call fcn.00578d59
mov eax, dword [eax + 0xc]
and ebp, 0xffff
push ebp
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ecx, dword [esp + 0x28]
push 3
mov edx, dword [esi + 4]
push ebx
push ebx
push 0x10
push 0x10
push eax
mov eax, dword [esp + 0x3c]
add ecx, 0xfffffff0
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawIconEx]
mov ebp, dword [esp + 0x18]
lea ecx, [esp + 0x34]
mov byte [esp + 0xf0], 1
call fcn.0056870c
lea ecx, [esp + 0x4c]
mov dword [esp + 0xf0], 0xffffffff
call fcn.0056870c
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x78]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x4ad587
xor ebx, ebx
cmp dword [edi + 0x68], ebx
je 0x4adab6
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xfc]
inc eax
mov edx, dword [ecx]
mov dword [esp + 0x18], eax
push eax
lea eax, [esp + 0xdc]
push edx
push eax
mov ecx, esi
call fcn.0056f624
mov ecx, dword [esp + 0x18]
push ecx
push ebp
mov ecx, esi
call fcn.0056f670
cmp dword [edi + 0x64], ebx
je 0x4adaef
mov edx, dword [esp + 0x1c]
lea eax, [edx + 1]
lea edx, [esp + 0xc0]
mov dword [esp + 0x18], eax
push eax
mov eax, dword [esp + 0x100]
mov ecx, dword [eax]
push ecx
push edx
mov ecx, esi
call fcn.0056f624
mov eax, dword [esp + 0x18]
mov ecx, esi
push eax
push ebp
call fcn.0056f670
jmp 0x4adb27
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x10]
cmp eax, ecx
jle 0x4adb27
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0xfc]
mov ecx, dword [eax]
lea ebx, [edx + 1]
push ebx
lea edx, [esp + 0xd4]
push ecx
push edx
mov ecx, esi
call fcn.0056f624
push ebx
push ebp
mov ecx, esi
call fcn.0056f670
xor ebx, ebx
mov eax, dword [esp + 0xfc]
mov ecx, dword [edi + 0x4c]
mov dword [esp + 0x14], ebx
mov ebx, dword [eax]
mov eax, dword [edi + 0x78]
sub ebx, ecx
test eax, eax
jle 0x4adc3b
mov ecx, dword [esp + 0xfc]
cmp ebx, dword [ecx + 8]
jg 0x4adc3b
mov edx, dword [0x5f9f88]
mov dword [esp + 0x58], edx
push 0x5ea618
lea ecx, [esp + 0x5c]
mov dword [esp + 0xf4], 6
mov dword [esp + 0x58], 0x64
call fcn.00568895
lea ebp, [edi + 0x80]
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
mov dword [esp + 0xf4], 7
call fcn.004afea0
mov ebp, dword [ebp + 4]
mov dword [esp + 0x18], eax
cmp eax, ebp
je 0x4adbb8
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + 0xc]
cmp ecx, edx
jl 0x4adbb8
lea eax, [esp + 0x18]
jmp 0x4adbc6
mov dword [esp + 0x84], ebp
lea eax, [esp + 0x84]
mov eax, dword [eax]
mov ecx, dword [edi + 0x84]
cmp eax, ecx
je 0x4adbe6
mov edx, dword [eax + 0x10]
add eax, 0x14
push eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0x58], edx
call fcn.00568845
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x1c]
inc ecx
lea edx, [esp + 0xb8]
lea ebp, [eax + ebx]
push ecx
push ebp
push edx
mov ecx, esi
call fcn.0056f624
mov eax, dword [esp + 0x30]
mov ecx, esi
inc eax
push eax
push ebp
call fcn.0056f670
lea ecx, [esp + 0x58]
mov ebx, ebp
mov dword [esp + 0xf0], 0xffffffff
call fcn.0056870c
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x78]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x4adb44
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
mov ecx, dword [edi + 0x7c]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4ad555
mov edx, dword [esp + 0x80]
mov ecx, esi
push edx
call fcn.0056f11f
mov ecx, dword [esp + 0xe8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xe4
ret 8