Function at 0x425200
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c971
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
push esi
push edi
mov eax, dword [0x458050]
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.00425550
lea eax, [ebp - 0xac]
mov dword [ebp - 4], 0
mov dword [ebp - 0xb0], esi
mov edx, 2
cmp edi, eax
je 0x4252c0
mov esi, dword [edi + 4]
cmp esi, dword [ebp - 0xa4]
jbe 0x42529c
xor ecx, ecx
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043f0fa
add esp, 4
mov ebx, eax
push dword [ebp - 0xac]
call fcn.0043f238
add esp, 4
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa4], esi
jmp 0x4252a2
mov ebx, dword [ebp - 0xac]
lea eax, [esi*2 + 2]
push eax
push dword [edi]
mov dword [ebp - 0xa8], esi
push ebx
call fcn.00443b00
add esp, 0xc
mov edx, 2
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xa0]
cmp edi, eax
je 0x42532c
mov esi, dword [edi + 4]
cmp esi, dword [ebp - 0x98]
jbe 0x42530d
xor ecx, ecx
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043f0fa
add esp, 4
mov ebx, eax
push dword [ebp - 0xa0]
call fcn.0043f238
add esp, 4
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x98], esi
jmp 0x425313
mov ebx, dword [ebp - 0xa0]
lea eax, [esi*2 + 2]
push eax
push dword [edi]
mov dword [ebp - 0x9c], esi
push ebx
call fcn.00443b00
add esp, 0xc
push 0xf8
call fcn.0043f2b3
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x42534f
mov ecx, eax
call fcn.004256e0
mov esi, eax
jmp 0x425351
xor esi, esi
mov byte [ebp - 4], 0
mov dword [ebp - 0x94], esi
test esi, esi
je 0x425365
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x90]
test ecx, ecx
je 0x425375
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp byte [ebp + 0xc], 0
mov dword [ebp - 0x90], esi
je 0x425494
mov eax, dword [ebp - 0x94]
mov dword [ebp + 0xc], 0
mov dword [eax + 0xe0], 1
lea eax, [ebp + 8]
push eax
push 0
lea eax, [ebp - 0xb0]
push eax
push 0x4251e0
push 0
push 0
mov byte [ebp - 4], 2
call fcn.0043eecd
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x18
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x4253ef
call edi
test eax, eax
mov esi, 1
cmovne esi, eax
test esi, esi
je 0x4253ef
jle 0x425523
movzx esi, si
or esi, 0x80070000
jmp 0x425523
push 8
call fcn.0043f0fa
xor ecx, ecx
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 3
mov word [eax], cx
lea eax, [ebp - 0x18]
push eax
mov edx, 0xce4
mov byte [ebp - 4], 3
call fcn.0040ea10
mov esi, dword [ebp - 0x94]
push ecx
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [esi + 0x68]
call fcn.00424ad0
mov edx, 0xce4
lea ecx, [ebp - 0xbc]
call fcn.00423710
mov byte [ebp - 4], 4
mov edx, dword [eax]
mov ecx, dword [esi + 0x6c]
call fcn.0040ec10
push dword [ebp - 0xbc]
call fcn.0043f238
add esp, 4
push 1
push dword [esi + 0x6c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 0x18]
call fcn.0043f238
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add esp, 4
test eax, eax
je 0x42549f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x42549f
call edi
jmp 0x42549f
lea ecx, [ebp - 0xb0]
call fcn.00424e70
mov edi, dword [ebp + 0x14]
lea eax, [ebp - 0x24]
cmp eax, edi
je 0x4254f6
mov ebx, dword [ebp - 0x20]
cmp ebx, dword [edi + 8]
jbe 0x4254de
xor ecx, ecx
lea eax, [ebx + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043f0fa
add esp, 4
push dword [edi]
mov esi, eax
call fcn.0043f238
add esp, 4
mov dword [edi], esi
mov dword [edi + 8], ebx
lea eax, [ebx*2 + 2]
push eax
push dword [ebp - 0x24]
mov dword [edi + 4], ebx
push dword [edi]
call fcn.00443b00
add esp, 0xc
cmp dword [edi + 4], 0
jne 0x42550f
mov eax, dword [ebp - 0x94]
add eax, 0xec
push eax
mov ecx, edi
call fcn.00409300
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp + 0x10]
mov al, byte [eax + 0xe8]
mov esi, dword [ebp - 0x28]
mov byte [ecx], al
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 0xffffffff
call fcn.00425620
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