Function at 0x10004442
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.10005738
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x100092ee
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp + 0x18]
push eax
call fcn.10004779
mov dword [ebp - 0x18], eax
push 0x80000301
push 0
push 0x78
push 0x80000301
push 0
push dword [ebp - 0x18]
push 2
mov ebx, 0x910
call fcn.100067c0
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100044cd
push ebx
call fcn.1000573e
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
mov ebx, eax
mov ecx, 1
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0x71
jg 0x100045d3
mov ebx, dword [ebp - 4]
call fcn.10001c16
push ebx
push ecx
fild dword [ebp - 8]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x1000a1a7]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.10002f86
dec eax
jns 0x1000451c
push 4
call fcn.1000572c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1000452f
push 1
call fcn.1000572c
add esp, 4
add ebx, eax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
cmp byte [ebx], 1
jne 0x100045c4
push 1
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call fcn.10004793
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0xc]
push eax
push 4
mov eax, 2
call fcn.10005970
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ebx
call fcn.10001c16
mov dword [ebp - 0x24], ecx
mov edi, dword [ebp - 0x20]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x10004594
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x24]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x20]
call fcn.10005744
add esp, 8
mov dword [ebp - 0xc], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x24]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x1c]
mov dword [edi], eax
jmp 0x100045c9
jmp 0x100045d3
pop ebx
pop ecx
add ecx, 8
jmp 0x100044db
add esp, 8
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push 1
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x14]
call fcn.10004953
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call fcn.10003fee
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1000462a
push ebx
call fcn.1000573e
add esp, 4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x10004644
mov eax, 0
jmp 0x10004755
mov dword [ebp - 0x18], esp
mov eax, 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push dword [ebp - 0x10]
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateRemoteThread]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10004689
push 6
call fcn.1000572c
add esp, 4
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
push 0xffffffff
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x100046b7
push 6
call fcn.1000572c
add esp, 4
mov dword [ebp - 0x18], esp
lea eax, [ebp - 0x14]
push eax
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call dword [sym.imp.KERNEL32.DLL_GetExitCodeThread]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x100046df
push 6
call fcn.1000572c
add esp, 4
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.100040cd
cmp dword [ebp + 0x10], 0
jne 0x1000471f
mov ebx, dword [ebp + 0xc]
cmp dword [ebx], 0
je 0x1000471f
mov eax, 1
jmp 0x10004721
xor eax, eax
test eax, eax
je 0x1000474d
mov dword [ebp - 0x18], esp
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x1000474d
push 6
call fcn.1000572c
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x10004755
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10004766
push ebx
call fcn.1000573e
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.1000573e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x88