Function at 0x401080
Capabilities:
Get common file path
Terminate process

Disassembly:
mov eax, 0x121c
call fcn.004016f0
mov dx, word [0x407934]
push ebx
push ebp
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x4e]
mov word [esp + 0x4c], dx
mov word [esp + 0x4c8], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x4ca]
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x4cc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [esp + 0x4c8]
lea edx, [esp + 0x4c]
push ecx
push edx
call fcn.00401693
lea eax, [esp + 0x54]
push str.2052msjava.dll
push eax
call fcn.00401693
lea ecx, [esp + 0x28]
xor esi, esi
push ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x40], esi
call fcn.00401000
mov ebx, eax
mov eax, dword [esp + 0x2c]
add esp, 0x14
cmp eax, esi
mov dword [esp + 0x20], ebx
mov byte [esp + 0x11], 0
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 0
mov dword [esp + 0x1c], esi
jle 0x40125a
lea ebp, [esp + 0x30]
lea eax, [esp + 0xad0]
lea edx, [ebx + 0x5c]
mov ecx, 4
mov edi, 0x407030
lea esi, [edx - 0x48]
xor ebx, ebx
repe cmpsd dword [esi], dword es:[edi]
je 0x401309
cmp dword [edx - 0x10], 2
jne 0x40123b
mov cl, byte [esp + 0x12]
test cl, cl
jne 0x4011ad
cmp dword [edx], 6
jne 0x4011ad
lea esi, [edx - 0x5c]
mov ecx, 0x9d
mov edi, eax
add eax, 0x274
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [eax - 0x274]
mov edi, dword [esp + 0x14]
and ebx, 0xfffdffff
inc edi
mov dword [eax - 0x274], ebx
mov ecx, dword [edx - 0x38]
mov dword [ebp], ecx
mov dword [esp + 0x14], edi
add ebp, 4
mov byte [esp + 0x12], 1
mov cl, byte [esp + 0x11]
test cl, cl
jne 0x4011f4
cmp dword [edx], 0x11
jne 0x4011f4
lea esi, [edx - 0x5c]
mov ecx, 0x9d
mov edi, eax
add eax, 0x274
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [eax - 0x274]
mov edi, dword [esp + 0x14]
and ebx, 0xfffdffff
inc edi
mov dword [eax - 0x274], ebx
mov ecx, dword [edx - 0x38]
mov dword [ebp], ecx
mov dword [esp + 0x14], edi
add ebp, 4
mov byte [esp + 0x11], 1
mov cl, byte [esp + 0x13]
test cl, cl
jne 0x40123b
cmp dword [edx], 0
jne 0x40123b
lea esi, [edx - 0x5c]
mov ecx, 0x9d
mov edi, eax
add eax, 0x274
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [eax - 0x274]
mov edi, dword [esp + 0x14]
and ebx, 0xfffdffff
inc edi
mov dword [eax - 0x274], ebx
mov ecx, dword [edx - 0x38]
mov dword [ebp], ecx
mov dword [esp + 0x14], edi
add ebp, 4
mov byte [esp + 0x13], 1
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
inc ecx
add edx, 0x274
cmp ecx, esi
mov dword [esp + 0x1c], ecx
jl 0x401145
mov ebx, dword [esp + 0x20]
mov ecx, 0x9d
lea esi, [esp + 0xad0]
lea edi, [esp + 0x254]
lea edx, [esp + 0x2c8]
push str.winsock3
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.004016bd
mov edx, dword [esp + 0x26c]
add esp, 8
or edx, 4
lea eax, [esp + 0x2c]
mov dword [esp + 0x264], edx
push eax
lea ecx, [esp + 0x258]
push 1
lea edx, [esp + 0x54]
push ecx
push edx
push 0x407030
mov dword [esp + 0x290], 0
call sub.WS2_32.dll_WSCInstallProvider
cmp eax, 0xffffffff
jne 0x401310
xor eax, eax
mov edi, str.sdff
mov dword [esp + 0x25], eax
or ecx, 0xffffffff
mov word [esp + 0x29], ax
lea edx, [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x24], 0
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
mov byte [esp + 0x2b], al
push eax
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004015be
push 0
call fcn.004015be
push ebx
call fcn.00401070
lea eax, [esp + 0x1c]
push eax
call fcn.00401000
mov ebx, dword [esp + 0x20]
mov edx, eax
add esp, 8
xor eax, eax
test ebx, ebx
mov dword [esp + 0x20], edx
jle 0x40136c
add edx, 0x14
mov ecx, 4
mov edi, 0x407030
mov esi, edx
xor ebp, ebp
repe cmpsd dword [esi], dword es:[edi]
je 0x401355
inc eax
add edx, 0x274
cmp eax, ebx
jl 0x401336
jmp 0x40136c
lea ecx, [eax + eax*4]
shl ecx, 3
sub ecx, eax
lea edx, [eax + ecx*4]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + edx*4 + 0x24]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x401405
mov edx, eax
xor ebx, ebx
lea esi, [esp + 0xaf8]
lea ebp, [esp + 0x30]
mov dword [esp + 0x24], edx
lea edi, [esi + 0x4c]
lea eax, [esp + 0x8d0]
push edi
push str.winsock3
push str._ws_over__ws
push eax
call fcn.00401522
lea ecx, [esp + 0x8e0]
push ecx
push edi
call fcn.004016bd
mov eax, dword [esi]
add esp, 0x18
cmp eax, 1
jne 0x4013c6
mov edx, dword [ebp]
mov dword [edi - 0x44], edx
jmp 0x4013df
test eax, eax
jle 0x4013df
lea ecx, [ebx + eax]
lea ecx, [esp + ecx*4 + 0xafc]
mov edx, dword [ecx - 4]
mov dword [ecx], edx
add ecx, 0xfffffffc
dec eax
jne 0x4013d4
mov eax, dword [esi]
add ebp, 4
inc eax
add ebx, 0x9d
mov dword [esi], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x24]
add esi, 0x274
dec eax
mov dword [esp + 0x24], eax
jne 0x40138b
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.RPCRT4.dll_UuidCreate]
test eax, eax
jne 0x4014ed
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0xad4]
push eax
lea edx, [esp + 0x54]
push ecx
lea eax, [esp + 0x48]
push edx
push eax
call sub.WS2_32.dll_WSCInstallProvider
cmp eax, 0xffffffff
jne 0x401445
push 0
call fcn.004015be
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00401070
lea edx, [esp + 0x1c]
push edx
call fcn.00401000
mov esi, dword [esp + 0x20]
add esp, 8
xor edx, edx
mov ebx, eax
test esi, esi
jle 0x4014c0
lea ecx, [esp + 0x6d0]
lea eax, [ebx + 0x2c]
mov edi, esi
cmp dword [eax - 4], 1
jle 0x40148b
mov ebp, dword [esp + 0x1c]
cmp dword [eax], ebp
jne 0x40148b
mov ebp, dword [eax - 8]
inc edx
mov dword [ecx], ebp
add ecx, 4
add eax, 0x274
dec edi
jne 0x401474
test esi, esi
jle 0x4014c0
mov edi, dword [esp + 0x1c]
lea ecx, [esp + edx*4 + 0x6d0]
lea eax, [ebx + 0x2c]
cmp dword [eax - 4], 1
jle 0x4014af
cmp dword [eax], edi
je 0x4014b8
mov ebp, dword [eax - 8]
inc edx
mov dword [ecx], ebp
add ecx, 4
add eax, 0x274
dec esi
jne 0x4014a5
lea eax, [esp + 0x6d0]
push edx
push eax
call sub.SPORDER.dll_WSCWriteProviderOrder
test eax, eax
mov dword [esp + 0x2c], eax
je 0x4014dd
push 0
call fcn.004015be
push ebx
call fcn.00401070
add esp, 4
push 0
call fcn.004015be
push 0
call fcn.004015be
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop