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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f257c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x200
mov eax, dword [0x53ffd0]
xor eax, dword [ebp + 4]
mov edx, dword [ebp + 8]
push ebx
push esi
mov dword [esp + 0x200], eax
push edi
lea eax, [esp + 0x24]
mov esi, ecx
push eax
lea ecx, [esi + 0x94]
push edx
mov dword [esp + 0x34], ecx
call fcn.0047a340
xor ebx, ebx
test eax, eax
je 0x47e539
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x24], bl
je 0x47e9ed
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 4]
push 0x84
call fcn.004d2f6a
add esp, 4
cmp eax, ebx
je 0x47e591
mov ecx, eax
call fcn.00479d00
mov edi, eax
cmp edi, ebx
je 0x47e591
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 4]
imul eax, eax, 0x34
mov edx, dword [ecx + eax + 4]
mov dword [esp + 0x24], eax
mov eax, dword [edx - 0xc]
add eax, eax
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x47e591
add eax, eax
push eax
call fcn.004d2f95
add esp, 4
cmp eax, ebx
mov dword [esp + 0x28], eax
push 1
jne 0x47e598
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
xor eax, eax
jmp 0x47e9ed
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 8]
push ecx
push eax
push edx
mov ecx, esi
mov word [eax], bx
call fcn.0046eb80
mov eax, dword [ebp + 8]
push eax
mov ecx, esi
call fcn.0046c220
push eax
lea ecx, [esp + 0x17c]
call fcn.0044a300
lea ecx, [esp + 0x178]
push ecx
lea ecx, [esp + 0xf4]
mov dword [esp + 0x218], ebx
call fcn.0044a300
mov eax, dword [esi + 0xe4]
mov ecx, dword [esi + 0xe0]
sar eax, 3
push eax
sar ecx, 3
push ecx
push ebx
lea edx, [edi + 0x6c]
push ebx
push edx
mov byte [esp + 0x228], 1
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [esp + 0x188]
mov ecx, dword [esp + 0x24]
neg edx
mov dword [edi + 0x1c], edx
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x20], eax
mov byte [edi + 0x24], bl
mov eax, dword [esi + 4]
add eax, ecx
mov dword [esi + 0xf4], ebx
mov dword [esi + 0xf0], ebx
mov dword [esi + 0xf8], ebx
mov dword [esi + 0xfc], 0x3ff00000
mov dword [esi + 0x108], ebx
mov dword [esi + 0x104], ebx
mov dword [esi + 0x100], ebx
mov dword [esi + 0x10c], ebx
mov dword [esi + 0x110], ebx
mov eax, dword [eax + 0x10]
push ecx
sub eax, 0x10
mov dword [esp + 0x10], esp
mov dword [esp + 0x14], esp
push eax
call fcn.00406120
mov ecx, dword [esp + 0x18]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
push edi
mov ecx, esi
call fcn.0047b890
mov eax, dword [esp + 0x28]
jmp 0x47e692
mov eax, dword [esp + 0x10]
mov cx, word [eax]
cmp cx, bx
je 0x47e814
movzx ecx, cx
add eax, 2
cmp ecx, 0x7b
mov dword [esp + 0x10], eax
lea edx, [esp + 0x178]
je 0x47e7f3
push edx
lea ecx, [esp + 0x34]
call fcn.0044a300
fld qword [esp + 0x78]
fmul qword [esi + 0xd8]
mov byte [esp + 0x214], 2
fmul qword [0x50a800]
call fcn.004b76b8
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fstp qword [esp + 0x78]
fld qword [esp + 0x90]
fmul qword [esi + 0xd0]
fmul qword [0x50a800]
call fcn.004b76b8
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
mov al, byte [esi + 0x44]
cmp al, bl
fstp qword [esp + 0x90]
je 0x47e75b
fld qword [esi + 0xd8]
fadd qword [esi + 0xd0]
fld qword [esp + 0x48]
fmul st(1)
fmul qword [0x50a8e0]
call fcn.004b76b8
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fstp qword [esp + 0x48]
fmul qword [esp + 0x50]
fmul qword [0x50a8e0]
call fcn.004b76b8
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
jmp 0x47e78d
fld qword [esp + 0x48]
fmul qword [0x50a938]
call fcn.004b76b8
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fstp qword [esp + 0x48]
fld qword [esp + 0x50]
fmul qword [0x50a938]
call fcn.004b76b8
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
mov eax, dword [esi + 0x10c]
fstp qword [esp + 0x50]
cmp eax, ebx
je 0x47e7b2
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x30]
push eax
add ecx, 0xfffffffe
push ecx
push edi
mov ecx, esi
call fcn.0047b520
jmp 0x47e7c7
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x30]
push edx
add eax, 0xfffffffe
push eax
push edi
mov ecx, esi
call fcn.0047b160
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
mov byte [esp + 0x214], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47e80a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x47e80a
push ebx
lea ecx, [esp + 0xf4]
push ecx
push edx
push eax
push edi
mov ecx, esi
call fcn.0047c9a0
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], ebx
jne 0x47e68e
mov eax, dword [esp + 0x28]
push eax
call fcn.004d2f9a
mov eax, dword [edi + 0x2c]
add esp, 4
cmp eax, ebx
je 0x47e83b
cmp dword [edi + 0x28], ebx
jne 0x47e837
cmp dword [edi + 0x34], ebx
jne 0x47e837
cmp dword [edi + 0x38], ebx
je 0x47e83b
mov byte [edi + 0x24], 1
mov eax, dword [edi + 0x1c]
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x24]
mov dword [edi + 0x1c], eax
mov ecx, dword [esi + 4]
add ecx, edx
push ecx
lea ecx, [esp + 0xc0]
call fcn.0043fd90
mov edx, dword [esp + 0xd8]
mov eax, dword [esp + 0xd0]
cmp eax, ebx
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0xdc]
mov byte [esp + 0x214], 3
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], edx
jne 0x47e89f
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x14], eax
cmp ecx, ebx
jne 0x47e8ae
mov ecx, dword [esp + 0xf4]
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x1c], ebx
jne 0x47e8bf
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x1c], eax
cmp edx, ebx
jne 0x47e8ce
mov ecx, dword [esp + 0xfc]
mov dword [esp + 0x20], ecx
fild dword [esp + 0x14]
fmul qword [esi + 0xd0]
fmul qword [0x50a938]
call fcn.004b76b8
fild dword [esp + 0x18]
mov dword [esp + 0x14], eax
fmul qword [esi + 0xd8]
fmul qword [0x50a938]
call fcn.004b76b8
fild dword [esp + 0x1c]
mov dword [esp + 0x18], eax
fmul qword [esi + 0xd0]
fmul qword [0x50a938]
call fcn.004b76b8
fild dword [esp + 0x20]
mov dword [esp + 0x1c], eax
fmul qword [esi + 0xd8]
fmul qword [0x50a938]
call fcn.004b76b8
mov edx, dword [esi + 0xe4]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0xe0]
push edx
push eax
mov ecx, edi
call fcn.0047c630
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 8], edx
mov edx, dword [esi + 0xe0]
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0xe4]
push ecx
push edx
mov ecx, edi
call fcn.0047a880
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x2c]
push eax
call fcn.0047a9d0
lea ecx, [esp + 0xbc]
mov dword [eax], edi
call fcn.0043ef30
mov eax, dword [esp + 0x134]
add eax, 0xfffffff0
mov byte [esp + 0x214], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47e9bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1bc]
add eax, 0xfffffff0
mov dword [esp + 0x214], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47e9eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, edi
mov ecx, dword [esp + 0x20c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x204]
xor ecx, dword [ebp + 4]
call fcn.004b8f56
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4