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

Disassembly:
sub esp, 0x84
push esi
mov esi, dword [esp + 0x8c]
push 0xffffffffffffffff
push esi
call fcn.004736e0
add esp, 8
cmp dword [esi + 0x58], 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
jge 0x473bd4
mov eax, 0xffffff7d
pop esi
add esp, 0x84
ret
cmp dword [esi + 4], 0
jne 0x473be7
mov eax, 0xffffff76
pop esi
add esp, 0x84
ret
push ebx
mov ebx, dword [esp + 0x98]
test ebx, ebx
jl 0x4741f2
mov ecx, dword [esp + 0x94]
jg 0x473c08
test ecx, ecx
jb 0x4741f2
cmp ebx, edx
jg 0x4741f2
jl 0x473c1a
cmp ecx, eax
ja 0x4741f2
push ebp
push edi
mov edi, dword [esi + 0x34]
sub edi, 1
mov dword [esp + 0x28], edi
js 0x473c60
mov ebp, dword [esi + 0x44]
mov ecx, edi
shl ecx, 4
lea ecx, [ecx + ebp + 8]
mov ebp, dword [ecx]
sub eax, ebp
mov ebp, dword [ecx + 4]
sbb edx, ebp
cmp ebx, edx
jg 0x473c54
jl 0x473c4c
cmp dword [esp + 0x9c], eax
jae 0x473c54
dec edi
sub ecx, 0x10
test edi, edi
jge 0x473c34
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
mov edx, dword [esi + 0x38]
mov eax, dword [edx + edi*8 + 8]
lea ecx, [edx + edi*8]
mov edx, dword [ecx + 0xc]
shl edi, 4
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x44]
mov ebp, dword [edi + eax]
mov ebx, dword [edi + eax + 8]
add edi, eax
mov eax, dword [edi + 4]
mov edi, dword [edi + 0xc]
add ebx, ebp
adc edi, eax
mov dword [esp + 0x50], edi
mov edi, ebp
sub edi, dword [esp + 0x20]
mov dword [esp + 0x38], eax
sbb eax, dword [esp + 0x24]
add edi, dword [esp + 0x9c]
mov dword [esp + 0x1c], edx
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
adc eax, dword [esp + 0xa0]
cmp ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ecx
jg 0x473f7a
jl 0x473cf0
cmp edx, dword [esp + 0x18]
jae 0x473f7a
lea esp, [esp]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
sub ecx, ebx
sbb eax, ebp
test eax, eax
jg 0x473d16
jl 0x473d12
cmp ecx, 0x10000
jae 0x473d16
mov edi, ebp
jmp 0x473d73
mov edx, dword [esp + 0x2c]
sub edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x38]
push eax
push ecx
sbb ebx, edi
push ebx
push edx
call fcn.004a29d0
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x50]
sbb ebx, edi
push ebx
push ecx
push edx
push eax
call fcn.004a2920
mov ebx, eax
add ebx, dword [esp + 0x10]
mov edi, edx
adc edi, ebp
sub ebx, 0x10000
sbb edi, 0
cmp edi, ebp
jg 0x473d73
jl 0x473d67
cmp ebx, dword [esp + 0x10]
ja 0x473d73
mov ebx, dword [esp + 0x10]
add ebx, 1
mov edi, ebp
adc edi, 0
push edi
push ebx
mov eax, esi
call fcn.00472620
cdq
add esp, 8
mov ebp, eax
or eax, edx
jne 0x4741d7
lea ebx, [ebx]
mov ecx, dword [esp + 0x18]
sub ecx, dword [esi + 8]
mov edx, dword [esp + 0x1c]
sbb edx, dword [esi + 0xc]
lea eax, [esp + 0x64]
push edx
push ecx
push eax
call fcn.00472680
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x48], edx
cmp ebp, 0xffffff80
jne 0x473dc1
cmp edx, 0xffffffff
je 0x4741d7
cmp dword [esp + 0x48], 0
jg 0x473e20
jl 0x473dce
test ebp, ebp
jae 0x473e20
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add ecx, 1
adc eax, 0
cmp edi, eax
jl 0x473f7a
jg 0x473dee
cmp ebx, ecx
jbe 0x473f7a
mov edx, ebx
or edx, edi
je 0x4741d7
add ebx, 0xffff0000
adc edi, 0xffffffff
cmp edi, dword [esp + 0x14]
jg 0x473f16
jl 0x473e17
cmp ebx, dword [esp + 0x10]
ja 0x473f16
mov ebx, ecx
mov edi, eax
jmp 0x473f16
lea ecx, [esp + 0x64]
push ecx
call fcn.004c8b70
mov edx, dword [esi + 0x40]
mov ecx, dword [esp + 0x2c]
add esp, 4
cmp eax, dword [edx + ecx*4]
jne 0x473f2d
lea edx, [esp + 0x64]
push edx
call fcn.004c8a90
mov ecx, eax
and ecx, edx
add esp, 4
cmp ecx, 0xffffffff
je 0x473f2d
cmp edx, dword [esp + 0x30]
jg 0x473eaf
jl 0x473e65
cmp eax, dword [esp + 0x2c]
jae 0x473eaf
mov ecx, dword [esp + 0x48]
mov ebx, dword [esi + 8]
mov edi, dword [esi + 0xc]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x2c]
sub ecx, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
sbb eax, edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x38], edx
test eax, eax
jg 0x473f5c
jl 0x473f2d
cmp ecx, 0xac44
ja 0x473f5c
jmp 0x473f2d
mov ecx, dword [esp + 0x10]
add ecx, 1
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x14]
adc ecx, 0
cmp edi, ecx
mov dword [esp + 0x58], ecx
jl 0x473f7a
jg 0x473ed9
cmp ebx, dword [esp + 0x54]
jbe 0x473f7a
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esi + 8]
jne 0x473f4c
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esi + 0xc]
jne 0x473f4c
mov edx, dword [esp + 0x48]
add ebx, 0xffff0000
adc edi, 0xffffffff
cmp edi, dword [esp + 0x14]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edx
jg 0x473f16
jl 0x473f0e
cmp ebx, dword [esp + 0x10]
ja 0x473f16
mov ebx, dword [esp + 0x54]
mov edi, dword [esp + 0x58]
push edi
push ebx
mov eax, esi
call fcn.00472620
cdq
mov ebp, eax
add esp, 8
or eax, edx
jne 0x4741d7
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x1c]
jg 0x473f7a
jl 0x473d90
mov edx, dword [esp + 0x10]
cmp edx, dword [esp + 0x18]
jae 0x473f7a
jmp 0x473d90
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x14], eax
jl 0x473cf0
jg 0x473f7a
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x10], ecx
jb 0x473cf0
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
push edx
push ebx
mov eax, esi
call fcn.00472620
cdq
mov ebp, eax
or eax, 0xffffffff
mov ecx, ebp
add esp, 8
or ecx, edx
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
jne 0x4741d7
push eax
push eax
lea edx, [esp + 0x5c]
push edx
call fcn.00472680
add esp, 0xc
mov ebp, eax
test edx, edx
jl 0x4741d7
jg 0x473fc7
test ebp, ebp
jb 0x4741d7
mov edi, dword [esp + 0x28]
cmp edi, dword [esi + 0x60]
je 0x473fea
call fcn.00473230
mov eax, dword [esi + 0x40]
mov dword [esi + 0x60], edi
mov ecx, dword [eax + edi*4]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x58], 3
jmp 0x473ff9
lea edx, [esi + 0x1e0]
push edx
call fcn.004b9f90
add esp, 4
mov eax, dword [esi + 0x5c]
push eax
lea edi, [esi + 0x78]
push edi
call fcn.004c9360
lea ecx, [esp + 0x5c]
push ecx
push edi
call fcn.004c9000
lea edx, [esp + 0x84]
push edx
push edi
call fcn.004c94d0
cdq
mov ecx, eax
add esp, 0x18
or ecx, edx
je 0x474079
xor ebp, ebp
jmp 0x474030
cmp edx, ebp
jl 0x474141
jg 0x474042
cmp eax, ebp
jb 0x474141
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov eax, ecx
and eax, edx
cmp eax, 0xffffffff
jne 0x47414b
push ebp
push edi
call fcn.004c9380
lea ecx, [esp + 0x7c]
push ecx
push edi
call fcn.004c94d0
cdq
mov ecx, eax
add esp, 0x10
or ecx, edx
jne 0x474030
mov edx, dword [esp + 0x40]
push edx
push ebx
mov eax, esi
call fcn.00472620
cdq
add esp, 8
mov ebp, eax
test edx, edx
jl 0x4741d7
jg 0x47409e
test ebp, ebp
jb 0x4741d7
lea eax, [esp + 0x54]
push eax
mov eax, esi
call fcn.00472730
mov edi, edx
add esp, 4
mov ebp, eax
test edi, edi
jl 0x4741d7
jg 0x4740c3
test ebp, ebp
jb 0x4741d7
lea ecx, [esp + 0x54]
push ecx
call fcn.004c8b70
add esp, 4
cmp eax, dword [esi + 0x5c]
jne 0x4740ff
lea edx, [esp + 0x54]
push edx
call fcn.004c8a90
add esp, 4
cmp edx, 0xffffffff
jg 0x47412b
jl 0x4740ee
cmp eax, 0xffffffff
ja 0x47412b
lea eax, [esp + 0x54]
push eax
call fcn.004c8a60
add esp, 4
test eax, eax
je 0x47412b
lea ecx, [esp + 0x54]
push ecx
mov eax, esi
mov dword [esi + 8], ebp
mov dword [esi + 0xc], edi
call fcn.00472730
mov edi, edx
add esp, 4
mov ebp, eax
test edi, edi
jg 0x4740c3
jl 0x4741d7
test ebp, ebp
jae 0x4740c3
jmp 0x4741d7
push edi
push ebp
push esi
call fcn.004737d0
add esp, 0xc
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x84
ret
mov ebp, 0xffffff78
jmp 0x4741cf
mov eax, dword [esi + 0x60]
mov edi, dword [esi + 0x44]
shl eax, 4
sub ecx, dword [eax + edi]
sbb edx, dword [eax + edi + 4]
mov dword [esi + 0x50], ecx
cmp edx, ebp
mov dword [esi + 0x54], edx
jg 0x474171
jl 0x47416b
cmp ecx, ebp
jae 0x474171
mov dword [esi + 0x50], ebp
mov dword [esi + 0x54], ebp
mov edx, dword [esp + 0x20]
add dword [esi + 0x50], edx
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0xa0]
adc dword [esi + 0x54], eax
mov ecx, dword [esi + 0x54]
cmp ecx, edi
jg 0x4741ca
jl 0x47419b
mov edx, dword [esi + 0x50]
cmp edx, dword [esp + 0x9c]
ja 0x4741ca
push 0xffffffffffffffff
push esi
call fcn.004736e0
add esp, 8
cmp edi, edx
jg 0x4741ca
jl 0x4741b5
cmp dword [esp + 0x9c], eax
ja 0x4741ca
fldz
pop edi
pop ebp
fst qword [esi + 0x68]
pop ebx
fstp qword [esi + 0x70]
xor eax, eax
pop esi
add esp, 0x84
ret
mov ebp, 0xffffff7f
mov dword [esp + 0x48], 0xffffffff
or eax, 0xffffffff
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
call fcn.00473230
pop edi
mov eax, ebp
pop ebp
pop ebx
pop esi
add esp, 0x84
ret
pop ebx
mov eax, 0xffffff7d
pop esi
add esp, 0x84
ret