Function at 0x100473b0
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x1f0
lea eax, [ebp - 0x2a8]
push 0
push eax
mov dword [ebp - 0x2ac], 0xffff6059
call sub.MSVCR100.dll_memset
mov esi, dword [0x361f6dc]
add esp, 0xc
test esi, esi
je 0x100479e1
fld dword [esi + 0x1f6c]
push ebx
push edi
call fcn.10085e30
fld dword [esi + 0x1f64]
lea ecx, [ebp - 0x38]
push 0xa
push ecx
mov edi, eax
call fcn.10085e30
mov esi, dword [sym.imp.MSVCR100D.dll__itoa]
push eax
call esi
push 0xa
lea edx, [ebp - 0x44]
push edx
push edi
call esi
mov eax, 0x33cbd50
add esp, 0x18
mov ecx, eax
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10047430
lea edi, [ebp - 0x2ac]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10047442
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x2ac]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10047460
mov bx, word [0x10097d50]
lea eax, [ebp - 0x38]
mov word [edi], bx
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10047477
lea edi, [ebp - 0x2ac]
sub eax, ecx
mov esi, ecx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10047490
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x2ac]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100474b0
mov ax, word [0x10097d4c]
mov word [edi], ax
lea eax, [ebp - 0x44]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100474c6
lea edi, [ebp - 0x2ac]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x100474d6
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x2ac]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100474f5
push 0xa
lea ecx, [ebp - 0x50]
mov word [edi], bx
mov edx, dword [0x35ec500]
push ecx
push edx
call dword [sym.imp.MSVCR100D.dll__itoa]
lea eax, [ebp - 0x50]
add esp, 0xc
mov ecx, eax
jmp 0x10047520
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10047520
lea edi, [ebp - 0x2ac]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10047532
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x2ac]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10047550
mov ax, word [0x10097d50]
mov word [edi], ax
mov ecx, dword [0x35f3958]
inc ecx
push ecx
push 0x35f34e8
lea edx, [ebp - 0x2e0]
push 0x1009ee0c
push edx
call dword [sym.imp.MSVCR100.dll_sprintf]
lea eax, [ebp - 0x2e0]
add esp, 0x10
mov ecx, eax
jmp 0x10047590
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10047590
lea edi, [ebp - 0x2ac]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x100475a2
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x2ac]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100475c0
mov ax, word [0x10097d50]
mov word [edi], ax
mov eax, dword [0x35f545c]
add eax, 0x53c
mov dword [ebp - 0x34c], eax
mov dword [ebp - 0x348], 8
jmp 0x100475f0
mov esi, dword [eax]
test esi, esi
je 0x1004788d
lea ecx, [ebp - 0x84]
push ecx
push esi
call fcn.1001a8d0
mov eax, dword [esi + 0xd6c]
mov ecx, dword [esi + 0xd68]
push 0xa
lea edx, [ebp - 0xb8]
push edx
push eax
push ecx
call dword [sym.imp.MSVCR100.dll__i64toa]
mov edx, dword [esi + 0xd54]
add esp, 0x18
cmp edx, 5
ja 0x10047803
movzx ecx, byte [esi + 0xb0]
movzx ebx, byte [esi + 0xb4]
movzx edi, byte [esi + 0xac]
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
test ecx, ecx
jne 0x10047677
test edx, edx
je 0x10047803
cmp edi, 1
jne 0x1004768a
mov dx, word [0x1009ee08]
mov al, byte [0x1009ee0a]
jmp 0x100476a9
cmp edi, 2
jne 0x1004769d
mov dx, word [0x1009ee04]
mov al, byte [0x1009ee06]
jmp 0x100476a9
mov dx, word [0x1009b258]
mov al, byte [0x1009b25a]
mov word [ebp - 0x2c], dx
mov byte [ebp - 0x2a], al
cmp ecx, 1
jne 0x100476ce
mov cx, word [0x10095590]
mov dl, byte [0x10095592]
mov word [ebp - 0x18], cx
mov byte [ebp - 0x16], dl
jmp 0x100477ca
cmp ecx, 2
jne 0x100476e4
mov ax, word [0x1009558c]
mov cl, byte [0x1009558e]
jmp 0x100477c3
cmp ecx, 3
jne 0x10047701
mov dx, word [0x10095588]
mov al, byte [0x1009558a]
mov word [ebp - 0x18], dx
mov byte [ebp - 0x16], al
jmp 0x100477ca
cmp ecx, 4
jne 0x1004771f
mov cx, word [0x10095584]
mov dl, byte [0x10095586]
mov word [ebp - 0x18], cx
mov byte [ebp - 0x16], dl
jmp 0x100477ca
cmp ecx, 5
jne 0x10047735
mov ax, word [0x10095580]
mov cl, byte [0x10095582]
jmp 0x100477c3
cmp ecx, 0xb
jne 0x1004774f
mov dx, word [0x1009557c]
mov al, byte [0x1009557e]
mov word [ebp - 0x18], dx
mov byte [ebp - 0x16], al
jmp 0x100477ca
cmp ecx, 0xc
jne 0x1004776a
mov cx, word [0x1009ee00]
mov dl, byte [0x1009ee02]
mov word [ebp - 0x18], cx
mov byte [ebp - 0x16], dl
jmp 0x100477ca
cmp ecx, 0xd
jne 0x1004777d
mov ax, word [0x10095574]
mov cl, byte [0x10095576]
jmp 0x100477c3
cmp ecx, 0xe
jne 0x10047797
mov dx, word [0x10095570]
mov al, byte [0x10095572]
mov word [ebp - 0x18], dx
mov byte [ebp - 0x16], al
jmp 0x100477ca
cmp ecx, 0x10
jne 0x100477b2
mov cx, word [0x1009556c]
mov dl, byte [0x1009556e]
mov word [ebp - 0x18], cx
mov byte [ebp - 0x16], dl
jmp 0x100477ca
cmp ecx, 0x11
jne 0x100477ca
mov ax, word [0x10095568]
mov cl, byte [0x1009556a]
mov byte [ebp - 0x16], cl
mov word [ebp - 0x18], ax
mov ecx, dword [esi + 0xd4c]
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0xb8]
push eax
push ecx
add esi, 0x64
push esi
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x2c]
push eax
push ebx
lea ecx, [ebp - 0x344]
push str.__d_s_s__s
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x24
jmp 0x1004785d
cmp edx, 9
jne 0x1004782f
mov ecx, dword [esi + 0xd4c]
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0xb8]
push eax
push ecx
add esi, 0x64
push esi
push 0x1009edd4
lea edx, [ebp - 0x344]
push edx
jmp 0x10047854
mov edx, dword [esi + 0xd4c]
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0xb8]
push ecx
push edx
add esi, 0x64
push esi
push 0x1009edc4
lea eax, [ebp - 0x344]
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x18
lea eax, [ebp - 0x344]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10047865
lea edi, [ebp - 0x2ac]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10047875
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x34c]
add eax, 4
dec dword [ebp - 0x348]
mov dword [ebp - 0x34c], eax
jne 0x100475f0
lea eax, [ebp - 0x2a8]
xor ecx, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100478b3
sub eax, esi
mov dword [ebp - 0x348], eax
je 0x100478ef
jmp 0x100478d0
xor byte [ebp + ecx - 0x2a8], 0xf
lea eax, [ebp - 0x2a8]
inc ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100478e2
sub eax, esi
cmp ecx, eax
jb 0x100478d0
lea eax, [ebp - 0x2a8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100478f8
sub eax, edx
mov word [ebp - 0x2aa], ax
lea ecx, [ebp - 0x2a8]
mov eax, 0x1012d574
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10047933
test dl, dl
je 0x1004792f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10047933
add eax, 2
add ecx, 2
test dl, dl
jne 0x10047913
xor eax, eax
jmp 0x10047938
sbb eax, eax
sbb eax, 0xffffffff
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
test eax, eax
jne 0x10047955
call esi
sub eax, dword [0x101b8cd4]
cmp eax, 0x6ddd00
jbe 0x100479df
mov eax, 0x1012d570
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10047960
sub eax, edx
je 0x100479a2
mov eax, 0x1012d574
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10047973
sub eax, edx
mov bl, 0x2b
cmp byte [eax + 0x1012d573], bl
jne 0x100479a2
lea eax, [ebp - 0x2a8]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10047990
sub eax, edx
cmp byte [ebp + eax - 0x2a9], bl
je 0x100479df
push 0x1f4
lea ecx, [ebp - 0x2ac]
push ecx
push 0x1012d570
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
push 0
push 0
push 0
push 0x10047380
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov dword [0x101b8cd4], eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10085dc6
mov esp, ebp
pop ebp
ret