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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e7123
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], 0x5fe900
lea ecx, [esp + 0x20]
mov dword [esp + 0xb0], ebx
call fcn.005df658
lea ecx, [esp + 0x30]
mov byte [esp + 0xb0], 1
call fcn.00475c10
mov dword [esp + 0x30], 0x5fff00
mov edi, dword [ebp + 8]
xor ecx, ecx
mov byte [esp + 0xb0], 2
mov dword [esp + 0x20], 0x602738
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 0x47548e
mov eax, dword [edi]
lea ecx, [esp + 0x40]
push ecx
mov ecx, edi
call dword [eax + 0x58]
cmp edi, ebx
jne 0x475416
xor eax, eax
jmp 0x475419
mov eax, dword [edi + 4]
push eax
call dword [0x5fc07c]
push eax
lea ecx, [esp + 0x24]
call fcn.005df652
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 [0x5fc080]
push eax
lea ecx, [esp + 0x34]
call fcn.005df562
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.005df64c
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.005df82c
jmp 0x4754a0
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 0x475516
mov dword [esp + 0x1c], ecx
mov eax, ebx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x1c]
cmp eax, edx
jg 0x47552d
cmp esi, ecx
mov eax, esi
jg 0x47552d
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 0x475549
fild dword [esi + 0xc]
jmp 0x47554c
fild dword [esi + 8]
fdiv st(1)
cmp ecx, 1
fstp qword [esp + 0x7c]
jle 0x475588
fsub qword [0x5fd8a8]
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 0x4755cc
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 0x475764
mov edi, dword [0x5fcb7c]
mov ecx, dword [ebp + 0x14]
cmp dword [ecx], 0
je 0x4756a9
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.005dfdf0
fld qword [esp + 0xc]
mov edx, dword [esi + 8]
push eax
fmul qword [esp + 0x80]
inc edx
push edx
call fcn.005dfdf0
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.005dfdf0
fld qword [esp + 0xc]
fmul qword [esp + 0x8c]
xor ebx, ebx
mov bh, al
fiadd dword [esp + 0x54]
call fcn.005dfdf0
fld qword [esp + 0xc]
fmul qword [esp + 0x84]
mov bl, al
shl ebx, 8
fiadd dword [esp + 0x60]
call fcn.005dfdf0
and eax, 0xff
lea ecx, [esp + 0x64]
or ebx, eax
push ebx
push ecx
lea ecx, [esp + 0x28]
call fcn.005df646
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x70]
cmp eax, dword [edx]
jg 0x4757da
jmp 0x475750
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.005dfdf0
fld qword [esp + 0x10]
fmul qword [esp + 0x80]
push eax
push 0
call fcn.005dfdf0
lea ecx, [esp + 0x70]
push eax
push ecx
call edi
fld qword [esp + 0xc]
fmul qword [esp + 0x94]
fiadd dword [esp + 0x5c]
call fcn.005dfdf0
fld qword [esp + 0xc]
fmul qword [esp + 0x8c]
xor ebx, ebx
mov bh, al
fiadd dword [esp + 0x54]
call fcn.005dfdf0
fld qword [esp + 0xc]
fmul qword [esp + 0x84]
mov bl, al
shl ebx, 8
fiadd dword [esp + 0x60]
call fcn.005dfdf0
and eax, 0xff
lea edx, [esp + 0x64]
or ebx, eax
lea ecx, [esp + 0x20]
push ebx
push edx
call fcn.005df646
mov ecx, dword [ebp + 0x10]
mov eax, dword [esp + 0x6c]
cmp eax, dword [ecx]
jg 0x475930
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
mov dword [esp + 0xc], eax
jl 0x4755f4
mov dword [esp + 0x20], 0x602738
mov eax, dword [esp + 0x50]
xor ebx, ebx
cmp eax, ebx
mov byte [esp + 0xb0], 0xb
je 0x475a93
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 [0x5fc0a0]
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x475a83
xor eax, eax
push eax
mov eax, dword [esp + 0x28]
push eax
call fcn.005df64c
jmp 0x475a9b
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.005df646
mov edx, dword [ebp + 0x18]
cmp dword [edx], 0
jne 0x47586b
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.005df646
mov ecx, dword [ebp + 0x10]
mov ebx, 7
cmp dword [ecx], ebx
jle 0x47586b
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.005df646
mov edx, dword [ebp + 0x10]
add ebx, 7
cmp ebx, dword [edx]
jl 0x475839
mov dword [esp + 0x20], 0x602738
mov ecx, dword [esp + 0x50]
xor eax, eax
cmp ecx, eax
mov byte [esp + 0xb0], 5
je 0x4758e6
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 [0x5fc0a0]
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x4758d6
mov edx, dword [esp + 0x24]
push eax
push edx
call fcn.005df64c
jmp 0x4758ee
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x24]
push eax
push edx
call fcn.005df64c
jmp 0x4758ee
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x30]
mov byte [esp + 0xb0], 4
mov dword [esp + 0x30], 0x5fff00
call fcn.00410f80
lea ecx, [esp + 0x20]
mov byte [esp + 0xb0], 0
call fcn.005df616
mov dword [esp + 0x74], 0x5fe928
mov dword [esp + 0xb0], 6
jmp 0x475ad8
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.005df646
mov eax, dword [ebp + 0x18]
cmp dword [eax], 0
jne 0x4759c1
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.005df646
mov edx, dword [ebp + 0x10]
mov ebx, 7
cmp dword [edx], ebx
jle 0x4759c1
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.005df646
mov eax, dword [ebp + 0x10]
add ebx, 7
cmp ebx, dword [eax]
jl 0x47598f
mov dword [esp + 0x20], 0x602738
mov ecx, dword [esp + 0x50]
xor eax, eax
cmp ecx, eax
mov byte [esp + 0xb0], 8
je 0x475a3c
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 [0x5fc0a0]
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x475a2c
push eax
mov eax, dword [esp + 0x28]
push eax
call fcn.005df64c
jmp 0x475a44
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x28]
push eax
call fcn.005df64c
jmp 0x475a44
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x30]
mov byte [esp + 0xb0], 7
mov dword [esp + 0x30], 0x5fff00
call fcn.00410f80
lea ecx, [esp + 0x20]
mov byte [esp + 0xb0], 0
call fcn.005df616
mov dword [esp + 0x74], 0x5fe928
mov dword [esp + 0xb0], 9
jmp 0x475ad8
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x28]
push eax
call fcn.005df64c
jmp 0x475a9b
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0xb0], 0xa
mov dword [esp + 0x30], 0x5fff00
call fcn.00410f80
lea ecx, [esp + 0x20]
mov byte [esp + 0xb0], 0
call fcn.005df616
mov dword [esp + 0x74], 0x5fe928
mov dword [esp + 0xb0], 0xc
lea ecx, [esp + 0x74]
call fcn.005df54a
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14