Function at 0x10006d40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x10007112
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10007112
cmp eax, 0x19
jbe 0x10007112
sub eax, 0x19
mov edi, 0
mov dword [ebp + 0xc], eax
mov dword [esp + 0xc], edi
je 0x10007112
mov eax, 0xd
sub eax, ebx
mov dword [esp + 0x14], eax
mov edi, edi
mov esi, dword [sym.imp.MSVCRT.dll_isdigit]
lea eax, [edi + ebx]
mov dword [esp + 0x10], eax
movsx eax, byte [eax]
push eax
call esi
add esp, 4
test eax, eax
je 0x10007104
movsx ecx, byte [ebx + edi + 1]
push ecx
call esi
add esp, 4
test eax, eax
je 0x10007104
movsx edx, byte [ebx + edi + 2]
push edx
call esi
add esp, 4
test eax, eax
je 0x10007104
movsx eax, byte [ebx + edi + 3]
push eax
call esi
add esp, 4
test eax, eax
je 0x10007104
movsx ecx, byte [ebx + edi + 4]
push ecx
call esi
add esp, 4
test eax, eax
je 0x10007104
movsx edx, byte [ebx + edi + 5]
push edx
call esi
add esp, 4
test eax, eax
je 0x10007104
movsx eax, byte [ebx + edi + 6]
push eax
call esi
add esp, 4
test eax, eax
je 0x10007104
movsx ecx, byte [ebx + edi + 7]
push ecx
call esi
add esp, 4
test eax, eax
je 0x10007104
movsx edx, byte [ebx + edi + 8]
push edx
call esi
add esp, 4
test eax, eax
je 0x10007104
movsx eax, byte [ebx + edi + 9]
push eax
call esi
add esp, 4
test eax, eax
je 0x10007104
movsx ecx, byte [ebx + edi + 0xa]
push ecx
call esi
add esp, 4
test eax, eax
je 0x10007104
movsx edx, byte [ebx + edi + 0xb]
push edx
call esi
add esp, 4
test eax, eax
je 0x10007104
movsx eax, byte [ebx + edi + 0xc]
push eax
call esi
add esp, 4
test eax, eax
je 0x10007104
mov edi, dword [esp + 0x14]
add edi, dword [esp + 0x10]
lea ebx, [ebx]
movsx eax, byte [edi + ebx]
push eax
call esi
add esp, 4
test eax, eax
jne 0x10006eb8
cmp byte [edi + ebx], 0x3d
jne 0x10007100
cmp byte [edi + ebx], 0x3d
je 0x10006ec1
inc edi
jmp 0x10006ea0
movsx ecx, byte [edi + ebx + 1]
push ecx
call esi
add esp, 4
test eax, eax
je 0x10007100
movsx edx, byte [ebx + edi + 2]
push edx
call esi
add esp, 4
test eax, eax
je 0x10007100
movsx eax, byte [ebx + edi + 3]
push eax
call esi
add esp, 4
test eax, eax
je 0x10007100
movsx ecx, byte [ebx + edi + 4]
push ecx
call esi
add esp, 4
test eax, eax
je 0x10007100
movsx edx, byte [ebx + edi + 5]
push edx
call esi
add esp, 4
test eax, eax
je 0x10007100
movsx eax, byte [ebx + edi + 6]
push eax
call esi
add esp, 4
test eax, eax
je 0x10007100
movsx ecx, byte [ebx + edi + 7]
push ecx
call esi
add esp, 4
test eax, eax
je 0x10007100
movsx edx, byte [ebx + edi + 8]
push edx
call esi
add esp, 4
test eax, eax
je 0x10007100
movsx eax, byte [ebx + edi + 9]
push eax
call esi
add esp, 4
test eax, eax
je 0x10007100
movsx ecx, byte [ebx + edi + 0xa]
push ecx
call esi
add esp, 4
test eax, eax
je 0x10007100
movsx edx, byte [ebx + edi + 0xb]
push edx
call esi
add esp, 4
test eax, eax
je 0x10007100
movsx eax, byte [ebx + edi + 0xc]
push eax
call esi
add esp, 4
test eax, eax
je 0x10007100
movsx ecx, byte [ebx + edi + 0xd]
push ecx
call esi
add esp, 4
test eax, eax
je 0x10007100
lea esi, [edi + 1]
sub esi, dword [esp + 0xc]
lea edx, [esp + 0x28]
push esi
push 0
push edx
call sub.MSVCRT.dll_memset
mov eax, dword [esp + 0x1c]
add esp, 0xc
dec esi
push esi
push eax
lea ecx, [esp + 0x30]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea esi, [esp + 0x28]
call fcn.1001aa50
test eax, eax
je 0x10007100
mov dx, word [edi + ebx + 1]
xor eax, eax
mov word [esp + 0x28], ax
mov byte [esp + 0x2a], al
mov eax, esi
push eax
mov word [esp + 0x2c], dx
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
lea ecx, [esp + 0x18]
push ecx
lea esi, [eax + 0x7d0]
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx edx, word [esp + 0x18]
cmp esi, edx
jl 0x10007100
xor eax, eax
mov cl, byte [eax + 0x10059d68]
mov byte [esp + eax + 0x130], cl
inc eax
test cl, cl
jne 0x10007032
push 0x1005d5ac
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x1005d5ac
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10007056
lea edi, [esp + 0x130]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10007067
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x130]
rep movsb byte es:[edi], byte [esi]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10007085
mov ecx, dword [str.data.txt]
mov edx, dword [0x10046210]
mov dword [eax], ecx
mov cl, byte [0x10046214]
mov dword [eax + 4], edx
lea esi, [esp + 0x130]
mov byte [eax + 8], cl
call fcn.10007740
mov edx, dword [ebp + 0xc]
push edx
push ebx
mov eax, esi
call fcn.10007140
push 0
push 0
push 0
push 0x10006d10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x10007100
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x10007100
test byte [esp + 0x10], 2
jne 0x10007100
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0xc]
inc edi
mov dword [esp + 0xc], edi
cmp edi, dword [ebp + 0xc]
jb 0x10006d90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8