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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x7aa060
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
mov eax, dword [ecx + 0x516d1c]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
cmp esi, ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
jle 0x5d2fcf
mov edi, dword [ebp + 0xc]
cmp edi, ebx
jle 0x5d2fcf
cmp esi, edi
jge 0x5d2fcf
mov ecx, dword [ebp + 0x18]
push 0x833474
call fcn.00760a04
mov ecx, dword [ebp + 0x1c]
push 0x833474
call fcn.00760a04
mov eax, 0x7cb8e8
xor edx, edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x160], ebx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], ebx
lea ecx, [esi + esi*4]
sub edi, esi
mov byte [esp + 0x160], 1
lea ebx, [esi + ecx*2]
shl ebx, 4
inc edi
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov esi, ebx
mov edi, dword [eax + ecx*4 + 0xf0]
mov ecx, 0x2c
add esi, edi
lea edi, [esp + 0xa8]
rep movsd dword es:[edi], dword [esi]
mov al, byte [esp + 0xb0]
cmp al, 1
je 0x5d294d
cmp al, 4
je 0x5d294d
cmp al, 3
je 0x5d294d
cmp al, 7
jne 0x5d296b
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x68]
push edx
push eax
push ecx
lea ecx, [esp + 0x6c]
jmp 0x5d2962
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
push eax
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.00422a10
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0xc]
add ebx, 0xb0
dec eax
mov dword [esp + 0xc], eax
jne 0x5d28fa
cmp edx, 2
jg 0x5d29ca
mov dword [esp + 0x60], method.CCommandLineInfo.virtual_0
mov eax, dword [esp + 0x64]
mov byte [esp + 0x160], 2
test eax, eax
je 0x5d29a6
push eax
call fcn.007604d0
add esp, 4
mov dword [esp + 0x24], method.CCommandLineInfo.virtual_0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x160], 3
test eax, eax
je 0x5d2fcf
jmp 0x5d2fc6
xor edi, edi
mov dword [esp + 0x38], 0x7cb8e8
mov dword [esp + 0x3c], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0x68]
mov byte [esp + 0x160], 4
cmp eax, edi
jle 0x5d2a0d
lea edx, [esp + 0x38]
lea eax, [esp + 0x60]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.00501c90
add esp, 0xc
jmp 0x5d2a6c
mov esi, edx
shl edx, 3
push edx
call fcn.007604a7
add esp, 4
cmp eax, edi
je 0x5d2a28
dec esi
mov dword [esp + 0x14], esi
mov esi, eax
jmp 0x5d2a2a
xor esi, esi
mov ecx, dword [esp + 0x2c]
xor eax, eax
cmp ecx, edi
jle 0x5d2a51
mov ecx, dword [esp + 0x28]
lea edx, [ecx + eax*8]
inc eax
mov ecx, dword [edx]
mov dword [esi + eax*8 - 8], ecx
mov edx, dword [edx + 4]
mov dword [esi + eax*8 - 4], edx
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jl 0x5d2a34
lea eax, [esp + 0x38]
push eax
push 0x40a77000
push edi
push ecx
push esi
call fcn.004fd640
push esi
call fcn.007604d0
add esp, 0x18
mov ecx, dword [esp + 0x40]
or ebx, 0xffffffff
or edi, 0xffffffff
xor esi, esi
dec ecx
test ecx, ecx
jle 0x5d2ac8
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + esi*8 + 0xc]
mov ecx, dword [eax + esi*8 + 8]
push edx
mov edx, dword [eax + esi*8 + 4]
mov eax, dword [eax + esi*8]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
push ecx
push edx
call fcn.00503960
add esp, 0x18
test eax, eax
je 0x5d2abe
cmp eax, 1
je 0x5d2abe
cmp eax, 2
je 0x5d2abe
mov eax, dword [esp + 0x40]
inc esi
dec eax
cmp esi, eax
jl 0x5d2a7d
jmp 0x5d2ac8
cmp esi, 0xffffffff
mov ebx, esi
lea edi, [esi + 1]
jne 0x5d2b21
mov eax, dword [esp + 0x40]
xor esi, esi
test eax, eax
mov dword [esp + 0xc], 0xf4240
jle 0x5d2f70
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + esi*8 + 4]
mov edx, dword [eax + esi*8]
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
push eax
push ecx
call fcn.004fb030
fild dword [esp + 0xc]
fld st(1)
fcompp
fnstsw ax
test ah, 0x41
je 0x5d2b16
call fcn.007496f4
mov edi, ebx
mov dword [esp + 0xc], eax
mov ebx, esi
jmp 0x5d2b18
fstp st(0)
mov eax, dword [esp + 0x40]
inc esi
cmp esi, eax
jl 0x5d2ade
test ebx, ebx
jl 0x5d2f70
test edi, edi
jl 0x5d2f70
cmp ebx, edi
jge 0x5d2b3f
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], edi
jmp 0x5d2b47
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], ebx
mov ecx, 0x7cb8c8
xor eax, eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xc]
mov edi, 1
cmp eax, edi
mov byte [esp + 0x160], 9
mov dword [esp + 0x1c], edi
jl 0x5d2c44
mov edx, dword [esp + 0x3c]
lea eax, [edx + edi*8]
mov ecx, eax
mov ebx, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [eax - 4]
mov dword [esp + 0x5c], edx
mov edx, dword [eax - 8]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
call fcn.004fb030
fadd qword [esp + 0x4c]
mov eax, dword [esp + 0x2c]
mov esi, 1
dec eax
cmp eax, esi
fstp qword [esp + 0x4c]
jle 0x5d2c31
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + esi*8]
mov edx, dword [ecx + esi*8 + 4]
cmp ebx, eax
jne 0x5d2c23
cmp dword [esp + 0x5c], edx
jne 0x5d2c23
mov eax, dword [esp + 0x7c]
push 0xffffffffffffffff
mov edi, eax
inc eax
push eax
lea ecx, [esp + 0x7c]
call fcn.00421d50
fld qword [esp + 0x4c]
mov ecx, dword [esp + 0x78]
fstp qword [ecx + edi*8]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
inc esi
dec edx
cmp esi, edx
jl 0x5d2bf0
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0xc]
inc edi
cmp edi, eax
mov dword [esp + 0x1c], edi
jle 0x5d2bb0
jmp 0x5d2c48
mov ebx, dword [esp + 0x58]
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov eax, dword [esp + 0x5c]
push esi
push edi
push eax
push ebx
call fcn.004fb030
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x14]
fadd qword [esp + 0x4c]
mov ecx, dword [eax + ebx*8 + 4]
mov edx, dword [eax + ebx*8]
push ecx
push edx
push esi
push edi
fstp qword [esp + 0x5c]
call fcn.004fb030
mov eax, dword [esp + 0x40]
mov edi, ebx
fstp qword [esp + 0x9c]
cmp ebx, eax
mov dword [esp + 0x1c], edi
jge 0x5d2d38
mov eax, dword [esp + 0x3c]
lea eax, [eax + edi*8]
mov ecx, eax
mov ebx, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [eax - 4]
mov dword [esp + 0x5c], edx
mov edx, dword [eax - 8]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
call fcn.004fb030
fadd qword [esp + 0x9c]
mov eax, dword [esp + 0x2c]
mov esi, 1
dec eax
cmp eax, esi
fstp qword [esp + 0x9c]
jle 0x5d2d27
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + esi*8]
mov edx, dword [ecx + esi*8 + 4]
cmp ebx, eax
jne 0x5d2d19
cmp dword [esp + 0x5c], edx
jne 0x5d2d19
mov eax, dword [esp + 0x90]
push 0xffffffffffffffff
mov edi, eax
inc eax
push eax
lea ecx, [esp + 0x90]
call fcn.00421d50
fld qword [esp + 0x9c]
mov ecx, dword [esp + 0x8c]
fstp qword [ecx + edi*8]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
inc esi
dec edx
cmp esi, edx
jl 0x5d2cda
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
inc edi
cmp edi, eax
mov dword [esp + 0x1c], edi
jl 0x5d2c94
mov eax, dword [0x830b20]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x7c]
xor esi, esi
test eax, eax
mov byte [esp + 0x160], 0xa
mov dword [esp + 0x14], 0xcccccccd
mov dword [esp + 0x18], 0x3feccccc
jle 0x5d2dfe
mov ecx, dword [esp + 0x78]
fld qword [ecx + esi*8]
fdiv qword [esp + 0x4c]
fst qword [esp + 0xc]
fcomp qword [0x7d7298]
fnstsw ax
test ah, 0x41
jne 0x5d2db4
fld qword [esp + 0x14]
fcomp qword [0x7d7298]
fnstsw ax
test ah, 1
je 0x5d2da6
mov dword [esp + 0xc], 0xf5c28f5c
mov dword [esp + 0x10], 0x3fef5c28
jmp 0x5d2db4
fld qword [esp + 0x14]
fadd qword [0x7d7290]
fstp qword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov dword [esp + 0x18], eax
push ecx
push edx
lea eax, [esp + 0x28]
push str._.3f_
push eax
mov dword [esp + 0x24], edx
call fcn.0075cfe3
add esp, 0x10
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [ebp + 0x18]
call fcn.00760c93
fld qword [esp + 0xc]
mov edx, dword [esp + 0x78]
inc esi
fstp qword [edx + esi*8 - 8]
cmp esi, dword [esp + 0x7c]
jl 0x5d2d67
mov eax, dword [esp + 0x90]
xor esi, esi
test eax, eax
mov dword [esp + 0x14], 0xcccccccd
mov dword [esp + 0x18], 0x3feccccc
jle 0x5d2ec2
mov eax, dword [esp + 0x8c]
fld qword [eax + esi*8]
fdiv qword [esp + 0x9c]
fst qword [esp + 0xc]
fcomp qword [0x7d7298]
fnstsw ax
test ah, 0x41
jne 0x5d2e72
fld qword [esp + 0x14]
fcomp qword [0x7d7298]
fnstsw ax
test ah, 1
je 0x5d2e64
mov dword [esp + 0xc], 0xf5c28f5c
mov dword [esp + 0x10], 0x3fef5c28
jmp 0x5d2e72
fld qword [esp + 0x14]
fadd qword [0x7d7290]
fstp qword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov eax, edx
mov dword [esp + 0x18], edx
push eax
push ecx
lea edx, [esp + 0x28]
push str._.3f_
push edx
mov dword [esp + 0x24], ecx
call fcn.0075cfe3
mov ecx, dword [ebp + 0x1c]
add esp, 0x10
lea eax, [esp + 0x20]
push eax
call fcn.00760c93
fld qword [esp + 0xc]
mov ecx, dword [esp + 0x8c]
inc esi
fstp qword [ecx + esi*8 - 8]
cmp esi, dword [esp + 0x90]
jl 0x5d2e1f
lea ecx, [esp + 0x20]
mov byte [esp + 0x160], 9
call fcn.0076087b
mov esi, 0x7cb8c8
mov dword [esp + 0x88], esi
mov eax, dword [esp + 0x8c]
mov byte [esp + 0x160], 0xb
test eax, eax
je 0x5d2efb
push eax
call fcn.007604d0
add esp, 4
mov dword [esp + 0x74], esi
mov eax, dword [esp + 0x78]
mov byte [esp + 0x160], 0xc
test eax, eax
je 0x5d2f18
push eax
call fcn.007604d0
add esp, 4
mov esi, 0x7cb8e8
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x160], 0xd
test eax, eax
je 0x5d2f3a
push eax
call fcn.007604d0
add esp, 4
mov dword [esp + 0x60], esi
mov eax, dword [esp + 0x64]
mov byte [esp + 0x160], 0xe
test eax, eax
je 0x5d2f57
push eax
call fcn.007604d0
add esp, 4
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x28]
mov dword [esp + 0x160], 0xf
test eax, eax
je 0x5d2fcf
jmp 0x5d2fc6
mov esi, 0x7cb8e8
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x160], 5
test eax, eax
je 0x5d2f92
push eax
call fcn.007604d0
add esp, 4
mov dword [esp + 0x60], esi
mov eax, dword [esp + 0x64]
mov byte [esp + 0x160], 6
test eax, eax
je 0x5d2faf
push eax
call fcn.007604d0
add esp, 4
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x28]
mov dword [esp + 0x160], 7
test eax, eax
je 0x5d2fcf
push eax
call fcn.007604d0
add esp, 4
mov ecx, dword [esp + 0x158]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x18