Function at 0x10003e50
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xec
mov eax, dword [0x10415990]
xor eax, esp
mov dword [esp + 0xe8], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x14]
xor edx, edx
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], 0x3a98
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0x102f20cc
mov dword [esp + 0x10], edx
cmp dword [0x1045a8c4], edx
jne 0x10003ecd
cmp ecx, edx
je 0x10003eb4
mov dword [ecx], 0x2794
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.1015eea7
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [0x1045b8f0]
push esi
push ebx
push eax
mov eax, dword [0x1045a8c0]
push edi
push str.MSPUploadData__x__x__d__x____in_
push 0x76a
push str......._source_appmsc_luacmsp_cmn.c
push eax
push 2
push ecx
call fcn.10062060
add esp, 0x28
test edi, edi
je 0x100040f3
cmp dword [esp + 0x1c], 0
je 0x100040f3
test ebx, ebx
je 0x100040f3
test esi, esi
je 0x10003f61
push 0x10295304
push 0x2c
push 0x3d
push esi
call fcn.10061670
push 0x10373214
push 0x2c
push 0x3d
push esi
mov dword [esp + 0x4c], eax
call fcn.10061670
mov edi, eax
add esp, 0x20
test edi, edi
je 0x10003f59
push edi
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
push edi
mov dword [esp + 0x24], eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
mov edi, dword [esp + 0x2c]
test edi, edi
jne 0x10003f81
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.legacyuup__x
lea edx, [esp + 0x78]
push 0x80
push edx
call fcn.1005f880
add esp, 0x10
jmp 0x10003faa
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
push str.legacyuup__s__x
lea eax, [esp + 0x7c]
push 0x80
push eax
call fcn.1005f880
add esp, 0x14
push edi
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
push 0
lea ecx, [esp + 0x14]
push ecx
push 1
lea edx, [esp + 0x7c]
push edx
push str.legacyuup
call fcn.1005bf70
mov edi, eax
add esp, 0x14
test edi, edi
je 0x100040fa
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10004009
mov ebx, 0x2791
mov eax, edi
call fcn.1005c5b0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100040fe
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100040fe
push eax
push 0
push 0x10003df0
push str.legacyUUPCb
mov eax, edi
call fcn.1005ca70
mov eax, dword [0x1045a8e0]
add esp, 0x10
test eax, eax
je 0x1000403f
push eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
xor eax, eax
mov dword [0x1045a8e0], eax
mov dword [0x1045a8e4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], 0
test ebx, ebx
je 0x10004097
push ebx
call fcn.100600c0
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x10004097
mov ecx, dword [esp + 0x1c]
push ebx
push ecx
push eax
call fcn.10060290
mov edx, dword [esp + 0x20]
add esp, 0xc
push edx
lea eax, [esp + 0x4c]
push 4
push eax
mov dword [esp + 0x4c], 7
call fcn.10066d70
add esp, 0xc
lea ecx, [esp + 0x30]
push ecx
push 3
push 1
push edi
mov dword [esp + 0x60], 4
mov dword [esp + 0x68], esi
call fcn.1005c740
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x10003fea
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
push edx
push ebx
call fcn.10062660
mov esi, eax
mov eax, edi
call fcn.1005c5b0
push ebx
call fcn.100625d0
add esp, 0xc
test esi, esi
jne 0x100040ec
mov ebx, dword [0x1045a8e8]
jmp 0x100040fe
mov ebx, 0x2782
jmp 0x100040fe
mov ebx, 0x277a
jmp 0x100040fe
mov ebx, dword [esp + 0x10]
mov eax, dword [0x1045a8e0]
test eax, eax
je 0x1000410b
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x14]
test esi, esi
je 0x10004137
dec dword [esi + 4]
cmp dword [esi + 4], 0
jne 0x10004137
mov eax, dword [esi + 8]
test eax, eax
je 0x1000412d
push eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
push esi
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10004141
mov dword [eax], ebx
mov eax, dword [0x1045a8c0]
mov ecx, dword [0x1045b8f0]
push 0
push 0
push 0
push ebx
push str.MSPUploadData____out___d
push 0x7bc
push str......._source_appmsc_luacmsp_cmn.c
push eax
push 2
push ecx
call fcn.10062060
mov ecx, dword [esp + 0x11c]
mov eax, dword [esp + 0x40]
add esp, 0x28
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1015eea7
mov esp, ebp
pop ebp
ret 0x14