Function at 0x100399a0
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x88
mov eax, dword [esp + 0x8c]
mov edx, dword [eax + 0x10]
mov ecx, dword [eax]
push ebx
mov ebx, dword [eax + 0xc]
push ebp
mov ebp, dword [eax + 8]
mov dword [esp + 0x10], edx
mov edx, dword [eax + 0x20]
push esi
mov esi, dword [eax + 0x28]
push edi
mov edi, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0x24]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x28], ecx
mov ecx, dword [ecx]
add eax, ecx
test edx, edx
mov cl, byte [eax]
mov dword [esp + 0x24], edx
mov byte [esp + 0x17], cl
mov byte [eax], 0x7c
jne 0x10039a1d
mov eax, pe_nt_image_headers32
lea edx, [esp + 0x2c]
push 0x3000
mov dword [esp + 0x14], edx
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], eax
mov word [esp + 0x3c], ax
call fcn.10083e60
add esp, 4
mov dword [esp + 0x2c], eax
jmp 0x10039a41
mov eax, dword [edx]
push eax
mov dword [esp + 0x14], edx
call fcn.10083ec0
mov ecx, dword [esp + 0x28]
mov dword [0x100bbf00], eax
xor eax, eax
add esp, 4
cmp esi, eax
mov dword [ecx + 8], eax
je 0x10039a41
mov dword [esi + 8], eax
push 4
lea edx, [esp + 0x80]
push 0
push edx
call fcn.100974c0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x88]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x78], edx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0xb4]
lea edx, [esp + 0x4c]
push edx
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x78], 0x100b59d0
mov dword [esp + 0x58], esi
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
call fcn.10013980
call fcn.10083fb0
mov dword [0x100bbefc], eax
lea eax, [esp + 0x50]
push eax
call fcn.10003650
call fcn.10083fb0
mov edi, dword [0x100bbefc]
mov esi, dword [0x100b5a10]
mov ebp, dword [esp + 0x24]
sub eax, edi
add esi, eax
mov dword [0x100b5a10], esi
mov ecx, dword [ebp]
push ecx
call fcn.10083ec0
mov dword [0x100bbf00], eax
call fcn.10083fb0
lea edx, [esp + 0x58]
push edx
mov dword [0x100bbefc], eax
call fcn.10040980
call fcn.10083fb0
mov esi, dword [0x100bbefc]
mov edx, dword [0x100b5a14]
sub eax, esi
add edx, eax
mov dword [0x100b5a14], edx
mov eax, dword [ebp]
push eax
call fcn.10083ec0
mov dword [0x100bbf00], eax
call fcn.10083fb0
lea ecx, [esp + 0x60]
push ecx
mov dword [0x100bbefc], eax
call fcn.10040980
call fcn.10083fb0
mov edx, dword [0x100bbefc]
mov ecx, dword [0x100b5a1c]
sub eax, edx
add ecx, eax
mov dword [0x100b5a1c], ecx
mov edx, dword [ebp]
push edx
call fcn.10083ec0
mov dword [0x100bbf00], eax
lea eax, [esp + 0xa4]
push eax
call fcn.100975b0
mov ecx, dword [ebp]
push ecx
call fcn.10083ec0
mov dword [0x100bbf00], eax
call fcn.10083fb0
lea edx, [esp + 0x70]
push edx
mov dword [0x100bbefc], eax
call fcn.10040980
add esp, 0x34
call fcn.10083fb0
mov esi, dword [0x100bbefc]
mov edx, dword [0x100b5a0c]
sub eax, esi
add edx, eax
mov eax, dword [esp + 0x9c]
mov dword [0x100b5a0c], edx
mov eax, dword [eax + 0x24]
xor ebx, ebx
cmp eax, ebx
je 0x10039cf6
mov ecx, dword [eax]
mov edx, dword [eax + 8]
mov dword [esp + 0x3c], ecx
xor ecx, ecx
cmp edx, ebx
mov dword [esp + 0x18], ecx
jle 0x10039cf6
mov eax, dword [esp + 0x3c]
lea edx, [ecx + ecx*2]
shl edx, 4
mov esi, dword [edx + eax + 0x20]
lea edi, [edx + eax]
cmp byte [edi], 3
mov eax, dword [edi + 0x1c]
jne 0x10039cd0
cmp byte [esi], 0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], ebx
je 0x10039cd0
mov ebx, eax
sub ebx, esi
cmp byte [ebx + esi], 0x2e
jne 0x10039c43
inc dword [esp + 0x10]
jmp 0x10039c89
movzx ecx, byte [esi]
push ecx
call fcn.1009d4ef
add esp, 4
test eax, eax
jne 0x10039c65
mov al, byte [esi]
cmp al, 0xe0
jb 0x10039c5d
cmp al, 0xfc
jbe 0x10039c65
cmp al, 0xc0
jb 0x10039c89
cmp al, 0xdc
ja 0x10039c89
movzx edx, byte [esi]
push edx
call fcn.1009d52e
add esp, 4
test eax, eax
jne 0x10039c85
mov al, byte [esi]
cmp al, 0xc0
jb 0x10039c7f
cmp al, 0xdc
jbe 0x10039c85
inc dword [esp + 0x20]
jmp 0x10039c89
inc dword [esp + 0x1c]
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10039c37
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x10039ca9
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x10039cca
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10039cca
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x10039cc4
mov al, byte [edi - 0x30]
cmp al, 1
je 0x10039cbc
cmp al, 2
jne 0x10039cc4
mov al, byte [edi - 0x2f]
mov byte [edi + 1], al
jmp 0x10039cce
mov byte [edi + 1], 0
jmp 0x10039cce
mov ecx, dword [esp + 0x18]
xor ebx, ebx
mov eax, dword [edi + 0x14]
cmp eax, 1
jge 0x10039cdd
mov eax, 1
mov edx, dword [esp + 0x9c]
add ecx, eax
mov eax, dword [edx + 0x24]
cmp ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
jl 0x10039c01
cmp dword [esp + 0x24], ebx
jne 0x10039d19
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x10039d11
push eax
call fcn.10083e90
add esp, 4
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax]
mov al, byte [esp + 0x17]
mov byte [ecx + edx], al
mov ecx, dword [ebp]
push ecx
call fcn.10083ec0
add esp, 4
pop edi
pop esi
pop ebp
mov dword [0x100bbf00], eax
mov eax, 1
pop ebx
add esp, 0x88
ret 0x10