Function at 0x433e30
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4950ad
mov eax, dword fs:[0]
push eax
sub esp, 0xa64
mov eax, dword [0x4ba190]
xor eax, esp
mov dword [esp + 0xa60], eax
push ebp
push esi
push edi
mov eax, dword [0x4ba190]
xor eax, esp
push eax
lea eax, [esp + 0xa74]
mov dword fs:[0], eax
xor eax, eax
mov ebp, ecx
push 0x7fe
push eax
lea ecx, [esp + 0x27a]
push ecx
mov dword [esp + 0x1c], ebp
mov word [esp + 0x27c], ax
call fcn.00467480
mov eax, 0x4bc788
add esp, 0xc
lea edx, [eax + 2]
jmp 0x433ea0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x433ea0
sub eax, edx
sar eax, 1
push eax
lea esi, [ebp + 0x7c]
push 0x4bc788
mov ecx, esi
call fcn.00402210
push str.CYouGame.zip
lea edx, [esp + 0x18]
push esi
push edx
call fcn.00407790
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
mov dword [esp + 0xa88], 0
call fcn.00402110
mov edi, 8
mov dword [esp + 0xa7c], 0xffffffff
cmp dword [esp + 0x2c], edi
jb 0x433f0c
mov eax, dword [esp + 0x18]
push eax
call fcn.00443d03
add esp, 4
mov eax, 0x4bc788
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x433f14
sub eax, edx
sar eax, 1
push eax
lea esi, [ebp + 0x98]
push 0x4bc788
mov ecx, esi
call fcn.00402210
push str.CYouGame.zip.cy
lea ecx, [esp + 0x18]
push esi
push ecx
call fcn.00407790
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
mov dword [esp + 0xa88], 1
call fcn.00402110
cmp dword [esp + 0x2c], edi
jb 0x433f73
mov edx, dword [esp + 0x18]
push edx
call fcn.00443d03
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
mov ecx, 6
mov esi, str.CYConfig.ini
lea edi, [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
push 0x1ee
push eax
lea ecx, [esp + 0x8a]
push ecx
mov dword [esp + 0xa88], 2
movsw word es:[edi], word [esi]
call fcn.00467480
mov eax, 0x4bc788
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x433fc5
sub eax, edx
sar eax, 1
push eax
push 0x4bc788
lea ecx, [esp + 0x38]
call fcn.00402210
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00407790
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa88], 3
call fcn.00402110
mov esi, 8
mov byte [esp + 0xa7c], 2
cmp dword [esp + 0x2c], esi
jb 0x434030
mov edx, dword [esp + 0x18]
push edx
call fcn.00443d03
add esp, 4
mov edi, dword [esp + 0x34]
cmp dword [esp + 0x48], esi
jae 0x43403e
lea edi, [esp + 0x34]
push edi
mov ecx, ebp
call fcn.0041e530
mov ebp, eax
test ebp, ebp
jne 0x434066
cmp dword [esp + 0x48], esi
jb 0x43405f
mov eax, dword [esp + 0x34]
push eax
call fcn.00443d03
add esp, 4
xor al, al
jmp 0x434282
xor ecx, ecx
mov eax, ebp
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00443d0e
mov esi, eax
add esp, 4
test esi, esi
jne 0x43408e
cmp dword [esp + 0x48], 8
jmp 0x434050
push ebp
push 0
push esi
call fcn.00467480
push 0x800
lea ecx, [esp + 0x280]
push 0
push ecx
call fcn.00467480
add esp, 0x18
push edi
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
push esi
test eax, eax
jne 0x4340d4
call fcn.00443d03
add esp, 4
lea ecx, [esp + 0x30]
call fcn.004053a0
xor al, al
jmp 0x434282
call fcn.00443d03
push 0x400
lea edx, [esp + 0x278]
push 0
push edx
call fcn.00467480
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0x10
push edi
push 0x400
lea eax, [esp + 0x278]
push eax
push 0x499b28
push str.NewCYHallUrl1
push 0x49c874
call esi
test eax, eax
je 0x434160
lea ecx, [esp + 0x270]
push ecx
lea ecx, [esp + 0x50]
call fcn.004068c0
cmp dword [esp + 0x60], 7
mov ebp, dword [esp + 0x10]
mov byte [esp + 0xa7c], 4
jbe 0x43414d
lea edx, [esp + 0x4c]
push edx
lea ecx, [ebp + 0xe8]
call fcn.004165f0
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa7c], 2
call fcn.004053a0
jmp 0x434164
mov ebp, dword [esp + 0x10]
push 0x400
lea eax, [esp + 0x274]
push 0
push eax
call fcn.00467480
add esp, 0xc
push edi
push 0x400
lea ecx, [esp + 0x278]
push ecx
push 0x499b28
push str.NewCYHallUrl2
push 0x49c874
call esi
test eax, eax
je 0x4341df
lea edx, [esp + 0x270]
push edx
lea ecx, [esp + 0x50]
call fcn.004068c0
cmp dword [esp + 0x60], 7
mov byte [esp + 0xa7c], 5
jbe 0x4341ce
lea eax, [esp + 0x4c]
push eax
lea ecx, [ebp + 0xe8]
call fcn.004165f0
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa7c], 2
call fcn.004053a0
push 0x400
lea ecx, [esp + 0x274]
push 0
push ecx
call fcn.00467480
add esp, 0xc
push edi
push 0x400
lea edx, [esp + 0x278]
push edx
push 0x499b28
push 0x49e828
push 0x49c874
call esi
test eax, eax
je 0x434252
lea eax, [esp + 0x270]
push eax
lea ecx, [esp + 0x50]
call fcn.004068c0
cmp dword [esp + 0x60], 7
mov byte [esp + 0xa7c], 6
jbe 0x434249
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [ebp + 0xe8]
call fcn.004165f0
lea ecx, [esp + 0x4c]
call fcn.004053a0
mov ecx, dword [ebp + 0xf8]
sub ecx, dword [ebp + 0xf4]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [esp + 0x30]
je 0x4340c8
call fcn.004053a0
mov al, 1
mov ecx, dword [esp + 0xa74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xa60]
xor ecx, esp
call fcn.004673e3
add esp, 0xa70
ret