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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557625
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 [0x5c7574]
mov dword [ebp - 0x10], esp
test ecx, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
je 0x4371c4
mov ebx, dword [ebp + 8]
push ebx
call fcn.004a4110
mov esi, eax
test esi, esi
mov dword [ebp - 0x18], esi
je 0x4371c4
xor eax, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov eax, dword [0x5c757c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x436f54
mov ecx, dword [0x5c757c]
push ebx
push 0x1399
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
mov ecx, edi
call fcn.00444010
mov byte [ebp + 0xb], 0
xor edi, edi
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x1c0]
cmp edi, dword [eax + 8]
jge 0x436fc3
mov edx, dword [eax + 4]
mov ecx, edi
shl ecx, 4
mov esi, dword [edx + ecx]
cmp dword [esi + 0x65c], 1
jne 0x436fa0
mov eax, dword [esi + 8]
test eax, eax
je 0x436f9c
cmp ebx, dword [esi + 0x424]
jne 0x436f9c
mov ecx, esi
call fcn.00504d50
jmp 0x436fa0
mov byte [ebp + 0xb], 1
mov eax, dword [esi + 8]
test eax, eax
je 0x436fb6
cmp ebx, dword [esi + 0x424]
jne 0x436fb6
mov dword [esi + 8], 0
mov byte [esi + 0x367], 0
mov esi, dword [ebp - 0x18]
inc edi
jmp 0x436f62
add esi, 0x24
test esi, esi
je 0x4371c4
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4371c4
mov ebx, dword [ebp - 0x14]
mov al, byte [ebx + 0xe70]
test al, al
je 0x437009
mov al, byte [ebx + 0xb73]
test al, al
je 0x437002
lea eax, [ebx + 0xa6f]
lea ecx, [ebx + 0x65c]
push eax
call fcn.004b4400
mov byte [ebx + 0xe70], 0
mov al, byte [esi + 0x18]
test al, al
je 0x437057
mov eax, dword [esi + 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x437057
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x437057
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 0x4370ef
mov ecx, ebx
call fcn.00435140
push 0
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push 0x5c6ff0
call fcn.0054222c
push 1
lea ecx, [ebp - 0x174]
call fcn.004b3b60
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 1
call fcn.0053e1a5
cmp eax, 1
jne 0x4370a7
mov ecx, dword [ebx + 0x144]
call fcn.0041eed0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.005421be
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 4
call fcn.0053c94c
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 3
call fcn.00549f10
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 2
call fcn.00549f48
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0
call fcn.0053dde6
mov al, byte [esi + 0x2d]
test al, al
je 0x4371ae
mov ecx, ebx
call fcn.00435140
push 0
mov ecx, ebx
call fcn.00541dd6
mov edx, dword [0x5c757c]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43712d
mov eax, dword [0x5c757c]
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 0x5c6ff0
call fcn.0054222c
push 0
lea ecx, [ebp - 0x174]
call fcn.004b3b60
xor ecx, ecx
mov byte [ebp - 4], 6
mov cl, byte [esi + 0x2c]
mov dword [ebp - 0x118], ecx
lea ecx, [ebp - 0x174]
call fcn.0053e1a5
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xa
call fcn.005421be
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 9
call fcn.0053c94c
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 8
call fcn.00549f10
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 7
call fcn.00549f48
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0
call fcn.0053dde6
mov al, byte [esi + 0x2e]
test al, al
je 0x4371c4
mov al, byte [ebp + 0xb]
test al, al
jne 0x4371f8
mov ecx, dword [ebp - 0x14]
call fcn.004346f0
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 0x4371e5
mov byte [esi + 0x1f1], 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 0x5c6ff0
call fcn.0054222c
push 4
lea ecx, [ebp - 0x294]
call fcn.004b3b60
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 0xb
call fcn.0053e1a5
cmp eax, 1
jne 0x437233
mov ecx, dword [ebp - 0x14]
call fcn.004346f0
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0xf
call fcn.005421be
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 0xe
call fcn.0053c94c
lea ecx, [ebp - 0x1f8]
mov byte [ebp - 4], 0xd
call fcn.00549f10
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0xc
call fcn.00549f48
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 0
call fcn.0053dde6
jmp 0x4371c4