Function at 0x10021820
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008669e
mov eax, dword fs:[0]
push eax
sub esp, 0x550
mov eax, dword [0x100ad2e4]
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 0x1002302a
lea eax, [ebp - 0x540]
push eax
call fcn.1001d840
lea edi, [esi + 0xc]
add esp, 4
mov dword [ebp - 0x53c], edi
cmp edi, eax
je 0x100218b0
mov ecx, dword [eax]
mov dword [eax], 0
mov esi, dword [edi]
mov dword [edi], ecx
test esi, esi
je 0x100218b0
mov ecx, esi
call fcn.1001e100
push pe_nt_image_headers32
push esi
call fcn.1001081f
add esp, 8
mov esi, dword [ebp - 0x540]
test esi, esi
je 0x100218cf
mov ecx, esi
call fcn.1001e100
push pe_nt_image_headers32
push esi
call fcn.1001081f
add esp, 8
mov esi, dword [edi]
test esi, esi
jne 0x100218dc
xor al, al
jmp 0x1002302c
push 3
push 0x1008fd30
lea ecx, [ebp - 0x51c]
mov dword [ebp - 0x50c], 0
mov dword [ebp - 0x508], 0xf
mov byte [ebp - 0x51c], 0
call fcn.10009ad0
mov dword [ebp - 0x504], esi
mov esi, dword [edi]
lea ecx, [ebp - 0x500]
push 2
push 0x1008fd34
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.10009ad0
mov dword [ebp - 0x4e8], esi
mov esi, dword [edi]
lea ecx, [ebp - 0x4e4]
push 3
push 0x1008fd40
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.10009ad0
mov dword [ebp - 0x4cc], esi
mov esi, dword [edi]
lea ecx, [ebp - 0x4c8]
push 6
push str.appver
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.10009ad0
mov dword [ebp - 0x4b0], esi
mov esi, dword [edi]
lea ecx, [ebp - 0x4ac]
push 3
push 0x1008fd38
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.10009ad0
mov dword [ebp - 0x494], esi
mov esi, dword [edi]
lea ecx, [ebp - 0x490]
push 2
push 0x1008fd3c
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.10009ad0
mov dword [ebp - 0x478], esi
mov esi, dword [edi]
lea ecx, [ebp - 0x474]
push 0xa
push 0x1008fd4c
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.10009ad0
mov dword [ebp - 0x45c], esi
mov esi, dword [edi]
lea ecx, [ebp - 0x458]
push 2
push 0x1008fd58
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.10009ad0
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.10009ad0
mov dword [ebp - 0x424], esi
mov esi, dword [edi]
lea ecx, [ebp - 0x420]
push 2
push 0x1008fd64
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.10009ad0
mov dword [ebp - 0x408], esi
mov esi, dword [edi]
lea ecx, [ebp - 0x404]
push 3
push 0x1008fd68
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.10009ad0
mov dword [ebp - 0x3ec], esi
mov esi, dword [edi]
lea ecx, [ebp - 0x3e8]
push 3
push 0x1008fd6c
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.10009ad0
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.10009ad0
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.10009ad0
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.10009ad0
mov dword [ebp - 0x37c], esi
mov esi, dword [edi]
lea ecx, [ebp - 0x378]
push 1
push 0x1008fd90
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.10009ad0
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.10009ad0
mov dword [ebp - 0x344], esi
mov esi, dword [edi]
lea ecx, [ebp - 0x340]
push 9
push 0x1008fda0
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.10009ad0
mov dword [ebp - 0x328], esi
mov esi, dword [edi]
lea ecx, [ebp - 0x324]
push 0xa
push 0x1008fdac
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.10009ad0
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.100235a0
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.1001c690
mov ecx, dword [ebp - 0x540]
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x544]
push eax
call fcn.1001cd30
mov ecx, dword [ebp - 0x540]
lea eax, [ebp - 0x308]
add edi, 0x1c
cmp edi, eax
jne 0x10021dc0
push fcn.100047a0
push 0x13
push 0x1c
lea eax, [ebp - 0x51c]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.10010855
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x535]
call fcn.1001e680
mov edi, dword [ebp - 0x53c]
mov esi, eax
mov eax, dword [edi]
add eax, 0x90
mov dword [ebp - 0x540], eax
cmp eax, esi
je 0x10021e6a
mov ecx, eax
call fcn.100047f0
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.100047f0
push str.ntdll.dll
mov dword [ebp - 0x548], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x10021ecb
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10021ec4
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.1000bf20
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 0x10021f12
sub ecx, eax
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2b8]
call fcn.10009bd0
push dword [ebp - 0x550]
lea eax, [ebp - 0x3e]
mov dword [ebp - 4], 0x14
push eax
call fcn.1000bf20
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 0x10021f60
sub ecx, eax
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2d0]
call fcn.10009bd0
push dword [ebp - 0x554]
lea eax, [ebp - 0x12]
mov byte [ebp - 4], 0x15
push eax
call fcn.1000bf20
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 0x10021fab
sub ecx, eax
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2e8]
call fcn.10009bd0
push 0x1008ff34
lea eax, [ebp - 0x2e8]
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0x300]
push eax
call fcn.1001bbf0
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 0x17
push ecx
push eax
lea eax, [ebp - 0x534]
push eax
call fcn.1001bb60
push 0x1008ff34
push eax
lea eax, [ebp - 0x2a0]
mov byte [ebp - 4], 0x18
push eax
call fcn.1001bbf0
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x19
push ecx
push eax
lea eax, [ebp - 0x288]
push eax
call fcn.1001bb60
mov esi, eax
add esp, 0x30
mov eax, dword [edi]
add eax, 0xc0
mov dword [ebp - 0x540], eax
cmp eax, esi
je 0x10022053
mov ecx, eax
call fcn.100047f0
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.100047f0
lea ecx, [ebp - 0x2a0]
call fcn.100047f0
lea ecx, [ebp - 0x534]
call fcn.100047f0
lea ecx, [ebp - 0x300]
call fcn.100047f0
lea ecx, [ebp - 0x2e8]
call fcn.100047f0
lea ecx, [ebp - 0x2d0]
call fcn.100047f0
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 4], 0xffffffff
call fcn.100047f0
mov ecx, dword [0x100b1b94]
test ecx, ecx
jne 0x10022116
push 0x100ad364
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x100b1b94], 0
jne 0x10022105
push 4
call fcn.100107ef
mov esi, eax
add esp, 4
mov dword [ebp - 0x544], esi
mov dword [ebp - 4], 0x1a
test esi, esi
je 0x100220eb
mov ecx, esi
call fcn.100250b0
jmp 0x100220ed
xor esi, esi
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x558]
xor ecx, ecx
lock or dword [eax], ecx
mov dword [0x100b1b94], esi
push 0x100ad364
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x100b1b94]
push dword [ebp + 8]
call fcn.10028d40
test al, al
je 0x10022f3f
mov esi, dword [0x100b1b94]
test esi, esi
jne 0x1002219c
push 0x100ad364
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x100b1b94], esi
jne 0x10022183
push 4
call fcn.100107ef
mov esi, eax
add esp, 4
mov dword [ebp - 0x544], esi
mov dword [ebp - 4], 0x1b
test esi, esi
je 0x10022169
mov ecx, esi
call fcn.100250b0
jmp 0x1002216b
xor esi, esi
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x55c]
xor ecx, ecx
lock or dword [eax], ecx
mov dword [0x100b1b94], esi
push 0x100ad364
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [0x100b1b94]
test esi, esi
je 0x10022f3f
push 0x208
lea eax, [ebp - 0x270]
push 0
push eax
call fcn.1003f4c0
add esp, 0xc
lea eax, [ebp - 0x270]
push 0x104
push eax
call fcn.10064f80
lea edx, [ebp - 0x270]
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100221d0
sub edx, ecx
lea eax, [ebp - 0x270]
mov ecx, dword [edi]
sar edx, 1
push edx
push eax
call fcn.10009bd0
push 0x104
lea eax, [ebp - 0x270]
push 0
push eax
call fcn.1003f4c0
add esp, 0xc
lea eax, [ebp - 0x270]
push 0x104
push eax
call fcn.1003a220
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 0x10022226
sub ecx, dword [ebp - 0x540]
lea eax, [ebp - 0x270]
sar ecx, 1
push ecx
push eax
lea ecx, [edx + 0x18]
call fcn.10009bd0
push 0
lea eax, [ebp - 0x288]
mov ecx, esi
push eax
call fcn.10025fd0
mov edx, eax
mov eax, dword [edi]
add eax, 0x60
mov dword [ebp - 0x53c], edx
mov dword [ebp - 0x540], eax
cmp eax, edx
je 0x100222e7
mov ecx, dword [eax + 0x14]
cmp ecx, 8
jb 0x100222b5
mov eax, dword [eax]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x1002229f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023049
mov eax, edx
push ecx
push eax
call fcn.1001081f
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 0x10022327
mov ecx, dword [ebp - 0x288]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002231d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023049
push edx
push ecx
call fcn.1001081f
add esp, 8
lea eax, [ebp - 0x288]
mov ecx, esi
push eax
call fcn.10026930
mov edx, eax
mov eax, dword [edi]
add eax, 0x78
mov dword [ebp - 0x53c], edx
mov dword [ebp - 0x540], eax
cmp eax, edx
je 0x100223c3
mov ecx, dword [eax + 0x14]
cmp ecx, 8
jb 0x10022391
mov eax, dword [eax]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x1002237b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023049
mov eax, edx
push ecx
push eax
call fcn.1001081f
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 0x10022403
mov ecx, dword [ebp - 0x288]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100223f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002304e
push edx
push ecx
call fcn.1001081f
add esp, 8
lea eax, [ebp - 0x288]
mov ecx, esi
push eax
call fcn.10028550
mov edx, eax
mov eax, dword [edi]
add eax, 0x30
mov dword [ebp - 0x53c], edx
mov dword [ebp - 0x540], eax
cmp eax, edx
je 0x1002249f
mov ecx, dword [eax + 0x14]
cmp ecx, 8
jb 0x1002246d
mov eax, dword [eax]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x10022457
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023049
mov eax, edx
push ecx
push eax
call fcn.1001081f
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 0x100224df
mov ecx, dword [ebp - 0x288]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100224d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023053
push edx
push ecx
call fcn.1001081f
add esp, 8
push 0
lea eax, [ebp - 0x300]
mov ecx, esi
push eax
call fcn.10025d30
mov edx, eax
mov eax, dword [edi]
add eax, 0x48
mov dword [ebp - 0x53c], edx
mov dword [ebp - 0x540], eax
cmp eax, edx
je 0x1002257d
mov ecx, dword [eax + 0x14]
cmp ecx, 8
jb 0x1002254b
mov eax, dword [eax]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x10022535
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023049
mov eax, edx
push ecx
push eax
call fcn.1001081f
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.100047f0
push 0
lea eax, [ebp - 0x300]
mov ecx, esi
push eax
call fcn.10025ce0
mov ecx, dword [edi]
add ecx, 0x108
mov dword [ebp - 0x540], eax
mov dword [ebp - 0x53c], ecx
cmp ecx, eax
je 0x100225e4
call fcn.100047f0
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.100047f0
push 0
lea eax, [ebp - 0x300]
mov ecx, esi
push eax
call fcn.10028700
mov ecx, dword [edi]
add ecx, 0x120
mov dword [ebp - 0x540], eax
mov dword [ebp - 0x53c], ecx
cmp ecx, eax
je 0x1002264b
call fcn.100047f0
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.100047f0
push 0
lea eax, [ebp - 0x300]
mov ecx, esi
push eax
call fcn.10028750
mov ecx, dword [edi]
add ecx, 0x138
mov dword [ebp - 0x540], eax
mov dword [ebp - 0x53c], ecx
cmp ecx, eax
je 0x100226b2
call fcn.100047f0
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.100047f0
push 0
lea eax, [ebp - 0x2e8]
mov ecx, esi
push eax
call fcn.10025f80
push 0x208
lea eax, [ebp - 0x510]
mov dword [ebp - 4], 0x1c
push 0
push eax
call fcn.1003f4c0
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 0x1008b9e8
push 0x1008ff38
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 0x10022730
sub ecx, edx
sar ecx, 1
jne 0x10022758
lea ecx, [ebp - 0x2e8]
mov dword [ebp - 4], 0xffffffff
call fcn.100047f0
jmp 0x10022f3f
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 0x100227a0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2a0]
call fcn.10009ad0
push 0xfde9
lea eax, [ebp - 0x510]
mov byte [ebp - 4], 0x1e
push eax
lea eax, [ebp - 0x300]
push eax
call fcn.1001b650
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 0x1f
push ecx
lea ecx, [ebp - 0x2a0]
push ecx
push eax
call fcn.1006b470
add esp, 0x18
lea ecx, [ebp - 0x300]
mov esi, eax
call fcn.10012a0e
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0x1d
call fcn.10012a0e
test esi, esi
jne 0x1002282f
lea ecx, [ebp - 0x2d0]
call fcn.100047a0
lea ecx, [ebp - 0x2e8]
mov dword [ebp - 4], 0xffffffff
call fcn.100047f0
jmp 0x10022f3f
lea ecx, [ebp - 0x2b8]
call fcn.1002f7c0
lea eax, [ebp - 0x2d0]
mov byte [ebp - 4], 0x20
push eax
lea ecx, [ebp - 0x2b8]
call fcn.10030500
test al, al
jne 0x10022861
lea ecx, [ebp - 0x2b8]
call fcn.1002c4f0
jmp 0x1002280d
call fcn.100064a0
mov ecx, eax
test ecx, ecx
je 0x10023058
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x540], eax
push 0x1008b9e8
lea ecx, [ebp - 0x540]
mov byte [ebp - 4], 0x21
call fcn.10017440
test al, al
jne 0x100228aa
push 0
push 0x1008b9e8
lea ecx, [ebp - 0x540]
call fcn.10018740
push 2
push 0x1008fd58
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.10009ad0
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.10030300
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 0x10022917
sub ecx, dword [ebp - 0x53c]
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0xa8]
call fcn.10009bd0
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 0x1002295b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x2a0]
call fcn.10012a0e
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 0x10022985
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 2
push 0x1008fd64
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], 0
call fcn.10009ad0
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.100304e0
test al, al
je 0x10022a3f
push 2
push 0x1008fd64
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0xf
mov byte [ebp - 0x2a0], 0
call fcn.10009ad0
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.100304a0
mov byte [ebp - 0x535], 1
test al, al
jne 0x10022a46
mov byte [ebp - 0x535], 0
mov eax, dword [ebp - 0x53c]
test al, 2
je 0x10022a6a
and eax, 0xfffffffd
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x53c], eax
call fcn.10012a0e
mov eax, dword [ebp - 0x53c]
and eax, 0xfffffffe
mov dword [ebp - 4], 0x20
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x53c], eax
call fcn.10012a0e
cmp byte [ebp - 0x535], 0
je 0x10022aea
push 2
push 0x1008fd64
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], 0
call fcn.10009ad0
mov esi, dword [edi]
lea eax, [ebp - 0x288]
push 0
push eax
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x27
call fcn.1002fd50
lea ecx, [ebp - 0x288]
mov dword [esi + 0xd8], eax
mov byte [ebp - 4], 0x20
call fcn.10012a0e
push 3
push 0x1008fd68
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0xf
mov byte [ebp - 0x2a0], 0
call fcn.10009ad0
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.100304e0
test al, al
je 0x10022bac
push 3
push 0x1008fd68
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], 0
call fcn.10009ad0
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.100304a0
mov byte [ebp - 0x535], 1
test al, al
jne 0x10022bb3
mov byte [ebp - 0x535], 0
mov eax, dword [ebp - 0x53c]
test al, 8
je 0x10022bd7
and eax, 0xfffffff7
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x53c], eax
call fcn.10012a0e
mov eax, dword [ebp - 0x53c]
and eax, 0xfffffffb
mov dword [ebp - 4], 0x20
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x53c], eax
call fcn.10012a0e
cmp byte [ebp - 0x535], 0
je 0x10022c57
push 3
push 0x1008fd68
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], 0
call fcn.10009ad0
mov esi, dword [edi]
lea eax, [ebp - 0x288]
push 0
push eax
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x2a
call fcn.1002fd50
lea ecx, [ebp - 0x288]
mov dword [esi + 0xdc], eax
mov byte [ebp - 4], 0x20
call fcn.10012a0e
push 3
push 0x1008fd6c
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0xf
mov byte [ebp - 0x2a0], 0
call fcn.10009ad0
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.100304e0
test al, al
je 0x10022d19
push 3
push 0x1008fd6c
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], 0
call fcn.10009ad0
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.100304a0
mov byte [ebp - 0x535], 1
test al, al
jne 0x10022d20
mov byte [ebp - 0x535], 0
mov eax, dword [ebp - 0x53c]
test al, 0x20
je 0x10022d44
and eax, 0xffffffdf
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x53c], eax
call fcn.10012a0e
mov eax, dword [ebp - 0x53c]
and eax, 0xffffffef
mov dword [ebp - 4], 0x20
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x53c], eax
call fcn.10012a0e
cmp byte [ebp - 0x535], 0
je 0x10022dc4
push 3
push 0x1008fd6c
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], 0
call fcn.10009ad0
mov esi, dword [edi]
lea eax, [ebp - 0x288]
push 0
push eax
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x2d
call fcn.1002fd50
lea ecx, [ebp - 0x288]
mov dword [esi + 0xe0], eax
mov byte [ebp - 4], 0x20
call fcn.10012a0e
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.10009ad0
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.100304e0
test al, al
je 0x10022e88
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.10009ad0
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.100304a0
mov byte [ebp - 0x535], 1
test al, al
jne 0x10022e8f
mov byte [ebp - 0x535], 0
mov eax, dword [ebp - 0x53c]
test al, al
jns 0x10022ea4
lea ecx, [ebp - 0x288]
call fcn.10012a0e
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 4], 0x20
call fcn.10012a0e
cmp byte [ebp - 0x535], 0
je 0x10022f17
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.10009ad0
mov esi, dword [edi]
lea eax, [ebp - 0x288]
push 0
push eax
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x30
call fcn.1002fd50
lea ecx, [ebp - 0x288]
mov dword [esi + 0xe8], eax
call fcn.10012a0e
lea ecx, [ebp - 0x2b8]
call fcn.1002c4f0
lea ecx, [ebp - 0x2d0]
call fcn.10012a0e
lea ecx, [ebp - 0x2e8]
mov dword [ebp - 4], 0xffffffff
call fcn.100047f0
mov esi, dword [str.AccountVIPRpc]
push 4
call fcn.100107ef
add esp, 4
mov dword [ebp - 0x544], eax
mov dword [ebp - 4], 0x31
test eax, eax
je 0x10022f6c
push esi
mov ecx, eax
call fcn.1003a0f0
mov esi, eax
jmp 0x10022f6e
xor esi, esi
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x53c], esi
call fcn.1003a1b0
mov dword [ebp - 4], 0x32
call fcn.1001ee40
mov dword [ebp - 0x540], eax
test eax, eax
jg 0x10022fee
lea eax, [ebp - 0x308]
push eax
lea ecx, [ebp - 0x53c]
call fcn.10021680
cmp dword [ebp - 0x308], 0
mov byte [ebp - 4], 0x33
jne 0x10022fbf
mov eax, dword [ebp - 0x2ec]
jmp 0x10022fc4
call fcn.1001ffd0
mov dword [ebp - 0x540], eax
cmp eax, 1
jg 0x10022fd3
test eax, eax
jns 0x10022fdd
mov dword [ebp - 0x540], 0
lea ecx, [ebp - 0x308]
call fcn.1001dc00
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 0x1002302a
mov ecx, esi
call fcn.1003a1c0
mov ecx, esi
call fcn.1003a180
push 4
push esi
call fcn.1001081f
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.10010f1d
mov esp, ebp
pop ebp
ret 4
call fcn.100434d9
call fcn.100434d9
call fcn.100434d9
push 0x80004005
call fcn.10005d90
int3