Function at 0x40f330
Capabilities:
Check if file exists
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52e39c
mov eax, dword fs:[0]
push eax
sub esp, 0x63c
mov eax, dword [0x58e188]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x648], edi
mov dword [ebp - 0x644], edi
mov dword [ebp - 0x640], edi
lea eax, [ebp - 0x5dc]
push eax
push 0x20119
push edi
push str.SOFTWAREGoyooi8desk
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x40fe12
mov ebx, 0x400
mov dword [ebp - 0x5e0], edi
mov dword [ebp - 0x5d8], ebx
call fcn.0041b722
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40f3c5
push 0x80004005
call fcn.00401040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x600], eax
mov byte [ebp - 4], 1
call fcn.0041b722
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40f3f5
push 0x80004005
call fcn.00401040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x5ec], eax
mov byte [ebp - 4], 2
call fcn.0041b722
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40f425
push 0x80004005
call fcn.00401040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x62c], eax
mov byte [ebp - 4], 3
call fcn.0041b722
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40f455
push 0x80004005
call fcn.00401040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x61c], eax
mov byte [ebp - 4], 4
call fcn.0041b722
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40f485
push 0x80004005
call fcn.00401040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x634], eax
mov byte [ebp - 4], 5
call fcn.0041b722
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40f4b5
push 0x80004005
call fcn.00401040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x614], eax
mov byte [ebp - 4], 6
call fcn.0041b722
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40f4e5
push 0x80004005
call fcn.00401040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x624], eax
mov byte [ebp - 4], 7
call fcn.0041b722
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40f515
push 0x80004005
call fcn.00401040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x610], eax
mov byte [ebp - 4], 8
call fcn.0041b722
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40f545
push 0x80004005
call fcn.00401040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x5f8], eax
mov byte [ebp - 4], 9
call fcn.0041b722
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40f575
push 0x80004005
call fcn.00401040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x5f0], eax
mov byte [ebp - 4], 0xa
call fcn.0041b722
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40f5a5
push 0x80004005
call fcn.00401040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x608], eax
mov byte [ebp - 4], 0xb
call fcn.0041b722
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40f5d5
push 0x80004005
call fcn.00401040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x5fc], eax
mov byte [ebp - 4], 0xc
call fcn.0041b722
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40f605
push 0x80004005
call fcn.00401040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x60c], eax
mov byte [ebp - 4], 0xd
call fcn.0041b722
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40f635
push 0x80004005
call fcn.00401040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x638], eax
mov byte [ebp - 4], 0xe
call fcn.0041b722
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40f665
push 0x80004005
call fcn.00401040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x630], eax
mov byte [ebp - 4], 0xf
call fcn.0041b722
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40f695
push 0x80004005
call fcn.00401040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x628], eax
mov byte [ebp - 4], 0x10
call fcn.0041b722
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40f6c5
push 0x80004005
call fcn.00401040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x620], eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x5d8]
push ecx
mov ecx, dword [ebp - 0x5dc]
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x5e0]
push eax
push edi
push str.bindoemid
push ecx
mov byte [ebp - 4], 0x11
call esi
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x600]
push 0x53ec1c
push eax
call fcn.00402570
add esp, 0xc
lea ecx, [ebp - 0x5d8]
push ecx
mov ecx, dword [ebp - 0x5dc]
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x5e0]
push eax
push edi
push str.cmac
push ecx
mov dword [ebp - 0x5d8], ebx
call esi
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x5ec]
push 0x53ec1c
push eax
call fcn.00402570
add esp, 0xc
lea ecx, [ebp - 0x5d8]
push ecx
mov ecx, dword [ebp - 0x5dc]
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x5e0]
push eax
push edi
push str.cpuid
push ecx
mov dword [ebp - 0x5d8], ebx
call esi
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x62c]
push 0x53ec1c
push eax
call fcn.00402570
add esp, 0xc
lea ecx, [ebp - 0x5d8]
push ecx
mov ecx, dword [ebp - 0x5dc]
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x5e0]
push eax
push edi
push str.cver
push ecx
call esi
lea edx, [ebp - 0x410]
push edx
push 0x53ec1c
lea eax, [ebp - 0x61c]
push eax
call fcn.00402570
add esp, 0xc
lea ecx, [ebp - 0x5d8]
push ecx
mov ecx, dword [ebp - 0x5dc]
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x5e0]
push eax
push edi
push str.exec
push ecx
mov dword [ebp - 0x5d8], ebx
call esi
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x634]
push 0x53ec1c
push eax
call fcn.00402570
add esp, 0xc
lea ecx, [ebp - 0x5d8]
push ecx
mov ecx, dword [ebp - 0x5dc]
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x5e0]
push eax
push edi
push str.installPath
push ecx
mov dword [ebp - 0x5d8], ebx
call esi
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x614]
push 0x53ec1c
push eax
call fcn.00402570
add esp, 0xc
lea ecx, [ebp - 0x5d8]
push ecx
mov ecx, dword [ebp - 0x5dc]
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x5e0]
push eax
push edi
push str.InstCName
push ecx
mov dword [ebp - 0x5d8], ebx
call esi
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x624]
push 0x53ec1c
push eax
call fcn.00402570
add esp, 0xc
lea ecx, [ebp - 0x5d8]
push ecx
mov ecx, dword [ebp - 0x5dc]
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x5e0]
push eax
push edi
push str.InstCPath
push ecx
mov dword [ebp - 0x5d8], ebx
call esi
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x610]
push 0x53ec1c
push eax
call fcn.00402570
add esp, 0xc
lea ecx, [ebp - 0x5d8]
mov dword [ebp - 0x5d8], ebx
push ecx
mov ecx, dword [ebp - 0x5dc]
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x5e0]
push eax
push edi
push str.nbname
push ecx
call esi
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x5f8]
push 0x53ec1c
push eax
call fcn.00402570
add esp, 0xc
lea ecx, [ebp - 0x5d8]
push ecx
mov ecx, dword [ebp - 0x5dc]
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x5e0]
push eax
push edi
push 0x53fddc
push ecx
mov dword [ebp - 0x5d8], ebx
call esi
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x5f0]
push 0x53ec1c
push eax
call fcn.00402570
add esp, 0xc
lea ecx, [ebp - 0x5d8]
push ecx
mov ecx, dword [ebp - 0x5dc]
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x5e0]
push eax
push edi
push str.oemname
push ecx
mov dword [ebp - 0x5d8], ebx
call esi
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x608]
push 0x53ec1c
push eax
call fcn.00402570
add esp, 0xc
lea ecx, [ebp - 0x5d8]
push ecx
mov ecx, dword [ebp - 0x5dc]
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x5e0]
push eax
push edi
push 0x53fdc4
push ecx
mov dword [ebp - 0x5d8], ebx
call esi
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x5fc]
push 0x53ec1c
push eax
call fcn.00402570
add esp, 0xc
lea ecx, [ebp - 0x5d8]
push ecx
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x5e0]
push eax
mov dword [ebp - 0x5d8], ebx
push edi
mov ecx, dword [ebp - 0x5dc]
push 0x53fdbc
push ecx
call esi
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x60c]
push 0x53ec1c
push eax
call fcn.00402570
add esp, 0xc
lea ecx, [ebp - 0x5d8]
push ecx
mov ecx, dword [ebp - 0x5dc]
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x5e0]
push eax
push edi
push str.smac
push ecx
mov dword [ebp - 0x5d8], ebx
call esi
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x638]
push 0x53ec1c
push eax
call fcn.00402570
add esp, 0xc
lea ecx, [ebp - 0x5d8]
push ecx
mov ecx, dword [ebp - 0x5dc]
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x5e0]
push eax
push edi
push str.sver
push ecx
mov dword [ebp - 0x5d8], ebx
call esi
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x630]
push 0x53ec1c
push eax
call fcn.00402570
add esp, 0xc
lea ecx, [ebp - 0x5d8]
push ecx
mov ecx, dword [ebp - 0x5dc]
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x5e0]
push eax
push edi
push str.username
push ecx
mov dword [ebp - 0x5d8], ebx
call esi
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x628]
push 0x53ec1c
push eax
call fcn.00402570
add esp, 0xc
lea ecx, [ebp - 0x5d8]
push ecx
mov ecx, dword [ebp - 0x5dc]
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x5e0]
push eax
push edi
push 0x53ec7c
push ecx
mov dword [ebp - 0x5d8], ebx
call esi
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x620]
push 0x53ec1c
push eax
call fcn.00402570
mov ecx, dword [ebp - 0x5dc]
add esp, 0xc
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [0x58f9c4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40fe2e
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x620]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fbb2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x628]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xf
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fbd8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x630]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fbfe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x638]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fc24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x60c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fc4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x5fc]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fc70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x608]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fc96
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x5f0]
add eax, 0xfffffff0
mov byte [ebp - 4], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fcbc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x5f8]
add eax, 0xfffffff0
mov byte [ebp - 4], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fce2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x610]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fd08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x624]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fd2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x614]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fd54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x634]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fd7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x61c]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fda0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x62c]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fdc6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x5ec]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fdec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x600]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fe12
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00514c0e
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x58f9c4]
push ecx
xor ebx, ebx
push ebx
push 0x53fd88
push str.info
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
call fcn.0041b722
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40fe64
push 0x80004005
call fcn.00401040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x5e8], eax
mov ecx, dword [ebp - 0x5f0]
mov edx, dword [ebp - 0x5ec]
push str.66846n2xr4
push ecx
push edx
push edi
lea eax, [ebp - 0x5e8]
push str._d_s_s_s
push eax
mov byte [ebp - 4], 0x12
call fcn.00402570
add esp, 0x18
mov dword [ebp - 0x51c], 0xf
mov dword [ebp - 0x520], ebx
mov byte [ebp - 0x530], 0
mov esi, dword [ebp - 0x5e8]
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
mov byte [ebp - 4], 0x13
or ecx, eax
jge 0x40fee4
push ebx
lea ecx, [ebp - 0x5e8]
call fcn.00401fa0
mov esi, dword [ebp - 0x5e8]
push esi
lea ecx, [ebp - 0x5e4]
call fcn.0040e930
mov eax, dword [esi - 8]
push eax
push esi
mov byte [ebp - 4], 0x14
call fcn.00516005
add esp, 8
cmp eax, ebx
jl 0x41028d
cmp eax, dword [esi - 8]
jg 0x41028d
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
mov edx, dword [ebp - 0x5e4]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x40ff42
push ebx
lea ecx, [ebp - 0x5e4]
call fcn.0040e210
mov edx, dword [ebp - 0x5e4]
mov eax, edx
mov dword [ebp - 0x538], 0xf
mov dword [ebp - 0x53c], ebx
mov byte [ebp - 0x54c], 0
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40ff60
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x54c]
call fcn.00403d90
mov eax, dword [ebp - 0x5e4]
mov ecx, dword [eax - 8]
push ecx
push eax
mov byte [ebp - 4], 0x15
call fcn.005165f0
add esp, 8
cmp eax, ebx
jl 0x41028d
mov ecx, dword [ebp - 0x5e4]
cmp eax, dword [ecx - 8]
jg 0x41028d
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x5e4]
lea ecx, [ebp - 0x5d4]
mov byte [eax + edx], 0
call fcn.0040ce30
lea eax, [ebp - 0x54c]
push eax
lea ecx, [ebp - 0x5d4]
call fcn.0040d700
lea ecx, [ebp - 0x568]
push ecx
lea ecx, [ebp - 0x5d4]
call fcn.0040d970
push eax
lea ecx, [ebp - 0x530]
mov byte [ebp - 4], 0x16
call fcn.0040d720
mov esi, 0x10
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x554], esi
jb 0x410010
mov edx, dword [ebp - 0x568]
push edx
call fcn.004147ea
add esp, 4
mov eax, dword [ebp - 0x530]
cmp dword [ebp - 0x51c], esi
jae 0x410024
lea eax, [ebp - 0x530]
push eax
lea ecx, [ebp - 0x5e8]
call fcn.00402150
push 0x53df2c
lea ecx, [ebp - 0x5f4]
call fcn.00402730
push 0x53df2c
lea ecx, [ebp - 0x618]
mov byte [ebp - 4], 0x17
call fcn.00402730
mov eax, dword [ebp - 0x5e8]
mov ecx, dword [ebp - 0x5ec]
mov edx, dword [ebp - 0x5f8]
push eax
mov eax, dword [ebp - 0x5f0]
push ecx
push edx
push eax
push edi
push str.http:__gameinterface.i8youxi.com_game.aspx
lea ecx, [ebp - 0x5f4]
push str._s_gid_dnid_snname_smac_sm_s
mov bl, 0x18
push ecx
mov byte [ebp - 4], bl
call fcn.00402570
push 0x10
call fcn.004147b0
add esp, 0x24
mov dword [ebp - 0x63c], eax
mov byte [ebp - 4], 0x19
test eax, eax
je 0x4100b2
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1__SV1__.NET_CLR_2.0.50727_
mov ecx, eax
call fcn.00403620
jmp 0x4100b4
xor eax, eax
mov ecx, dword [ebp - 0x5f4]
lea edx, [ebp - 0x618]
push edx
push 0x53df2c
push ecx
mov ecx, eax
mov byte [ebp - 4], bl
call fcn.00404440
lea edx, [ebp - 0x618]
push str.flag1
push edx
call fcn.00405e40
add esp, 8
call fcn.0041b722
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4100ff
push 0x80004005
call fcn.00401040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x604], eax
mov eax, dword [ebp - 0x5f4]
lea ecx, [ebp - 0x604]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x63c], esp
mov esi, esp
push eax
mov byte [ebp - 4], 0x1a
call fcn.00402000
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00406aa0
mov edx, dword [ebp - 0x604]
push edx
lea eax, [ebp - 0x514]
push str.Add_Url___s_
push eax
call fcn.00402df0
lea ecx, [ebp - 0x514]
push ecx
call fcn.0040d9d0
mov eax, dword [ebp - 0x604]
add eax, 0xfffffff0
add esp, 0x18
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41018d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x618]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x17
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4101b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x5f4]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x15
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4101d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, 0x10
cmp dword [ebp - 0x538], ebx
jb 0x4101f5
mov ecx, dword [ebp - 0x54c]
push ecx
call fcn.004147ea
add esp, 4
mov eax, dword [ebp - 0x5e4]
mov esi, 0xf
xor edi, edi
add eax, 0xfffffff0
mov dword [ebp - 0x538], esi
mov dword [ebp - 0x53c], edi
mov byte [ebp - 0x54c], 0
mov byte [ebp - 4], 0x13
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410235
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x51c], ebx
jb 0x41024c
mov ecx, dword [ebp - 0x530]
push ecx
call fcn.004147ea
add esp, 4
mov eax, dword [ebp - 0x5e8]
add eax, 0xfffffff0
mov dword [ebp - 0x51c], esi
mov dword [ebp - 0x520], edi
mov byte [ebp - 0x530], 0
mov byte [ebp - 4], 0x11
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410285
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
jmp 0x40fb90
push 0x80070057
call fcn.00401040
int3