Function at 0x481020
Capabilities:
Check for time delay via gettickcount
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8932
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x920
push esi
mov esi, ecx
mov ecx, dword [esi + 0x50]
push 0
mov dword [ebp - 0x14], esi
call fcn.0048b370
test al, al
jne 0x481063
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0xc]
mov eax, ecx
push ebx
shr eax, 0x10
mov ebx, ecx
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x18], ebx
test ax, ax
jl 0x481932
movzx edx, word [esi + 0x1afe]
cmp ax, dx
jge 0x481932
test cx, cx
jl 0x481932
movzx eax, word [esi + 0x1afc]
cmp cx, ax
jge 0x481932
push edi
mov edi, ecx
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
mov dword [ebp - 0x20], edi
call fcn.0047db40
test al, al
je 0x4810e3
push 0x10e
lea ecx, [ebp - 0x86c]
push ecx
push 2
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.0047e860
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x20]
mov esi, eax
jmp 0x4810e5
xor esi, esi
mov eax, dword [ebp - 0x14]
cmp ebx, dword [eax + 0x1b90]
jne 0x4810f8
cmp edi, dword [eax + 0x1b94]
je 0x481111
cmp byte [ebp + 0x10], 0
mov dword [eax + 0x1b90], ebx
mov dword [eax + 0x1b94], edi
je 0x481111
mov ecx, eax
call fcn.0047bcd0
cmp esi, 2
je 0x48111f
cmp esi, 3
jne 0x48191c
mov eax, dword [ebp + 8]
mov edi, 1
cmp eax, 0x202
je 0x481139
cmp eax, 0x203
jne 0x481907
cmp word [ebp - 0x86c], 0
je 0x481907
cmp esi, 3
jne 0x4811a1
mov edx, dword [0x52fe14]
push edi
push 0
push 0
lea ecx, [ebp - 0x86c]
push ecx
push str.open
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x481907
push 0
push str.URL_open_failed
push 0x10
push eax
lea eax, [ebp - 0x86c]
push eax
call fcn.004263e0
add esp, 0x14
pop edi
pop ebx
mov al, 1
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
cmp esi, 2
jne 0x481907
push 0x212
lea ecx, [ebp - 0x348]
push 0
push ecx
mov dword [ebp - 0x34c], 0x216
call fcn.004c9b50
add esp, 0xc
lea edx, [ebp - 0x86c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
sub eax, edi
cmp word [ebp + eax*2 - 0x86c], 0x29
jne 0x4811f0
xor ecx, ecx
mov word [ebp + eax*2 - 0x86c], cx
sub eax, edi
test eax, eax
jle 0x48122e
lea edx, [ebp + eax*2 - 0x86e]
jmp 0x481200
movzx ecx, word [edx]
cmp cx, 0x30
jb 0x48120f
cmp cx, 0x39
jbe 0x481225
cmp cx, 0x2c
jne 0x48122e
movzx ecx, word [edx + 2]
cmp cx, 0x30
jb 0x48122e
cmp cx, 0x39
ja 0x48122e
sub eax, edi
sub edx, 2
test eax, eax
jg 0x481200
cmp eax, 3
jl 0x481907
push 0xa
lea edx, [ebp + 0x10]
lea esi, [ebp + eax*2 - 0x86c]
push edx
push esi
call fcn.004c9eb4
mov dword [ebp - 0x348], eax
mov eax, dword [ebp + 0x10]
add esp, 0xc
test eax, eax
je 0x481288
cmp word [eax], 0x2c
jne 0x481288
movzx ecx, word [eax + 2]
add eax, 2
cmp cx, 0x30
jb 0x481288
cmp cx, 0x39
ja 0x481288
push 0xa
lea ecx, [ebp + 0x10]
push ecx
push eax
call fcn.004c9eb4
add esp, 0xc
mov dword [ebp - 0x344], eax
cmp dword [ebp - 0x344], edi
jge 0x481296
mov dword [ebp - 0x344], edi
lea eax, [ebp - 0x86c]
xor edx, edx
push 0x2f
push eax
mov word [esi - 2], dx
call fcn.004c9bca
add esp, 8
mov dword [ebp + 0x10], eax
test eax, eax
je 0x4812e0
jmp 0x4812c0
lea edx, [ebp - 0x86c]
mov ecx, 0x5c
push 0x2f
push edx
mov word [eax], cx
call fcn.004c9bca
add esp, 8
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x4812c0
mov esi, dword [ebp - 0x14]
push 0x105
lea eax, [ebp - 0x340]
push eax
lea ecx, [ebp - 0x86c]
push ecx
mov ecx, esi
call fcn.0047bb10
lea edx, [ebp - 0x340]
push 0x5c
push edx
call fcn.004ca94c
add esp, 8
test eax, eax
jne 0x48131a
lea eax, [ebp - 0x340]
jmp 0x48131d
add eax, 2
mov edx, dword [0x52fe2c]
lea ecx, [ebp - 0x28]
push ecx
push eax
mov dword [ebp - 0x28], 0
mov ecx, dword [edx + 0x40a0]
push 0x3003
call fcn.004a5eb0
cmp eax, 0xfffffffe
je 0x481907
test eax, eax
jl 0x4813c1
mov eax, dword [ebp - 0x348]
test eax, eax
jle 0x481907
mov ecx, dword [esi + 0x50]
mov edx, dword [ecx + 0x59b0]
mov ecx, dword [ebp - 0x344]
and edx, 0xffff0000
push ecx
cmp edx, 0x10000
push eax
lea edx, [ebp - 0x92c]
jne 0x481386
push str.__if_Editor__AltF8___i:_i__Enter__end
jmp 0x48138b
push str.__if_Editor__AltF8_print___i:_i___Enter__end
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 0x28]
add esp, 0x10
push edi
lea eax, [ebp - 0x92c]
push eax
call fcn.004bcc80
mov ecx, eax
call fcn.0048ce20
pop edi
pop ebx
mov al, 1
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [0x52fe30]
mov edx, dword [ecx + 0x1268]
lea ecx, [ebp - 0xc0]
xor bl, bl
mov dword [ebp - 0x3c], edx
call fcn.00407080
push 0
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x3c]
push ecx
mov dword [ebp - 4], 0
call fcn.00407360
add esp, 0xc
test eax, eax
jne 0x481418
mov edx, dword [ebp - 0xbc]
push edx
call fcn.004c62c0
push eax
call fcn.00406ee0
add esp, 8
test al, al
jne 0x481418
mov bl, 1
lea ecx, [ebp - 0xf0]
call fcn.00407080
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0x340]
push ecx
mov ecx, dword [edx + 0x50]
mov byte [ebp - 4], 1
call fcn.0048cb80
mov esi, eax
test esi, esi
je 0x48145b
push 0x105
push esi
lea eax, [ebp - 0x340]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
jmp 0x481461
lea esi, [ebp - 0x340]
lea ecx, [ebp - 0x4c]
call fcn.004bc8c0
mov byte [ebp - 4], 2
test bl, bl
jne 0x4814c8
lea ecx, [ebp - 0x4c]
push ecx
push 0
push 0x1800
call fcn.004b6550
add esp, 0xc
test eax, eax
je 0x4814c8
lea edx, [ebp - 0x34c]
push edx
push 0x216
push 0xdc
lea ecx, [ebp - 0x4c]
call fcn.004bc9d0
mov ecx, eax
call fcn.004bcc80
mov ecx, eax
call fcn.004897d0
lea ecx, [ebp - 0x4c]
call fcn.004bc9d0
mov ecx, dword [0x52fe2c]
push eax
call fcn.0040ee50
jmp 0x4818da
mov eax, dword [0x52fe30]
cmp dword [eax + 0x1268], 0
je 0x4818c5
mov eax, dword [eax + 0x1268]
cmp word [eax], 0
je 0x4818c5
mov ecx, dword [ebp - 0x348]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
push ecx
lea edx, [ebp - 0x38c]
push 0x4e4bb8
push edx
call edi
mov eax, dword [ebp - 0x344]
push eax
lea ecx, [ebp - 0x3cc]
push 0x4e4bb8
push ecx
call edi
add esp, 0x18
lea ecx, [ebp - 0x90]
call fcn.00407080
push esi
mov byte [ebp - 4], 3
call fcn.00425980
add esp, 4
push eax
lea ecx, [ebp - 0x90]
call fcn.004070e0
lea ecx, [ebp - 0xa8]
call fcn.00407080
push 0
push esi
mov byte [ebp - 4], 4
call fcn.00425890
add esp, 8
push eax
lea ecx, [ebp - 0xa8]
call fcn.004070e0
mov ecx, dword [ebp - 0x8c]
lea edx, [ebp - 0x38c]
mov dword [ebp - 0x60], edx
mov edx, dword [ebp - 0xa4]
lea eax, [ebp - 0x3cc]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x54], ecx
mov ecx, dword [0x52fe30]
push 5
lea eax, [ebp - 0x60]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x50], edx
mov edx, dword [ecx + 0x1268]
push eax
push edx
call fcn.004c7450
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4815c6
push eax
push eax
push eax
push 0xffffffffffffffff
push str.Invalid_command_specified_in__External_editor_
call fcn.004263e0
add esp, 0x14
jmp 0x4818a5
lea ecx, [ebp - 0x650]
call fcn.00479450
cmp word [esi], 0x23
mov byte [ebp - 4], 5
sete bl
test bl, bl
je 0x4815fc
lea eax, [esi + 2]
push 0
push eax
call fcn.0044c570
push esi
mov dword [ebp - 0x63c], eax
call fcn.0044c4f0
add esp, 0xc
jmp 0x481602
mov dword [ebp - 0x63c], esi
mov edi, dword [ebp - 0x14]
mov ecx, dword [edi + 0x50]
mov eax, dword [ecx + 0x3d50]
test eax, eax
je 0x481625
push 0
push eax
call fcn.0044c570
add esp, 8
mov dword [ebp - 0x638], eax
jmp 0x48162f
mov dword [ebp - 0x638], 0
mov eax, dword [edi + 0x50]
mov edx, dword [eax + 0x3d64]
mov ecx, 2
mov dword [ebp - 0x624], edx
cmp dword [eax + 0x3f80], ecx
je 0x481666
cmp dword [eax + 0x3d68], ecx
je 0x481666
cmp dword [eax + 0x3d6c], 0
mov dword [ebp - 0x408], 1
je 0x48166c
mov dword [ebp - 0x408], ecx
mov dword [ebp - 0x3fc], ecx
test bl, bl
je 0x481880
mov eax, dword [ebp - 0x63c]
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x1c], eax
call fcn.00407080
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 6
call fcn.00407080
push 0
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0x1c]
push edx
mov byte [ebp - 4], 7
call fcn.00407360
add esp, 0xc
test eax, eax
jne 0x481700
mov edx, dword [ebp - 0x74]
lea eax, [ebp - 0xd8]
push eax
push 1
lea ecx, [ebp - 0x78]
push ecx
push edx
call fcn.00407a90
add esp, 0x10
test al, al
je 0x481700
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x74]
push eax
push ecx
call fcn.00406f60
mov esi, eax
add esp, 8
test esi, esi
je 0x481700
mov eax, dword [ebp - 0x63c]
test eax, eax
je 0x4816fa
push eax
call fcn.0044c4f0
add esp, 4
mov dword [ebp - 0x63c], esi
mov edx, dword [ebp - 0x638]
push 0x40
lea eax, [ebp - 0x130]
push 0
push eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x134], 0x44
call fcn.004c9b50
xor eax, eax
mov ecx, 1
push ecx
lea edx, [ebp - 0x24]
push edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
lea esi, [edi + 4]
push esi
mov word [ebp - 0x104], cx
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x63c]
lea ecx, [ebp - 0x134]
push ecx
lea edx, [ebp - 0x40]
push edx
mov edx, dword [edi + 0x50]
push eax
lea ecx, [ebp - 0x650]
push ecx
push edx
mov dword [ebp - 0x108], 1
call fcn.0048dd70
add esp, 0x30
test eax, eax
je 0x48184a
mov eax, dword [esi]
test eax, eax
je 0x4817a5
mov edi, dword [eax + 0x38]
push eax
mov dword [ebp + 8], edi
call fcn.0044c4f0
add esp, 4
mov dword [esi], 0
jmp 0x4817ab
mov edi, dword [ebp - 0x38]
mov dword [ebp + 8], edi
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4817c5
cmp eax, 0xffffffff
je 0x4817c5
push eax
mov dword [ebp - 0x34], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x481863
cmp dword [ebp - 0x30], 0
je 0x481838
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebx, eax
xor esi, esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x52fe14]
jne 0x481838
lea ecx, [ecx]
mov eax, dword [ebp + 8]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x481838
cmp esi, 0xbb8
ja 0x481838
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00426200
add esp, 4
test eax, eax
jne 0x481831
call edi
mov esi, eax
sub esi, ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x52fe14]
je 0x4817f0
jmp 0x481838
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp dword [ebp + 8], 0xffffffff
je 0x481863
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x481863
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x63c]
push 0
push 0
push 0
push eax
push ecx
call fcn.004263e0
add esp, 0x14
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 6
call fcn.004070a0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 5
call fcn.004070a0
jmp 0x481896
mov ecx, dword [0x52fe2c]
push 0
push 0
lea edx, [ebp - 0x650]
push edx
call fcn.0040f160
lea ecx, [ebp - 0x650]
mov byte [ebp - 4], 4
call fcn.004797e0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call fcn.004070a0
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 2
call fcn.004070a0
jmp 0x4818da
push 0
push 0
push 0
push 0xffffffffffffffff
push str.Available_Far_Manager_was_not_found_in_open_tabs
call fcn.004263e0
add esp, 0x14
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.004bc960
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0
call fcn.004070a0
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], 0xffffffff
call fcn.004070a0
pop edi
pop ebx
mov al, 1
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov al, byte [ebp - 0xd]
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, esi
call fcn.0047dae0
mov ecx, dword [ebp - 0xc]
pop ebx
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc