Function at 0x427893
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
mov ebx, eax
mov eax, dword [0x438af8]
mov esi, 0x438af8
push edi
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
lea edi, [ebp - 0x14]
call fcn.004208bb
lea eax, [ebx + 0x18]
push 0x14
call fcn.00406769
mov eax, dword [0x438af8]
mov ecx, esi
call dword [eax + 0xc]
mov edi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebx + 0x18]
push eax
push 0x15
add edi, 0x10
pop eax
mov dword [ebp - 0x18], edi
call fcn.00406714
lea eax, [edi - 0x10]
call fcn.0040147d
mov edi, dword [ebp - 0x14]
cmp dword [edi - 0xc], 0
je 0x4279b1
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push dword [ebp + 0xc]
push eax
lea eax, [ebx + 0x7c]
push eax
push dword [ebp + 8]
push ebx
call fcn.00428bbf
test al, al
jne 0x427922
or ebx, 0xffffffff
jmp 0x427c89
push edi
call fcn.004029f4
test al, al
pop ecx
jne 0x42799f
mov eax, dword [0x438af8]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
push edi
push 0xf7
lea esi, [ebp + 0xc]
mov dword [ebp + 0xc], eax
call fcn.00409d99
cmp byte [0x438cec], 0
mov esi, dword [ebp + 0xc]
pop ecx
pop ecx
je 0x42798c
mov eax, dword [0x438af8]
mov ecx, 0x438af8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
push esi
lea eax, [ebp + 8]
push eax
call fcn.004063dd
push eax
mov ebx, 0x438cbc
call fcn.00405df0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040147d
push 1
lea eax, [ebp + 0xc]
call fcn.0040c60e
pop ecx
lea eax, [esi - 0x10]
jmp 0x427c05
push dword [ebp + 0xc]
mov edi, ebx
push dword [ebp + 8]
call fcn.0042964c
jmp 0x427c86
push dword [ebp + 0xc]
call fcn.004208f2
test al, al
jne 0x4279db
mov eax, dword [ebx + 0x6c]
test al, 1
je 0x4279d5
mov ecx, eax
shr ecx, 3
test cl, 1
jne 0x4279d5
shr eax, 6
test al, 1
je 0x4279db
mov byte [ebp - 1], 1
jmp 0x4279df
mov byte [ebp - 1], 0
mov eax, dword [0x438af8]
mov ecx, esi
call dword [eax + 0xc]
mov edi, eax
add edi, 0x10
push 0x13
lea esi, [ebx + 0x18]
mov dword [ebp - 0xc], edi
call fcn.0040679b
test eax, eax
je 0x427a0d
add eax, 4
lea edi, [ebp - 0xc]
call fcn.00401bc0
mov edi, dword [ebp - 0xc]
mov eax, dword [0x438af8]
xor esi, esi
mov ecx, 0x438af8
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
call dword [eax + 0xc]
add eax, 0x10
cmp byte [ebp - 1], 0
mov dword [ebp - 0x10], eax
je 0x427aae
mov eax, dword [ebx + 0x6c]
shr eax, 0xc
test al, 1
je 0x427a7e
cmp dword [edi - 0xc], esi
jne 0x427a7e
lea edi, [ebp - 0x60]
call fcn.004019f0
push esi
lea eax, [ebx + 0x160]
call fcn.0042b499
lea edi, [ebp - 0x3c]
call fcn.00401bc0
lea eax, [ebp - 0x60]
push eax
call fcn.00401b5f
cmp byte [ebp - 0x38], 0
jne 0x427a76
lea eax, [ebp - 0x40]
lea edi, [ebp - 0xc]
call fcn.00401bc0
lea esi, [ebp - 0x60]
call fcn.00401a3a
lea eax, [ebp - 0x34]
push eax
lea eax, [ebx + 0x160]
call fcn.0042b5ca
mov esi, eax
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x8d
lea eax, [ebp - 0x10]
push eax
movsd dword es:[edi], dword [esi]
call fcn.0040162d
mov ecx, dword [ebp - 0x28]
push dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x18]
lea eax, [ebx + 0x160]
call fcn.0042b55a
lea edi, [ebx + 0x118]
lea eax, [ebp - 0xc]
call fcn.00401bc0
mov eax, dword [0x438af8]
mov ecx, 0x438af8
call dword [eax + 0xc]
xor edi, edi
push edi
lea ecx, [ebp - 0x28]
add eax, 0x10
push ecx
lea ecx, [ebp - 8]
mov dword [ebp - 8], eax
lea eax, [ebx + 0x28]
push ecx
call fcn.0040f18f
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0xfc]
cmp dword [eax - 0xc], edi
jne 0x427b1d
lea eax, [ebp - 0x1c]
push eax
push edi
push ebx
push 0x427c9d
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea esi, [ebx + 0x1b8]
mov edi, eax
call fcn.004045c6
xor edi, edi
lea esi, [ebx + 0x160]
call fcn.0042b630
cmp dword [ebp - 0x18], edi
je 0x427b90
push 0x438d0c
call fcn.004221d4
pop ecx
lea esi, [ebp + 0xc]
lea eax, [ebx + 0x28]
call fcn.0040f101
push dword [ebp - 0x18]
mov esi, ebx
call fcn.004297b3
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.0040147d
cmp byte [ebx + 0x1ad], 0
jne 0x427b67
mov dword [ebx + 0xac], edi
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040147d
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040147d
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.0040147d
mov ebx, dword [ebp - 0x18]
jmp 0x427c89
push 0x431820
lea eax, [ebp - 0x18]
push eax
push 4
pop esi
mov eax, esi
xor ecx, ecx
lea edi, [ebp - 8]
call fcn.00406cc7
call fcn.004122ff
mov byte [ebp - 1], al
mov eax, dword [ebp - 0x18]
pop ecx
add eax, 0xfffffff0
call fcn.0040147d
cmp byte [ebp - 1], 0
je 0x427bce
mov eax, edi
push eax
mov eax, esi
xor ecx, ecx
call fcn.004062b5
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push dword [ebp + 0xc]
push eax
lea eax, [ebx + 0x7c]
push eax
push dword [ebp + 8]
push ebx
call fcn.00428bbf
test al, al
jne 0x427c0f
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040147d
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040147d
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.0040147d
jmp 0x42791a
push dword [ebp + 0xc]
mov edi, ebx
push dword [ebp + 8]
call fcn.0042964c
test eax, eax
jne 0x427c49
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x427c35
cmp eax, 0x669
je 0x427c35
cmp eax, 0xbc2
jne 0x427c49
mov eax, ebx
call fcn.00427845
test al, al
je 0x427c58
and dword [ebx + 0xac], 0
jmp 0x427c58
cmp byte [ebx + 0x1ad], 0
jne 0x427c58
mov dword [ebx + 0xac], esi
cmp dword [ebx + 0x10], 0x642
jne 0x427c65
or dword [ebx + 0x10], 0xffffffff
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040147d
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040147d
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.0040147d
mov ebx, dword [ebx + 0x10]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040147d
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc