Function at 0x456df0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51ad12
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x56f790]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
test esi, esi
jne 0x456e37
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebx + 0x10]
lea ecx, [ebx + 0x10]
mov dword [ebp - 0x24], ecx
call dword [eax + 4]
cmp dword [ebx + 4], 0
mov dword [ebp - 4], 0
je 0x456ff3
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
push dword [ebp + 0xc]
push esi
push 0
push 0
call fcn.004d6ad4
add esp, 0x18
mov dword [ebp + 0xc], eax
test eax, eax
je 0x456ff3
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x456e8e
push eax
push dword [ebp - 0x10]
mov ecx, ebx
call fcn.00456d60
mov eax, dword [ebx + 8]
add ebx, 8
mov dword [ebp - 0x18], 0
mov esi, dword [eax]
mov dword [ebp - 0x14], esi
cmp esi, eax
je 0x456f17
mov edi, dword [esi + 0x14]
test edi, edi
jne 0x456ec8
lea ecx, [ebp - 0x14]
call fcn.00456a20
push esi
mov ecx, ebx
call fcn.004572b0
push 0x18
push eax
call fcn.004ac0a8
add esp, 8
jmp 0x456f10
lea eax, [ebp - 0x18]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x456f08
cmp dword [ebp - 0x18], 0x103
je 0x456f08
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
mov ecx, edi
call fcn.00456c40
lea ecx, [ebp - 0x14]
call fcn.00456a20
push esi
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.00456870
jmp 0x456f10
lea ecx, [ebp - 0x14]
call fcn.00456a20
mov esi, dword [ebp - 0x14]
cmp esi, dword [ebx]
jne 0x456ea4
push 0x24
call fcn.00428200
mov edi, eax
add esp, 4
mov dword [ebp - 0x28], edi
test edi, edi
je 0x456f7a
lea ecx, [edi + 4]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x18]
mov dword [edi], eax
mov eax, dword [ebp + 0x14]
mov byte [ebp - 4], 3
mov dword [edi + 0x1c], eax
test esi, esi
je 0x456f71
mov edx, esi
lea eax, [edx + 1]
mov dword [ebp + 0x18], eax
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x456f60
sub edx, dword [ebp + 0x18]
push edx
push esi
call fcn.0043ea70
mov dword [edi + 0x20], 0
jmp 0x456f7c
xor edi, edi
mov byte [ebp - 4], 0
test edi, edi
je 0x456fe2
mov edx, dword [ebx]
mov esi, edx
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x456fb1
mov ecx, dword [ebp - 0x10]
cmp dword [eax + 0x10], ecx
jae 0x456f9e
mov eax, dword [eax + 8]
jmp 0x456fa2
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x456f94
cmp esi, edx
je 0x456fb1
cmp ecx, dword [esi + 0x10]
jae 0x456fdf
lea eax, [ebp - 0x10]
mov ecx, ebx
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0xb]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x537684
call fcn.004563a0
push eax
add eax, 0x10
mov ecx, ebx
push eax
push esi
lea eax, [ebp - 0x20]
push eax
call fcn.00456530
mov esi, dword [ebp - 0x20]
mov dword [esi + 0x14], edi
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x456fee
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
mov ebx, dword [ebp + 0xc]
jmp 0x456ff5
xor ebx, ebx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 4], 5
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14