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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45c9bc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1878
call fcn.00487040
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0x68]
call 0x49a3b4
mov dword [esp + 0x68], 0x45f860
xor ebx, ebx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x188c], ebx
call 0x49ab6f
mov dword [esp + 0x4c], 0x462694
call 0x49abcf
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x5c], eax
push ebx
push ebx
lea ecx, [esp + 0x64]
mov byte [esp + 0x1894], 1
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], 0xffffffff
call fcn.00466e00
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x4c]
push eax
push ebx
push ecx
lea ecx, [esp + 0x74]
mov byte [esp + 0x1898], 2
call 0x49a6b8
test eax, eax
jne 0x4738de
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
mov byte [esp + 0x188c], bl
mov dword [esp + 0x4c], 0x462694
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x473b4b
call 0x49abcf
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1890], 3
call fcn.00479690
test eax, eax
je 0x473af9
nop
mov ecx, dword [esp + 0xc]
mov dx, word [ecx]
movzx eax, dx
sub eax, 0x41
je 0x47392d
sub eax, 2
je 0x47392d
sub eax, 9
jne 0x473ae3
mov dword [esp + 0x3c], edx
cmp dword [ecx - 0xc], ebx
jle 0x473ae3
push 0x3d
push ecx
call fcn.00486836
add esp, 8
cmp eax, ebx
je 0x473ae3
sub eax, dword [esp + 0xc]
sar eax, 1
cmp eax, 0xffffffff
je 0x473ae3
inc eax
push eax
push ebx
lea ecx, [esp + 0x14]
call fcn.00466cc0
movzx eax, word [esp + 0x3c]
sub eax, 0x41
je 0x473a3b
sub eax, 2
je 0x4739e2
sub eax, 9
jne 0x473ae3
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x4c]
push ecx
push 0x46151c
push edx
call fcn.00486ffe
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x2c]
add esp, 0x18
push eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x54]
push edx
push eax
push ecx
lea ecx, [esi + 0x80]
call fcn.00477730
jmp 0x473ae3
lea edx, [esp + 0x60]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
push 0x4614f8
push edx
call fcn.00486ffe
fld qword [0x4612f0]
mov eax, dword [esp + 0x78]
fadd st(0), st(0)
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x30]
add esp, 0xc
fstp qword [esp]
push ebx
push ebx
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
lea ecx, [esi + 0x64]
call fcn.00476500
jmp 0x473ae3
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x40]
push eax
push 0x4614a8
push ecx
call fcn.00486ffe
add esp, 0x24
cmp word [esp + 0x3c], 0x4e
jne 0x473a9f
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x54]
jmp 0x473ac4
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
push eax
push ecx
lea ecx, [esi + 0x64]
call fcn.00476a60
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x6c]
call fcn.00479690
test eax, eax
jne 0x473910
lea ecx, [esp + 0x68]
call 0x49a352
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x188c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x473b28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
mov byte [esp + 0x188c], bl
mov dword [esp + 0x4c], 0x462694
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x473b55
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x68]
mov dword [esp + 0x188c], 0xffffffff
call 0x49a3f3
mov ecx, dword [esp + 0x1884]
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4