Function at 0x416480
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x454d29
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46bd84]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x2c], ebp
call fcn.0042d67b
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x4164cb
push 0x80004005
call fcn.00401f60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [esp + 0x54]
add eax, 0x10
mov dword [ecx], eax
mov dword [esp + 0x48], ebp
mov edi, 1
mov dword [esp + 0x2c], edi
call fcn.0042d67b
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x416504
push 0x80004005
call fcn.00401f60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x48], edi
mov esi, dword [ecx]
mov eax, dword [ebx - 8]
mov ecx, edi
sub ecx, dword [ebx - 4]
sub eax, 0x208
or eax, ecx
jge 0x416541
push 0x208
lea ecx, [esp + 0x18]
call fcn.00401cc0
mov ebx, dword [esp + 0x14]
push esi
push 0x208
push ebx
push str.GEO_Map
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
cmp eax, 0xffffffff
jne 0x416565
mov eax, dword [ebx - 8]
push eax
push ebx
call fcn.0043d945
add esp, 8
cmp eax, ebp
jl 0x4168a3
cmp eax, dword [ebx - 8]
jg 0x4168a3
xor edx, edx
mov dword [ebx - 0xc], eax
mov word [ebx + eax*2], dx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebp
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edi, [esp + 0x30]
lea esi, [esp + 0x1c]
call fcn.0041f530
add esp, 8
mov byte [esp + 0x48], 2
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], ebp
jne 0x4165d9
add eax, 0xfffffff0
mov byte [esp + 0x48], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4167e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4167e2
mov dword [esp + 0x20], ebp
call fcn.0042d67b
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
je 0x4164c1
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x48], 3
call fcn.0042d67b
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
je 0x4164c1
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x24], ebp
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x3c]
mov byte [esp + 0x4c], 4
push edx
lea edi, [esp + 0x28]
lea esi, [esp + 0x24]
mov dword [esp + 0x3c], 0x3d
call fcn.0041f530
add esp, 8
mov byte [esp + 0x48], 5
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [ebx - 0x10]
cmp eax, esi
je 0x4166ad
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x41669b
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41669b
push eax
call fcn.00401f90
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x416692
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x18], ebx
jmp 0x4166ad
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00401d70
mov ebx, dword [esp + 0x18]
mov byte [esp + 0x48], 4
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4166d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x20], 0xffffffff
je 0x416733
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x40]
push edx
lea edi, [esp + 0x28]
lea esi, [esp + 0x24]
mov dword [esp + 0x3c], 0x3d
call fcn.0041f530
add esp, 8
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x4c], 6
call fcn.0040f0a0
mov byte [esp + 0x48], 4
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41672f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x24]
cmp dword [ebp - 0xc], 0
jne 0x416747
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x58]
call fcn.0040f0a0
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 0x18]
cmp dword [eax - 0xc], 0
je 0x416775
test eax, eax
je 0x416775
cmp dword [ebp - 0xc], 0
jl 0x416775
push eax
push ebp
call fcn.0043e12c
add esp, 8
test eax, eax
je 0x416775
sub eax, ebp
sar eax, 1
cmp eax, 0xffffffff
jne 0x4167ef
lea eax, [ebp - 0x10]
mov byte [esp + 0x48], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416796
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x48], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4167b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4167dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x14]
xor ebp, ebp
cmp dword [esp + 0x28], 0xffffffff
jne 0x416587
jmp 0x416868
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x58]
call fcn.0040f0a0
lea eax, [ebp - 0x10]
mov byte [esp + 0x48], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41681e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x48], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41683f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416864
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x14]
lea eax, [ebx - 0x10]
mov byte [esp + 0x48], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416889
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 8
push 0x80070057
call fcn.00401f60
int3