Function at 0x4249a0
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45fd11
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
push esi
push edi
mov eax, dword [0x46e2f0]
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.00424cf0
lea eax, [ebp - 0xac]
mov dword [ebp - 4], 0
mov dword [ebp - 0xb0], esi
mov edx, 2
cmp edi, eax
je 0x424a60
mov esi, dword [edi + 4]
cmp esi, dword [ebp - 0xa4]
jbe 0x424a3c
xor ecx, ecx
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00447196
add esp, 4
mov ebx, eax
push dword [ebp - 0xac]
call fcn.004472ce
add esp, 4
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa4], esi
jmp 0x424a42
mov ebx, dword [ebp - 0xac]
lea eax, [esi*2 + 2]
mov dword [ebp - 0xa8], esi
push eax
push dword [edi]
push ebx
call fcn.00448c70
add esp, 0xc
mov edx, 2
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xa0]
cmp edi, eax
je 0x424acc
mov esi, dword [edi + 4]
cmp esi, dword [ebp - 0x98]
jbe 0x424aad
xor ecx, ecx
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00447196
add esp, 4
mov ebx, eax
push dword [ebp - 0xa0]
call fcn.004472ce
add esp, 4
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x98], esi
jmp 0x424ab3
mov ebx, dword [ebp - 0xa0]
lea eax, [esi*2 + 2]
mov dword [ebp - 0x9c], esi
push eax
push dword [edi]
push ebx
call fcn.00448c70
add esp, 0xc
push 0xf8
call fcn.00447344
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x424aef
mov ecx, eax
call fcn.00424e80
mov esi, eax
jmp 0x424af1
xor esi, esi
mov byte [ebp - 4], 0
mov dword [ebp - 0x94], esi
test esi, esi
je 0x424b05
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x90]
test ecx, ecx
je 0x424b15
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp byte [ebp + 0xc], 0
mov dword [ebp - 0x90], esi
je 0x424c34
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 0x424980
push 0
push 0
call fcn.00446f69
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x18
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x424b8f
call edi
test eax, eax
mov esi, 1
cmovne esi, eax
test esi, esi
je 0x424b8f
jle 0x424cc3
movzx esi, si
or esi, 0x80070000
jmp 0x424cc3
push 8
call fcn.00447196
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], 3
push eax
mov edx, 0xce4
call fcn.0040eb30
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.00424270
mov edx, 0xce4
lea ecx, [ebp - 0xbc]
call fcn.00422ef0
mov byte [ebp - 4], 4
mov edx, dword [eax]
mov ecx, dword [esi + 0x6c]
call fcn.0040ed30
push dword [ebp - 0xbc]
call fcn.004472ce
add esp, 4
push 1
push dword [esi + 0x6c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 0x18]
call fcn.004472ce
mov byte [ebp - 4], 0
add esp, 4
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x424c3f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x424c3f
call edi
jmp 0x424c3f
lea ecx, [ebp - 0xb0]
call fcn.00424610
mov edi, dword [ebp + 0x14]
lea eax, [ebp - 0x24]
cmp eax, edi
je 0x424c96
mov ebx, dword [ebp - 0x20]
cmp ebx, dword [edi + 8]
jbe 0x424c7e
xor ecx, ecx
lea eax, [ebx + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00447196
add esp, 4
mov esi, eax
push dword [edi]
call fcn.004472ce
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.00448c70
add esp, 0xc
cmp dword [edi + 4], 0
jne 0x424caf
mov eax, dword [ebp - 0x94]
mov ecx, edi
add eax, 0xec
push eax
call fcn.00409620
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]
mov dword [ebp - 4], 0xffffffff
call fcn.00424dc0
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