Function at 0x41f760
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4d0f2c
mov eax, dword fs:[0]
push eax
sub esp, 0x880
mov eax, dword [0x4fa36c]
xor eax, esp
mov dword [esp + 0x878], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4fa36c]
xor eax, esp
push eax
lea eax, [esp + 0x894]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x8a4]
lea edi, [ebx + 0x210]
push edi
call fcn.0042b1c0
add esp, 4
test al, al
je 0x41fb79
xor esi, esi
push 0x206
lea eax, [esp + 0x27a]
push esi
push eax
mov word [esp + 0x280], si
call fcn.004aef60
add esp, 0xc
push 0x206
lea ecx, [esp + 0x68a]
push esi
push ecx
mov word [esp + 0x690], si
call fcn.004aef60
add esp, 0xc
push 0x206
lea edx, [esp + 0x72]
push esi
push edx
mov word [esp + 0x78], si
call fcn.004aef60
add esp, 0xc
push 0x206
lea eax, [esp + 0x482]
push esi
push eax
mov word [esp + 0x488], si
call fcn.004aef60
mov ebp, 8
add esp, 0xc
cmp dword [edi + 0x18], ebp
jb 0x41f83c
mov eax, dword [edi + 4]
jmp 0x41f83f
lea eax, [edi + 4]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x104
lea ecx, [esp + 0x27c]
push ecx
push 0x4d8004
push str.GameName
push str.setup
call esi
cmp dword [edi + 0x18], ebp
jb 0x41f86e
mov eax, dword [edi + 4]
jmp 0x41f871
lea eax, [edi + 4]
push eax
push 0x104
lea edx, [esp + 0x68c]
push edx
push 0x4d8004
push str.ExeIcon
push str.setup
call esi
cmp dword [edi + 0x18], ebp
jb 0x41f89a
mov eax, dword [edi + 4]
jmp 0x41f89d
lea eax, [edi + 4]
push eax
push 0x104
lea eax, [esp + 0x74]
push eax
push 0x4d8004
push str.ExeParam
push str.setup
call esi
cmp dword [edi + 0x18], ebp
jb 0x41f8c3
mov eax, dword [edi + 4]
jmp 0x41f8c6
lea eax, [edi + 4]
push eax
push 0x104
lea ecx, [esp + 0x484]
push ecx
push 0x4d8004
push str.ExeDir
push str.setup
call esi
test eax, eax
je 0x41f918
lea eax, [esp + 0x47c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41f8f3
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x480]
lea esi, [ebx + 0x29c]
push edx
call fcn.004018b0
jmp 0x41f98c
lea eax, [esp + 0x50]
push eax
call fcn.00434390
add esp, 4
lea ecx, [esp + 0x50]
push ecx
lea esi, [esp + 0x34]
mov dword [esp + 0x8a0], 0
call fcn.00434210
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [ebx + 0x29c]
push eax
mov eax, ecx
mov byte [esp + 0x8a8], 1
call fcn.004017c0
cmp dword [esp + 0x48], ebp
jb 0x41f96e
mov edx, dword [esp + 0x34]
push edx
call fcn.004a93cc
add esp, 4
mov dword [esp + 0x89c], 0xffffffff
cmp dword [esp + 0x68], ebp
jb 0x41f98c
mov eax, dword [esp + 0x54]
push eax
call fcn.004a93cc
add esp, 4
cmp dword [edi + 0x18], ebp
jb 0x41f996
mov eax, dword [edi + 4]
jmp 0x41f999
lea eax, [edi + 4]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0xffffffffffffffff
push str.BoxId
push str.setup
call esi
mov dword [ebx + 0x2b8], eax
cmp dword [edi + 0x18], ebp
jb 0x41f9be
mov eax, dword [edi + 4]
jmp 0x41f9c1
lea eax, [edi + 4]
push eax
push 0xffffffffffffffff
push str.WebId
push str.setup
call esi
mov dword [ebx + 0x2bc], eax
cmp dword [edi + 0x18], ebp
jb 0x41f9e0
mov edi, dword [edi + 4]
jmp 0x41f9e3
add edi, 4
push edi
push 0
push str.LastUpdateAdvertTime
push str.advert
call esi
mov dword [ebx + 0x2c0], eax
lea eax, [esp + 0x6c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41fa00
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x70]
push ecx
lea esi, [ebx + 0x248]
call fcn.004018b0
lea eax, [esp + 0x274]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41fa30
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x278]
lea edi, [ebx + 0x264]
push edx
mov esi, edi
call fcn.004018b0
xor esi, esi
mov ebp, 7
lea eax, [esp + 0x684]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], esi
mov word [esp + 0x18], si
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x41fa73
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x688]
push eax
lea esi, [esp + 0x1c]
call fcn.004018b0
mov ecx, esi
push ecx
lea eax, [ebx + 0x29c]
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x8a4], 2
call fcn.00433fe0
add esp, 8
push 0xffffffffffffffff
push 0
lea esi, [ebx + 0x280]
push eax
mov eax, esi
mov byte [esp + 0x8a8], 3
call fcn.004017c0
cmp dword [esp + 0x48], 8
jb 0x41fae3
mov edx, dword [esp + 0x34]
push edx
call fcn.004a93cc
add esp, 4
xor eax, eax
mov dword [esp + 0x89c], 0xffffffff
cmp dword [esp + 0x2c], 8
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], eax
mov word [esp + 0x34], ax
jb 0x41fb13
mov eax, dword [esp + 0x18]
push eax
call fcn.004a93cc
add esp, 4
xor eax, eax
mov dword [esp + 0x28], eax
mov word [esp + 0x18], ax
push 0x7b
lea eax, [ebx + 0x24]
mov dword [esp + 0x30], ebp
call fcn.0046b7d0
test eax, eax
je 0x41fb3b
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x16c]
push edi
call eax
cmp dword [edi + 0x18], 8
jb 0x41fb46
mov edi, dword [edi + 4]
jmp 0x41fb49
add edi, 4
mov ecx, dword [ebx + 4]
push edi
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x68], esp
xor ecx, ecx
push 0xffffffffffffffff
push ecx
mov dword [eax + 0x18], ebp
mov dword [eax + 0x14], ecx
push esi
mov word [eax + 4], cx
call fcn.004017c0
mov esi, ebx
call fcn.00466770
mov ecx, dword [esp + 0x894]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x878]
xor ecx, esp
call fcn.004a9ce9
add esp, 0x88c
ret 4