Function at 0x40b5d0
Capabilities:
Check if file exists
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41c7d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
push edi
push ebx
lea eax, [esi + 0x20]
push eax
call dword [0x41e340]
test eax, eax
je 0x40b62c
mov dword [0x4282c0], 1
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [0x41e324]
push 0
call dword [0x41e31c]
jmp 0x40b84f
push edi
lea edx, [esi + 0x30]
push ebx
push edx
call dword [0x41e340]
test eax, eax
je 0x40b675
mov dword [0x4282c0], 2
mov eax, dword [esi + 4]
push 0
push eax
call dword [0x41e324]
mov eax, dword [0x42823c]
test eax, eax
jne 0x40b660
mov eax, dword [0x41e18c]
push eax
mov ecx, esi
call fcn.0040b480
push 0
call dword [0x41e31c]
jmp 0x40b84f
push edi
lea ecx, [esi + 0x40]
push ebx
push ecx
call dword [0x41e340]
test eax, eax
je 0x40b84f
mov dword [0x4282c0], 3
mov edx, dword [esi + 4]
xor ebx, ebx
push ebx
push edx
call dword [0x41e324]
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x21a]
mov word [ebp - 0x21c], bx
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x14]
stosw word es:[edi], ax
call fcn.00410290
lea eax, [ebp - 0x21c]
push 0x103
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.00410350
mov edi, dword [0x41e304]
test eax, eax
je 0x40b75a
cmp word [ebp - 0x21c], bx
je 0x40b75a
lea ecx, [ebp - 0x21c]
push ecx
call edi
test eax, eax
je 0x40b75a
mov ebx, dword [0x42822c]
test ebx, ebx
jne 0x40b70f
mov ebx, dword [0x41e18c]
test ebx, ebx
jne 0x40b70f
xor edi, edi
jmp 0x40b73c
push ebx
call dword [0x41e078]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.00413a30
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
mov word [edi], 0
call dword [0x41e0d4]
push 1
push 0
lea edx, [ebp - 0x21c]
push edi
push edx
push str.open
push 0
call dword [0x41e2dc]
jmp 0x40b838
lea eax, [ebp - 0x21c]
push 0x103
push eax
lea ecx, [ebp - 0x14]
call fcn.004103d0
test eax, eax
je 0x40b7a8
cmp word [ebp - 0x21c], bx
je 0x40b7a8
lea ecx, [ebp - 0x21c]
push ecx
call edi
test eax, eax
je 0x40b7a8
mov ebx, dword [0x42822c]
test ebx, ebx
jne 0x40b70f
mov ebx, dword [0x41e18c]
test ebx, ebx
jne 0x40b70f
xor edi, edi
jmp 0x40b73c
lea ecx, [ebp - 0x14]
call fcn.00410450
mov esi, eax
cmp esi, ebx
mov dword [ebp + 0x10], esi
je 0x40b81d
push esi
call edi
test eax, eax
je 0x40b81d
mov ebx, dword [0x42822c]
test ebx, ebx
jne 0x40b7d8
mov ebx, dword [0x41e18c]
test ebx, ebx
jne 0x40b7d8
xor edi, edi
jmp 0x40b808
push ebx
call dword [0x41e078]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.00413a30
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
mov word [edi], 0
call dword [0x41e0d4]
mov esi, dword [ebp + 0x10]
push 1
push 0
push edi
push esi
push str.open
push 0
call dword [0x41e2dc]
jmp 0x40b838
mov eax, dword [0x42822c]
cmp eax, ebx
jne 0x40b82b
mov eax, dword [0x41e18c]
push 5
push ebx
push ebx
push eax
push ebx
push ebx
call dword [0x41e2e0]
push 0
call dword [0x41e31c]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.004102c0
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x228]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc