Function at 0x1000fa40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d75f8
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x10117d48]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x84], ecx
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.100ad390
add esp, 0xc
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], edx
mov dword [ebp - 4], 0
movzx eax, byte [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x8c]
call fcn.100030a0
push eax
push str.CStatisticsInfo::ExecuteUpload_v_json:_s__b_useThread
call fcn.100b1bb0
push eax
call fcn.100b2600
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10003050
mov ecx, dword [ebp - 0x84]
add ecx, 0x148
call fcn.10002d60
movzx ecx, al
test ecx, ecx
je 0x1000faee
xor eax, eax
jmp 0x1000fd34
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x4c]
call fcn.10001740
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x84]
movzx ecx, byte [eax + 0x2bc]
test ecx, ecx
jne 0x1000fb25
push str.CStatisticsInfo::ExecuteUpload_
call fcn.100b1bb0
push eax
call fcn.100b2600
add esp, 8
mov dword [ebp - 0x30], 0
movzx edx, byte [ebp + 0xc]
test edx, edx
je 0x1000fc32
push 0x24
call fcn.1008f195
add esp, 4
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x1000fb5b
mov ecx, dword [ebp - 0x78]
call fcn.1000fd50
mov dword [ebp - 0x90], eax
jmp 0x1000fb65
mov dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x84]
mov dword [edx + 0x20], eax
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x50]
add ecx, 4
call fcn.10002070
mov edx, dword [ebp - 0x50]
mov al, byte [ebp + 0x10]
mov byte [edx], al
push 0
push 0
mov ecx, dword [ebp - 0x50]
push ecx
push 0x1000fd70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x1000fbf5
push 3
push 0xffffffffffffffff
lea edx, [ebp - 0x6c]
push edx
call fcn.100af510
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.100030a0
push eax
push str.CStatisticsInfo::ExecuteUpload__beginthread_ExeUploadProc__failed__s
call fcn.100b1bb0
push eax
call fcn.100b2600
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
call fcn.10003050
jmp 0x1000fc2d
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x20]
add ecx, 0x84
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x84]
add ecx, 4
call fcn.10017450
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x20]
add ecx, 0x84
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1000fd09
mov dword [ebp - 0x70], 0
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x1000fc94
mov eax, dword [ebp - 0x84]
movzx ecx, byte [eax + 0x9c]
test ecx, ecx
jne 0x1000fc94
mov ecx, dword [ebp - 0x84]
call fcn.1000ace0
mov edx, dword [ebp - 0x84]
mov byte [edx + 0x9c], al
mov eax, dword [ebp - 0x70]
add eax, 1
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp - 0x70]
cmp edx, dword [ecx + 0xa0]
jge 0x1000fc94
mov eax, dword [ebp - 0x84]
movzx ecx, byte [eax + 0x9c]
test ecx, ecx
je 0x1000fc52
push 0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x7c], esp
mov edx, dword [ebp + 8]
push edx
call fcn.10001740
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x84]
call fcn.1000d5f0
mov byte [ebp - 0x95], al
movzx eax, byte [ebp - 0x95]
cmp eax, 1
jne 0x1000fd09
mov ecx, dword [ebp - 0x84]
add ecx, 0x6c
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp - 0x84]
mov edx, dword [ecx + 0x50]
push edx
mov ecx, dword [ebp - 0x84]
call fcn.1000e840
mov eax, dword [ebp - 0x84]
add eax, 0x6c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push str.Leave_CStatisticsInfo::ExecuteUpload
call fcn.100b1bb0
push eax
call fcn.100b2600
add esp, 8
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.100018b0
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008efb4
mov esp, ebp
pop ebp
ret 0xc