Function at 0x41e820
Capabilities:
Create thread
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4953b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x690]
mov ebp, dword [esp + 0x34]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esi + 0x7c], ebx
jne 0x41ea17
lea edi, [esi + 0x62c]
lea eax, [esp + 0x38]
push eax
mov ecx, edi
call fcn.0048456c
mov ecx, esi
call fcn.0041eae0
mov eax, dword [0x4c312c]
mov edx, dword [esp + 0x3c]
push edx
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
lea eax, [esp + 0x3c]
shl ecx, 2
push ecx
mov dword [esi + 0x34], ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.004841a8
push ebp
mov ecx, esi
call fcn.0040dc50
lea ecx, [esp + 0x1c]
mov ebx, eax
push ecx
call fcn.00409c20
add esp, 4
push 0x4baa5c
lea edx, [esp + 0x1c]
push eax
push edx
mov byte [esp + 0x38], 1
call fcn.004846c8
push edi
push eax
lea eax, [esp + 0x44]
mov byte [esp + 0x34], 2
push eax
call fcn.00484662
push str.UserData.ini
lea ecx, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x38], 3
call fcn.004846c8
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2c], 7
call fcn.00484433
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 6
call fcn.00484433
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 5
call fcn.00484433
mov edx, dword [esp + 0x14]
mov ecx, esi
push edx
call fcn.0040d7c0
push eax
push str.LastActionTime
push str.EXPGAINLOG
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [esi + 0x40], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x20]
push eax
call fcn.00482ecb
mov ecx, dword [eax]
push 0
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x38]
call fcn.00482ede
mov edi, dword [eax + 0x14]
push 0
lea ecx, [esp + 0x14]
add edi, 0x76c
call fcn.00482ede
mov eax, dword [eax + 0x14]
add eax, 0x76c
cmp edi, eax
jne 0x41e9b4
push 0
lea ecx, [esp + 0x38]
call fcn.00482ede
mov edi, dword [eax + 0x10]
push 0
lea ecx, [esp + 0x14]
inc edi
call fcn.00482ede
mov eax, dword [eax + 0x10]
inc eax
cmp edi, eax
jne 0x41e9b4
push 0
lea ecx, [esp + 0x38]
call fcn.00482ede
mov edi, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x14]
call fcn.00482ede
cmp edi, dword [eax + 0xc]
je 0x41e9f6
xor eax, eax
mov edi, 0x4c3180
mov dword [esi + 0x78], eax
mov dword [esi + 0x654], eax
mov edx, dword [0x4c368c]
mov dword [edx + 0x988], eax
mov ecx, dword [0x4c368c]
mov dword [ecx + 0x91c], eax
mov edx, dword [0x4c368c]
mov ecx, 0xd
mov dword [edx + 0x98c], eax
rep stosd dword es:[edi], eax
mov ecx, esi
call fcn.00424f20
test ebx, ebx
je 0x41ea01
mov ecx, esi
call fcn.00419110
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 0
call fcn.00484433
test ebx, ebx
jne 0x41eab8
mov ecx, esi
mov dword [esi + 0x690], 1
mov dword [esi + 0x2c], ebp
call fcn.0040d7c0
mov ecx, esi
mov edi, eax
call fcn.00424e10
mov eax, dword [esi + 0x6f0]
mov ecx, edi
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
shl eax, 2
sub ecx, eax
mov dword [esi + 0x704], ecx
mov eax, dword [0x4c3128]
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
mov eax, edi
shl edx, 2
sub eax, edx
mov edx, edi
mov dword [esi + 0x6fc], eax
mov eax, dword [0x4c311c]
mov dword [esi + 0x6f8], edi
mov dword [esi + 0x69c], 1
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x680]
shl ecx, 2
sub edx, ecx
add edx, 0x12c
cmp eax, 0xffffffff
mov dword [esi + 0x700], edx
jne 0x41eab8
push 0
push 0
push esi
push 0x421cf0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x680], eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00484433
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov eax, ebx
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0xc