Function at 0x42e570
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581914
mov eax, dword fs:[0]
push eax
mov eax, 0x138b8
call fcn.0055bc00
mov eax, dword [0x5e91b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
call fcn.004655e9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42e5c3
push 0x80004005
call fcn.00402040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x9c60], esi
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x9c78]
call fcn.0042afc0
mov byte [ebp - 4], 3
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x9c74]
call fcn.0042afc0
xor eax, eax
push 0x9c42
push eax
lea ecx, [ebp - 0x9c52]
mov byte [ebp - 4], 4
push ecx
mov word [ebp - 0x9c54], ax
call fcn.0055ade0
mov eax, dword [esi - 8]
mov edi, dword [ebp - 0x9c74]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x2711
add esp, 0xc
or eax, ecx
jge 0x42e64d
push 0x2711
lea ecx, [ebp - 0x9c60]
call fcn.00405000
mov esi, dword [ebp - 0x9c60]
mov edx, dword [ebp - 0x9c78]
push edi
push 0x2710
push esi
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
mov edi, eax
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00559923
add esp, 8
test eax, eax
js 0x42ed68
cmp eax, dword [esi - 8]
jg 0x42ed68
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp edi, 0x270e
je 0x42e696
test edi, edi
jne 0x42e6ae
push edi
push str._CheckLangIniFileCheckSum___dwCharNum___d__n
push 0x40000
push 0x5eb054
call fcn.0042e040
add esp, 0x10
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x2711
or eax, ecx
jge 0x42e6d8
push 0x2711
lea ecx, [ebp - 0x9c60]
call fcn.00405000
mov esi, dword [ebp - 0x9c60]
push 0x4e22
lea edx, [ebp - 0x9c54]
push esi
push edx
call fcn.0055f310
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00559923
add esp, 0x14
test eax, eax
js 0x42ed68
cmp eax, dword [esi - 8]
jg 0x42ed68
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
call fcn.004655e9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42ec1b
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x9c68], eax
xor ecx, ecx
push 0x9c42
push ecx
lea edx, [ebp - 0x138c2]
mov byte [ebp - 4], 5
push edx
mov word [ebp - 0x138c4], cx
call fcn.0055ade0
add esp, 0xc
call fcn.004655e9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42e5b9
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x9c6c], ebx
mov byte [ebp - 4], 6
call fcn.004655e9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42e5b9
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x9c58], edi
lea eax, [ebp - 0x9c54]
mov byte [ebp - 4], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42e7b6
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x9c54]
push ecx
lea ecx, [ebp - 0x9c68]
call fcn.00404e60
mov esi, dword [ebp - 0x9c68]
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x9c70], eax
test eax, eax
je 0x42ec25
jns 0x42e7fc
or edi, 0xffffffff
mov dword [ebp - 0x9c5c], edi
jmp 0x42e825
push 0x5ba1bc
push esi
call fcn.005595f4
add esp, 8
test eax, eax
jne 0x42e819
or edi, 0xffffffff
mov dword [ebp - 0x9c5c], edi
jmp 0x42e825
sub eax, esi
sar eax, 1
mov edi, eax
mov dword [ebp - 0x9c5c], eax
push edi
lea edx, [ebp - 0x9c80]
push edx
lea ecx, [ebp - 0x9c68]
call fcn.0042f190
mov byte [ebp - 4], 8
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [ebx - 0x10]
cmp eax, esi
je 0x42e89f
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x42e889
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x42e889
push eax
call fcn.00404f80
mov edi, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x42e878
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea ebx, [edi + 0x10]
mov edi, dword [ebp - 0x9c5c]
mov dword [ebp - 0x9c6c], ebx
jmp 0x42e89f
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x9c6c]
call fcn.00404e60
mov ebx, dword [ebp - 0x9c6c]
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x9c80]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e8c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.004655e9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42e5b9
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x9c5c], eax
mov byte [ebp - 4], 9
test ebx, ebx
je 0x42e917
test ebx, 0xffff0000
jne 0x42e917
movzx esi, bx
push esi
call fcn.004667cb
test eax, eax
je 0x42e923
push esi
push eax
lea ecx, [ebp - 0x9c5c]
call fcn.00401a40
jmp 0x42e923
push ebx
lea ecx, [ebp - 0x9c5c]
call fcn.0042d310
mov eax, dword [ebp - 0x9c70]
lea ecx, [ebp - 0x9c68]
sub eax, edi
push ecx
lea ebx, [ebp - 0x9c7c]
mov byte [ebp - 4], 0xa
call fcn.0042f110
mov byte [ebp - 4], 0xb
mov ecx, dword [eax]
mov esi, dword [ebp - 0x9c58]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x42e9a2
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x42e992
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x42e992
push eax
call fcn.00404f80
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x42e987
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp - 0x9c58], ebx
jmp 0x42e9a2
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x9c58]
call fcn.00404e60
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x9c7c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e9c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x9c58]
mov ecx, dword [ecx - 0xc]
lea edx, [ebp - 0x9c58]
lea ecx, [ecx - 1]
push edx
mov eax, 1
call fcn.0042b060
mov edi, dword [ebp - 0x9c58]
mov eax, dword [edi - 0xc]
mov ebx, 2
cmp eax, ebx
jge 0x42e9fd
mov ebx, eax
test eax, eax
jle 0x42ea5d
mov esi, eax
sub esi, ebx
cmp dword [edi - 4], 1
jle 0x42ea19
push eax
lea ecx, [ebp - 0x9c58]
call fcn.00405060
mov edi, dword [ebp - 0x9c58]
lea eax, [esi + esi + 2]
push eax
lea ecx, [edi + ebx*2]
push ecx
push eax
push edi
call fcn.005579b4
add esp, 0x10
cmp eax, 0x50
ja case.0x42ea3c.1
movzx edx, byte [eax + 0x42ed84]
jmp dword [edx*4 + 0x42ed74]
test esi, esi
js 0x42ed68
cmp esi, dword [edi - 8]
jg 0x42ed68
xor eax, eax
mov dword [edi - 0xc], esi
mov word [edi + esi*2], ax
call fcn.004655e9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42e5b9
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x9c64], eax
mov byte [ebp - 4], 0xc
test edi, 0xffff0000
jne 0x42eaab
movzx esi, di
push esi
call fcn.004667cb
test eax, eax
je 0x42eab7
push esi
push eax
lea ecx, [ebp - 0x9c64]
call fcn.00401a40
jmp 0x42eab7
push edi
lea ecx, [ebp - 0x9c64]
call fcn.0042d310
push 0x5b9890
push str._r_n
lea ecx, [ebp - 0x9c64]
mov byte [ebp - 4], 0xd
call fcn.0042ede0
push 0x5ba1c8
push 0x5ba1cc
lea ecx, [ebp - 0x9c64]
call fcn.0042ede0
mov ecx, dword [ebp - 0x9c5c]
push ecx
mov ecx, 0x5eb064
call fcn.0042f4d0
mov esi, dword [ebp - 0x9c64]
test esi, esi
jne 0x42eb04
xor edx, edx
jmp 0x42eb19
mov edx, esi
lea ebx, [edx + 1]
lea esp, [esp]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x42eb10
sub edx, ebx
push edx
push esi
mov ecx, eax
call fcn.00401ea0
mov edx, dword [ebp - 0x9c70]
push 0x4e22
lea eax, [ebp + edx*2 - 0x9c52]
push eax
lea ecx, [ebp - 0x138c4]
push ecx
call fcn.0055f310
push 0x4e22
lea edx, [ebp - 0x138c4]
push edx
lea eax, [ebp - 0x9c54]
push eax
call fcn.0055f310
add esi, 0xfffffff0
add esp, 0x18
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42eb7c
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x9c5c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42eba2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0xfffffff0
mov byte [ebp - 4], 6
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ebc2
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x9c6c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ebe8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x9c68]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ec0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.004655e9
test eax, eax
jne 0x42e725
push 0x80004005
call fcn.00402040
lea eax, [edi - 0x10]
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ec45
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ec65
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ec85
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x9c74]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ecab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x9c78]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ecd1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x9c60]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ecf7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ed1a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ed40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005578df
mov esp, ebp
pop ebp
ret 8
call fcn.00466686
call fcn.004666be
push 0x80070057
call fcn.00402040
mov edi, edi
inc ebx
ljmp 1293