Function at 0x408190
Capabilities:
Access peb ldr_data
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x46d203
mov eax, dword fs:[0]
push eax
sub esp, 0x7f4
mov eax, dword [0x490d1c]
xor eax, esp
mov dword [esp + 0x7f0], eax
push ebx
push esi
push edi
mov eax, dword [0x490d1c]
xor eax, esp
push eax
lea eax, [esp + 0x804]
mov dword fs:[0], eax
mov eax, dword [esp + 0x814]
mov esi, dword [esp + 0x818]
mov edi, dword [esp + 0x81c]
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
call fcn.00401e60
push edi
push eax
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x818], 0
call fcn.00402c10
add esp, 0xc
mov eax, dword [eax]
push eax
mov ecx, 0x492158
mov byte [esp + 0x810], 1
call fcn.0043e55c
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00401920
lea ebx, [eax + 0x10]
add esp, 4
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x80c], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408261
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x80c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408289
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebx - 0xc], 0
je 0x4082cf
lea esi, [ebx - 0x10]
push esi
call fcn.00401920
mov edi, dword [esp + 0x20]
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov dword [esp + 0x80c], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4082c8
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
jmp 0x408518
lea eax, [esp + 0x24]
push eax
call fcn.00406230
push 0x475120
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x81c], 5
call fcn.00402c10
push edi
push esi
mov byte [esp + 0x824], 6
call fcn.00407810
add esp, 0x18
test eax, eax
je 0x40839a
lea eax, [esp + 0x10]
push eax
call fcn.00407f40
push 0x475120
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
mov bl, 7
push edx
mov byte [esp + 0x81c], bl
call fcn.00402c10
add esp, 0x10
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x810], 8
call fcn.00401d40
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x80c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408372
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x80c], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40839a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x474c3c
push 0x474c34
lea ecx, [esp + 0x1c]
call fcn.00402920
push 0x7d0
lea ecx, [esp + 0x34]
push 0
push ecx
call fcn.00455e70
mov edx, dword [esp + 0x20]
add esp, 0xc
push edx
push 0x3e8
lea eax, [esp + 0x38]
push eax
push 0x478d50
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
lea ecx, [esp + 0x14]
call fcn.00401e60
push edi
push eax
lea ecx, [esp + 0x20]
mov bl, 9
push ecx
mov byte [esp + 0x818], bl
call fcn.00402c10
add esp, 0xc
mov eax, dword [eax]
push eax
mov ecx, 0x492158
mov byte [esp + 0x810], 0xa
call fcn.0043e55c
lea edx, [esp + 0x30]
lea ecx, [edx + 2]
jmp 0x408420
mov si, word [edx]
add edx, 2
test si, si
jne 0x408420
sub edx, ecx
sar edx, 1
push edx
lea edx, [esp + 0x34]
push edx
mov ecx, eax
call fcn.00401b50
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x80c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408463
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x80c], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40848b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.00401e60
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x80c], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4084c3
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 byte [esp + 0x80c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4084eb
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 dword [esp + 0x80c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408516
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x804]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x7f0]
xor ecx, esp
call fcn.00455930
add esp, 0x800
ret