Function at 0x43ede0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4ac36e
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x4dffd0]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push esi
push edi
mov eax, dword [0x4dffd0]
xor eax, esp
push eax
lea eax, [esp + 0xf4]
mov dword fs:[0], eax
mov eax, dword [0x500de4]
mov edx, dword [eax + 0xc]
mov ecx, 0x500de4
xor edi, edi
call edx
add eax, 0x10
mov dword [esp + 0x24], eax
mov eax, dword [0x500de4]
mov edx, dword [eax + 0xc]
mov ecx, 0x500de4
mov dword [esp + 0xfc], edi
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov eax, dword [0x500de4]
mov edx, dword [eax + 0xc]
mov ecx, 0x500de4
mov byte [esp + 0xfc], 1
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
push 0xc6
lea eax, [esp + 0x2e]
push edi
push eax
mov byte [esp + 0x108], 2
mov word [esp + 0x34], di
call sub.MSVCR80.dll_memset
mov edx, dword [0x500de4]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x500de4
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov edx, dword [0x500de4]
mov eax, dword [edx + 0xc]
mov ecx, 0x500de4
mov byte [esp + 0xfc], 3
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x10]
mov bl, 4
push ecx
mov byte [esp + 0x100], bl
call fcn.0043a000
add esp, 4
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x100], 5
call fcn.00405e10
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0xfc], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43ef12
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
call fcn.00439210
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
call fcn.00405e10
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x28]
call fcn.00405e10
push 0x16
push str.ressrcchsuplive.svr0
lea ecx, [esp + 0x24]
call fcn.00425c00
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.MSVCR80.dll__waccess]
push edi
push eax
call esi
add esp, 8
test eax, eax
je 0x43efac
push 0x4b8f58
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00405d30
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x100], 6
call fcn.00405e10
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0xfc], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43efac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x1f
push 0x4b8fe8
lea ecx, [esp + 0x2c]
call fcn.00425c00
mov ecx, dword [esp + 0x24]
push edi
push ecx
call esi
add esp, 8
test eax, eax
je 0x43f01b
push str.ressrcchskismain.ini
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00405d30
add esp, 0xc
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x100], 7
call fcn.00405e10
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0xfc], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f01b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push ecx
push 0x64
lea edx, [esp + 0x30]
push edx
push 0x4b6f6c
push str.Version
push 0x4b46b4
call esi
cmp eax, edi
je 0x43f17c
lea eax, [esp + 0x28]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x43f050
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
call fcn.00405620
lea ecx, [esp + 0x18]
call fcn.00439210
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
push eax
push 2
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x24]
call fcn.00425a60
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x100], 8
call fcn.00405e10
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0xfc], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f0c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4b6f6c
push 0x4b89cc
lea ecx, [esp + 0x28]
call fcn.0041b950
push 0x4b6f6c
push 0x4b8f90
lea ecx, [esp + 0x28]
call fcn.0041b950
mov ecx, dword [esp + 0x24]
push ecx
push 0x64
lea edx, [esp + 0x30]
push edx
push 0x4b6f6c
push 0x4b8fe4
push str.info
call esi
cmp eax, edi
je 0x43f17c
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
call fcn.00406d50
push 6
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
call fcn.004262d0
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x104], 9
call fcn.00425c00
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0xfc], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43f16c
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 dword [sym.imp.MSVCR80.dll__wtoi]
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xfc], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43f1a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0xfc], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f1cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xfc], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f1f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0xfc], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f21c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0xfc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f247
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0xf4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.0048e5b2
add esp, 0xf0
ret