Function at 0x10040ed1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa60
mov eax, dword [0x100eb3e0]
xor eax, ebp
mov dword [ebp - 8], eax
mov word [ebp - 0x298], 0x54
mov word [ebp - 0x296], 0x65
mov word [ebp - 0x294], 0x6e
mov word [ebp - 0x292], 0x63
mov word [ebp - 0x290], 0x65
mov word [ebp - 0x28e], 0x6e
mov word [ebp - 0x28c], 0x74
mov word [ebp - 0x28a], 0x4c
mov word [ebp - 0x288], 0x73
mov word [ebp - 0x286], 0x70
and word [ebp - 0x284], 0
and dword [ebp - 0x2a0], 0
lea eax, [ebp - 0xa5c]
push eax
call fcn.10040e67
pop ecx
mov dword [ebp - 0x2a8], eax
and dword [ebp - 0xa60], 0
jmp 0x10040f76
mov eax, dword [ebp - 0xa60]
inc eax
mov dword [ebp - 0xa60], eax
mov eax, dword [ebp - 0xa60]
cmp eax, dword [ebp - 0xa5c]
jge 0x10041017
mov eax, dword [ebp - 0xa60]
imul eax, eax, 0x274
mov ecx, dword [ebp - 0x2a8]
cmp dword [ecx + eax + 0x4c], 2
jne 0x10041012
mov eax, dword [ebp - 0xa60]
imul eax, eax, 0x274
mov ecx, dword [ebp - 0x2a8]
mov eax, dword [ecx + eax + 0x5c]
cmp eax, dword [ebp + 0xc]
jne 0x10041012
push 0x274
mov eax, dword [ebp - 0xa60]
imul eax, eax, 0x274
add eax, dword [ebp - 0x2a8]
push eax
lea eax, [ebp - 0xa58]
push eax
call fcn.10073ad0
add esp, 0xc
mov eax, dword [ebp - 0xa58]
and eax, 0xfffdffff
mov dword [ebp - 0xa58], eax
mov eax, dword [ebp - 0xa60]
imul eax, eax, 0x274
mov ecx, dword [ebp - 0x2a8]
mov eax, dword [ecx + eax + 0x24]
mov dword [ebp - 0x2a4], eax
jmp 0x10041017
jmp 0x10040f69
push 0x274
lea eax, [ebp - 0xa58]
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.10073ad0
add esp, 0xc
lea eax, [ebp - 0x298]
push eax
push 0x100
lea eax, [ebp - 0x20c]
push eax
call fcn.10074ec3
add esp, 0xc
and dword [ebp - 0x258], 0
mov eax, dword [ebp - 0x270]
or eax, 4
mov dword [ebp - 0x270], eax
lea eax, [ebp - 0x2a0]
push eax
push 1
lea eax, [ebp - 0x280]
push eax
push dword [ebp + 8]
push dword [ebp + 0x10]
call sub.WS2_32.dll_WSCInstallProvider
cmp eax, 0xffffffff
jne 0x1004108e
mov eax, dword [ebp - 0x2a0]
jmp 0x10041373
push dword [ebp - 0x2a8]
call fcn.10040ec3
pop ecx
lea eax, [ebp - 0xa5c]
push eax
call fcn.10040e67
pop ecx
mov dword [ebp - 0x2a8], eax
and dword [ebp - 0x29c], 0
jmp 0x100410c3
mov eax, dword [ebp - 0x29c]
inc eax
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp - 0x29c]
cmp eax, dword [ebp - 0xa5c]
jge 0x10041118
push 0x10
push 0x101045d8
mov eax, dword [ebp - 0x29c]
imul eax, eax, 0x274
mov ecx, dword [ebp - 0x2a8]
lea eax, [ecx + eax + 0x14]
push eax
call fcn.100715cf
add esp, 0xc
test eax, eax
jne 0x10041116
mov eax, dword [ebp - 0x29c]
imul eax, eax, 0x274
mov ecx, dword [ebp - 0x2a8]
mov eax, dword [ecx + eax + 0x24]
mov dword [ebp - 4], eax
jmp 0x10041118
jmp 0x100410b6
lea eax, [ebp - 0x9e4]
push eax
lea eax, [ebp - 0x298]
push eax
push str._ws_over__ws
lea eax, [ebp - 0x7c8]
push eax
call fcn.10042888
add esp, 0x10
lea eax, [ebp - 0x7c8]
push eax
lea eax, [ebp - 0x9e4]
push eax
call fcn.100428aa
pop ecx
pop ecx
cmp dword [ebp - 0xa30], 1
jne 0x10041166
mov eax, dword [ebp - 0x2a4]
mov dword [ebp - 0xa28], eax
jmp 0x100411a6
mov eax, dword [ebp - 0xa30]
mov dword [ebp - 0x29c], eax
jmp 0x10041181
mov eax, dword [ebp - 0x29c]
dec eax
mov dword [ebp - 0x29c], eax
cmp dword [ebp - 0x29c], 0
jle 0x100411a6
mov eax, dword [ebp - 0x29c]
mov ecx, dword [ebp - 0x29c]
mov ecx, dword [ebp + ecx*4 - 0xa30]
mov dword [ebp + eax*4 - 0xa2c], ecx
jmp 0x10041174
mov eax, dword [ebp - 0xa30]
inc eax
mov dword [ebp - 0xa30], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xa2c], eax
lea eax, [ebp - 0x7dc]
push eax
call dword [sym.imp.RPCRT4.dll_UuidCreate]
test eax, eax
jne 0x100411fe
lea eax, [ebp - 0x2a0]
push eax
push 1
lea eax, [ebp - 0xa58]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x7dc]
push eax
call sub.WS2_32.dll_WSCInstallProvider
cmp eax, 0xffffffff
jne 0x100411fc
mov eax, dword [ebp - 0x2a0]
jmp 0x10041373
jmp 0x10041209
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10041373
push dword [ebp - 0x2a8]
call fcn.10040ec3
pop ecx
lea eax, [ebp - 0xa5c]
push eax
call fcn.10040e67
pop ecx
mov dword [ebp - 0x2a8], eax
and dword [ebp - 0x7cc], 0
and dword [ebp - 0x29c], 0
jmp 0x10041245
mov eax, dword [ebp - 0x29c]
inc eax
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp - 0x29c]
cmp eax, dword [ebp - 0xa5c]
jge 0x100412bc
mov eax, dword [ebp - 0x29c]
imul eax, eax, 0x274
mov ecx, dword [ebp - 0x2a8]
cmp dword [ecx + eax + 0x28], 1
jle 0x100412b7
mov eax, dword [ebp - 0x29c]
imul eax, eax, 0x274
mov ecx, dword [ebp - 0x2a8]
mov eax, dword [ecx + eax + 0x2c]
cmp eax, dword [ebp - 4]
jne 0x100412b7
mov eax, dword [ebp - 0x29c]
imul eax, eax, 0x274
mov ecx, dword [ebp - 0x7cc]
mov edx, dword [ebp - 0x2a8]
mov eax, dword [edx + eax + 0x24]
mov dword [ebp + ecx*4 - 0x5c8], eax
mov eax, dword [ebp - 0x7cc]
inc eax
mov dword [ebp - 0x7cc], eax
jmp 0x10041238
and dword [ebp - 0x29c], 0
jmp 0x100412d2
mov eax, dword [ebp - 0x29c]
inc eax
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp - 0x29c]
cmp eax, dword [ebp - 0xa5c]
jge 0x10041349
mov eax, dword [ebp - 0x29c]
imul eax, eax, 0x274
mov ecx, dword [ebp - 0x2a8]
cmp dword [ecx + eax + 0x28], 1
jle 0x10041314
mov eax, dword [ebp - 0x29c]
imul eax, eax, 0x274
mov ecx, dword [ebp - 0x2a8]
mov eax, dword [ecx + eax + 0x2c]
cmp eax, dword [ebp - 4]
je 0x10041344
mov eax, dword [ebp - 0x29c]
imul eax, eax, 0x274
mov ecx, dword [ebp - 0x7cc]
mov edx, dword [ebp - 0x2a8]
mov eax, dword [edx + eax + 0x24]
mov dword [ebp + ecx*4 - 0x5c8], eax
mov eax, dword [ebp - 0x7cc]
inc eax
mov dword [ebp - 0x7cc], eax
jmp 0x100412c5
push dword [ebp - 0x7cc]
lea eax, [ebp - 0x5c8]
push eax
call sub.WS2_32.dll_WSCWriteProviderOrder
mov dword [ebp - 0x2a0], eax
push dword [ebp - 0x2a8]
call fcn.10040ec3
pop ecx
mov eax, dword [ebp - 0x2a0]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10070dd1
leave
ret