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

Disassembly:
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
mov edi, eax
cmp dword [edi + 0x7c], 0
je 0x471fc3
call fcn.00506c00
mov eax, dword [eax + 8]
mov ebx, 1
push ebx
push 0x1c0
lea ecx, [edi + 0x610]
push ecx
call fcn.004616a0
mov eax, dword [edi + 0x7c]
mov esi, 0x400
test dword [eax + 0x14], esi
je 0x471bc3
call fcn.00506c00
push ebx
push 0x246
lea edx, [edi + 0x678]
push edx
jmp 0x471c06
test dword [eax + 8], 0x100000
je 0x471be2
test dword [eax + 0x34], 0x200
jne 0x471be2
call fcn.00506c00
push ebx
push 0x1ce
jmp 0x471bff
test dword [eax + 0xc], 0x40000
je 0x471c0e
test byte [eax + 0x134], 0x20
jne 0x471baf
call fcn.00506c00
push ebx
push 0x214
lea ecx, [edi + 0x678]
push ecx
mov eax, dword [eax + 8]
call fcn.004616a0
mov edx, dword [edi + 0x7c]
test dword [edx + 0x14], esi
je 0x471c30
call fcn.00506c00
mov eax, dword [eax + 8]
push ebx
push 0x23d
lea ecx, [edi + 0x644]
push ecx
call fcn.004616a0
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [edi + 0x60c], eax
push eax
mov dword [edi + 0x11c], ebx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [edi + 0x120]
call fcn.005079bd
push 0x2bc
push 0xc
lea esi, [edi + 0x12b0]
call fcn.00425360
push 0x2bc
push 0xc
lea esi, [edi + 0x12b8]
call fcn.004253e0
mov edx, dword [edi + 0x7c]
mov eax, dword [edx + 0x1a64]
add esp, 0x10
test eax, eax
mov dword [esp + 0x14], 0
je 0x471ce0
mov esi, 0x8000000
jmp 0x471ca0
test eax, eax
mov ecx, eax
je 0x471f26
mov ecx, dword [ecx + 8]
test ecx, ecx
mov eax, dword [eax]
je 0x471cdc
cmp dword [ecx + 0x38], ebx
jne 0x471cdc
cmp dword [ecx + 0x28], 0
jne 0x471cdc
cmp dword [ecx + 0x80], 4
jne 0x471cdc
cmp dword [ecx + 0x1a0], 0
je 0x471cdc
test dword [edx + 0x160], esi
je 0x471cdc
mov dword [esp + 0x14], ebx
test eax, eax
jne 0x471ca0
mov edx, dword [esp + 0x14]
fld qword [0x5b65b0]
lea eax, [edi + 0x1098]
fld st(0)
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], eax
lea eax, [edi + 0x11d8]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x4c], eax
lea eax, [edi + 0x1138]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x50], eax
mov eax, 0x1be
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x54], 0x551
mov dword [esp + 0x58], 0x643
mov dword [esp + 0x5c], 0x552
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
call fcn.005296d0
fld qword [0x5b65b8]
fld qword [0x58bc00]
mov dword [esp + 0x3c], eax
fmul st(1)
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call fcn.005296d0
fld qword [0x58bd10]
fnstcw word [esp + 0x12]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
fmul st(1)
mov dword [esp + 0x74], eax
movzx eax, word [esp + 0x12]
or eax, 0xc00
mov dword [esp + 0x20], eax
xor ebx, ebx
fldcw word [esp + 0x20]
fistp qword [esp + 0x20]
mov ebp, dword [esp + 0x20]
fldcw word [esp + 0x12]
cmp dword [esp + ebx + 0x30], 0
je 0x471e42
fld st(1)
fmul qword [0x58bfe0]
call fcn.005296d0
fxch st(1)
mov esi, dword [esp + ebx + 0x3c]
fmul qword [0x58c158]
sub esi, eax
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], ebp
call fcn.005296d0
fmul qword [0x58bdd0]
sub esi, eax
mov dword [esp + 0x80], esi
call fcn.005296d0
mov ecx, dword [esp + ebx + 0x54]
mov esi, dword [esp + ebx + 0x48]
push ecx
push edi
sub ebp, eax
lea edx, [esp + 0x80]
push edx
mov dword [esp + 0x90], ebp
mov eax, dword [esi]
mov eax, dword [eax + 0x134]
push 0x5001000b
push 0x566c94
mov ecx, esi
call eax
mov ecx, dword [esp + ebx + 0x60]
push 0
push ecx
call fcn.004b0830
fld qword [0x5b65b0]
mov ebp, dword [esp + ebx + 0x6c]
fld qword [0x5b65b8]
add ebp, dword [esp + 0x84]
add ebx, 4
cmp ebx, 0xc
jb 0x471da7
lea ebp, [edi + 0x88]
fstp st(1)
test ebp, ebp
fstp st(0)
je 0x471e77
mov eax, dword [ebp + 0x20]
lea edx, [esp + 0x78]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x78]
push ecx
mov ecx, edi
call fcn.0050743c
lea esi, [edi + 0x6e0]
lea ebx, [esp + 0x78]
mov eax, edi
mov dword [esp + 0x20], esi
call fcn.00421d50
lea esi, [edi + 0xba8]
mov eax, edi
call fcn.00421d50
mov edx, dword [edi + 0x7c]
test dword [edx + 0x14], 0x400
mov esi, dword [esp + 0x18]
mov edi, dword [sym.imp.USER32.dll_RedrawWindow]
push 0x101
je 0x471f2b
mov eax, dword [esi + 0x20]
push 0
push 0
push eax
mov dword [esi + 0x90], 0
call edi
mov eax, dword [0x5bda24]
test eax, eax
je 0x471ee0
mov ecx, dword [esi + 0x20]
push 0
push 0xfffffffffffffffc
push ecx
push 0x800a
call eax
mov esi, dword [esp + 0x1c]
mov edx, dword [esi + 0x20]
push 0x101
push 0
push 0
push edx
mov dword [esi + 0x90], 1
call edi
mov eax, dword [0x5bda24]
test eax, eax
je 0x471f15
mov ecx, dword [esi + 0x20]
push 0
push 0xfffffffffffffffc
push ecx
push 0x800a
call eax
mov ecx, ebp
push 5
call fcn.00505414
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
jmp fcn.00507caf
mov edx, dword [esi + 0x20]
xor ebx, ebx
push ebx
push ebx
push edx
mov dword [esi + 0x90], 1
call edi
mov eax, dword [0x5bda24]
cmp eax, ebx
je 0x471f56
mov ecx, dword [esi + 0x20]
push ebx
push 0xfffffffffffffffc
push ecx
push 0x800a
call eax
mov esi, dword [esp + 0x1c]
mov edx, dword [esi + 0x20]
push 0x101
push ebx
push ebx
push edx
mov dword [esi + 0x90], ebx
call edi
mov eax, dword [0x5bda24]
cmp eax, ebx
je 0x471f84
mov ecx, dword [esi + 0x20]
push ebx
push 0xfffffffffffffffc
push ecx
push 0x800a
call eax
cmp dword [esp + 0x14], ebx
je 0x471fb8
mov esi, dword [esp + 0x2c]
mov edx, dword [esi + 0x20]
push 0x101
push ebx
push ebx
push edx
mov dword [esi + 0x90], ebx
call edi
mov eax, dword [0x5bda24]
cmp eax, ebx
je 0x471fb8
mov ecx, dword [esi + 0x20]
push ebx
push 0xfffffffffffffffc
push ecx
push 0x800a
call eax
mov ecx, dword [esp + 0x20]
push 5
call fcn.00505414
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret