Function at 0x446080
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e7c5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x288
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [0x663794]
mov dword [ebp - 0x10], esp
test ecx, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
je 0x44637b
mov ebx, dword [ebp + 8]
push ebx
call fcn.004c5c10
mov esi, eax
test esi, esi
mov dword [ebp - 0x18], esi
je 0x44637b
xor eax, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov eax, dword [0x66379c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x446104
mov ecx, dword [0x66379c]
push ebx
push 0x1399
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
mov ecx, edi
call fcn.004561c0
mov byte [ebp + 0xb], 0
xor edi, edi
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x1c0]
cmp edi, dword [eax + 8]
jge 0x44617a
mov edx, dword [eax + 4]
mov ecx, edi
shl ecx, 4
mov esi, dword [edx + ecx]
cmp dword [esi + 0x748], 1
jne 0x446150
mov eax, dword [esi + 8]
test eax, eax
je 0x44614c
cmp ebx, dword [esi + 0x404]
jne 0x44614c
mov ecx, esi
call fcn.00540a70
jmp 0x446150
mov byte [ebp + 0xb], 1
mov eax, dword [esi + 8]
test eax, eax
je 0x446166
cmp ebx, dword [esi + 0x404]
jne 0x446166
mov dword [esi + 8], 0
mov byte [esi + 0x2e1], 0
mov byte [esi + 0x178], 0
mov esi, dword [ebp - 0x18]
inc edi
jmp 0x446112
add esi, 0x24
test esi, esi
je 0x44637b
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x44637b
mov ebx, dword [ebp - 0x14]
mov al, byte [ebx + 0xe90]
test al, al
je 0x4461c0
mov al, byte [ebx + 0xb8b]
test al, al
je 0x4461b9
lea eax, [ebx + 0xa87]
lea ecx, [ebx + 0x674]
push eax
call fcn.004d5a40
mov byte [ebx + 0xe90], 0
mov al, byte [esi + 0x18]
test al, al
je 0x44620e
mov eax, dword [esi + 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x44620e
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x44620e
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x14]
lea ecx, [ebp - 0x54]
push ecx
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x50], 0x40
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x38], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov al, byte [esi + 0x2f]
test al, al
je 0x4462a6
mov ecx, ebx
call fcn.00444010
push 0
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push 0x663188
call fcn.0058872e
push 1
lea ecx, [ebp - 0x174]
call fcn.004d51a0
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 1
call fcn.00584656
cmp eax, 1
jne 0x44625e
mov ecx, dword [ebx + 0x144]
call fcn.00425310
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.005886c0
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 4
call fcn.00582dd2
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 3
call fcn.0059035b
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 2
call fcn.00590393
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0
call fcn.00584297
mov al, byte [esi + 0x2d]
test al, al
je 0x446365
mov ecx, ebx
call fcn.00444010
push 0
mov ecx, ebx
call fcn.00587dc0
mov edx, dword [0x66379c]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4462e4
mov eax, dword [0x66379c]
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push 0x663188
call fcn.0058872e
push 0
lea ecx, [ebp - 0x174]
call fcn.004d51a0
xor ecx, ecx
mov byte [ebp - 4], 6
mov cl, byte [esi + 0x2c]
mov dword [ebp - 0x118], ecx
lea ecx, [ebp - 0x174]
call fcn.00584656
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xa
call fcn.005886c0
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 9
call fcn.00582dd2
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 8
call fcn.0059035b
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 7
call fcn.00590393
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0
call fcn.00584297
mov al, byte [esi + 0x2e]
test al, al
je 0x44637b
mov al, byte [ebp + 0xb]
test al, al
jne 0x4463af
mov ecx, dword [ebp - 0x14]
call fcn.00443490
mov esi, dword [ebp - 0x14]
push 0
push 0x2710
push 4
mov edx, dword [esi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
je 0x44639c
mov byte [esi + 0x1f5], 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x663188
call fcn.0058872e
push 4
lea ecx, [ebp - 0x294]
call fcn.004d51a0
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 0xb
call fcn.00584656
cmp eax, 1
jne 0x4463ea
mov ecx, dword [ebp - 0x14]
call fcn.00443490
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0xf
call fcn.005886c0
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 0xe
call fcn.00582dd2
lea ecx, [ebp - 0x1f8]
mov byte [ebp - 4], 0xd
call fcn.0059035b
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0xc
call fcn.00590393
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 0
call fcn.00584297
jmp 0x44637b