Function at 0x440100
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4b86e0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50a360]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x18], ebp
xor ecx, ecx
mov eax, 0x80000
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00464376
push 0x100000
mov edi, eax
push 0
push edi
mov dword [esp + 0x44], edi
call fcn.00494750
mov ebx, dword [esp + 0x6c]
add esp, 0x10
push ebx
push 0x80000
push edi
push 0
push 0x507ce8
push 0x507cd4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea esi, [ebp + 0x2f8]
test edi, edi
jne 0x440189
xor eax, eax
jmp 0x44019f
mov eax, edi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x440190
sub eax, edx
sar eax, 1
push eax
push edi
mov ecx, esi
call fcn.00401860
mov ecx, ebp
call fcn.00435f20
test eax, eax
jne 0x4401c1
push edi
call fcn.0046436b
add esp, 4
jmp 0x440599
push 0x100000
push 0
push edi
call fcn.00494750
mov eax, dword [esi]
add esp, 0xc
push ebx
push 0x80000
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
lea ecx, [ebp + 0x364]
call fcn.00418fe0
lea ecx, [ebp + 0x380]
call fcn.00418cf0
lea ecx, [ebp + 0x39c]
call fcn.00435940
lea ecx, [ebp + 0x3b8]
call fcn.004358c0
lea ecx, [ebp + 0x3d4]
call fcn.00435940
lea ecx, [esp + 0x38]
call fcn.0046e650
lea eax, [esp + 0x38]
push eax
push edi
mov dword [esp + 0x5c], 0
call fcn.004589d0
add esp, 8
mov dword [esp + 0x28], eax
call fcn.0046c2c1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x440255
push 0x80004005
call fcn.00401150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x54], 1
call fcn.0046c2c1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x440284
push 0x80004005
call fcn.00401150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x54], 2
call fcn.0046c2c1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4402b3
push 0x80004005
call fcn.00401150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
cmp dword [esp + 0x28], 0
mov byte [esp + 0x54], 3
mov dword [esp + 0x24], 0
jbe 0x44050b
xor ebx, ebx
mov dword [esp + 0x1c], ebx
jmp 0x4402e7
mov ebx, dword [esp + 0x1c]
test ebx, ebx
jl 0x4405af
cmp ebx, dword [esp + 0x40]
jge 0x4405af
mov ecx, dword [esp + 0x3c]
lea eax, [ecx + ebx*4]
push eax
lea ecx, [esp + 0x18]
call fcn.00401bf0
mov esi, dword [esp + 0x14]
mov edi, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x440330
push edi
lea ecx, [esp + 0x18]
call fcn.00401510
mov esi, dword [esp + 0x14]
lea edx, [edi + 1]
push edx
push esi
call fcn.004967fc
add esp, 8
test edi, edi
jl 0x4405b4
cmp edi, dword [esi - 8]
jg 0x4405b4
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
lea eax, [ebx + 1]
test eax, eax
jl 0x4405af
cmp eax, dword [esp + 0x40]
jge 0x4405af
mov ecx, dword [esp + 0x3c]
lea ebx, [ecx + ebx*4 + 4]
push ebx
lea ecx, [esp + 0x60]
call fcn.00401bf0
lea ecx, [esp + 0x5c]
call fcn.00407740
mov ebx, dword [esp + 0x5c]
mov eax, dword [ebx - 0xc]
test eax, eax
jne 0x4403a9
push esi
lea ecx, [ebp + 0x380]
call fcn.0043ef90
mov dword [eax], 0
jmp 0x440494
jle 0x4404be
push 0x40
push ebx
call fcn.004952a4
add esp, 8
test eax, eax
je 0x4404be
sub eax, ebx
sar eax, 1
mov edi, eax
cmp edi, 0xffffffff
je 0x4404be
cmp edi, 1
jg 0x4404be
push edi
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x64]
call fcn.00401a30
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x58], 4
call fcn.00401bf0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x54], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44041d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00495ca8
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x440435
mov ebp, 1
mov ecx, dword [esp + 0x18]
push esi
add ecx, 0x380
call fcn.0043ef90
mov dword [eax], ebp
mov eax, dword [ebx - 0xc]
sub eax, edi
dec eax
push eax
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x64]
call fcn.004019b0
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x58], 5
call fcn.00401bf0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x54], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440490
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x18]
lea ecx, [esp + 0x5c]
call fcn.00407740
lea ecx, [esp + 0x5c]
call fcn.00407830
push esi
lea ecx, [ebp + 0x364]
call fcn.00425ad0
mov ebx, dword [esp + 0x5c]
test ebx, ebx
jne 0x4404d2
xor edx, edx
jmp 0x4404e6
push esi
lea ecx, [ebp + 0x380]
call fcn.0043ef90
mov dword [eax], 1
jmp 0x440494
mov edx, ebx
lea ecx, [edx + 2]
mov di, word [edx]
add edx, 2
test di, di
jne 0x4404d7
sub edx, ecx
sar edx, 1
push edx
push ebx
mov ecx, eax
call fcn.00401860
mov eax, dword [esp + 0x24]
add dword [esp + 0x1c], 2
inc eax
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x28]
jb 0x4402e3
mov edi, dword [esp + 0x34]
mov ecx, ebp
call fcn.0043ab20
push edi
mov dword [ebp + 0x3f4], eax
call fcn.0046436b
add esi, 0xfffffff0
add esp, 4
mov byte [esp + 0x54], 2
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440542
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x54], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440567
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x54], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440588
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x54], 0xffffffff
call fcn.0046e87c
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 4
call fcn.00464489
push 0x80070057
call fcn.00401150
int3