Function at 0x475650
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ea943
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x58], esi
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], 0x602900
lea ecx, [esp + 0x20]
mov dword [esp + 0xb0], ebx
call fcn.005e2e28
lea ecx, [esp + 0x30]
mov byte [esp + 0xb0], 1
call fcn.00475ef0
mov dword [esp + 0x30], 0x603f20
mov edi, dword [ebp + 8]
xor ecx, ecx
mov byte [esp + 0xb0], 2
mov dword [esp + 0x20], 0x606750
mov eax, dword [edi + 0xc]
mov dword [esp + 0x3c], edi
cmp eax, ebx
mov dword [esp + 0x38], ebx
sete cl
cmp ecx, ebx
mov dword [esp + 0x50], ecx
je 0x47576e
mov eax, dword [edi]
lea ecx, [esp + 0x40]
push ecx
mov ecx, edi
call dword [eax + 0x58]
cmp edi, ebx
jne 0x4756f6
xor eax, eax
jmp 0x4756f9
mov eax, dword [edi + 4]
push eax
call dword [0x60007c]
push eax
lea ecx, [esp + 0x24]
call fcn.005e2e22
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
mov edx, dword [edi + 4]
sub eax, ecx
mov ecx, dword [esp + 0x48]
sub ecx, ebx
push eax
push ecx
push edx
call dword [0x600080]
push eax
lea ecx, [esp + 0x34]
call fcn.005e2d2c
mov edi, dword [esp + 0x34]
lea eax, [esp + 0x30]
neg eax
sbb eax, eax
and eax, edi
push eax
mov eax, dword [esp + 0x28]
push eax
call fcn.005e2e1c
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x38], eax
push ecx
lea eax, [esp + 0xa4]
push edx
push eax
lea ecx, [esp + 0x2c]
call fcn.005e2ffc
jmp 0x475780
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
xor eax, eax
xor ebx, ebx
mov al, byte [esi + 0x70]
mov bl, byte [esi + 0x74]
mov dword [esp + 0xc], eax
sub ebx, eax
mov edi, dword [esi + 0x70]
xor eax, eax
mov al, byte [esi + 0x71]
xor ecx, ecx
mov cl, byte [esi + 0x75]
and eax, 0xff
and ecx, 0xff
mov dword [esp + 0x18], eax
sub ecx, eax
mov eax, dword [esi + 0x74]
shr edi, 0x10
shr eax, 0x10
and edi, 0xff
and eax, 0xff
sub eax, edi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], eax
mov byte [esp + 0xb0], 3
cdq
mov ecx, eax
mov eax, dword [esp + 0x54]
xor ecx, edx
mov dword [esp + 0x60], ebx
sub ecx, edx
cdq
mov esi, eax
xor esi, edx
sub esi, edx
cmp esi, ecx
mov dword [esp + 0x1c], esi
jg 0x4757f6
mov dword [esp + 0x1c], ecx
mov eax, ebx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x1c]
cmp eax, edx
jg 0x47580d
cmp esi, ecx
mov eax, esi
jg 0x47580d
mov eax, ecx
mov edx, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
lea ecx, [eax + 1]
mov eax, dword [edx]
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
test eax, eax
je 0x475829
fild dword [esi + 0xc]
jmp 0x47582c
fild dword [esi + 8]
fdiv st(1)
cmp ecx, 1
fstp qword [esp + 0x7c]
jle 0x475868
fsub qword [0x6018a8]
fild dword [esp + 0x60]
fdiv st(1)
fstp qword [esp + 0x84]
fild dword [esp + 0x54]
fdiv st(1)
fstp qword [esp + 0x8c]
fild dword [esp + 0x5c]
fdiv st(1)
fstp qword [esp + 0x94]
fstp st(0)
jmp 0x4758ac
fstp st(0)
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x60], eax
xor eax, eax
test ecx, ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x5c], edi
mov dword [esp + 0xc], eax
jle 0x475a44
mov edi, dword [0x600b78]
mov ecx, dword [ebp + 0x14]
cmp dword [ecx], 0
je 0x475989
fild dword [esp + 0xc]
inc eax
mov dword [esp + 0x18], eax
fstp qword [esp + 0xc]
fild dword [esp + 0x18]
fmul qword [esp + 0x7c]
call fcn.005e35c0
fld qword [esp + 0xc]
mov edx, dword [esi + 8]
push eax
fmul qword [esp + 0x80]
inc edx
push edx
call fcn.005e35c0
push eax
lea eax, [esp + 0x70]
push 0
push eax
call edi
fld qword [esp + 0xc]
fmul qword [esp + 0x94]
fiadd dword [esp + 0x5c]
call fcn.005e35c0
fld qword [esp + 0xc]
fmul qword [esp + 0x8c]
xor ebx, ebx
mov bh, al
fiadd dword [esp + 0x54]
call fcn.005e35c0
fld qword [esp + 0xc]
fmul qword [esp + 0x84]
mov bl, al
shl ebx, 8
fiadd dword [esp + 0x60]
call fcn.005e35c0
and eax, 0xff
lea ecx, [esp + 0x64]
or ebx, eax
push ebx
push ecx
lea ecx, [esp + 0x28]
call fcn.005e2e16
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x70]
cmp eax, dword [edx]
jg 0x475aba
jmp 0x475a30
fild dword [esp + 0xc]
inc eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0xc]
fstp qword [esp + 0xc]
fild dword [esp + 0x18]
inc eax
push eax
fmul qword [esp + 0x80]
call fcn.005e35c0
fld qword [esp + 0x10]
fmul qword [esp + 0x80]
push eax
push 0
call fcn.005e35c0
lea ecx, [esp + 0x70]
push eax
push ecx
call edi
fld qword [esp + 0xc]
fmul qword [esp + 0x94]
fiadd dword [esp + 0x5c]
call fcn.005e35c0
fld qword [esp + 0xc]
fmul qword [esp + 0x8c]
xor ebx, ebx
mov bh, al
fiadd dword [esp + 0x54]
call fcn.005e35c0
fld qword [esp + 0xc]
fmul qword [esp + 0x84]
mov bl, al
shl ebx, 8
fiadd dword [esp + 0x60]
call fcn.005e35c0
and eax, 0xff
lea edx, [esp + 0x64]
or ebx, eax
lea ecx, [esp + 0x20]
push ebx
push edx
call fcn.005e2e16
mov ecx, dword [ebp + 0x10]
mov eax, dword [esp + 0x6c]
cmp eax, dword [ecx]
jg 0x475c10
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
mov dword [esp + 0xc], eax
jl 0x4758d4
mov dword [esp + 0x20], 0x606750
mov eax, dword [esp + 0x50]
xor ebx, ebx
cmp eax, ebx
mov byte [esp + 0xb0], 0xb
je 0x475d73
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x40]
lea eax, [esp + 0x20]
sub ecx, esi
sub edx, edi
push 0xcc0020
neg eax
sbb eax, eax
push esi
and eax, dword [esp + 0x2c]
push edi
push eax
push ecx
mov ecx, dword [esp + 0x50]
push edx
push esi
push edi
mov edx, dword [ecx + 4]
push edx
call dword [0x6000a0]
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x475d63
xor eax, eax
push eax
mov eax, dword [esp + 0x28]
push eax
call fcn.005e2e1c
jmp 0x475d7b
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push edx
push ecx
push eax
lea edx, [esp + 0x70]
push 0
push edx
call edi
mov ebx, dword [esp + 0x58]
lea ecx, [esp + 0x64]
mov eax, dword [ebx + 0x78]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.005e2e16
mov edx, dword [ebp + 0x18]
cmp dword [edx], 0
jne 0x475b4b
mov eax, dword [esi + 8]
push 1
push eax
push 0
lea ecx, [esp + 0x70]
push 0
push ecx
call edi
mov edx, dword [ebx + 0x78]
lea eax, [esp + 0x64]
push edx
push eax
lea ecx, [esp + 0x28]
call fcn.005e2e16
mov ecx, dword [ebp + 0x10]
mov ebx, 7
cmp dword [ecx], ebx
jle 0x475b4b
mov eax, dword [esi + 8]
lea edx, [ebx + 1]
push edx
push eax
push ebx
lea ecx, [esp + 0x70]
push 0
push ecx
call edi
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x64]
mov eax, dword [edx + 0x78]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.005e2e16
mov edx, dword [ebp + 0x10]
add ebx, 7
cmp ebx, dword [edx]
jl 0x475b19
mov dword [esp + 0x20], 0x606750
mov ecx, dword [esp + 0x50]
xor eax, eax
cmp ecx, eax
mov byte [esp + 0xb0], 5
je 0x475bc6
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x20]
sub ecx, esi
sub edx, edi
neg eax
sbb eax, eax
push 0xcc0020
and eax, ebx
push esi
push edi
push eax
mov eax, dword [esp + 0x4c]
push ecx
push edx
push esi
mov ecx, dword [eax + 4]
push edi
push ecx
call dword [0x6000a0]
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x475bb6
mov edx, dword [esp + 0x24]
push eax
push edx
call fcn.005e2e1c
jmp 0x475bce
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x24]
push eax
push edx
call fcn.005e2e1c
jmp 0x475bce
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x30]
mov byte [esp + 0xb0], 4
mov dword [esp + 0x30], 0x603f20
call fcn.00410ec0
lea ecx, [esp + 0x20]
mov byte [esp + 0xb0], 0
call fcn.005e2de6
mov dword [esp + 0x74], 0x602928
mov dword [esp + 0xb0], 6
jmp 0x475db8
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push ecx
push edx
push 0
push eax
lea eax, [esp + 0x74]
push eax
call edi
mov ebx, dword [esp + 0x58]
lea edx, [esp + 0x64]
mov ecx, dword [ebx + 0x78]
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.005e2e16
mov eax, dword [ebp + 0x18]
cmp dword [eax], 0
jne 0x475ca1
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x64]
push ecx
push 1
push 0
push 0
push edx
call edi
mov eax, dword [ebx + 0x78]
lea ecx, [esp + 0x64]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.005e2e16
mov edx, dword [ebp + 0x10]
mov ebx, 7
cmp dword [edx], ebx
jle 0x475ca1
mov eax, dword [esi + 0xc]
lea ecx, [ebx + 1]
push eax
push ecx
push 0
lea edx, [esp + 0x70]
push ebx
push edx
call edi
mov eax, dword [esp + 0x58]
lea edx, [esp + 0x64]
mov ecx, dword [eax + 0x78]
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.005e2e16
mov eax, dword [ebp + 0x10]
add ebx, 7
cmp ebx, dword [eax]
jl 0x475c6f
mov dword [esp + 0x20], 0x606750
mov ecx, dword [esp + 0x50]
xor eax, eax
cmp ecx, eax
mov byte [esp + 0xb0], 8
je 0x475d1c
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x20]
sub ecx, esi
sub edx, edi
neg eax
sbb eax, eax
push 0xcc0020
and eax, ebx
push esi
push edi
push eax
push ecx
mov ecx, dword [esp + 0x50]
push edx
push esi
mov edx, dword [ecx + 4]
push edi
push edx
call dword [0x6000a0]
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x475d0c
push eax
mov eax, dword [esp + 0x28]
push eax
call fcn.005e2e1c
jmp 0x475d24
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x28]
push eax
call fcn.005e2e1c
jmp 0x475d24
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x30]
mov byte [esp + 0xb0], 7
mov dword [esp + 0x30], 0x603f20
call fcn.00410ec0
lea ecx, [esp + 0x20]
mov byte [esp + 0xb0], 0
call fcn.005e2de6
mov dword [esp + 0x74], 0x602928
mov dword [esp + 0xb0], 9
jmp 0x475db8
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x28]
push eax
call fcn.005e2e1c
jmp 0x475d7b
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0xb0], 0xa
mov dword [esp + 0x30], 0x603f20
call fcn.00410ec0
lea ecx, [esp + 0x20]
mov byte [esp + 0xb0], 0
call fcn.005e2de6
mov dword [esp + 0x74], 0x602928
mov dword [esp + 0xb0], 0xc
lea ecx, [esp + 0x74]
call fcn.005e2d14
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14