Function at 0x10019530
Capabilities:
Check http status code
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101e79bc
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x1027e110]
xor eax, esp
mov dword [esp + 0x290], eax
push ebx
push esi
push edi
mov eax, dword [0x1027e110]
xor eax, esp
push eax
lea eax, [esp + 0x2a8]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x114], eax
lea eax, [edi + 8]
xor ebx, ebx
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x158], ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x154], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0xf0], ebx
mov dword [esp + 0x94], ebx
lea edx, [esp + 0x1b]
push edx
lea eax, [esp + 0x1f]
push eax
lea ecx, [esp + 0xa0]
mov esi, 0xf
call fcn.1001c680
mov dword [esp + 0x2b0], ebx
mov dword [esp + 0x280], esi
mov dword [esp + 0x27c], ebx
mov byte [esp + 0x26c], bl
mov byte [esp + 0x2b0], 1
cmp dword [edi + 0x20], ebx
je 0x10019a7f
mov ecx, dword [edi + 0xb8]
and ecx, dword [edi + 0xbc]
cmp ecx, 0xffffffff
je 0x10019a7f
push ebx
call fcn.101b4bbe
add esp, 4
cmp edx, dword [edi + 0xbc]
jg 0x10019a7f
jl 0x1001962f
cmp eax, dword [edi + 0xb8]
jae 0x10019a7f
mov edx, dword [esp + 0xb0]
mov eax, dword [edx + 4]
push eax
lea ecx, [esp + 0x9c]
call fcn.1001c710
mov eax, dword [esp + 0xb0]
mov edi, dword [esp + 0x20]
mov dword [eax + 4], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xb4], ebx
mov dword [eax], eax
mov eax, dword [esp + 0xb0]
push 0xd
push str.Authorization
lea ecx, [esp + 0x2c]
mov dword [eax + 8], eax
add edi, 0xc0
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.10002290
push edi
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x120]
push edx
mov dword [esp + 0x2bc], 3
call fcn.1001c450
lea ecx, [esp + 0x5c]
push ecx
mov edi, eax
mov byte [esp + 0x2b4], 4
call fcn.10017bf0
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x1cc]
push eax
lea ecx, [esp + 0xa0]
mov byte [esp + 0x2b8], 5
call fcn.1001c2c0
cmp dword [esp + 0x90], 0x10
jb 0x100196fa
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.101b4654
add esp, 4
mov edi, 0x10
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
cmp dword [esp + 0x74], edi
jb 0x10019724
mov edx, dword [esp + 0x60]
push edx
call fcn.101b4654
add esp, 4
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
cmp dword [esp + 0x14c], edi
jb 0x10019749
mov eax, dword [esp + 0x138]
push eax
call fcn.101b4654
add esp, 4
mov dword [esp + 0x14c], esi
mov dword [esp + 0x148], ebx
mov byte [esp + 0x138], bl
cmp dword [esp + 0x130], edi
jb 0x10019777
mov ecx, dword [esp + 0x11c]
push ecx
call fcn.101b4654
add esp, 4
mov dword [esp + 0x130], esi
mov dword [esp + 0x12c], ebx
mov byte [esp + 0x11c], bl
cmp dword [esp + 0x3c], edi
jb 0x1001979f
mov edx, dword [esp + 0x28]
push edx
call fcn.101b4654
add esp, 4
mov dword [esp + 0x2b0], 1
test byte [esp + 0x14], 0x10
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
je 0x100197db
and dword [esp + 0x14], 0xffffffef
cmp dword [esp + 0xd0], edi
jb 0x100197db
mov eax, dword [esp + 0xbc]
push eax
call fcn.101b4654
add esp, 4
push 0x10
push str.application_json
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.10002290
mov byte [esp + 0x2b0], 6
push 0xc
push str.Content_type
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.10002290
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0xc0]
push eax
mov byte [esp + 0x2bc], 7
call fcn.1001c450
lea ecx, [esp + 0x5c]
push ecx
mov edi, eax
mov byte [esp + 0x2b4], 8
call fcn.10017bf0
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x1c0]
push eax
lea ecx, [esp + 0xa0]
mov byte [esp + 0x2b8], 9
call fcn.1001c2c0
cmp dword [esp + 0x90], 0x10
jb 0x10019886
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.101b4654
add esp, 4
mov edi, 0x10
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
cmp dword [esp + 0x74], edi
jb 0x100198b0
mov edx, dword [esp + 0x60]
push edx
call fcn.101b4654
add esp, 4
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
cmp dword [esp + 0xec], edi
jb 0x100198d5
mov eax, dword [esp + 0xd8]
push eax
call fcn.101b4654
add esp, 4
mov dword [esp + 0xec], esi
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
cmp dword [esp + 0xd0], edi
jb 0x10019903
mov ecx, dword [esp + 0xbc]
push ecx
call fcn.101b4654
add esp, 4
mov dword [esp + 0xd0], esi
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
cmp dword [esp + 0x3c], edi
jb 0x1001992b
mov edx, dword [esp + 0x28]
push edx
call fcn.101b4654
add esp, 4
mov byte [esp + 0x2b0], 1
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
cmp dword [esp + 0x58], edi
jb 0x10019952
mov eax, dword [esp + 0x44]
push eax
call fcn.101b4654
add esp, 4
push 5
push str.OdcId
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.10002290
mov ecx, dword [esp + 0x20]
add ecx, 0x28
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0xc0]
push eax
mov byte [esp + 0x2bc], 0xa
call fcn.1001c450
lea ecx, [esp + 0x5c]
push ecx
mov edi, eax
mov byte [esp + 0x2b4], 0xb
call fcn.10017bf0
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x1a8]
push eax
lea ecx, [esp + 0xa0]
mov byte [esp + 0x2b8], 0xc
call fcn.1001c2c0
cmp dword [esp + 0x90], 0x10
jb 0x100199dc
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.101b4654
add esp, 4
mov edi, 0x10
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
cmp dword [esp + 0x74], edi
jb 0x10019a06
mov edx, dword [esp + 0x60]
push edx
call fcn.101b4654
add esp, 4
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
cmp dword [esp + 0xec], edi
jb 0x10019a2b
mov eax, dword [esp + 0xd8]
push eax
call fcn.101b4654
add esp, 4
mov dword [esp + 0xec], esi
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
cmp dword [esp + 0xd0], edi
jb 0x10019a59
mov ecx, dword [esp + 0xbc]
push ecx
call fcn.101b4654
add esp, 4
mov byte [esp + 0x2b0], 1
cmp dword [esp + 0x58], edi
mov dword [esp + 0xd0], esi
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
jmp 0x10019e8f
mov ecx, edi
call fcn.1001b380
mov dword [esp + 0x1c], eax
cmp eax, ebx
jne 0x1001a2e0
cmp dword [edi + 0x20], ebx
je 0x1001a2c6
mov eax, dword [edi + 0xb8]
and eax, dword [edi + 0xbc]
cmp eax, 0xffffffff
je 0x1001a2d3
push ebx
call fcn.101b4bbe
add esp, 4
cmp edx, dword [edi + 0xbc]
jg 0x1001a2d3
jl 0x10019ad3
cmp eax, dword [edi + 0xb8]
jae 0x1001a2d3
mov ecx, dword [esp + 0xb0]
mov edx, dword [ecx + 4]
push edx
lea ecx, [esp + 0x9c]
call fcn.1001c710
mov eax, dword [esp + 0xb0]
mov edi, dword [esp + 0x20]
mov dword [eax + 4], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xb4], ebx
mov dword [eax], eax
mov eax, dword [esp + 0xb0]
push 0xd
push str.Authorization
lea ecx, [esp + 0x2c]
mov dword [eax + 8], eax
add edi, 0xc0
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.10002290
push edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x120]
push ecx
mov dword [esp + 0x2bc], 0xe
call fcn.1001c450
lea edx, [esp + 0x5c]
push edx
mov edi, eax
mov byte [esp + 0x2b4], 0xf
call fcn.10017bf0
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x1b4]
push ecx
lea ecx, [esp + 0xa0]
mov byte [esp + 0x2b8], 0x10
call fcn.1001c2c0
cmp dword [esp + 0x90], 0x10
jb 0x10019b9e
mov edx, dword [esp + 0x7c]
push edx
call fcn.101b4654
add esp, 4
mov edi, 0x10
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
cmp dword [esp + 0x74], edi
jb 0x10019bc8
mov eax, dword [esp + 0x60]
push eax
call fcn.101b4654
add esp, 4
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
cmp dword [esp + 0x14c], edi
jb 0x10019bed
mov ecx, dword [esp + 0x138]
push ecx
call fcn.101b4654
add esp, 4
mov dword [esp + 0x14c], esi
mov dword [esp + 0x148], ebx
mov byte [esp + 0x138], bl
cmp dword [esp + 0x130], edi
jb 0x10019c1b
mov edx, dword [esp + 0x11c]
push edx
call fcn.101b4654
add esp, 4
mov dword [esp + 0x130], esi
mov dword [esp + 0x12c], ebx
mov byte [esp + 0x11c], bl
cmp dword [esp + 0x3c], edi
jb 0x10019c43
mov eax, dword [esp + 0x28]
push eax
call fcn.101b4654
add esp, 4
mov dword [esp + 0x2b0], 1
test byte [esp + 0x14], 0x20
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
je 0x10019c7f
and dword [esp + 0x14], 0xffffffdf
cmp dword [esp + 0xd0], edi
jb 0x10019c7f
mov ecx, dword [esp + 0xbc]
push ecx
call fcn.101b4654
add esp, 4
push 0x10
push str.application_json
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.10002290
mov byte [esp + 0x2b0], 0x11
push 0xc
push str.Content_type
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.10002290
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0xc0]
push ecx
mov byte [esp + 0x2bc], 0x12
call fcn.1001c450
lea edx, [esp + 0x5c]
push edx
mov edi, eax
mov byte [esp + 0x2b4], 0x13
call fcn.10017bf0
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x19c]
push ecx
lea ecx, [esp + 0xa0]
mov byte [esp + 0x2b8], 0x14
call fcn.1001c2c0
cmp dword [esp + 0x90], 0x10
jb 0x10019d2a
mov edx, dword [esp + 0x7c]
push edx
call fcn.101b4654
add esp, 4
mov edi, 0x10
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
cmp dword [esp + 0x74], edi
jb 0x10019d54
mov eax, dword [esp + 0x60]
push eax
call fcn.101b4654
add esp, 4
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
cmp dword [esp + 0xec], edi
jb 0x10019d79
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.101b4654
add esp, 4
mov dword [esp + 0xec], esi
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
cmp dword [esp + 0xd0], edi
jb 0x10019da7
mov edx, dword [esp + 0xbc]
push edx
call fcn.101b4654
add esp, 4
mov dword [esp + 0xd0], esi
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
cmp dword [esp + 0x3c], edi
jb 0x10019dcf
mov eax, dword [esp + 0x28]
push eax
call fcn.101b4654
add esp, 4
mov byte [esp + 0x2b0], 1
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
cmp dword [esp + 0x58], edi
jb 0x10019df6
mov ecx, dword [esp + 0x44]
push ecx
call fcn.101b4654
add esp, 4
push 5
push str.OdcId
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.10002290
mov edx, dword [esp + 0x20]
add edx, 0x28
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0xc0]
push ecx
mov byte [esp + 0x2bc], 0x15
call fcn.1001c450
lea edx, [esp + 0x5c]
push edx
mov edi, eax
mov byte [esp + 0x2b4], 0x16
call fcn.10017bf0
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0xf8]
push ecx
lea ecx, [esp + 0xa0]
mov byte [esp + 0x2b8], 0x17
call fcn.1001c2c0
lea ecx, [esp + 0x5c]
call fcn.1001b830
lea esi, [esp + 0xb8]
call fcn.10017ae0
mov byte [esp + 0x2b0], 1
cmp dword [esp + 0x58], 0x10
jb 0x10019e9e
mov edx, dword [esp + 0x44]
push edx
call fcn.101b4654
add esp, 4
push ebx
lea ecx, [esp + 0x108]
call fcn.101dad50
mov eax, dword [esp + 0x114]
push eax
lea ecx, [esp + 0x178]
mov byte [esp + 0x2b4], 0x18
call fcn.101d9be0
lea ecx, [esp + 0x174]
push ecx
push str.licenseKey
lea ecx, [esp + 0x10c]
mov byte [esp + 0x2b8], 0x19
call fcn.101db040
mov ecx, eax
call fcn.101dae70
lea ecx, [esp + 0x174]
mov byte [esp + 0x2b0], 0x18
call fcn.101da8f0
inc dword [esp + 0x94]
cmp byte [ebp + 8], bl
je 0x10019f64
push 0x15
push str._license_pre_activate
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.10002290
mov edi, dword [esp + 0x20]
mov byte [esp + 0x2b0], 0x1a
or dword [esp + 0x14], 1
lea eax, [esp + 0x40]
lea esi, [esp + 0x118]
mov ecx, edi
call fcn.1001b4b0
mov dword [esp + 0x2b0], 0x1b
or dword [esp + 0x14], 2
jmp 0x10019fbc
push 0x11
push str._license_activate
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.10002290
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x2b0], 0x1c
or dword [esp + 0x14], 4
lea eax, [esp + 0x24]
lea esi, [esp + 0x158]
call fcn.1001b4b0
mov edi, dword [esp + 0x20]
mov dword [esp + 0x2b0], 0x1d
or dword [esp + 0x14], 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x290]
mov dword [esp + 0x2a8], 0xf
mov dword [esp + 0x2a4], ebx
mov byte [esp + 0x294], bl
call fcn.10001fe0
mov dword [esp + 0x2b0], 0x1e
test byte [esp + 0x14], 8
mov esi, 0x10
je 0x1001a033
and dword [esp + 0x14], 0xfffffff7
cmp dword [esp + 0x170], esi
jb 0x1001a01a
mov edx, dword [esp + 0x15c]
push edx
call fcn.101b4654
add esp, 4
mov dword [esp + 0x170], 0xf
mov dword [esp + 0x16c], ebx
mov byte [esp + 0x15c], bl
test byte [esp + 0x14], 4
je 0x1001a062
and dword [esp + 0x14], 0xfffffffb
cmp dword [esp + 0x3c], esi
jb 0x1001a052
mov eax, dword [esp + 0x28]
push eax
call fcn.101b4654
add esp, 4
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
test byte [esp + 0x14], 2
je 0x1001a0a0
and dword [esp + 0x14], 0xfffffffd
cmp dword [esp + 0x130], esi
jb 0x1001a087
mov ecx, dword [esp + 0x11c]
push ecx
call fcn.101b4654
add esp, 4
mov dword [esp + 0x130], 0xf
mov dword [esp + 0x12c], ebx
mov byte [esp + 0x11c], bl
test byte [esp + 0x14], 1
je 0x1001a0cf
and dword [esp + 0x14], 0xfffffffe
cmp dword [esp + 0x58], esi
jb 0x1001a0bf
mov edx, dword [esp + 0x44]
push edx
call fcn.101b4654
add esp, 4
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
lea ecx, [esp + 0x5c]
call fcn.101db340
lea ecx, [esp + 0x104]
push ecx
mov byte [esp + 0x2b4], 0x23
mov edx, dword [eax]
mov edx, dword [edx + 4]
lea ecx, [esp + 0xbc]
push ecx
mov ecx, eax
call edx
lea esi, [esp + 0x264]
push esi
push eax
mov byte [esp + 0x2b8], 0x24
mov ecx, dword [edi + 0x20]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x290]
push eax
call edx
cmp eax, 0x64
ja 0x1001a12f
mov dword [esp + 0x1c], eax
jmp 0x1001a152
push eax
push str.curl_code_to_tlk_error
push str.__s__unexpected_curl_code:__d
push 2
xor edi, edi
call fcn.1001d3f0
mov edi, dword [esp + 0x30]
add esp, 0x10
mov dword [esp + 0x1c], 0x80010002
cmp dword [esp + 0xd0], 0x10
jb 0x1001a16c
mov eax, dword [esp + 0xbc]
push eax
call fcn.101b4654
add esp, 4
mov byte [esp + 0x2b0], 0x22
cmp dword [esp + 0x78], 0x10
mov esi, 0xf
mov dword [esp + 0xd0], esi
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
mov dword [esp + 0x5c], vtable.Json::FastWriter.0
jb 0x1001a1aa
mov ecx, dword [esp + 0x64]
push ecx
call fcn.101b4654
add esp, 4
lea ecx, [esp + 0x5c]
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
call fcn.101db250
cmp dword [esp + 0x1c], ebx
jne 0x1001a4d3
cmp dword [esp + 0x264], 0xc8
sete al
cmp al, bl
jne 0x1001a326
lea edx, [esp + 0x264]
push edx
push edi
call fcn.1001b880
mov dword [esp + 0xf0], eax
cmp eax, 0x90010002
jne 0x1001a314
push ebx
push 0x1025e490
lea ecx, [edi + 0xc0]
call fcn.10002290
or esi, 0xffffffff
mov dword [edi + 0xb8], esi
mov dword [edi + 0xbc], esi
mov edi, 0x10
cmp dword [esp + 0x29c], edi
jb 0x1001a23d
mov eax, dword [esp + 0x288]
push eax
call fcn.101b4654
add esp, 4
lea ecx, [esp + 0x104]
mov dword [esp + 0x29c], 0xf
mov dword [esp + 0x298], ebx
mov byte [esp + 0x288], bl
mov byte [esp + 0x2b0], 1
call fcn.101da8f0
cmp dword [esp + 0x280], edi
jb 0x1001a283
mov ecx, dword [esp + 0x26c]
push ecx
call fcn.101b4654
add esp, 4
lea ecx, [esp + 0x98]
mov dword [esp + 0x280], 0xf
mov dword [esp + 0x27c], ebx
mov byte [esp + 0x26c], bl
mov dword [esp + 0x2b0], esi
call fcn.1001c260
cmp dword [esp + 0x94], 4
jge 0x1001a516
mov edi, dword [esp + 0x20]
jmp 0x100195af
mov dword [esp + 0x1c], 2
jmp 0x1001a4f3
mov dword [esp + 0x1c], 0x80010000
jmp 0x1001a4f3
cmp dword [esp + 0x280], 0x10
jb 0x1001a2fa
mov edx, dword [esp + 0x26c]
push edx
call fcn.101b4654
add esp, 4
mov dword [esp + 0x280], esi
mov dword [esp + 0x27c], ebx
mov byte [esp + 0x26c], bl
jmp 0x1001a4ff
cmp eax, 0x90010005
je 0x1001a326
cmp eax, 0x90010006
jne 0x1001a4d3
push ebx
lea ecx, [esp + 0xf8]
call fcn.101dad50
lea ecx, [esp + 0x1d4]
mov byte [esp + 0x2b0], 0x25
call fcn.101d76a0
push 1
lea ecx, [esp + 0xf8]
push ecx
lea edx, [esp + 0x270]
push edx
mov ecx, eax
mov byte [esp + 0x2bc], 0x26
call fcn.101d9530
test al, al
lea edi, [esp + 0x1d4]
sete byte [esp + 0x1b]
mov byte [esp + 0x2b0], 0x25
call fcn.100194a0
cmp byte [esp + 0x1b], bl
je 0x1001a3b9
cmp dword [esp + 0x280], 0x10
mov eax, dword [esp + 0x26c]
mov dword [esp + 0x1c], 0x80010003
jae 0x1001a3a9
lea eax, [esp + 0x26c]
push eax
push str.tlk_client::activate_license
push str.__s__failed_to_parse_body___s_
jmp 0x1001a4b3
push str.serverToken
lea ecx, [esp + 0xf8]
call fcn.101db040
mov ecx, eax
call fcn.101d9670
test al, al
je 0x1001a488
push str.data
lea ecx, [esp + 0xf8]
call fcn.101db040
mov ecx, eax
call fcn.101d95d0
test al, al
je 0x1001a488
push 0x1025e490
lea ecx, [esp + 0x178]
call fcn.10001cc0
lea eax, [esp + 0xb8]
push eax
push str.serverToken
lea ecx, [esp + 0xfc]
mov byte [esp + 0x2b8], 0x27
call fcn.101db040
mov ecx, eax
call fcn.101da560
lea ecx, [esp + 0xb8]
call fcn.10001d30
lea ecx, [esp + 0x174]
mov byte [esp + 0x2b0], 0x25
call fcn.10001d30
push str.licenseInfo
push str.data
lea ecx, [esp + 0xfc]
call fcn.101db040
mov ecx, eax
call fcn.101db040
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x158]
mov edx, eax
call fcn.1001baf0
mov dword [esp + 0x1c], eax
jmp 0x1001a4bf
cmp dword [esp + 0x280], 0x10
mov eax, dword [esp + 0x26c]
mov dword [esp + 0x1c], 0x80010004
jae 0x1001a4a8
lea eax, [esp + 0x26c]
push eax
push str.tlk_client::activate_license
push str.__s__json_object_is_unexpected___s_
push 2
xor edi, edi
call fcn.1001d3f0
add esp, 0x10
lea ecx, [esp + 0xf4]
mov byte [esp + 0x2b0], 0x22
call fcn.101da8f0
lea ecx, [esp + 0x284]
call fcn.10001d30
lea ecx, [esp + 0x104]
mov byte [esp + 0x2b0], 1
call fcn.101da8f0
lea esi, [esp + 0x264]
call fcn.10019470
lea ecx, [esp + 0x98]
mov dword [esp + 0x2b0], 0xffffffff
call fcn.1001c260
mov edx, dword [esp + 0x150]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0xf0]
mov eax, dword [esp + 0x1c]
cmp ecx, ebx
je 0x1001a539
cmp eax, ebx
jne 0x1001a539
mov eax, ecx
mov ecx, dword [esp + 0x2a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x290]
xor ecx, esp
call fcn.101b40e2
mov esp, ebp
pop ebp
ret 0xc