Function at 0x529460
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xfffffffffffffffe
push 0x673b48
push 0x5dfbd0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x6aae14]
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 eax, dword [ebp + 0x218]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 0x228]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0x22c]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 0x230]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0x234]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0
mov byte [ebp + 0x104], 0
push 0x103
push 0
lea edx, [ebp + 0x105]
push edx
call fcn.005dfd60
add esp, 0xc
call fcn.004f0de0
test eax, eax
je 0x52950e
mov dword [0x751b84], 1
push 0x7520c0
push 0x104
lea eax, [ebp + 0x104]
push eax
push 0x60c81c
push str.SecServer
push 0x60da74
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
call edi
mov al, byte [ebp + 0x104]
mov bl, 0x31
cmp al, bl
jne 0x52954e
mov dword [0x751b7c], 1
jmp 0x52955c
cmp al, 0x30
jne 0x52955c
mov dword [0x751b7c], 0
push 0x7520c0
push 0x104
lea ecx, [ebp + 0x104]
push ecx
push 0x60c81c
push str.DownloadFromAnotherServer
push 0x60da74
call edi
cmp byte [ebp + 0x104], bl
jne 0x529590
mov dword [0x751b80], 1
cmp dword [0x751b84], 0
je 0x5295d0
push 0
push 0x104
lea edx, [ebp + 0x104]
push edx
push 0x60c81c
push str.server
push 0x60c810
call fcn.004efe40
add esp, 0x18
cmp byte [ebp + 0x104], bl
jne 0x5295d0
mov dword [0x751b88], 1
mov edi, dword [ebp + 0x21c]
test edi, edi
jne 0x5295f1
cmp dword [0x7521c4], edi
jne 0x5295f1
mov dword [0x7521c4], 1
call fcn.00528720
push 0x751368
call fcn.005272c0
add esp, 4
push 0x751b8c
push str.UsePort139
push 0x60d9ec
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004d5820
push 0x6933b4
push str.SMBTimeoutInMS
push 0x60d9ec
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004d5820
push 0x69311c
push str.AutoDiscoverSend737
push 0x60d814
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004d5820
push 0x751b90
push str.192.168.0.1
call fcn.00508cf0
add esp, 8
call fcn.004d9b00
neg eax
sbb eax, eax
inc eax
mov dword [0x693414], eax
test esi, esi
je 0x5296dc
cmp byte [esi], 0
je 0x5296dc
mov dword [ebp - 0x1c], 0
push 1
push 0
push 0x2c
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp]
push ecx
push esi
call fcn.004e1380
add esp, 0x18
mov ebx, dword [ebp + 0x224]
cmp dword [ebp - 0x1c], 0xffffffff
je 0x529708
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
push ebx
mov eax, dword [ebp + 0x220]
push eax
push edi
mov ecx, dword [ebp - 0x24]
push ecx
lea edx, [ebp]
push edx
call fcn.00528e10
push 1
push 0
push 0x2c
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp]
push ecx
push esi
call fcn.004e1380
add esp, 0x3c
jmp 0x529697
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x20]
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
mov edx, dword [ebp - 0x24]
push edx
push esi
call fcn.00528e10
add esp, 0x24
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, edi
mov eax, dword [0x751354]
push 0x64
test eax, eax
je 0x52971f
call esi
jmp 0x529710
call esi
mov eax, dword [0x751c9c]
test eax, eax
je 0x529757
push eax
call fcn.005e0865
add esp, 4
mov dword [0x751c9c], 0
jmp 0x529757
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.005dfbbe
add ebp, 0x20c
mov esp, ebp
pop ebp
ret