Function at 0x10084e40
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xfffffffffffffffe
push 0x1016f820
push 0x10118480
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1017455c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 0x214]
mov ebx, dword [ebp + 0x218]
mov dword [ebp - 0x38], ebx
mov eax, dword [ebp + 0x228]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 0x22c]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp + 0x230]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp + 0x234]
mov dword [ebp - 0x34], eax
xor edi, edi
mov dword [ebp - 4], edi
mov byte [ebp + 0x104], 0
push 0x103
push edi
lea ecx, [ebp + 0x105]
push ecx
call fcn.10116880
add esp, 0xc
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
cmp ebx, edi
je 0x10084eeb
mov eax, dword [ebx]
cmp eax, edi
je 0x10084eeb
mov byte [eax], 0
cmp dword [0x10194484], edi
jne 0x10084eff
xor ecx, ecx
call fcn.1004d810
call sym.EncDec.dll_ICMPInit
call fcn.1006c2f0
test eax, eax
je 0x10084f12
mov dword [0x101951c8], 1
push 0x10195808
push 0x104
lea edx, [ebp + 0x104]
push edx
push 0x1013f817
push str.SecServer
push str.Config
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
call edi
mov al, byte [ebp + 0x104]
cmp al, 0x31
jne 0x10084f50
mov dword [0x10194cbc], 1
jmp 0x10084f5e
cmp al, 0x30
jne 0x10084f5e
mov dword [0x10194cbc], 0
push 0x10195808
push 0x104
lea eax, [ebp + 0x104]
push eax
push 0x1013f817
push str.DownloadFromAnotherServer
push str.Config
call edi
cmp byte [ebp + 0x104], 0x31
jne 0x10084f93
mov dword [0x101951c4], 1
cmp dword [0x101951c8], 0
je 0x10084fc4
lea eax, [ebp + 0x104]
mov ecx, 0x1013f817
mov edx, str.server
call fcn.10043050
cmp byte [ebp + 0x104], 0x31
jne 0x10084fc4
mov dword [0x101951cc], 1
mov edi, dword [ebp + 0x21c]
test edi, edi
jne 0x10084fe5
cmp dword [0x101a3314], edi
jne 0x10084fe5
mov dword [0x101a3314], 1
call fcn.10084440
call fcn.10082f40
push 0x101951d0
push str.UsePort139
mov ecx, str.SoftwareMicroWorld
mov edx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.10031670
push 0x1017d98c
push str.SMBTimeoutInMS
mov ecx, str.SoftwareMicroWorld
mov edx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.10031670
push 0x1017d884
push str.AutoDiscoverSend737
mov ecx, 0x101482cc
mov edx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.10031670
push 0x1018f34c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push str.192.168.0.1
mov ecx, 0x101952dc
call fcn.10054060
add esp, 4
push 0x1018f34c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.1004fe90
neg eax
sbb eax, eax
inc eax
mov dword [0x1017da94], eax
test esi, esi
je 0x100850e2
cmp byte [esi], 0
je 0x100850e2
mov dword [ebp - 0x24], 0
push 1
push 0x2c
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp]
mov ecx, esi
call fcn.10045850
add esp, 0xc
mov ebx, dword [ebp + 0x224]
cmp dword [ebp - 0x24], 0xffffffff
je 0x10085113
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push ebx
mov edx, dword [ebp + 0x220]
push edx
push edi
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp]
push ecx
call fcn.100851a0
push 1
push 0x2c
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp]
mov ecx, esi
call fcn.10045850
add esp, 0x38
jmp 0x10085097
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp + 0x224]
push eax
mov ecx, dword [ebp + 0x220]
push ecx
push edi
push ebx
push esi
call fcn.100851a0
add esp, 0x2c
cmp edi, 4
je 0x10085134
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, edi
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x1008512d
push 0x64
call esi
jmp 0x10085120
push 0xc8
call esi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10085165
push eax
call fcn.1010dc10
add esp, 4
mov dword [ebp - 0x1c], 0
jmp 0x10085165
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.1010d699
add ebp, 0x20c
mov esp, ebp
pop ebp
ret 0x24