Function at 0x1001d0da
Capabilities:
Check if file exists

Disassembly:
push 0x9c
mov eax, 0x10051a95
call fcn.10037d5a
mov esi, ecx
mov edi, edx
xor ebx, ebx
push esi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001d109
push 2
pop eax
call fcn.10037ddd
ret
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.1002b112
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 4], ebx
call fcn.1003060e
pop ecx
pop ecx
push ebx
push ebx
lea eax, [ebp - 0xa8]
call fcn.10022f83
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 4
call fcn.1003060e
lea ecx, [ebp - 0xa8]
xor esi, esi
push ecx
mov byte [ebp - 4], 5
inc esi
mov ecx, eax
mov dword [ebp - 0x50], esi
call fcn.10001262
add esp, 0xc
test al, al
je 0x1001d19b
push str.reqCode:
lea ecx, [ebp - 0x8c]
call fcn.10001e3e
lea eax, [ebp - 0xa8]
mov dword [ebp - 4], 6
push eax
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x50], 3
call fcn.10013778
pop ecx
mov byte [ebp - 0x49], bl
test al, al
jne 0x1001d19f
mov byte [ebp - 0x49], 1
test byte [ebp - 0x50], 2
je 0x1001d1b6
and dword [ebp - 0x50], 0xfffffffd
push ebx
push esi
lea ecx, [ebp - 0x8c]
call fcn.100020f3
mov dword [ebp - 4], 4
test byte [ebp - 0x50], 1
je 0x1001d1cd
push ebx
push esi
lea ecx, [ebp - 0x70]
call fcn.100020f3
cmp byte [ebp - 0x49], bl
je 0x1001d201
push 4
pop edi
lea esi, [ebp - 0xa8]
mov byte [ebp - 4], 1
call fcn.10022266
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.100020f3
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.100020f3
mov eax, edi
jmp 0x1001d103
lea eax, [ebp - 0xa8]
push eax
mov edx, str.reqCode
call fcn.10023221
push eax
lea ecx, [ebp - 0x70]
call fcn.10022454
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.10001ff3
push ebx
push esi
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.100020f3
push str.company
lea ecx, [ebp - 0x8c]
call fcn.10001e3e
sub esp, 0x1c
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x50], esp
mov edi, 0x10056d6f
push edi
call fcn.10001e3e
lea eax, [ebp - 0x8c]
push eax
lea esi, [ebp - 0xa8]
lea ebx, [ebp - 0x70]
call fcn.10001305
add esp, 0x20
mov ecx, dword [ebp - 0x54]
push 0xffffffffffffffff
xor esi, esi
push esi
push eax
add ecx, 0x1c
mov byte [ebp - 4], 9
call fcn.10001ff3
push esi
push 1
mov ecx, ebx
call fcn.100020f3
push esi
push 1
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 4
call fcn.100020f3
push str.clientName
lea ecx, [ebp - 0x8c]
call fcn.10001e3e
sub esp, 0x1c
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x50], esp
push edi
call fcn.10001e3e
lea eax, [ebp - 0x8c]
push eax
lea esi, [ebp - 0xa8]
lea ebx, [ebp - 0x70]
call fcn.10001305
add esp, 0x20
mov ecx, dword [ebp - 0x54]
push 0xffffffffffffffff
xor esi, esi
push esi
push eax
add ecx, 0x38
mov byte [ebp - 4], 0xb
call fcn.10001ff3
push esi
push 1
mov ecx, ebx
call fcn.100020f3
push esi
push 1
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 4
call fcn.100020f3
push str.authTime
lea ecx, [ebp - 0x8c]
call fcn.10001e3e
sub esp, 0x1c
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0x50], esp
push edi
call fcn.10001e3e
lea eax, [ebp - 0x8c]
push eax
lea esi, [ebp - 0xa8]
lea ebx, [ebp - 0x70]
call fcn.10001305
add esp, 0x20
mov ecx, dword [ebp - 0x54]
push 0xffffffffffffffff
xor esi, esi
push esi
push eax
add ecx, 0x54
mov byte [ebp - 4], 0xd
call fcn.10001ff3
push esi
push 1
mov ecx, ebx
call fcn.100020f3
push esi
push 1
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 4
call fcn.100020f3
push str.expireTime
lea ecx, [ebp - 0x8c]
call fcn.10001e3e
sub esp, 0x1c
mov byte [ebp - 4], 0xe
mov ecx, esp
mov dword [ebp - 0x50], esp
push edi
call fcn.10001e3e
lea eax, [ebp - 0x8c]
push eax
lea esi, [ebp - 0xa8]
lea ebx, [ebp - 0x70]
call fcn.10001305
add esp, 0x20
mov edi, dword [ebp - 0x54]
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea ecx, [edi + 0x70]
push eax
mov byte [ebp - 4], 0xf
call fcn.10001ff3
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.100020f3
push ebx
push 1
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 4
call fcn.100020f3
cmp dword [edi + 0x84], ebx
je 0x1001d428
lea esi, [ebp - 0x70]
call fcn.1002c1dc
mov ecx, eax
lea eax, [edi + 0x70]
mov byte [ebp - 4], 0x10
call fcn.1000b866
push ebx
push 1
mov ecx, esi
mov byte [ebp - 0x49], al
mov byte [ebp - 4], 4
call fcn.100020f3
cmp byte [ebp - 0x49], bl
je 0x1001d428
push 5
pop edi
xor ebx, ebx
jmp 0x1001d1d5
lea ebx, [ebp - 0x70]
call fcn.1001d00a
mov ecx, eax
mov eax, edi
mov byte [ebp - 4], 0x11
call fcn.10002b84
movzx esi, al
neg esi
sbb esi, esi
push 0
and esi, 0xfffffffd
push 1
mov ecx, ebx
add esi, 3
call fcn.100020f3
mov edi, esi
jmp 0x1001d421