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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x78c685
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esp + 0xa4], esi
mov eax, dword [esi + 0x20]
mov dword [esp + 0xc], 0
mov dword [esp + 0x90], eax
xor eax, eax
mov dword [esp + 0x10], 0xbff00000
mov dword [esp + 0x1c], 0x7cb8e8
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
mov ecx, dword [esi + 0x40]
mov ebx, dword [ebp + 0xc]
xor edx, edx
cmp ecx, edi
mov dword [esp + 0xd8], edi
jle 0x47902f
mov edi, dword [esi + 0x3c]
mov eax, dword [ebp + 8]
sub eax, dword [edi]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fabs
fcomp qword [0x7d23f8]
fnstsw ax
test ah, 1
je 0x479021
mov eax, ebx
sub eax, dword [edi + 4]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fabs
fcomp qword [0x7d23f8]
fnstsw ax
test ah, 1
jne 0x479092
inc edx
add edi, 8
cmp edx, ecx
jl 0x478fe9
mov eax, dword [esp + 0x20]
xor edi, edi
cmp ecx, 2
jne 0x479108
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
mov eax, dword [ebp + 8]
push ecx
push edx
push ebx
push eax
call fcn.00503960
add esp, 0x18
cmp eax, 2
jne 0x4790b8
mov esi, dword [esi + 0x3c]
mov ecx, dword [ebp + 8]
push ebx
push ecx
mov edx, dword [esi + 4]
mov eax, dword [esi]
push edx
push eax
call fcn.004fb030
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esi]
push edx
fstp qword [esp + 0x3c]
push eax
push ecx
call fcn.004fb030
fdivr qword [esp + 0x34]
fstp qword [esp + 0xc]
jmp 0x4790e4
mov ecx, dword [esp + 0x90]
add ecx, edx
mov edx, dword [esi + 0x50]
fld qword [edx + ecx*8]
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp eax, 3
jne 0x4790cf
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0x40000000
jmp 0x4790e4
cmp eax, 4
jne 0x4790e4
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0x40080000
mov dword [esp + 0x1c], method.CCommandLineInfo.virtual_0
mov eax, dword [esp + 0x20]
mov dword [esp + 0xd8], 2
cmp eax, edi
je 0x4799f7
jmp 0x4799ee
cmp ecx, 3
jl 0x4799cd
mov eax, dword [esi + 0x88]
xor edi, edi
cmp eax, edi
je 0x4791d4
mov eax, dword [esi + 0x3c]
mov edx, dword [eax + ecx*8 - 4]
mov ecx, dword [eax + ecx*8 - 8]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ebx
push ecx
call fcn.00503960
add esp, 0x18
cmp eax, 2
jne 0x479184
mov edi, dword [esi + 0x40]
mov esi, dword [esi + 0x3c]
mov edx, dword [ebp + 8]
push ebx
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push edx
push eax
push ecx
dec edi
call fcn.004fb030
mov edx, dword [esi + edi*8 + 4]
mov eax, dword [esi + edi*8]
mov ecx, dword [esi + 4]
push edx
mov edx, dword [esi]
push eax
fstp qword [esp + 0x3c]
push ecx
push edx
call fcn.004fb030
fdivr qword [esp + 0x34]
xor edi, edi
fstp qword [esp + 0xc]
jmp 0x4791b0
cmp eax, 3
jne 0x47919b
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0x40000000
jmp 0x4791b0
cmp eax, 4
jne 0x4791b0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0x40080000
mov dword [esp + 0x1c], method.CCommandLineInfo.virtual_0
mov eax, dword [esp + 0x20]
mov dword [esp + 0xd8], 3
cmp eax, edi
je 0x4799f7
jmp 0x4799ee
mov dword [esp + 0x3c], method.CCommandLineInfo.virtual_0
mov dword [esp + 0x40], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x70], 0x7cab08
mov dword [esp + 0x74], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], edi
mov eax, dword [esi + 0x40]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xe0], 5
call fcn.005fc3f0
mov edx, dword [esi + 0x40]
mov ecx, dword [esi + 0x3c]
mov eax, dword [esp + 0x20]
mov edi, edx
dec edx
test edi, edi
je 0x479243
inc edx
mov edi, dword [ecx]
add ecx, 8
mov dword [eax], edi
mov edi, dword [ecx - 4]
mov dword [eax + 4], edi
add eax, 8
dec edx
jne 0x479230
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.0046bd20
mov eax, dword [esp + 0x44]
xor edi, edi
test eax, eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x30], edi
jle 0x4792ff
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4795e2
xor edx, edx
test ecx, ecx
jle 0x4792ee
mov ecx, dword [eax + edi*8]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x20]
mov edi, dword [ecx]
mov ebx, dword [esp + 0x18]
cmp ebx, edi
jne 0x47929b
mov edi, dword [esp + 0x30]
mov ebx, dword [ecx + 4]
cmp dword [eax + edi*8 + 4], ebx
je 0x4792ad
jmp 0x47929f
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
inc edx
add ecx, 8
cmp edx, ebx
jge 0x4792eb
jmp 0x479282
mov eax, dword [esp + 0x24]
sub eax, edx
dec eax
je 0x4792cf
shl eax, 3
push eax
mov eax, dword [esp + 0x24]
lea ecx, [eax + edx*8 + 8]
lea edx, [eax + edx*8]
push ecx
push edx
call fcn.00749720
add esp, 0xc
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x78]
dec ebx
push edi
push eax
lea ecx, [esp + 0x78]
mov dword [esp + 0x2c], ebx
call fcn.005fc280
mov eax, dword [esp + 0x40]
mov ebx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x44]
inc edi
cmp edi, ecx
mov dword [esp + 0x30], edi
jl 0x479265
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x30], 0
dec ecx
test ecx, ecx
jle 0x479848
mov edx, dword [esp + 0x90]
mov dword [esp + 0x58], 4
mov edi, dword [esp + 0x58]
lea eax, [edx*8]
mov dword [esp + 0x8c], eax
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x24]
call fcn.005fc3f0
mov eax, dword [esp + 0x74]
mov esi, dword [eax + edi - 4]
mov ecx, dword [eax + edi]
cmp esi, ecx
jg 0x47939a
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x24]
push 0xffffffffffffffff
mov ecx, dword [eax + esi*8 + 4]
mov ebx, dword [eax + esi*8]
lea edx, [edi + 1]
mov dword [esp + 0xc0], ecx
push edx
lea ecx, [esp + 0x24]
call fcn.005fc3f0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xbc]
inc esi
mov dword [eax + edi*8], ebx
mov ecx, dword [esp + 0x20]
mov dword [ecx + edi*8 + 4], edx
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x58]
cmp esi, dword [eax + ecx]
jle 0x479351
lea edx, [esp + 0x1c]
lea eax, [esp + 0xc0]
push edx
push eax
call fcn.006c6380
mov ecx, dword [eax]
push 0x3e8
mov dword [esp + 0xac], ecx
push 0x3e8
mov edx, dword [eax + 4]
push 0x3e8
mov dword [esp + 0xb8], edx
push 0x3e8
mov ecx, dword [eax + 8]
mov dword [esp + 0xc0], ecx
lea ecx, [esp + 0xb8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0xc4], edx
call fcn.007739b2
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
lea edx, [esp + 0xac]
push ecx
push edx
nop
call fcn.008eec90
test eax, eax
je 0x4795a4
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4795a4
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0x90]
mov esi, dword [esp + 0x30]
dec ecx
mov eax, dword [eax + 0x50]
add edx, esi
mov dword [esp + 0x18], ecx
xor esi, esi
fld qword [eax + edx*8 + 8]
mov edx, dword [esp + 0x8c]
test ecx, ecx
fsub qword [edx + eax]
fidiv dword [esp + 0x18]
fstp qword [esp + 0x34]
fld qword [edx + eax]
fstp qword [esp + 0x84]
jle 0x4795a4
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + esi*8 + 0xc]
mov edi, dword [ecx + esi*8]
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 8]
sub eax, edi
mov edx, dword [ecx + esi*8 + 8]
mov dword [esp + 0x5c], eax
mov ebx, dword [ecx + esi*8 + 4]
fild dword [esp + 0x5c]
mov dword [esp + 0x68], edx
fabs
fcomp qword [0x7d23f8]
fnstsw ax
test ah, 1
je 0x4794ba
mov eax, dword [ebp + 0xc]
sub eax, ebx
mov dword [esp + 0x5c], eax
fild dword [esp + 0x5c]
fabs
fcomp qword [0x7d23f8]
fnstsw ax
test ah, 1
jne 0x479674
mov eax, dword [ebp + 8]
sub eax, edx
mov dword [esp + 0x5c], eax
fild dword [esp + 0x5c]
fabs
fcomp qword [0x7d23f8]
fnstsw ax
test ah, 1
je 0x4794fa
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x6c]
sub edx, eax
mov dword [esp + 0x5c], edx
fild dword [esp + 0x5c]
fabs
fcomp qword [0x7d23f8]
fnstsw ax
test ah, 1
jne 0x4796d8
mov eax, dword [ecx + esi*8 + 0xc]
mov edx, dword [ecx + esi*8 + 8]
push eax
mov eax, dword [ecx + esi*8 + 4]
mov ecx, dword [ecx + esi*8]
push edx
push eax
push ecx
call fcn.004fb030
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
fstp qword [esp + 0x94]
lea edx, [esp + 0x50]
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ecx
push ebx
push edi
push edx
push eax
call fcn.004fbe30
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push ebx
push edi
push ecx
push edx
fstp st(0)
call fcn.004fb030
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x54]
push ecx
fstp qword [esp + 0x64]
push edx
push eax
call fcn.004fb030
fadd qword [esp + 0x5c]
fsub qword [esp + 0x94]
fabs
fcomp qword [0x7d23f8]
fnstsw ax
test ah, 1
jne 0x479778
fld qword [esp + 0x34]
fadd qword [esp + 0x84]
mov eax, dword [esp + 0x18]
inc esi
cmp esi, eax
fstp qword [esp + 0x84]
jl 0x479463
mov edi, dword [esp + 0x8c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x78]
add edi, 8
mov dword [esp + 0x8c], edi
mov edi, dword [esp + 0x58]
inc eax
add edi, 4
dec ecx
mov dword [esp + 0x30], eax
cmp eax, ecx
mov dword [esp + 0x58], edi
jl 0x479335
mov eax, dword [esp + 0x40]
mov ebx, dword [ebp + 0xc]
jmp 0x479848
mov esi, dword [esi + 0x40]
mov ecx, dword [esp + 0x78]
cmp ecx, esi
je 0x4792ff
mov dword [esp + 0x70], method.CCommandLineInfo.virtual_0
mov ecx, dword [esp + 0x74]
mov byte [esp + 0xd8], 6
test ecx, ecx
je 0x479616
push ecx
call fcn.007604d0
mov eax, dword [esp + 0x44]
add esp, 4
mov dword [esp + 0x3c], method.CCommandLineInfo.virtual_0
test eax, eax
mov byte [esp + 0xd8], 7
je 0x479633
push eax
call fcn.007604d0
add esp, 4
mov dword [esp + 0x1c], method.CCommandLineInfo.virtual_0
mov eax, dword [esp + 0x20]
mov dword [esp + 0xd8], 8
test eax, eax
je 0x479657
push eax
call fcn.007604d0
add esp, 4
fld qword [0x7d23f0]
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x24]
call fcn.005fc3f0
mov dword [esp + 0x70], 0x7cab08
mov eax, dword [esp + 0x74]
mov byte [esp + 0xd8], 9
test eax, eax
je 0x4796a2
push eax
call fcn.007604d0
add esp, 4
mov esi, 0x7cb8e8
mov dword [esp + 0x3c], esi
mov eax, dword [esp + 0x40]
mov byte [esp + 0xd8], 0xa
test eax, eax
je 0x4796c4
push eax
call fcn.007604d0
add esp, 4
mov dword [esp + 0x1c], esi
mov dword [esp + 0xd8], 0xb
jmp 0x479819
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x24]
call fcn.005fc3f0
fld qword [esp + 0x34]
fadd qword [esp + 0x84]
mov dword [esp + 0x70], 0x7cab08
fstp qword [esp + 0x94]
mov eax, dword [esp + 0x74]
mov byte [esp + 0xd8], 0xc
test eax, eax
je 0x479718
push eax
call fcn.007604d0
add esp, 4
mov esi, 0x7cb8e8
mov dword [esp + 0x3c], esi
mov eax, dword [esp + 0x40]
mov byte [esp + 0xd8], 0xd
test eax, eax
je 0x47973a
push eax
call fcn.007604d0
add esp, 4
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x20]
mov dword [esp + 0xd8], 0xe
test eax, eax
je 0x47975a
push eax
call fcn.007604d0
add esp, 4
fld qword [esp + 0x94]
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
push edx
push eax
push ebx
push edi
call fcn.004fb030
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
fstp qword [esp + 0x94]
push ecx
push edx
push ebx
push edi
call fcn.004fb030
fdivr qword [esp + 0x94]
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x24]
fmul qword [esp + 0x3c]
fadd qword [esp + 0x8c]
fstp qword [esp + 0x8c]
call fcn.005fc3f0
mov dword [esp + 0x70], 0x7cab08
mov eax, dword [esp + 0x74]
mov byte [esp + 0xd8], 0xf
test eax, eax
je 0x4797e8
push eax
call fcn.007604d0
add esp, 4
mov esi, 0x7cb8e8
mov dword [esp + 0x3c], esi
mov eax, dword [esp + 0x40]
mov byte [esp + 0xd8], 0x10
test eax, eax
je 0x47980a
push eax
call fcn.007604d0
add esp, 4
mov dword [esp + 0x1c], esi
mov dword [esp + 0xd8], 0x11
mov eax, dword [esp + 0x20]
test eax, eax
je 0x47982a
push eax
call fcn.007604d0
add esp, 4
fld qword [esp + 0x84]
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [eax + 4]
lea ecx, [esp + 0x9c]
push ecx
mov ecx, dword [eax]
push 0x416312d0
push 0
push edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
push ecx
push edx
push eax
call fcn.004fbd20
mov eax, dword [esp + 0x5c]
mov edi, dword [ebp + 8]
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0xbc]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0xb8]
push edx
mov dword [esp + 0x54], ecx
push ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x5c], edx
mov edx, dword [eax]
push ecx
push edx
push ebx
push edi
call fcn.00503960
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x88]
mov esi, eax
mov eax, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x88]
push ecx
push ebx
push edi
push edx
push eax
call fcn.00506650
add esp, 0x4c
cmp esi, 4
fstp st(0)
je 0x47994f
cmp esi, 2
je 0x47994f
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x48]
push 0x416312d0
push 0
mov edx, dword [eax + ecx*8 - 4]
push edx
mov edx, dword [eax + ecx*8 - 8]
push edx
mov edx, dword [eax + ecx*8 - 0xc]
mov eax, dword [eax + ecx*8 - 0x10]
push edx
push eax
call fcn.004fbd20
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 8]
push edx
push eax
push ebx
push edi
call fcn.00503960
add esp, 0x34
cmp eax, 4
je 0x47993d
cmp eax, 2
jne 0x47995f
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0x40080000
jmp 0x47995f
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0x40000000
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x44]
call fcn.005fc3f0
mov dword [esp + 0x70], 0x7cab08
mov eax, dword [esp + 0x74]
mov byte [esp + 0xd8], 0x12
test eax, eax
je 0x47998d
push eax
call fcn.007604d0
add esp, 4
mov dword [esp + 0x3c], method.CCommandLineInfo.virtual_0
mov eax, dword [esp + 0x40]
mov byte [esp + 0xd8], 0x13
test eax, eax
je 0x4799ae
push eax
call fcn.007604d0
add esp, 4
mov eax, dword [esp + 0x20]
mov byte [esp + 0xd8], 0
test eax, eax
je 0x4799cd
push eax
call fcn.007604d0
add esp, 4
xor eax, eax
mov dword [esp + 0x20], eax
xor ecx, ecx
mov dword [esp + 0x1c], 0x7cb8e8
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], ecx
cmp eax, ecx
mov dword [esp + 0xd8], 0x14
je 0x4799f7
push eax
call fcn.007604d0
add esp, 4
mov ecx, dword [esp + 0xd0]
pop edi
fld qword [esp + 8]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8