Function at 0x44f790
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4532b4
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
push esi
push edi
mov eax, dword [0x45f008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0xb0]
mov byte [eax], 0
call fcn.004083a0
lea eax, [ebp - 0xac]
mov dword [ebp - 4], 0
mov dword [ebp - 0xb0], esi
mov edx, 2
cmp edi, eax
je 0x44f850
mov esi, dword [edi + 4]
cmp esi, dword [ebp - 0xa4]
jbe 0x44f82c
xor ecx, ecx
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004213b4
add esp, 4
mov ebx, eax
push dword [ebp - 0xac]
call fcn.00421279
add esp, 4
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa4], esi
jmp 0x44f832
mov ebx, dword [ebp - 0xac]
lea eax, [esi*2 + 2]
mov dword [ebp - 0xa8], esi
push eax
push dword [edi]
push ebx
call fcn.0042e540
add esp, 0xc
mov edx, 2
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xa0]
cmp edi, eax
je 0x44f8bc
mov esi, dword [edi + 4]
cmp esi, dword [ebp - 0x98]
jbe 0x44f89d
xor ecx, ecx
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004213b4
add esp, 4
mov ebx, eax
push dword [ebp - 0xa0]
call fcn.00421279
add esp, 4
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x98], esi
jmp 0x44f8a3
mov ebx, dword [ebp - 0xa0]
lea eax, [esi*2 + 2]
mov dword [ebp - 0x9c], esi
push eax
push dword [edi]
push ebx
call fcn.0042e540
add esp, 0xc
push 0xf8
call fcn.0042128c
add esp, 4
mov dword [ebp + 8], eax
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00408540
mov edi, eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x94], edi
test edi, edi
je 0x44f8fa
mov ecx, dword [edi]
cmp ecx, 0x45a1c4
jne 0x44f8f6
inc dword [edi + 8]
jmp 0x44f8fa
push edi
call dword [ecx + 4]
mov esi, dword [ebp - 0x90]
test esi, esi
je 0x44f930
mov eax, dword [esi]
mov ecx, dword [eax + 8]
cmp eax, 0x45a1c4
jne 0x44f92d
add dword [esi + 8], 0xffffffff
jne 0x44f930
mov ecx, esi
call fcn.00407f30
push 0xf8
push esi
call fcn.004213a6
add esp, 8
jmp 0x44f930
push esi
call ecx
cmp byte [ebp + 0xc], 0
mov dword [ebp - 0x90], edi
je 0x44fa4f
mov eax, dword [ebp - 0x94]
mov dword [ebp + 0xc], 0
mov dword [eax + 0xe0], 1
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push eax
push 0
lea eax, [ebp - 0xb0]
push eax
push 0x408390
push 0
push 0
call fcn.00425484
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x18
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x44f9a6
call edi
test eax, eax
mov esi, 1
cmovne esi, eax
test esi, esi
je 0x44f9a6
jle 0x44f9a1
movzx esi, si
or esi, 0x80070000
jmp 0x44fade
push 8
call fcn.004213b4
xor ecx, ecx
mov dword [ebp - 0x18], eax
add esp, 4
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 3
mov word [eax], cx
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 4
push eax
mov edx, 0xce4
call fcn.0043dd70
mov esi, dword [ebp - 0x94]
lea eax, [ebp + 0xc]
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [esi + 0x68]
call fcn.00407bc0
mov edx, 0xce4
lea ecx, [ebp - 0xbc]
call fcn.00407800
mov byte [ebp - 4], 5
mov edx, dword [eax]
mov ecx, dword [esi + 0x6c]
call fcn.0043e310
push dword [ebp - 0xbc]
call fcn.00421279
add esp, 4
push 1
push dword [esi + 0x6c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 0x18]
call fcn.00421279
add esp, 4
mov byte [ebp - 4], 6
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x44fa49
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x44fa49
call edi
mov byte [ebp - 4], 0
jmp 0x44fa5a
lea ecx, [ebp - 0xb0]
call fcn.00408070
mov edi, dword [ebp + 0x14]
lea eax, [ebp - 0x24]
cmp eax, edi
je 0x44fab1
mov ebx, dword [ebp - 0x20]
cmp ebx, dword [edi + 8]
jbe 0x44fa99
xor ecx, ecx
lea eax, [ebx + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004213b4
add esp, 4
mov esi, eax
push dword [edi]
call fcn.00421279
add esp, 4
mov dword [edi], esi
mov dword [edi + 8], ebx
lea eax, [ebx*2 + 2]
mov dword [edi + 4], ebx
push eax
push dword [ebp - 0x24]
push dword [edi]
call fcn.0042e540
add esp, 0xc
cmp dword [edi + 4], 0
jne 0x44faca
mov eax, dword [ebp - 0x94]
mov ecx, edi
add eax, 0xec
push eax
call fcn.00438ee0
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp - 0x28]
mov al, byte [eax + 0xe8]
mov byte [ecx], al
lea ecx, [ebp - 0xb0]
call fcn.00408470
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10