Function at 0x1001e110
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x10004ec8]
push ebx
push esi
push edi
test eax, eax
je 0x1001e662
mov eax, dword [0x1003563c]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push eax
mov dword [0x10004ec8], 0
call ebx
test eax, eax
jne 0x1001e662
mov ecx, dword [0x1003563c]
push 4
mov esi, dword [ecx]
push esi
call ebx
test eax, eax
jne 0x1001e662
mov edi, dword [esi]
push 4
push edi
call ebx
test eax, eax
jne 0x1001e662
mov esi, dword [edi + 4]
mov edx, dword [edi + 8]
mov edi, dword [edi + 0xc]
push 0x100
push esi
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
call ebx
test eax, eax
jne 0x1001e662
mov eax, dword [ebp - 0xc]
push 0x100
push eax
call ebx
test eax, eax
jne 0x1001e662
push 0x100
push edi
call ebx
test eax, eax
jne 0x1001e662
mov dl, byte [0x10029be0]
mov ecx, 0x1f
lea edi, [ebp - 0x113]
mov byte [ebp - 0x114], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0x193]
mov byte [ebp - 0x194], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0x93]
mov byte [ebp - 0x94], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
add esi, 0x3c
mov dword [ebp - 4], 0
stosb byte es:[edi], al
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], esi
mov edi, dword [esi]
push 0xc
push edi
call ebx
test eax, eax
jne 0x1001e24d
mov esi, dword [edi + 4]
push 4
push esi
call ebx
test eax, eax
jne 0x1001e24d
mov ecx, dword [edi]
mov edx, dword [0x100355dc]
xor ecx, edx
push 4
lea esi, [esi + ecx*4]
push esi
call ebx
test eax, eax
jne 0x1001e24d
mov eax, dword [edi + 8]
mov ecx, dword [esi]
mov edx, dword [ebp - 4]
xor eax, ecx
mov byte [ebp + edx - 0x114], al
je 0x1001e266
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 8]
inc eax
add esi, 4
cmp eax, 0x80
mov dword [ebp - 4], eax
mov dword [ebp - 8], esi
jl 0x1001e20d
jmp 0x1001e2a8
cmp dword [ebp - 4], 0x80
jge 0x1001e2a8
lea edi, [ebp - 0x114]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 3
jbe 0x1001e2a8
lea edi, [ebp - 0x114]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x10034fb8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 0
add ecx, 0x3c
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push 0xc
mov esi, dword [edx]
push esi
call ebx
test eax, eax
jne 0x1001e2fb
mov edi, dword [esi + 4]
push 4
push edi
call ebx
test eax, eax
jne 0x1001e2fb
mov eax, dword [esi]
mov ecx, dword [0x100355dc]
xor eax, ecx
push 4
lea edi, [edi + eax*4]
push edi
call ebx
test eax, eax
jne 0x1001e2fb
mov eax, dword [esi + 8]
mov ecx, dword [edi]
xor eax, ecx
mov ecx, dword [ebp - 4]
mov byte [ebp + ecx - 0x94], al
je 0x1001e317
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
inc eax
add edx, 4
cmp eax, 0x80
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
jl 0x1001e2b8
jmp 0x1001e3b8
cmp dword [ebp - 4], 0x80
jge 0x1001e3b8
lea edi, [ebp - 0x94]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 8
jne 0x1001e3b8
mov edx, 1
xor ecx, ecx
mov dword [0x10035590], edx
mov al, byte [ebp + ecx - 0x94]
cmp al, 0x30
jl 0x1001e355
cmp al, 0x39
jle 0x1001e357
xor edx, edx
inc ecx
cmp ecx, 8
jl 0x1001e346
test edx, edx
mov dword [0x10035590], edx
je 0x1001e399
lea edi, [ebp - 0x94]
or ecx, 0xffffffff
xor eax, eax
mov dword [0x100355a4], 1
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x100350b8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x1001e3a0
mov byte [0x100350b8], 0
push 0
push 0
push 0
push 0x1001ec70
push 0x400
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], 0
add eax, 0x3c
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov esi, dword [eax]
push 0xc
push esi
call ebx
test eax, eax
jne 0x1001e40b
mov edi, dword [esi + 4]
push 4
push edi
call ebx
test eax, eax
jne 0x1001e40b
mov ecx, dword [esi]
mov edx, dword [0x100355dc]
xor ecx, edx
push 4
lea edi, [edi + ecx*4]
push edi
call ebx
test eax, eax
jne 0x1001e40b
mov eax, dword [esi + 8]
mov ecx, dword [edi]
mov edx, dword [ebp - 4]
xor eax, ecx
mov byte [ebp + edx - 0x194], al
je 0x1001e428
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
inc ecx
add eax, 4
cmp ecx, 0x80
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], eax
jl 0x1001e3cb
jmp 0x1001e4d9
cmp dword [ebp - 4], 0x80
jge 0x1001e4d9
lea edi, [ebp - 0x194]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 3
jbe 0x1001e4d9
lea edi, [ebp - 0x194]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [0x100355a0], 1
mov eax, ecx
mov esi, edi
mov edi, 0x10035038
mov dword [0x100355c0], 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call esi
call esi
cmp dword [0x100355d0], eax
je 0x1001e4d9
mov eax, dword [0x100355bc]
test eax, eax
jne 0x1001e4d9
mov al, byte [0x10034fb8]
test al, al
je 0x1001e4d9
mov al, byte [0x10035038]
test al, al
je 0x1001e4d9
push 0x10034d14
push 0
push 0
push 0x10034c10
push 0x10034b0c
mov byte [0x10034b0c], 0
mov byte [0x10034c10], 0
call fcn.1001ac70
mov al, byte [0x10034e18]
test al, al
je 0x1001e4ef
mov al, byte [0x10034e98]
test al, al
jne 0x1001e577
mov eax, dword [0x100355ac]
test eax, eax
je 0x1001e524
mov edi, 0x10005874
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x10034e18
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x10005868
jmp 0x1001e557
mov eax, dword [0x100355b0]
test eax, eax
je 0x1001e577
mov edi, 0x10005860
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x10034e18
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x10005854
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x10034e98
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x100355a8]
test eax, eax
je 0x1001e662
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push 0xc
mov esi, dword [edx]
push esi
call ebx
test eax, eax
jne 0x1001e5dc
mov edi, dword [esi + 4]
push 4
push edi
call ebx
test eax, eax
jne 0x1001e5dc
mov eax, dword [esi]
mov ecx, dword [0x100355dc]
xor eax, ecx
push 4
lea edi, [edi + eax*4]
push edi
call ebx
test eax, eax
jne 0x1001e5dc
mov eax, dword [ebp - 4]
mov edx, dword [edi]
movsx ecx, byte [eax + 0x10034e18]
xor ecx, edx
mov dword [esi + 8], ecx
mov cl, byte [eax + 0x10034e18]
test cl, cl
je 0x1001e5f3
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
inc eax
add edx, 4
cmp eax, 0x80
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
jl 0x1001e591
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 0
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push 0xc
mov esi, dword [eax]
push esi
call ebx
test eax, eax
jne 0x1001e64b
mov edi, dword [esi + 4]
push 4
push edi
call ebx
test eax, eax
jne 0x1001e64b
mov ecx, dword [esi]
mov edx, dword [0x100355dc]
xor ecx, edx
push 4
lea edi, [edi + ecx*4]
push edi
call ebx
test eax, eax
jne 0x1001e64b
mov eax, dword [ebp - 4]
mov ecx, dword [edi]
movsx edx, byte [eax + 0x10034e98]
xor edx, ecx
mov dword [esi + 8], edx
mov cl, byte [eax + 0x10034e98]
test cl, cl
je 0x1001e662
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
inc eax
add edx, 4
cmp eax, 0x80
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
jl 0x1001e600
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4