Function at 0x41dc5c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x2c], ebx
cmp dword [ebp + 8], ebx
jne 0x41dc75
mov dword [ebp + 8], 0x445e48
push 0x334
call fcn.00401000
mov esi, eax
mov dword [ebp - 0x18], esi
cmp esi, ebx
je 0x41e045
push edi
lea edi, [esi + 0x208]
mov dword [ebp - 0xc], ebx
push ebx
jmp 0x41e013
push 0x7c
push esi
call fcn.00402484
mov dword [ebp - 0x28], eax
test eax, eax
je 0x41e00d
push 0xe4
call fcn.00401000
mov ebx, eax
test ebx, ebx
je 0x41e00d
push 0xe4
push ebx
call fcn.004024d6
lea eax, [ebx + 0xa4]
push eax
mov byte [eax], 0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebx + 4]
push ecx
lea eax, [edi + 0x28]
push eax
lea edx, [ebx + 0x20]
push edx
push str._s__s__d__d__d__d__d__d__d__d__s
push esi
call fcn.0040173a
xor eax, eax
add esp, 0x34
cmp dword [ebp - 0x30], eax
je 0x41dd26
push dword [ebp - 0x30]
lea eax, [ebx + 0x90]
push eax
call fcn.00409af0
xor eax, eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x41dd56
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0xc], ecx
cmp dword [ebp - 4], eax
je 0x41dd4d
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
call fcn.004053fe
jmp 0x41dd56
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov ax, word [ebp - 0x10]
push dword [ebp - 0x28]
mov word [ebx + 0xd4], ax
mov ax, word [ebp - 0x14]
mov word [ebx + 0xd6], ax
mov ax, word [ebp - 4]
mov word [ebx + 0xda], ax
mov ax, word [ebp - 0x1c]
mov word [ebx + 0xdc], ax
mov ax, word [ebp - 0x20]
mov word [ebx + 0xde], ax
mov ax, word [ebp - 0x24]
mov word [ebx + 0xe0], ax
lea eax, [ebx + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebx + 0xa4]
cmp byte [eax], 0
jne 0x41ddbc
push 0x4444b4
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
test dword [ebx + 4], 0x4000
je 0x41ddec
push 0xffffffffffffffff
lea eax, [edi + 0x28]
push eax
push eax
call fcn.004056c3
mov dword [ebp - 0x28], eax
lea eax, [ebx + 0x20]
push eax
push dword [ebp - 0x28]
lea eax, [edi + 0x28]
push eax
call fcn.004058a3
mov eax, dword [ebp - 0x28]
mov byte [eax + edi + 0x28], 0
push 0x10
lea eax, [edi + 0x28]
push eax
lea eax, [ebx + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [ebx + 0x20]
push eax
call fcn.0041d856
xor ecx, ecx
cmp eax, ecx
je 0x41de24
cmp dword [ebp + 0xc], ecx
jne 0x41de1b
push ebx
call fcn.00401019
jmp 0x41e00d
mov edi, eax
call fcn.0041dba4
xor ecx, ecx
mov eax, dword [0x446408]
cmp eax, ecx
jne 0x41de37
mov dword [0x446408], ebx
jmp 0x41de3d
mov eax, dword [eax]
cmp dword [eax], ecx
jne 0x41de35
mov dword [eax], ebx
inc dword [ebp - 0x2c]
mov dword [ebp - 8], ecx
push ecx
jmp 0x41deb6
push 0x7c
push esi
call fcn.00402484
mov dword [ebp - 0x28], eax
test eax, eax
je 0x41deb0
push 0x114
call fcn.00401000
mov edi, eax
test edi, edi
je 0x41deb0
push 0x114
push edi
call fcn.004024d6
lea eax, [edi + 0xc]
push eax
lea eax, [edi + 8]
push eax
lea eax, [edi + 4]
push eax
push str._d__d__d
push esi
call fcn.0040173a
add esp, 0x14
push dword [ebp - 0x28]
lea eax, [edi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebx + 0xcc]
mov eax, dword [ecx]
test eax, eax
jne 0x41dea9
mov dword [ecx], edi
jmp 0x41deb0
mov eax, dword [eax]
cmp dword [eax], 0
jne 0x41dea7
mov dword [eax], edi
inc dword [ebp - 8]
push dword [ebp - 8]
push dword [ebp - 0xc]
lea edi, [esi + 0x208]
push str._d__d
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push dword [ebp + 8]
push 0x208
push esi
push 0x445f80
push edi
push str.RegistUserList
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
ja 0x41de46
and dword [ebp - 8], 0
push 0
jmp 0x41dfd9
push 0x7c
push esi
call fcn.00402484
mov dword [ebp - 0x34], eax
test eax, eax
je 0x41dfcd
push 0x7c
push eax
call fcn.00402484
mov dword [ebp - 0x28], eax
test eax, eax
je 0x41dfcd
mov edi, 0x13c
push edi
call fcn.00401000
mov esi, eax
test esi, esi
je 0x41dfca
push edi
push esi
call fcn.004024d6
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 4]
push eax
push str._d__d__d__d__d__d__d
push dword [ebp - 0x18]
call fcn.0040173a
mov ax, word [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov word [esi + 8], ax
mov ax, word [ebp - 0x14]
mov word [esi + 0xa], ax
mov ax, word [ebp - 4]
mov word [esi + 0xe], ax
mov ax, word [ebp - 0x1c]
mov word [esi + 0x10], ax
mov ax, word [ebp - 0x20]
mov word [esi + 0x12], ax
mov ax, word [ebp - 0x24]
add esp, 0x24
push dword [ebp - 0x34]
mov word [esi + 0x14], ax
lea eax, [esi + 0x18]
push eax
call edi
push dword [ebp - 0x28]
lea eax, [esi + 0x38]
push eax
call edi
lea ecx, [ebx + 0xd0]
mov eax, dword [ecx]
test eax, eax
jne 0x41dfc3
mov dword [ecx], esi
jmp 0x41dfca
mov eax, dword [eax]
cmp dword [eax], 0
jne 0x41dfc1
mov dword [eax], esi
mov esi, dword [ebp - 0x18]
inc dword [ebp - 8]
push dword [ebp - 8]
lea edi, [esi + 0x208]
push dword [ebp - 0xc]
push str._d_FTP_d
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push dword [ebp + 8]
push 0x208
push esi
push 0x445f80
push edi
push str.RegistUserList
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
ja 0x41defb
inc dword [ebp - 0xc]
push dword [ebp - 0xc]
push 0x44300c
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push dword [ebp + 8]
push 0x208
push esi
push 0x445f80
push edi
push str.RegistUserList
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
ja 0x41dc9c
pop edi
push esi
call fcn.00401019
mov eax, dword [ebp - 0x2c]
pop esi
pop ebx
leave
ret 8