Function at 0x10004ca0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x41c
mov eax, dword [0x10035080]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ecx, ecx
push 0x3fe
push ecx
lea edx, [esp + 0x2a]
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0
mov word [esp + 0x2c], cx
call fcn.1001a970
mov eax, dword [0x10039ba8]
mov ecx, dword [0x10039ba4]
add esp, 0xc
mov ebx, eax
cmp ecx, eax
jbe 0x10004d07
call fcn.100197ff
mov eax, dword [0x10039ba8]
mov ecx, dword [0x10039ba4]
mov esi, dword [0x10039b98]
mov edi, ecx
cmp ecx, eax
jbe 0x10004d18
call fcn.100197ff
mov eax, dword [0x10039b98]
push ebx
push esi
push edi
push eax
lea ebx, [esp + 0x28]
mov esi, 0x10039b98
call fcn.100053c0
mov eax, dword [0x10039bc0]
mov ecx, dword [0x10039bbc]
mov ebx, eax
cmp ecx, eax
jbe 0x10004d50
call fcn.100197ff
mov eax, dword [0x10039bc0]
mov ecx, dword [0x10039bbc]
mov esi, dword [0x10039bb0]
mov edi, ecx
cmp ecx, eax
jbe 0x10004d61
call fcn.100197ff
mov ecx, dword [0x10039bb0]
push ebx
push esi
push edi
push ecx
lea ebx, [esp + 0x28]
mov esi, 0x10039bb0
call fcn.100053c0
mov eax, dword [0x10039bd8]
mov ecx, dword [0x10039bd4]
mov edi, eax
cmp ecx, eax
jbe 0x10004d9a
call fcn.100197ff
mov eax, dword [0x10039bd8]
mov ecx, dword [0x10039bd4]
mov esi, dword [0x10039bc8]
mov ebx, ecx
cmp ecx, eax
jbe 0x10004dab
call fcn.100197ff
mov edx, dword [0x10039bc8]
push edi
push esi
push ebx
push edx
lea ebx, [esp + 0x28]
mov esi, 0x10039bc8
call fcn.100053c0
mov edi, dword [esp + 0x14]
push edi
push 0x2dcf5a
push 0x10030280
push str.ver_conf
mov dword [0x10038a94], 0
mov dword [0x1003898c], 0x2dcf5a
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edi
push 0x1ff
mov dword [0x1003898c], eax
lea eax, [esp + 0x28]
push eax
push 0x100304f4
push str.acccid
push str.cid_conf
call esi
test eax, eax
jbe 0x10004f7a
mov ebx, 1
lea eax, [esp + 0x20]
call fcn.10004890
push edi
push 0x1ff
lea ecx, [esp + 0x28]
push ecx
push 0x100304f4
push str.dencid
push str.cid_conf
call esi
mov ebx, 2
lea eax, [esp + 0x20]
call fcn.10004890
push edi
push 0x1ff
lea edx, [esp + 0x28]
push edx
push 0x100304f4
push str.testcid
push str.cid_conf
call esi
mov ebx, 3
lea eax, [esp + 0x20]
call fcn.10004890
mov eax, dword [0x10039bd8]
mov ecx, dword [0x10039bd4]
sub eax, ecx
sar eax, 2
xor esi, esi
test eax, eax
jbe 0x10004ecc
cmp esi, eax
jb 0x10004ea7
call fcn.100197ff
mov ecx, dword [0x10039bd4]
mov ebx, dword [ebp + 0xc]
cmp dword [ecx + esi*4], ebx
je 0x10004ec0
mov eax, dword [0x10039bd8]
sub eax, ecx
inc esi
sar eax, 2
cmp esi, eax
jb 0x10004ea7
jmp 0x10004ecf
mov dword [0x10038a94], 1
jmp 0x10004ecf
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x10039bc0]
mov ecx, dword [0x10039bbc]
sub eax, ecx
sar eax, 2
xor esi, esi
test eax, eax
jbe 0x10004f08
cmp esi, eax
jb 0x10004ef4
call fcn.100197ff
mov ecx, dword [0x10039bbc]
cmp dword [ecx + esi*4], ebx
je 0x10004f5e
mov eax, dword [0x10039bc0]
sub eax, ecx
inc esi
sar eax, 2
cmp esi, eax
jb 0x10004ef4
mov eax, dword [0x10039ba8]
mov ecx, dword [0x10039ba4]
sub eax, ecx
sar eax, 2
xor esi, esi
test eax, eax
jbe 0x10004fa2
cmp esi, eax
jb 0x10004f31
call fcn.100197ff
mov ecx, dword [0x10039ba4]
cmp dword [ecx + esi*4], ebx
je 0x10004f91
mov eax, dword [0x10039ba8]
sub eax, ecx
inc esi
sar eax, 2
cmp esi, eax
jb 0x10004f31
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.10019069
mov esp, ebp
pop ebp
ret
push ebx
push 0
push 0xd1
push 0x2dcf5a
push str.v_ds_dr_dd_d
xor ecx, ecx
call fcn.10004540
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.10019069
mov esp, ebp
pop ebp
ret
mov ecx, ebx
mov esi, edi
call fcn.10004a10
mov dword [esp + 0x10], 1
mov ecx, dword [esp + 0x424]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10019069
mov esp, ebp
pop ebp
ret