Function at 0x47b250
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 0x47b6a0
call fcn.00503137
mov eax, dword [eax + 8]
mov ebx, 1
push ebx
push 0x1c0
lea ecx, [edi + 0x610]
push ecx
call fcn.0046c310
mov eax, dword [edi + 0x7c]
mov esi, 0x400
test dword [eax + 0x14], esi
je 0x47b2a3
call fcn.00503137
push ebx
push 0x246
lea edx, [edi + 0x678]
push edx
jmp 0x47b2e6
test dword [eax + 8], 0x100000
je 0x47b2c2
test dword [eax + 0x34], 0x200
jne 0x47b2c2
call fcn.00503137
push ebx
push 0x1ce
jmp 0x47b2df
test dword [eax + 0xc], 0x40000
je 0x47b2ee
test byte [eax + 0x134], 0x20
jne 0x47b28f
call fcn.00503137
push ebx
push 0x214
lea ecx, [edi + 0x678]
push ecx
mov eax, dword [eax + 8]
call fcn.0046c310
mov edx, dword [edi + 0x7c]
test dword [edx + 0x14], esi
je 0x47b310
call fcn.00503137
mov eax, dword [eax + 8]
push ebx
push 0x23d
lea ecx, [edi + 0x644]
push ecx
call fcn.0046c310
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.00503f2f
push 0x2bc
push 0xc
lea esi, [edi + 0x12b0]
call fcn.00424ce0
push 0x2bc
push 0xc
lea esi, [edi + 0x12b8]
call fcn.00424d60
mov edx, dword [edi + 0x7c]
mov eax, dword [edx + 0x19bc]
add esp, 0x10
test eax, eax
mov dword [esp + 0x14], 0
je 0x47b3bd
mov esi, 0x8000000
jmp 0x47b380
test eax, eax
mov ecx, eax
je 0x47b603
mov ecx, dword [ecx + 8]
test ecx, ecx
mov eax, dword [eax]
je 0x47b3b9
cmp dword [ecx + 0x34], ebx
jne 0x47b3b9
cmp dword [ecx + 0x24], 0
jne 0x47b3b9
cmp dword [ecx + 0x78], 4
jne 0x47b3b9
cmp dword [ecx + 0x158], 0
je 0x47b3b9
test dword [edx + 0x160], esi
je 0x47b3b9
mov dword [esp + 0x14], ebx
test eax, eax
jne 0x47b380
mov edx, dword [esp + 0x14]
fld qword [0x5ae4b8]
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.005261c0
fld qword [0x5ae4c0]
fld qword [0x584de0]
mov dword [esp + 0x3c], eax
fmul st(1)
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call fcn.005261c0
fld qword [0x584ef0]
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 0x47b51f
fld st(1)
fmul qword [0x5851c0]
call fcn.005261c0
fxch st(1)
mov esi, dword [esp + ebx + 0x3c]
fmul qword [0x585330]
sub esi, eax
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], ebp
call fcn.005261c0
fmul qword [0x584fb0]
sub esi, eax
mov dword [esp + 0x80], esi
call fcn.005261c0
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 0x564f30
mov ecx, esi
call eax
mov ecx, dword [esp + ebx + 0x60]
push 0
push ecx
call fcn.004abce0
fld qword [0x5ae4b8]
mov ebp, dword [esp + ebx + 0x6c]
fld qword [0x5ae4c0]
add ebp, dword [esp + 0x84]
add ebx, 4
cmp ebx, 0xc
jb 0x47b484
lea ebp, [edi + 0x88]
fstp st(1)
test ebp, ebp
fstp st(0)
je 0x47b554
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.005039ae
lea esi, [edi + 0x6e0]
lea ebx, [esp + 0x78]
mov eax, edi
mov dword [esp + 0x20], esi
call fcn.00421940
lea esi, [edi + 0xba8]
mov eax, edi
call fcn.00421940
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 0x47b608
mov eax, dword [esi + 0x20]
push 0
push 0
push eax
mov dword [esi + 0x90], 0
call edi
mov eax, dword [0x5b5a04]
test eax, eax
je 0x47b5bd
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 [0x5b5a04]
test eax, eax
je 0x47b5f2
mov ecx, dword [esi + 0x20]
push 0
push 0xfffffffffffffffc
push ecx
push 0x800a
call eax
mov ecx, ebp
push 5
call fcn.00501947
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
jmp fcn.00504221
mov edx, dword [esi + 0x20]
xor ebx, ebx
push ebx
push ebx
push edx
mov dword [esi + 0x90], 1
call edi
mov eax, dword [0x5b5a04]
cmp eax, ebx
je 0x47b633
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 [0x5b5a04]
cmp eax, ebx
je 0x47b661
mov ecx, dword [esi + 0x20]
push ebx
push 0xfffffffffffffffc
push ecx
push 0x800a
call eax
cmp dword [esp + 0x14], ebx
je 0x47b695
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 [0x5b5a04]
cmp eax, ebx
je 0x47b695
mov ecx, dword [esi + 0x20]
push ebx
push 0xfffffffffffffffc
push ecx
push 0x800a
call eax
mov ecx, dword [esp + 0x20]
push 5
call fcn.00501947
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret