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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x47e277
sub esp, 0x70
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x8c]
mov ebp, edx
and edx, ebx
mov eax, ebx
mov ebx, dword [esp + 0x88]
test edx, 0x80000000
je 0x47e0c9
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x90]
mov edx, eax
sub eax, ecx
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0x94]
mov esi, ebx
sbb ebx, ebp
test ebx, ebx
jge 0x47e061
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ecx
cmp ebp, esi
xchg edi, ebx
setl bl
xchg edi, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
cmp ecx, edx
setb cl
and ecx, ebp
or ecx, edi
test cl, cl
jne 0x47e047
test ebx, ebx
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
jmp 0x47e061
mov dword [esp + 0xa0], 0x7fffffff
mov dword [esp + 0x9c], 0xffffffff
add esp, 0x70
ret
mov dword [esp + 0x50], ebx
mov dword [esp + 0x48], eax
xchg edi, ebx
setg bl
xchg edi, ebx
sete bl
test eax, eax
seta al
and eax, ebx
or eax, edi
test al, al
je 0x47e0af
cmp ebp, esi
setg al
sete bl
cmp ecx, edx
seta cl
and ecx, ebx
or ecx, eax
test cl, cl
je 0x47e0af
mov dword [esp + 0xa0], 0x80000000
mov dword [esp + 0x9c], 0
add esp, 0x70
ret
mov eax, dword [esp + 0x50]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x9c], eax
add esp, 0x70
ret
test ebp, 0x80000000
je 0x47e0fd
shl ebp, 1
mov edx, ecx
shr ecx, 0x1f
or ecx, ebp
mov ebp, edx
shl edx, 1
mov esi, ecx
shl ecx, 1
shr edx, 0x1f
or edx, ecx
mov ecx, edx
add edx, 0xd7b17f80
shr esi, 0x1f
add ecx, 0xd7b17f80
adc esi, 0xd
jmp 0x47e10a
mov edx, dword [esp + 0x7c]
mov esi, dword [esp + 0x80]
mov ebp, ecx
test eax, 0x80000000
je 0x47e13d
shl eax, 1
mov ecx, ebx
shr ebx, 0x1f
or ebx, eax
mov eax, ecx
shl ecx, 1
mov edi, ebx
shl ebx, 1
shr ecx, 0x1f
or ecx, ebx
mov ebx, ecx
add ecx, 0xd7b17f80
shr edi, 0x1f
add ebx, 0xd7b17f80
adc edi, 0xd
jmp 0x47e14d
mov ecx, dword [esp + 0x90]
mov edi, dword [esp + 0x94]
mov eax, ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x58], eax
mov ebx, edx
sub edx, ecx
mov eax, edx
mov ecx, 0x3b9aca00
mul ecx
mov dword [esp + 0x54], eax
and ebp, 0x3fffffff
mov ecx, dword [esp + 0x58]
and ecx, 0x3fffffff
sub ebp, ecx
add eax, ebp
mov dword [esp + 0x44], eax
lea edi, [esp]
lea esi, [esp + 0x88]
call fcn.0045face
mov ecx, dword [esp + 0x30]
sub ebx, ecx
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
sbb ecx, ebx
imul ecx, ecx, 0x3b9aca00
add ecx, edx
mov edx, ebp
sar ebp, 0x1f
mov ebx, dword [esp + 0x54]
add ebx, edx
adc ecx, ebp
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
call fcn.0047dd90
lea edi, [esp + 0x5c]
lea esi, [esp + 0x1c]
call fcn.0045face
lea edi, [esp]
lea esi, [esp + 0x5c]
call fcn.0045face
lea edi, [esp + 0x14]
lea esi, [esp + 0x74]
call fcn.0045face
call fcn.0047cb90
movzx ecx, byte [esp + 0x28]
test cl, cl
jne 0x47e25d
lea edi, [esp]
lea esi, [esp + 0x74]
call fcn.0045face
lea edi, [esp + 0x14]
lea esi, [esp + 0x88]
call fcn.0045face
call fcn.0047ca50
movzx eax, byte [esp + 0x28]
test al, al
je 0x47e243
mov dword [esp + 0xa0], 0x80000000
mov dword [esp + 0x9c], 0
add esp, 0x70
ret
mov dword [esp + 0xa0], 0x7fffffff
mov dword [esp + 0x9c], 0xffffffff
add esp, 0x70
ret
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x9c], eax
add esp, 0x70
ret
call fcn.0045e000
jmp fcn.0047dfb0