Function at 0x100591e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c0f7e
mov eax, dword fs:[0]
push eax
sub esp, 0x550
mov eax, dword [0x100f6458]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x54c], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x540], 0
cmp byte [esi + 4], 0
mov dword [esi + 8], eax
jne 0x1005a9ea
lea eax, [ebp - 0x540]
push eax
call fcn.10055360
lea edi, [esi + 0xc]
add esp, 4
mov dword [ebp - 0x53c], edi
cmp edi, eax
je 0x10059270
mov ecx, dword [eax]
mov dword [eax], 0
mov esi, dword [edi]
mov dword [edi], ecx
test esi, esi
je 0x10059270
mov ecx, esi
call fcn.10055af0
push 0x150
push esi
call fcn.10065f62
add esp, 8
mov esi, dword [ebp - 0x540]
test esi, esi
je 0x1005928f
mov ecx, esi
call fcn.10055af0
push 0x150
push esi
call fcn.10065f62
add esp, 8
mov esi, dword [edi]
test esi, esi
jne 0x1005929c
xor al, al
jmp 0x1005a9ec
push 3
push 0x100d1b64
lea ecx, [ebp - 0x51c]
mov dword [ebp - 0x50c], 0
mov dword [ebp - 0x508], 0xf
mov byte [ebp - 0x51c], 0
call fcn.1000c4b0
mov dword [ebp - 0x504], esi
mov esi, dword [edi]
lea ecx, [ebp - 0x500]
push 2
push 0x100d1b68
mov dword [ebp - 4], 0
add esi, 0x18
mov dword [ebp - 0x4f0], 0
mov dword [ebp - 0x4ec], 0xf
mov byte [ebp - 0x500], 0
call fcn.1000c4b0
mov dword [ebp - 0x4e8], esi
mov esi, dword [edi]
lea ecx, [ebp - 0x4e4]
push 3
push 0x100d1b74
mov byte [ebp - 4], 1
add esi, 0x30
mov dword [ebp - 0x4d4], 0
mov dword [ebp - 0x4d0], 0xf
mov byte [ebp - 0x4e4], 0
call fcn.1000c4b0
mov dword [ebp - 0x4cc], esi
mov esi, dword [edi]
lea ecx, [ebp - 0x4c8]
push 6
push 0x100d1b78
mov byte [ebp - 4], 2
add esi, 0x48
mov dword [ebp - 0x4b8], 0
mov dword [ebp - 0x4b4], 0xf
mov byte [ebp - 0x4c8], 0
call fcn.1000c4b0
mov dword [ebp - 0x4b0], esi
mov esi, dword [edi]
lea ecx, [ebp - 0x4ac]
push 3
push 0x100d1b6c
mov byte [ebp - 4], 3
add esi, 0x60
mov dword [ebp - 0x49c], 0
mov dword [ebp - 0x498], 0xf
mov byte [ebp - 0x4ac], 0
call fcn.1000c4b0
mov dword [ebp - 0x494], esi
mov esi, dword [edi]
lea ecx, [ebp - 0x490]
push 2
push 0x100d1b70
mov byte [ebp - 4], 4
add esi, 0x78
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x47c], 0xf
mov byte [ebp - 0x490], 0
call fcn.1000c4b0
mov dword [ebp - 0x478], esi
mov esi, dword [edi]
lea ecx, [ebp - 0x474]
push 0xa
push 0x100d1b80
mov byte [ebp - 4], 5
add esi, 0x90
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 0xf
mov byte [ebp - 0x474], 0
call fcn.1000c4b0
mov dword [ebp - 0x45c], esi
mov esi, dword [edi]
lea ecx, [ebp - 0x458]
push 2
push 0x100d1b8c
mov byte [ebp - 4], 6
add esi, 0xa8
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0xf
mov byte [ebp - 0x458], 0
call fcn.1000c4b0
mov dword [ebp - 0x440], esi
mov esi, dword [edi]
lea ecx, [ebp - 0x43c]
push 5
push str.osver
mov byte [ebp - 4], 7
add esi, 0xc0
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x428], 0xf
mov byte [ebp - 0x43c], 0
call fcn.1000c4b0
mov dword [ebp - 0x424], esi
mov esi, dword [edi]
lea ecx, [ebp - 0x420]
push 2
push 0x100d1b98
mov byte [ebp - 4], 8
add esi, 0xd8
mov dword [ebp - 0x410], 0
mov dword [ebp - 0x40c], 0xf
mov byte [ebp - 0x420], 0
call fcn.1000c4b0
mov dword [ebp - 0x408], esi
mov esi, dword [edi]
lea ecx, [ebp - 0x404]
push 3
push 0x100d1b9c
mov byte [ebp - 4], 9
add esi, 0xdc
mov dword [ebp - 0x3f4], 0
mov dword [ebp - 0x3f0], 0xf
mov byte [ebp - 0x404], 0
call fcn.1000c4b0
mov dword [ebp - 0x3ec], esi
mov esi, dword [edi]
lea ecx, [ebp - 0x3e8]
push 3
push 0x100d1ba0
mov byte [ebp - 4], 0xa
add esi, 0xe0
mov dword [ebp - 0x3d8], 0
mov dword [ebp - 0x3d4], 0xf
mov byte [ebp - 0x3e8], 0
call fcn.1000c4b0
mov dword [ebp - 0x3d0], esi
mov esi, dword [edi]
lea ecx, [ebp - 0x3cc]
push 9
push str.sensitive
mov byte [ebp - 4], 0xb
add esi, 0xe4
mov dword [ebp - 0x3bc], 0
mov dword [ebp - 0x3b8], 0xf
mov byte [ebp - 0x3cc], 0
call fcn.1000c4b0
mov dword [ebp - 0x3b4], esi
mov esi, dword [edi]
lea ecx, [ebp - 0x3b0]
push 7
mov byte [ebp - 4], 0xc
add esi, 0xe8
mov dword [ebp - 0x3a0], 0
mov dword [ebp - 0x39c], 0xf
mov byte [ebp - 0x3b0], 0
push str.advance
call fcn.1000c4b0
mov dword [ebp - 0x398], esi
mov esi, dword [edi]
lea ecx, [ebp - 0x394]
push 8
push str.viplevel
mov byte [ebp - 4], 0xd
add esi, 0xec
mov dword [ebp - 0x384], 0
mov dword [ebp - 0x380], 0xf
mov byte [ebp - 0x394], 0
call fcn.1000c4b0
mov dword [ebp - 0x37c], esi
mov esi, dword [edi]
lea ecx, [ebp - 0x378]
push 1
push 0x100d1bc4
mov byte [ebp - 4], 0xe
add esi, 0xf0
mov dword [ebp - 0x368], 0
mov dword [ebp - 0x364], 0xf
mov byte [ebp - 0x378], 0
call fcn.1000c4b0
mov dword [ebp - 0x360], esi
mov esi, dword [edi]
lea ecx, [ebp - 0x35c]
push 8
push str.hash_app
mov byte [ebp - 4], 0xf
add esi, 0x108
mov dword [ebp - 0x34c], 0
mov dword [ebp - 0x348], 0xf
mov byte [ebp - 0x35c], 0
call fcn.1000c4b0
mov dword [ebp - 0x344], esi
mov esi, dword [edi]
lea ecx, [ebp - 0x340]
push 9
push str.short_app
mov byte [ebp - 4], 0x10
add esi, 0x120
mov dword [ebp - 0x330], 0
mov dword [ebp - 0x32c], 0xf
mov byte [ebp - 0x340], 0
call fcn.1000c4b0
mov dword [ebp - 0x328], esi
mov esi, dword [edi]
lea ecx, [ebp - 0x324]
push 0xa
push str.short_name
mov byte [ebp - 4], 0x11
add esi, 0x138
mov dword [ebp - 0x314], 0
mov dword [ebp - 0x310], 0xf
mov byte [ebp - 0x324], 0
call fcn.1000c4b0
mov dword [ebp - 0x30c], esi
mov ecx, dword [ebp - 0x54c]
add ecx, 0x14
mov dword [ebp - 4], 0x12
mov dword [ebp - 0x540], ecx
mov esi, dword [ecx]
mov byte [ebp - 4], 0x13
push dword [esi + 4]
call fcn.1005af60
mov ecx, dword [ebp - 0x540]
mov byte [ebp - 4], 0x12
mov eax, dword [ecx]
mov dword [eax + 4], esi
mov eax, dword [ecx]
mov dword [eax], esi
mov eax, dword [ecx]
mov dword [eax + 8], esi
mov dword [ecx + 4], 0
lea edi, [ebp - 0x51c]
nop word [eax + eax]
mov esi, dword [ecx]
push edi
call fcn.100542c0
mov ecx, dword [ebp - 0x540]
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x544]
push eax
call fcn.10054940
mov ecx, dword [ebp - 0x540]
lea eax, [ebp - 0x308]
add edi, 0x1c
cmp edi, eax
jne 0x10059780
push fcn.100182a0
push 0x13
push 0x1c
lea eax, [ebp - 0x51c]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.10065e34
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x535]
call fcn.10056040
mov edi, dword [ebp - 0x53c]
mov esi, eax
mov eax, dword [edi]
add eax, 0x90
mov dword [ebp - 0x540], eax
cmp eax, esi
je 0x1005982a
mov ecx, eax
call fcn.1000beb0
movups xmm0, xmmword [esi]
mov eax, dword [ebp - 0x540]
movups xmmword [eax], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x288]
call fcn.10005200
push str.ntdll.dll
mov dword [ebp - 0x548], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1005988b
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10059884
lea ecx, [ebp - 0x548]
push ecx
lea ecx, [ebp - 0x550]
push ecx
lea ecx, [ebp - 0x554]
push ecx
call eax
movzx eax, word [ebp - 0x548]
mov dword [ebp - 0x548], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 0x548]
lea eax, [ebp - 0x12]
push eax
call fcn.100552c0
xor ecx, ecx
mov dword [ebp - 0x2a8], 0
mov word [ebp - 0x2b8], cx
add esp, 8
lea ecx, [ebp - 0x12]
mov dword [ebp - 0x2a4], 7
cmp eax, ecx
je 0x100598d2
sub ecx, eax
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2b8]
call fcn.1000c5b0
push dword [ebp - 0x550]
lea eax, [ebp - 0x3e]
mov dword [ebp - 4], 0x14
push eax
call fcn.100552c0
xor ecx, ecx
mov dword [ebp - 0x2c0], 0
mov word [ebp - 0x2d0], cx
add esp, 8
lea ecx, [ebp - 0x3e]
mov dword [ebp - 0x2bc], 7
cmp eax, ecx
je 0x10059920
sub ecx, eax
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2d0]
call fcn.1000c5b0
push dword [ebp - 0x554]
lea eax, [ebp - 0x12]
mov byte [ebp - 4], 0x15
push eax
call fcn.100552c0
xor ecx, ecx
mov dword [ebp - 0x2d8], 0
mov word [ebp - 0x2e8], cx
add esp, 8
lea ecx, [ebp - 0x12]
mov dword [ebp - 0x2d4], 7
cmp eax, ecx
je 0x1005996b
sub ecx, eax
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2e8]
call fcn.1000c5b0
push 0x100d1e60
lea eax, [ebp - 0x2e8]
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0x300]
push eax
call fcn.100292e0
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 0x17
push ecx
push eax
lea eax, [ebp - 0x534]
push eax
call fcn.1001d460
push 0x100d1e60
push eax
lea eax, [ebp - 0x2a0]
mov byte [ebp - 4], 0x18
push eax
call fcn.100292e0
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x19
push ecx
push eax
lea eax, [ebp - 0x288]
push eax
call fcn.1001d460
mov esi, eax
add esp, 0x30
mov eax, dword [edi]
add eax, 0xc0
mov dword [ebp - 0x540], eax
cmp eax, esi
je 0x10059a13
mov ecx, eax
call fcn.1000beb0
movups xmm0, xmmword [esi]
mov eax, dword [ebp - 0x540]
movups xmmword [eax], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x288]
call fcn.10005200
lea ecx, [ebp - 0x2a0]
call fcn.10005200
lea ecx, [ebp - 0x534]
call fcn.10005200
lea ecx, [ebp - 0x300]
call fcn.10005200
lea ecx, [ebp - 0x2e8]
call fcn.10005200
lea ecx, [ebp - 0x2d0]
call fcn.10005200
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 4], 0xffffffff
call fcn.10005200
mov ecx, dword [0x100fbe74]
test ecx, ecx
jne 0x10059ad6
push 0x100f6074
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x100fbe74], 0
jne 0x10059ac5
push 4
call fcn.10065f32
mov esi, eax
add esp, 4
mov dword [ebp - 0x544], esi
mov dword [ebp - 4], 0x1a
test esi, esi
je 0x10059aab
mov ecx, esi
call fcn.1004cee0
jmp 0x10059aad
xor esi, esi
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x558]
xor ecx, ecx
lock or dword [eax], ecx
mov dword [0x100fbe74], esi
push 0x100f6074
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x100fbe74]
push dword [ebp + 8]
call fcn.10051090
test al, al
je 0x1005a8ff
mov esi, dword [0x100fbe74]
test esi, esi
jne 0x10059b5c
push 0x100f6074
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x100fbe74], esi
jne 0x10059b43
push 4
call fcn.10065f32
mov esi, eax
add esp, 4
mov dword [ebp - 0x544], esi
mov dword [ebp - 4], 0x1b
test esi, esi
je 0x10059b29
mov ecx, esi
call fcn.1004cee0
jmp 0x10059b2b
xor esi, esi
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x55c]
xor ecx, ecx
lock or dword [eax], ecx
mov dword [0x100fbe74], esi
push 0x100f6074
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [0x100fbe74]
test esi, esi
je 0x1005a8ff
push 0x208
lea eax, [ebp - 0x270]
push 0
push eax
call fcn.10089510
add esp, 0xc
lea eax, [ebp - 0x270]
push 0x104
push eax
call fcn.1006ac40
lea edx, [ebp - 0x270]
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10059b90
sub edx, ecx
lea eax, [ebp - 0x270]
mov ecx, dword [edi]
sar edx, 1
push edx
push eax
call fcn.1000c5b0
push 0x104
lea eax, [ebp - 0x270]
push 0
push eax
call fcn.10089510
add esp, 0xc
lea eax, [ebp - 0x270]
push 0x104
push eax
call fcn.1006b0f0
mov edx, dword [edi]
lea ecx, [ebp - 0x270]
lea eax, [ecx + 2]
mov dword [ebp - 0x540], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10059be6
sub ecx, dword [ebp - 0x540]
lea eax, [ebp - 0x270]
sar ecx, 1
push ecx
push eax
lea ecx, [edx + 0x18]
call fcn.1000c5b0
push 0
lea eax, [ebp - 0x288]
mov ecx, esi
push eax
call fcn.1004deb0
mov edx, eax
mov eax, dword [edi]
add eax, 0x60
mov dword [ebp - 0x53c], edx
mov dword [ebp - 0x540], eax
cmp eax, edx
je 0x10059ca7
mov ecx, dword [eax + 0x14]
cmp ecx, 8
jb 0x10059c75
mov eax, dword [eax]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x10059c5f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005aa09
mov eax, edx
push ecx
push eax
call fcn.10065f62
mov eax, dword [ebp - 0x540]
add esp, 8
mov edx, dword [ebp - 0x53c]
mov dword [eax + 0x10], 0
xor ecx, ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
movups xmm0, xmmword [edx]
movups xmmword [eax], xmm0
movq xmm0, qword [edx + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], 7
mov word [edx], ax
mov edx, dword [ebp - 0x274]
cmp edx, 8
jb 0x10059ce7
mov ecx, dword [ebp - 0x288]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10059cdd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005aa09
push edx
push ecx
call fcn.10065f62
add esp, 8
lea eax, [ebp - 0x288]
mov ecx, esi
push eax
call fcn.1004ec80
mov edx, eax
mov eax, dword [edi]
add eax, 0x78
mov dword [ebp - 0x53c], edx
mov dword [ebp - 0x540], eax
cmp eax, edx
je 0x10059d83
mov ecx, dword [eax + 0x14]
cmp ecx, 8
jb 0x10059d51
mov eax, dword [eax]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x10059d3b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005aa09
mov eax, edx
push ecx
push eax
call fcn.10065f62
mov eax, dword [ebp - 0x540]
add esp, 8
mov edx, dword [ebp - 0x53c]
mov dword [eax + 0x10], 0
xor ecx, ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
movups xmm0, xmmword [edx]
movups xmmword [eax], xmm0
movq xmm0, qword [edx + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], 7
mov word [edx], ax
mov edx, dword [ebp - 0x274]
cmp edx, 8
jb 0x10059dc3
mov ecx, dword [ebp - 0x288]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10059db9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005aa0e
push edx
push ecx
call fcn.10065f62
add esp, 8
lea eax, [ebp - 0x288]
mov ecx, esi
push eax
call fcn.100508a0
mov edx, eax
mov eax, dword [edi]
add eax, 0x30
mov dword [ebp - 0x53c], edx
mov dword [ebp - 0x540], eax
cmp eax, edx
je 0x10059e5f
mov ecx, dword [eax + 0x14]
cmp ecx, 8
jb 0x10059e2d
mov eax, dword [eax]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x10059e17
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005aa09
mov eax, edx
push ecx
push eax
call fcn.10065f62
mov eax, dword [ebp - 0x540]
add esp, 8
mov edx, dword [ebp - 0x53c]
mov dword [eax + 0x10], 0
xor ecx, ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
movups xmm0, xmmword [edx]
movups xmmword [eax], xmm0
movq xmm0, qword [edx + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], 7
mov word [edx], ax
mov edx, dword [ebp - 0x274]
cmp edx, 8
jb 0x10059e9f
mov ecx, dword [ebp - 0x288]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10059e95
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005aa13
push edx
push ecx
call fcn.10065f62
add esp, 8
push 0
lea eax, [ebp - 0x300]
mov ecx, esi
push eax
call fcn.1004dbc0
mov edx, eax
mov eax, dword [edi]
add eax, 0x48
mov dword [ebp - 0x53c], edx
mov dword [ebp - 0x540], eax
cmp eax, edx
je 0x10059f3d
mov ecx, dword [eax + 0x14]
cmp ecx, 8
jb 0x10059f0b
mov eax, dword [eax]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x10059ef5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005aa09
mov eax, edx
push ecx
push eax
call fcn.10065f62
mov eax, dword [ebp - 0x540]
add esp, 8
mov edx, dword [ebp - 0x53c]
mov dword [eax + 0x10], 0
xor ecx, ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
movups xmm0, xmmword [edx]
movups xmmword [eax], xmm0
movq xmm0, qword [edx + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], 7
mov word [edx], ax
lea ecx, [ebp - 0x300]
call fcn.1000beb0
push 0
lea eax, [ebp - 0x300]
mov ecx, esi
push eax
call fcn.1004db70
mov ecx, dword [edi]
add ecx, 0x108
mov dword [ebp - 0x540], eax
mov dword [ebp - 0x53c], ecx
cmp ecx, eax
je 0x10059fa4
call fcn.1000beb0
mov eax, dword [ebp - 0x540]
mov ecx, dword [ebp - 0x53c]
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x300]
call fcn.1000beb0
push 0
lea eax, [ebp - 0x300]
mov ecx, esi
push eax
call fcn.10050a50
mov ecx, dword [edi]
add ecx, 0x120
mov dword [ebp - 0x540], eax
mov dword [ebp - 0x53c], ecx
cmp ecx, eax
je 0x1005a00b
call fcn.1000beb0
mov eax, dword [ebp - 0x540]
mov ecx, dword [ebp - 0x53c]
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x300]
call fcn.1000beb0
push 0
lea eax, [ebp - 0x300]
mov ecx, esi
push eax
call fcn.10050aa0
mov ecx, dword [edi]
add ecx, 0x138
mov dword [ebp - 0x540], eax
mov dword [ebp - 0x53c], ecx
cmp ecx, eax
je 0x1005a072
call fcn.1000beb0
mov eax, dword [ebp - 0x540]
mov ecx, dword [ebp - 0x53c]
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x300]
call fcn.1000beb0
push 0
lea eax, [ebp - 0x2e8]
mov ecx, esi
push eax
call fcn.1004de10
push 0x208
lea eax, [ebp - 0x510]
mov dword [ebp - 4], 0x1c
push 0
push eax
call fcn.10089510
add esp, 0xc
lea eax, [ebp - 0x2e8]
cmp dword [ebp - 0x2d4], 8
cmovae eax, dword [ebp - 0x2e8]
push eax
push 0x104
lea eax, [ebp - 0x510]
push eax
push 0x100c6978
push 0x100d1e64
push str.ConfigCenter
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x510]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005a0f0
sub ecx, edx
sar ecx, 1
jne 0x1005a118
lea ecx, [ebp - 0x2e8]
mov dword [ebp - 4], 0xffffffff
call fcn.10005200
jmp 0x1005a8ff
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 0xf
mov byte [ebp - 0x2d0], 0
mov eax, dword [ebp - 0x54c]
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0xf
mov edx, dword [eax + 0x10]
mov ecx, edx
mov byte [ebp - 0x2a0], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005a160
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2a0]
call fcn.1000c4b0
push 0xfde9
lea eax, [ebp - 0x510]
mov byte [ebp - 4], 0x1e
push eax
lea eax, [ebp - 0x300]
push eax
call fcn.10067e80
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 0x1f
push ecx
lea ecx, [ebp - 0x2a0]
push ecx
push eax
call fcn.100678b0
add esp, 0x18
lea ecx, [ebp - 0x300]
mov esi, eax
call fcn.100182a0
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0x1d
call fcn.100182a0
test esi, esi
jne 0x1005a1ef
lea ecx, [ebp - 0x2d0]
call fcn.10005180
lea ecx, [ebp - 0x2e8]
mov dword [ebp - 4], 0xffffffff
call fcn.10005200
jmp 0x1005a8ff
lea ecx, [ebp - 0x2b8]
call fcn.100486b0
lea eax, [ebp - 0x2d0]
mov byte [ebp - 4], 0x20
push eax
lea ecx, [ebp - 0x2b8]
call fcn.10049770
test al, al
jne 0x1005a221
lea ecx, [ebp - 0x2b8]
call fcn.10045250
jmp 0x1005a1cd
call fcn.100071f0
mov ecx, eax
test ecx, ecx
je 0x1005aa18
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x540], eax
push 0x100c6978
lea ecx, [ebp - 0x540]
mov byte [ebp - 4], 0x21
call fcn.10006e80
test al, al
jne 0x1005a26a
push 0
push 0x100c6978
lea ecx, [ebp - 0x540]
call fcn.10009800
push 2
push 0x100d1b8c
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0x22
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0xf
mov byte [ebp - 0x2a0], 0
call fcn.1000c4b0
push 0xfde9
lea eax, [ebp - 0x540]
mov byte [ebp - 4], 0x23
push eax
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x544]
push eax
lea ecx, [ebp - 0x2b8]
call fcn.10049480
mov edx, dword [eax]
mov ecx, edx
mov esi, dword [edi]
mov byte [ebp - 4], 0x24
lea eax, [ecx + 2]
mov dword [ebp - 0x53c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005a2d7
sub ecx, dword [ebp - 0x53c]
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0xa8]
call fcn.1000c5b0
mov edx, dword [ebp - 0x544]
or esi, 0xffffffff
mov byte [ebp - 4], 0x23
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1005a31b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x2a0]
call fcn.100182a0
mov edx, dword [ebp - 0x540]
mov byte [ebp - 4], 0x20
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x1005a345
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 2
push 0x100d1b98
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], 0
call fcn.1000c4b0
mov eax, 0x3f01
mov byte [ebp - 4], 0x25
mov dword [ebp - 0x53c], eax
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 0x540], eax
lea eax, [ebp - 0x288]
push eax
call fcn.10049750
test al, al
je 0x1005a3ff
push 2
push 0x100d1b98
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0xf
mov byte [ebp - 0x2a0], 0
call fcn.1000c4b0
mov eax, 0x3f03
mov dword [ebp - 4], 0x26
mov dword [ebp - 0x53c], eax
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 0x540], eax
lea eax, [ebp - 0x2a0]
push eax
call fcn.10049710
mov byte [ebp - 0x535], 1
test al, al
jne 0x1005a406
mov byte [ebp - 0x535], 0
mov eax, dword [ebp - 0x53c]
test al, 2
je 0x1005a42a
and eax, 0xfffffffd
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x53c], eax
call fcn.100182a0
mov eax, dword [ebp - 0x53c]
and eax, 0xfffffffe
mov dword [ebp - 4], 0x20
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x53c], eax
call fcn.100182a0
cmp byte [ebp - 0x535], 0
je 0x1005a4aa
push 2
push 0x100d1b98
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], 0
call fcn.1000c4b0
mov esi, dword [edi]
lea eax, [ebp - 0x288]
push 0
push eax
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x27
call fcn.10048e80
lea ecx, [ebp - 0x288]
mov dword [esi + 0xd8], eax
mov byte [ebp - 4], 0x20
call fcn.100182a0
push 3
push 0x100d1b9c
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0xf
mov byte [ebp - 0x2a0], 0
call fcn.1000c4b0
mov eax, dword [ebp - 0x53c]
lea ecx, [ebp - 0x2b8]
or eax, 4
mov byte [ebp - 4], 0x28
mov dword [ebp - 0x53c], eax
mov dword [ebp - 0x540], eax
lea eax, [ebp - 0x2a0]
push eax
call fcn.10049750
test al, al
je 0x1005a56c
push 3
push 0x100d1b9c
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], 0
call fcn.1000c4b0
mov eax, dword [ebp - 0x53c]
lea ecx, [ebp - 0x2b8]
or eax, 8
mov dword [ebp - 4], 0x29
mov dword [ebp - 0x53c], eax
mov dword [ebp - 0x540], eax
lea eax, [ebp - 0x288]
push eax
call fcn.10049710
mov byte [ebp - 0x535], 1
test al, al
jne 0x1005a573
mov byte [ebp - 0x535], 0
mov eax, dword [ebp - 0x53c]
test al, 8
je 0x1005a597
and eax, 0xfffffff7
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x53c], eax
call fcn.100182a0
mov eax, dword [ebp - 0x53c]
and eax, 0xfffffffb
mov dword [ebp - 4], 0x20
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x53c], eax
call fcn.100182a0
cmp byte [ebp - 0x535], 0
je 0x1005a617
push 3
push 0x100d1b9c
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], 0
call fcn.1000c4b0
mov esi, dword [edi]
lea eax, [ebp - 0x288]
push 0
push eax
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x2a
call fcn.10048e80
lea ecx, [ebp - 0x288]
mov dword [esi + 0xdc], eax
mov byte [ebp - 4], 0x20
call fcn.100182a0
push 3
push 0x100d1ba0
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0xf
mov byte [ebp - 0x2a0], 0
call fcn.1000c4b0
mov eax, dword [ebp - 0x53c]
lea ecx, [ebp - 0x2b8]
or eax, 0x10
mov byte [ebp - 4], 0x2b
mov dword [ebp - 0x53c], eax
mov dword [ebp - 0x540], eax
lea eax, [ebp - 0x2a0]
push eax
call fcn.10049750
test al, al
je 0x1005a6d9
push 3
push 0x100d1ba0
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], 0
call fcn.1000c4b0
mov eax, dword [ebp - 0x53c]
lea ecx, [ebp - 0x2b8]
or eax, 0x20
mov dword [ebp - 4], 0x2c
mov dword [ebp - 0x53c], eax
mov dword [ebp - 0x540], eax
lea eax, [ebp - 0x288]
push eax
call fcn.10049710
mov byte [ebp - 0x535], 1
test al, al
jne 0x1005a6e0
mov byte [ebp - 0x535], 0
mov eax, dword [ebp - 0x53c]
test al, 0x20
je 0x1005a704
and eax, 0xffffffdf
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x53c], eax
call fcn.100182a0
mov eax, dword [ebp - 0x53c]
and eax, 0xffffffef
mov dword [ebp - 4], 0x20
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x53c], eax
call fcn.100182a0
cmp byte [ebp - 0x535], 0
je 0x1005a784
push 3
push 0x100d1ba0
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], 0
call fcn.1000c4b0
mov esi, dword [edi]
lea eax, [ebp - 0x288]
push 0
push eax
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x2d
call fcn.10048e80
lea ecx, [ebp - 0x288]
mov dword [esi + 0xe0], eax
mov byte [ebp - 4], 0x20
call fcn.100182a0
push 7
push str.advance
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0xf
mov byte [ebp - 0x2a0], 0
call fcn.1000c4b0
mov eax, dword [ebp - 0x53c]
lea ecx, [ebp - 0x2b8]
or eax, 0x40
mov byte [ebp - 4], 0x2e
mov dword [ebp - 0x53c], eax
mov dword [ebp - 0x540], eax
lea eax, [ebp - 0x2a0]
push eax
call fcn.10049750
test al, al
je 0x1005a848
push 7
push str.advance
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], 0
call fcn.1000c4b0
mov eax, dword [ebp - 0x53c]
lea ecx, [ebp - 0x2b8]
or eax, 0x80
mov dword [ebp - 4], 0x2f
mov dword [ebp - 0x53c], eax
mov dword [ebp - 0x540], eax
lea eax, [ebp - 0x288]
push eax
call fcn.10049710
mov byte [ebp - 0x535], 1
test al, al
jne 0x1005a84f
mov byte [ebp - 0x535], 0
mov eax, dword [ebp - 0x53c]
test al, al
jns 0x1005a864
lea ecx, [ebp - 0x288]
call fcn.100182a0
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 4], 0x20
call fcn.100182a0
cmp byte [ebp - 0x535], 0
je 0x1005a8d7
push 7
push str.advance
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], 0
call fcn.1000c4b0
mov esi, dword [edi]
lea eax, [ebp - 0x288]
push 0
push eax
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x30
call fcn.10048e80
lea ecx, [ebp - 0x288]
mov dword [esi + 0xe8], eax
call fcn.100182a0
lea ecx, [ebp - 0x2b8]
call fcn.10045250
lea ecx, [ebp - 0x2d0]
call fcn.100182a0
lea ecx, [ebp - 0x2e8]
mov dword [ebp - 4], 0xffffffff
call fcn.1000beb0
mov esi, dword [str.AccountVIPRpc]
push 4
call fcn.10065f32
add esp, 4
mov dword [ebp - 0x544], eax
mov dword [ebp - 4], 0x31
test eax, eax
je 0x1005a92c
push esi
mov ecx, eax
call fcn.100875b0
mov esi, eax
jmp 0x1005a92e
xor esi, esi
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x53c], esi
call fcn.10087670
mov dword [ebp - 4], 0x32
call fcn.10056800
mov dword [ebp - 0x540], eax
test eax, eax
jg 0x1005a9ae
lea eax, [ebp - 0x308]
push eax
lea ecx, [ebp - 0x53c]
call fcn.10059040
cmp dword [ebp - 0x308], 0
mov byte [ebp - 4], 0x33
jne 0x1005a97f
mov eax, dword [ebp - 0x2ec]
jmp 0x1005a984
call fcn.10057990
mov dword [ebp - 0x540], eax
cmp eax, 1
jg 0x1005a993
test eax, eax
jns 0x1005a99d
mov dword [ebp - 0x540], 0
lea ecx, [ebp - 0x308]
call fcn.10055650
mov esi, dword [ebp - 0x53c]
mov eax, dword [edi]
mov ecx, dword [ebp - 0x540]
mov dword [eax + 0xec], ecx
mov eax, dword [ebp - 0x54c]
mov byte [eax + 4], 1
mov dword [ebp - 4], 0x34
test esi, esi
je 0x1005a9ea
mov ecx, esi
call fcn.10087680
mov ecx, esi
call fcn.10087640
push 4
push esi
call fcn.10065f62
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100662e1
mov esp, ebp
pop ebp
ret 4
call fcn.1008c70a
call fcn.1008c70a
call fcn.1008c70a
push 0x80004005
call fcn.10006e60
int3