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

Disassembly:
push 0xffffffffffffffff
push 0x7b84a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
push ebp
mov ebp, dword [esp + 0x12c]
mov edx, ecx
push esi
push edi
test ebp, ebp
mov dword [esp + 0x14], edx
jl 0x687416
cmp ebp, 5
jge 0x687416
mov eax, dword [esp + 0x138]
test eax, eax
jl 0x687416
mov eax, dword [edx + ebp*4 + 0xdc]
mov ebx, dword [esp + 0x13c]
cmp ebx, eax
jge 0x687416
test ebx, ebx
jl 0x687416
lea ecx, [ebx + ebx*4]
lea edi, [esp + 0x74]
lea esi, [ebx + ecx*2]
mov ecx, dword [edx + ebp*4 + 0xf0]
shl esi, 4
add esi, ecx
mov ecx, 0x2c
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x18], 0x7cab08
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edi
xor esi, esi
cmp eax, ecx
mov dword [esp + 0x12c], ecx
jle 0x687069
mov dword [esp + 0x10], ecx
mov eax, dword [edx + ebp*4 + 0xf0]
mov ecx, dword [esp + 0x10]
add eax, ecx
mov ecx, dword [esp + 0x138]
cmp dword [eax + 0x18], ecx
je 0x687012
cmp dword [eax + 0x1c], ecx
jne 0x68704d
mov ecx, dword [eax + 0x10]
and ecx, 0xf
cmp cl, 1
jne 0x68704d
mov ecx, dword [esp + 0x88]
cmp dword [eax + 0x14], ecx
jne 0x68704d
cmp esi, ebx
je 0x68704d
mov edx, dword [esp + 0x20]
push 0xffffffffffffffff
inc edx
lea ecx, [esp + 0x1c]
push edx
call fcn.00407880
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov dword [eax + edi*4], esi
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx + ebp*4 + 0xdc]
inc esi
add ecx, 0xb0
cmp esi, eax
mov dword [esp + 0x10], ecx
jl 0x686ff4
xor ecx, ecx
mov eax, dword [esp + 0x144]
cmp eax, 3
ja case.default.0x687079
jmp dword [eax*4 + 0x6874dc]
xor ebx, ebx
cmp edi, ecx
jle case.default.0x687079
mov ebp, dword [edx + ebp*4 + 0xf0]
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
shl edx, 4
add edx, ebp
mov cl, byte [edx + 8]
cmp cl, 1
je 0x6870b4
cmp cl, 4
je 0x6870b4
cmp cl, 3
jne 0x6870c5
mov ecx, dword [esp + 0x74]
cmp dword [edx], ecx
jne 0x6870c5
mov ecx, dword [esp + 0x78]
cmp dword [edx + 4], ecx
je 0x6870d3
inc ebx
add esi, 4
cmp ebx, edi
jge 0x6873f0
jmp 0x687095
mov edx, dword [esp + 0x140]
mov dword [esp + 0x18], 0x7cab08
mov dword [edx], eax
mov dword [esp + 0x12c], 1
jmp 0x6874c0
xor ebx, ebx
cmp edi, ecx
jle case.default.0x687079
mov ebp, dword [edx + ebp*4 + 0xf0]
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
shl edx, 4
add edx, ebp
mov cl, byte [edx + 8]
cmp cl, 1
je 0x687132
cmp cl, 4
je 0x687132
cmp cl, 3
je 0x687132
cmp cl, 5
je 0x687132
cmp cl, 6
jne 0x687143
mov ecx, dword [esp + 0x74]
cmp dword [edx], ecx
jne 0x687143
mov ecx, dword [esp + 0x78]
cmp dword [edx + 4], ecx
je 0x687151
inc ebx
add esi, 4
cmp ebx, edi
jge 0x6873f0
jmp 0x687109
mov edx, dword [esp + 0x140]
mov dword [esp + 0x18], 0x7cab08
mov dword [edx], eax
mov dword [esp + 0x12c], 2
jmp 0x6874c0
xor esi, esi
mov dword [esp + 0x40], 0x7d3cf0
mov dword [esp + 0x44], esi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], ecx
cmp edi, ecx
mov byte [esp + 0x12c], 3
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x10], ecx
jle 0x6873d3
mov edi, dword [esp + 0x78]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov ebx, dword [eax + ecx*4]
mov dword [esp + 0x2c], ebx
lea eax, [ebx + ebx*4]
lea ecx, [ebx + eax*2]
mov eax, dword [edx + ebp*4 + 0xf0]
shl ecx, 4
add ecx, eax
mov al, byte [ecx + 8]
cmp al, 1
je 0x6871e8
cmp al, 4
je 0x6871e8
cmp al, 3
jne 0x68726f
mov eax, dword [ecx]
mov edx, dword [esp + 0x74]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x64
jg 0x68726b
mov eax, dword [ecx + 4]
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x64
jg 0x68726b
mov edx, dword [ecx + 4]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x74]
push edx
push eax
push edi
push ecx
call fcn.004fb030
fild dword [esp + 0x2c]
mov esi, dword [esp + 0x48]
push 0xffffffffffffffff
lea ecx, [esp + 0x44]
fstp qword [esp + 0x34]
lea edx, [esi + 1]
fstp qword [esp + 0x3c]
push edx
call fcn.00516470
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x34]
shl esi, 4
mov edx, dword [esp + 0x38]
add esi, eax
mov eax, dword [esp + 0x30]
mov dword [esi], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x140]
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
mov esi, dword [esp + 0x44]
mov dword [ecx], ebx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x6871b4
mov eax, dword [esp + 0x48]
test eax, eax
jle 0x6873d1
xor ebx, ebx
mov ecx, 1
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], ecx
cmp ecx, eax
mov dword [esp + 0x10], ecx
jge 0x687352
add ebx, 0x10
mov edx, dword [esp + 0x14]
lea ecx, [esi + edx]
mov eax, ecx
mov ebp, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x5c], edx
lea edx, [esi + ebx]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x60], eax
mov eax, edx
fld qword [esp + 0x5c]
mov edi, dword [eax]
mov dword [esp + 0x64], edi
mov edi, dword [eax + 4]
mov dword [esp + 0x68], edi
mov edi, dword [eax + 8]
mov dword [esp + 0x6c], edi
mov eax, dword [eax + 0xc]
mov dword [esp + 0x70], eax
fcomp qword [esp + 0x6c]
fnstsw ax
test ah, 0x41
jne 0x687334
mov eax, dword [edx]
mov esi, dword [edx + 4]
mov edi, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], esi
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
add ecx, ebx
mov dword [ecx], ebp
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x60]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
inc eax
add ebx, 0x10
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x6872ae
mov eax, ecx
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
inc ecx
add ebx, 0x10
mov dword [esp + 0x2c], ecx
lea edx, [ecx - 1]
mov dword [esp + 0x14], ebx
cmp edx, eax
jl 0x68729f
mov eax, esi
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov ecx, dword [eax + 8]
fld qword [esp + 0x30]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
call fcn.007496f4
mov ecx, dword [esp + 0x140]
mov dword [esp + 0x40], 0x7d3cf0
mov dword [ecx], eax
test esi, esi
mov byte [esp + 0x12c], 4
je 0x6873b9
push esi
call fcn.007604d0
add esp, 4
mov dword [esp + 0x18], method.CCommandLineInfo.virtual_0
mov dword [esp + 0x12c], 5
jmp 0x6874c0
xor ecx, ecx
mov dword [esp + 0x40], method.CCommandLineInfo.virtual_0
cmp esi, ecx
mov byte [esp + 0x12c], 6
je case.default.0x687079
push esi
call fcn.007604d0
add esp, 4
xor ecx, ecx
mov dword [esp + 0x18], method.CCommandLineInfo.virtual_0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x12c], 8
cmp eax, ecx
je 0x687416
push eax
call fcn.007604d0
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x120
ret 0x14
mov eax, dword [esp + 0x20]
xor edi, edi
test eax, eax
jle 0x6873f0
mov ebp, dword [edx + ebp*4 + 0xf0]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [ebx]
lea edx, [ecx + ecx*4]
lea eax, [ecx + edx*2]
shl eax, 4
lea esi, [eax + ebp]
mov al, byte [eax + ebp + 8]
cmp al, 1
je 0x68746e
cmp al, 4
je 0x68746e
cmp al, 3
je 0x68746e
cmp al, 5
je 0x68746e
cmp al, 6
jne 0x687493
mov eax, dword [esi]
mov edx, dword [esp + 0x74]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x64
jg 0x687493
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x78]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x64
jle 0x6874a4
mov eax, dword [esp + 0x20]
inc edi
add ebx, 4
cmp edi, eax
jl 0x687448
jmp 0x6873f0
mov edx, dword [esp + 0x140]
mov dword [esp + 0x18], 0x7cab08
mov dword [edx], ecx
mov dword [esp + 0x12c], 7
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x6874d1
push eax
call fcn.007604d0
add esp, 4
mov eax, 1
jmp 0x687418