Function at 0x424049
Capabilities:
Create thread

Disassembly:
push 0x6c
mov eax, 0x459b22
call fcn.00438c9e
mov esi, ecx
mov eax, dword [ebp + 0xc]
lea edi, [esi + 0x18]
mov ecx, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
test eax, eax
jne 0x42406f
mov eax, 0x40108c
push eax
mov ecx, edi
call fcn.00414f74
and dword [esi + 0x14], 0
lea eax, [ebp - 0x74]
push ebx
push eax
mov ecx, esi
mov word [esi + 9], 0x100
mov dword [esi + 0x10], 1
call fcn.00424570
and dword [ebp - 4], 0
lea ecx, [esi + 0x48]
cmp dword [ebp - 0x64], 0
je 0x4240ac
lea eax, [ebp - 0x74]
push eax
call fcn.00413b30
jmp 0x4240b2
push ebx
call fcn.00414f74
xor ebx, ebx
cmp dword [esi + 0x28], ebx
je 0x424248
cmp dword [edi + 0x14], 8
jb 0x4240c5
mov edi, dword [edi]
push 0
push dword [ebp - 0x14]
lea ebx, [esi + 0x30]
push edi
push 0
push ebx
call fcn.00436a70
xor eax, eax
lea edi, [ebp - 0x5c]
stosd dword es:[edi], eax
add esp, 0x14
xor ecx, ecx
stosd dword es:[edi], eax
push 7
pop edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], edx
mov word [ebp - 0x5c], ax
lea edi, [ebp - 0x44]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], edx
mov word [ebp - 0x44], ax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
mov word [ebp - 0x2c], ax
push 8
pop edi
mov byte [ebp - 4], 3
cmp dword [ebx + 0x14], edi
jb 0x424127
mov ebx, dword [ebx]
push ecx
push ecx
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
push ebx
call fcn.004370f8
add esp, 0x14
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x30], edi
jb 0x424145
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], edi
jb 0x424150
mov eax, dword [ebp - 0x5c]
xor ebx, ebx
push ebx
push ebx
push ecx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00436a70
add esp, 0x14
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jb 0x42416d
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00434bd0
mov eax, dword [ebp - 0x18]
pop ecx
cmp eax, edi
jb 0x4241b0
mov ecx, dword [ebp - 0x2c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x14], ecx
cmp eax, 0x1000
jb 0x4241a7
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00414eaa
mov eax, dword [ebp - 0x78]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call fcn.00438c1d
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], 7
cmp eax, edi
jb 0x4241fc
mov ecx, dword [ebp - 0x44]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x78], ecx
cmp eax, 0x1000
jb 0x4241f3
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00414eaa
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x78]
push eax
push ecx
call fcn.00438c1d
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x34], ebx
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], 7
cmp eax, edi
jb 0x424248
mov ecx, dword [ebp - 0x5c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x78], ecx
cmp eax, 0x1000
jb 0x42423f
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00414eaa
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x78]
push eax
push ecx
call fcn.00438c1d
pop ecx
pop ecx
lea eax, [esi + 0x60]
push eax
push ebx
push esi
push 0x4243fe
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [ebp - 0x74]
mov dword [esi + 0x64], eax
call fcn.00414f1b
call fcn.00438c4d
ret 0xc