Function at 0x422950
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43e3e6
mov eax, dword fs:[0]
push eax
sub esp, 0x784
mov eax, dword [0x44c040]
xor eax, esp
mov dword [esp + 0x780], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44c040]
xor eax, esp
push eax
lea eax, [esp + 0x798]
mov dword fs:[0], eax
mov eax, dword [esp + 0x7ac]
mov edx, dword [0x44e98c]
mov ebp, dword [esp + 0x7a8]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x44e98c
mov dword [esp + 0x20], ebp
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
xor esi, esi
push 0xc6
lea edx, [esp + 0xba]
xor ecx, ecx
push esi
mov dword [esp + 0x7a8], esi
push edx
mov word [esp + 0xc0], cx
call fcn.0042aa60
push 0x206
lea ecx, [esp + 0x396]
xor eax, eax
push esi
push ecx
mov word [esp + 0x39c], ax
call fcn.0042aa60
push 0x62
lea eax, [esp + 0x6a]
xor edx, edx
push esi
push eax
mov word [esp + 0x70], dx
call fcn.0042aa60
push 0x206
lea edx, [esp + 0x1a6]
xor ecx, ecx
push esi
push edx
mov word [esp + 0x1ac], cx
call fcn.0042aa60
push 0x206
lea ecx, [esp + 0x5c2]
xor eax, eax
push esi
push ecx
mov word [esp + 0x5c8], ax
call fcn.0042aa60
add esp, 0x3c
mov dword [esp + 0x1c], esi
mov byte [esp + 0x7a0], 1
mov eax, dword [ebp + 0x24]
cmp eax, esi
jne 0x422a7f
lea eax, [edi - 0x10]
mov dword [esp + 0x7a0], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x422deb
lea ecx, [esp + 0x18]
push ecx
push eax
mov dword [esp + 0x20], esi
call dword [sym.imp.HTMLayout.dll_HTMLayoutGetChildrenCount]
mov ebx, dword [esp + 0x18]
cmp ebx, 0xffffffff
jle 0x422adb
mov eax, dword [ebp + 0x24]
lea edx, [esp + 0x18]
push edx
push ebx
push eax
mov dword [esp + 0x24], esi
call dword [sym.imp.HTMLayout.dll_HTMLayoutGetNthChild]
mov eax, dword [esp + 0x18]
push eax
mov edi, eax
call dword [sym.imp.HTMLayout.dll_HTMLayout_UseElement]
mov esi, eax
neg esi
sbb esi, esi
not esi
and esi, edi
je 0x422ad3
push esi
call dword [sym.imp.HTMLayout.dll_HTMLayoutDeleteElement]
push esi
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
dec ebx
xor esi, esi
cmp ebx, 0xffffffff
jg 0x422a98
add ebp, 0x34
push ebp
push esi
push str.gamecount
push str.game
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, esi
jle 0x422dcc
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, 1
mov dword [esp + 0x24], eax
push ebx
push str.name_d
lea edi, [esp + 0x1c]
call fcn.004026d0
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
add esp, 8
add eax, 0x34
push eax
push 0xc8
lea ecx, [esp + 0xbc]
push ecx
push 0
push edx
push str.game
call ebp
lea eax, [esp + 0xb4]
push eax
push 0x443168
lea esi, [esp + 0x20]
call fcn.004028d0
mov edi, dword [eax]
mov eax, dword [esp + 0x24]
add esp, 8
test eax, eax
je 0x422b66
push eax
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
push edi
call dword [sym.imp.HTMLayout.dll_HTMLayout_UseElement]
mov esi, eax
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
not esi
and esi, edi
mov dword [esp + 0x1c], esi
test eax, eax
je 0x422b8a
push eax
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
mov edi, dword [sym.imp.HTMLayout.dll_HTMLayoutSetAttributeByName]
push str.game_list_l
push str.class
push esi
mov dword [esp + 0x24], 0
call edi
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0xb8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x422d9a
push str.selected
push 0x4441e4
push esi
call edi
push ebx
push str.gamepath_d
lea edi, [esp + 0x1c]
call fcn.004026d0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
add esp, 8
add eax, 0x34
push eax
push 0x208
lea eax, [esp + 0x38c]
push eax
push 0
push ecx
push str.game
call ebp
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.HTMLayout.dll_ValueInit]
lea eax, [esp + 0x384]
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x422c17
sub eax, ecx
push 0
sar eax, 1
push eax
lea eax, [esp + 0x38c]
push eax
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.HTMLayout.dll_ValueStringDataSet]
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 0x14]
lea edx, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.HTMLayout.dll_HTMLayoutControlSetValue]
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.HTMLayout.dll_ValueClear]
push ebx
push str.gameparam_d
lea edi, [esp + 0x1c]
call fcn.004026d0
add esp, 8
lea eax, [esi + 0x34]
push eax
mov eax, dword [esp + 0x18]
push 0x64
lea edx, [esp + 0x54]
push edx
push 0
push eax
push str.game
call ebp
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.HTMLayout.dll_ValueInit]
lea eax, [esp + 0x4c]
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x422c97
sub eax, ecx
push 0
sar eax, 1
push eax
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.HTMLayout.dll_ValueStringDataSet]
mov edx, dword [esi + 0x18]
lea ecx, [esp + 0x3c]
push ecx
push edx
call dword [sym.imp.HTMLayout.dll_HTMLayoutControlSetValue]
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.HTMLayout.dll_ValueClear]
push ebx
push str.gamedown_d
lea edi, [esp + 0x1c]
call fcn.004026d0
mov edx, dword [esp + 0x1c]
add esp, 8
lea eax, [esi + 0x34]
push eax
push 0x208
lea ecx, [esp + 0x184]
push ecx
push 0
push edx
push str.game
call ebp
lea eax, [esp + 0x17c]
lea ecx, [eax + 2]
mov edi, edi
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x422d10
sub eax, ecx
mov ecx, dword [esi + 0x28]
sar eax, 1
push eax
lea eax, [esp + 0x180]
push eax
push ecx
call dword [sym.imp.HTMLayout.dll_HTMLayoutSetElementInnerText16]
push ebx
push str.gamenettype_d
lea edi, [esp + 0x1c]
call fcn.004026d0
add esp, 8
lea eax, [esi + 0x34]
push eax
mov eax, dword [esp + 0x18]
push 0x208
lea edx, [esp + 0x594]
push edx
push 0
push eax
push str.game
call ebp
lea eax, [esp + 0x58c]
lea ecx, [eax + 2]
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x422d70
mov edx, dword [esi + 0x2c]
sub eax, ecx
sar eax, 1
push eax
lea ecx, [esp + 0x590]
push ecx
push edx
call dword [sym.imp.HTMLayout.dll_HTMLayoutSetElementInnerText16]
mov dword [esi + 0x23c], ebx
jmp 0x422d9e
mov esi, dword [esp + 0x20]
mov ecx, dword [esi + 0x24]
mov edx, dword [esp + 0x1c]
lea eax, [ebx - 1]
push eax
push ecx
push edx
call dword [sym.imp.HTMLayout.dll_HTMLayoutInsertElement]
inc ebx
sub dword [esp + 0x24], 1
jne 0x422b07
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x422dcc
push eax
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
mov dword [esp + 0x7a0], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422df7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x798]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x780]
xor ecx, esp
call fcn.0042825b
add esp, 0x790
ret 8