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

Disassembly:
sub esp, 0x84
push esi
mov esi, dword [esp + 0x8c]
push 0xffffffffffffffff
push esi
call fcn.00475290
add esp, 8
cmp dword [esi + 0x58], 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
jge 0x475784
mov eax, 0xffffff7d
pop esi
add esp, 0x84
ret
cmp dword [esi + 4], 0
jne 0x475797
mov eax, 0xffffff76
pop esi
add esp, 0x84
ret
push ebx
mov ebx, dword [esp + 0x98]
test ebx, ebx
jl 0x475da2
mov ecx, dword [esp + 0x94]
jg 0x4757b8
test ecx, ecx
jb 0x475da2
cmp ebx, edx
jg 0x475da2
jl 0x4757ca
cmp ecx, eax
ja 0x475da2
push ebp
push edi
mov edi, dword [esi + 0x34]
sub edi, 1
mov dword [esp + 0x28], edi
js 0x475810
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 0x475804
jl 0x4757fc
cmp dword [esp + 0x9c], eax
jae 0x475804
dec edi
sub ecx, 0x10
test edi, edi
jge 0x4757e4
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 0x475b2a
jl 0x4758a0
cmp edx, dword [esp + 0x18]
jae 0x475b2a
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 0x4758c6
jl 0x4758c2
cmp ecx, 0x10000
jae 0x4758c6
mov edi, ebp
jmp 0x475923
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.004a4580
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.004a44d0
mov ebx, eax
add ebx, dword [esp + 0x10]
mov edi, edx
adc edi, ebp
sub ebx, 0x10000
sbb edi, 0
cmp edi, ebp
jg 0x475923
jl 0x475917
cmp ebx, dword [esp + 0x10]
ja 0x475923
mov ebx, dword [esp + 0x10]
add ebx, 1
mov edi, ebp
adc edi, 0
push edi
push ebx
mov eax, esi
call fcn.004741d0
cdq
add esp, 8
mov ebp, eax
or eax, edx
jne 0x475d87
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.00474230
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x48], edx
cmp ebp, 0xffffff80
jne 0x475971
cmp edx, 0xffffffff
je 0x475d87
cmp dword [esp + 0x48], 0
jg 0x4759d0
jl 0x47597e
test ebp, ebp
jae 0x4759d0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add ecx, 1
adc eax, 0
cmp edi, eax
jl 0x475b2a
jg 0x47599e
cmp ebx, ecx
jbe 0x475b2a
mov edx, ebx
or edx, edi
je 0x475d87
add ebx, 0xffff0000
adc edi, 0xffffffff
cmp edi, dword [esp + 0x14]
jg 0x475ac6
jl 0x4759c7
cmp ebx, dword [esp + 0x10]
ja 0x475ac6
mov ebx, ecx
mov edi, eax
jmp 0x475ac6
lea ecx, [esp + 0x64]
push ecx
call fcn.004ca720
mov edx, dword [esi + 0x40]
mov ecx, dword [esp + 0x2c]
add esp, 4
cmp eax, dword [edx + ecx*4]
jne 0x475add
lea edx, [esp + 0x64]
push edx
call fcn.004ca640
mov ecx, eax
and ecx, edx
add esp, 4
cmp ecx, 0xffffffff
je 0x475add
cmp edx, dword [esp + 0x30]
jg 0x475a5f
jl 0x475a15
cmp eax, dword [esp + 0x2c]
jae 0x475a5f
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 0x475b0c
jl 0x475add
cmp ecx, 0xac44
ja 0x475b0c
jmp 0x475add
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 0x475b2a
jg 0x475a89
cmp ebx, dword [esp + 0x54]
jbe 0x475b2a
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esi + 8]
jne 0x475afc
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esi + 0xc]
jne 0x475afc
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 0x475ac6
jl 0x475abe
cmp ebx, dword [esp + 0x10]
ja 0x475ac6
mov ebx, dword [esp + 0x54]
mov edi, dword [esp + 0x58]
push edi
push ebx
mov eax, esi
call fcn.004741d0
cdq
mov ebp, eax
add esp, 8
or eax, edx
jne 0x475d87
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x1c]
jg 0x475b2a
jl 0x475940
mov edx, dword [esp + 0x10]
cmp edx, dword [esp + 0x18]
jae 0x475b2a
jmp 0x475940
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 0x4758a0
jg 0x475b2a
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x10], ecx
jb 0x4758a0
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
push edx
push ebx
mov eax, esi
call fcn.004741d0
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 0x475d87
push eax
push eax
lea edx, [esp + 0x5c]
push edx
call fcn.00474230
add esp, 0xc
mov ebp, eax
test edx, edx
jl 0x475d87
jg 0x475b77
test ebp, ebp
jb 0x475d87
mov edi, dword [esp + 0x28]
cmp edi, dword [esi + 0x60]
je 0x475b9a
call fcn.00474de0
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 0x475ba9
lea edx, [esi + 0x1e0]
push edx
call fcn.004bbb20
add esp, 4
mov eax, dword [esi + 0x5c]
push eax
lea edi, [esi + 0x78]
push edi
call fcn.004caf10
lea ecx, [esp + 0x5c]
push ecx
push edi
call fcn.004cabb0
lea edx, [esp + 0x84]
push edx
push edi
call fcn.004cb080
cdq
mov ecx, eax
add esp, 0x18
or ecx, edx
je 0x475c29
xor ebp, ebp
jmp 0x475be0
cmp edx, ebp
jl 0x475cf1
jg 0x475bf2
cmp eax, ebp
jb 0x475cf1
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov eax, ecx
and eax, edx
cmp eax, 0xffffffff
jne 0x475cfb
push ebp
push edi
call fcn.004caf30
lea ecx, [esp + 0x7c]
push ecx
push edi
call fcn.004cb080
cdq
mov ecx, eax
add esp, 0x10
or ecx, edx
jne 0x475be0
mov edx, dword [esp + 0x40]
push edx
push ebx
mov eax, esi
call fcn.004741d0
cdq
add esp, 8
mov ebp, eax
test edx, edx
jl 0x475d87
jg 0x475c4e
test ebp, ebp
jb 0x475d87
lea eax, [esp + 0x54]
push eax
mov eax, esi
call fcn.004742e0
mov edi, edx
add esp, 4
mov ebp, eax
test edi, edi
jl 0x475d87
jg 0x475c73
test ebp, ebp
jb 0x475d87
lea ecx, [esp + 0x54]
push ecx
call fcn.004ca720
add esp, 4
cmp eax, dword [esi + 0x5c]
jne 0x475caf
lea edx, [esp + 0x54]
push edx
call fcn.004ca640
add esp, 4
cmp edx, 0xffffffff
jg 0x475cdb
jl 0x475c9e
cmp eax, 0xffffffff
ja 0x475cdb
lea eax, [esp + 0x54]
push eax
call fcn.004ca610
add esp, 4
test eax, eax
je 0x475cdb
lea ecx, [esp + 0x54]
push ecx
mov eax, esi
mov dword [esi + 8], ebp
mov dword [esi + 0xc], edi
call fcn.004742e0
mov edi, edx
add esp, 4
mov ebp, eax
test edi, edi
jg 0x475c73
jl 0x475d87
test ebp, ebp
jae 0x475c73
jmp 0x475d87
push edi
push ebp
push esi
call fcn.00475380
add esp, 0xc
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x84
ret
mov ebp, 0xffffff78
jmp 0x475d7f
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 0x475d21
jl 0x475d1b
cmp ecx, ebp
jae 0x475d21
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 0x475d7a
jl 0x475d4b
mov edx, dword [esi + 0x50]
cmp edx, dword [esp + 0x9c]
ja 0x475d7a
push 0xffffffffffffffff
push esi
call fcn.00475290
add esp, 8
cmp edi, edx
jg 0x475d7a
jl 0x475d65
cmp dword [esp + 0x9c], eax
ja 0x475d7a
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.00474de0
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