Function at 0x434140
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x49559d
mov eax, dword fs:[0]
push eax
sub esp, 0xa64
mov eax, dword [0x4bb190]
xor eax, esp
mov dword [esp + 0xa60], eax
push ebp
push esi
push edi
mov eax, dword [0x4bb190]
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.00467850
mov eax, 0x4bd788
add esp, 0xc
lea edx, [eax + 2]
jmp 0x4341b0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4341b0
sub eax, edx
sar eax, 1
push eax
lea esi, [ebp + 0x7c]
push 0x4bd788
mov ecx, esi
call fcn.00402220
push str.CYouGame.zip
lea edx, [esp + 0x18]
push esi
push edx
call fcn.004077c0
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
mov dword [esp + 0xa88], 0
call fcn.00402120
mov edi, 8
mov dword [esp + 0xa7c], 0xffffffff
cmp dword [esp + 0x2c], edi
jb 0x43421c
mov eax, dword [esp + 0x18]
push eax
call fcn.004440cb
add esp, 4
mov eax, 0x4bd788
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x434224
sub eax, edx
sar eax, 1
push eax
lea esi, [ebp + 0x98]
push 0x4bd788
mov ecx, esi
call fcn.00402220
push str.CYouGame.zip.cy
lea ecx, [esp + 0x18]
push esi
push ecx
call fcn.004077c0
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
mov dword [esp + 0xa88], 1
call fcn.00402120
cmp dword [esp + 0x2c], edi
jb 0x434283
mov edx, dword [esp + 0x18]
push edx
call fcn.004440cb
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.00467850
mov eax, 0x4bd788
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4342d5
sub eax, edx
sar eax, 1
push eax
push 0x4bd788
lea ecx, [esp + 0x38]
call fcn.00402220
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.004077c0
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa88], 3
call fcn.00402120
mov esi, 8
mov byte [esp + 0xa7c], 2
cmp dword [esp + 0x2c], esi
jb 0x434340
mov edx, dword [esp + 0x18]
push edx
call fcn.004440cb
add esp, 4
mov edi, dword [esp + 0x34]
cmp dword [esp + 0x48], esi
jae 0x43434e
lea edi, [esp + 0x34]
push edi
mov ecx, ebp
call fcn.0041e2a0
mov ebp, eax
test ebp, ebp
jne 0x434376
cmp dword [esp + 0x48], esi
jb 0x43436f
mov eax, dword [esp + 0x34]
push eax
call fcn.004440cb
add esp, 4
xor al, al
jmp 0x434592
xor ecx, ecx
mov eax, ebp
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004440d6
mov esi, eax
add esp, 4
test esi, esi
jne 0x43439e
cmp dword [esp + 0x48], 8
jmp 0x434360
push ebp
push 0
push esi
call fcn.00467850
push 0x800
lea ecx, [esp + 0x280]
push 0
push ecx
call fcn.00467850
add esp, 0x18
push edi
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
push esi
test eax, eax
jne 0x4343e4
call fcn.004440cb
add esp, 4
lea ecx, [esp + 0x30]
call fcn.00405180
xor al, al
jmp 0x434592
call fcn.004440cb
push 0x400
lea edx, [esp + 0x278]
push 0
push edx
call fcn.00467850
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0x10
push edi
push 0x400
lea eax, [esp + 0x278]
push eax
push 0x49ab28
push str.NewCYHallUrl1
push 0x49d874
call esi
test eax, eax
je 0x434470
lea ecx, [esp + 0x270]
push ecx
lea ecx, [esp + 0x50]
call fcn.004068e0
cmp dword [esp + 0x60], 7
mov ebp, dword [esp + 0x10]
mov byte [esp + 0xa7c], 4
jbe 0x43445d
lea edx, [esp + 0x4c]
push edx
lea ecx, [ebp + 0xe8]
call fcn.00416760
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa7c], 2
call fcn.00405180
jmp 0x434474
mov ebp, dword [esp + 0x10]
push 0x400
lea eax, [esp + 0x274]
push 0
push eax
call fcn.00467850
add esp, 0xc
push edi
push 0x400
lea ecx, [esp + 0x278]
push ecx
push 0x49ab28
push str.NewCYHallUrl2
push 0x49d874
call esi
test eax, eax
je 0x4344ef
lea edx, [esp + 0x270]
push edx
lea ecx, [esp + 0x50]
call fcn.004068e0
cmp dword [esp + 0x60], 7
mov byte [esp + 0xa7c], 5
jbe 0x4344de
lea eax, [esp + 0x4c]
push eax
lea ecx, [ebp + 0xe8]
call fcn.00416760
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa7c], 2
call fcn.00405180
push 0x400
lea ecx, [esp + 0x274]
push 0
push ecx
call fcn.00467850
add esp, 0xc
push edi
push 0x400
lea edx, [esp + 0x278]
push edx
push 0x49ab28
push 0x49f8a0
push 0x49d874
call esi
test eax, eax
je 0x434562
lea eax, [esp + 0x270]
push eax
lea ecx, [esp + 0x50]
call fcn.004068e0
cmp dword [esp + 0x60], 7
mov byte [esp + 0xa7c], 6
jbe 0x434559
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [ebp + 0xe8]
call fcn.00416760
lea ecx, [esp + 0x4c]
call fcn.00405180
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 0x4343d8
call fcn.00405180
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.004677ab
add esp, 0xa70
ret