Function at 0x403650
Capabilities:
Delete file
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x43e98b
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x44fb64]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44fb64]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
mov eax, dword [esp + 0x24c]
mov ebp, dword [esp + 0x244]
mov esi, dword [esp + 0x248]
mov ebx, ecx
mov edi, edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], eax
call fcn.004133f1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4036ca
push 0x80004005
call fcn.00409d60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x18]
push ecx
push 0x453d09
mov ecx, ebx
mov dword [esp + 0x244], 0
call fcn.0040d6e0
test eax, eax
jne 0x403702
push 2
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [esp + 0x18]
push edx
push ebx
mov ecx, esi
mov edx, edi
call fcn.00406fc0
add esp, 8
test al, al
jne 0x403720
push 2
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x4479c0
push ebp
call fcn.00422167
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x403773
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
lea esp, [esp]
push 0x4479c0
push ebp
call fcn.00422167
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x40376f
push 0x64
inc esi
call edi
cmp esi, 0x64
jl 0x403740
push ebp
call fcn.0040aa10
add esp, 4
push 2
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edi, dword [esp + 0x1c]
push 0x208
lea eax, [esp + 0x28]
push 0
push eax
call fcn.00424c40
add esp, 0xc
lea esi, [esp + 0x24]
call fcn.00409df0
mov eax, esi
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x403793
mov ecx, dword [str._forbit.ini]
mov edx, dword [0x4479c8]
mov dword [eax], ecx
mov ecx, dword [0x4479cc]
mov dword [eax + 4], edx
lea edx, [esp + 0x24]
push edx
mov dword [eax + 8], ecx
call fcn.00409e30
add esp, 4
test eax, eax
jne 0x4037ee
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
push str.LdxFile__s__Not_Exists
push ecx
call fcn.00409670
mov edx, dword [esp + 0x20]
add esp, 0xc
push 0
push edx
push 0x453d09
call fcn.0040d390
lea eax, [esp + 0x24]
push 0
push eax
mov ecx, ebp
call fcn.00403cf0
add esp, 8
test eax, eax
jne 0x40396f
push 0x208
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00424c40
lea esi, [esp + 0x30]
add esp, 0xc
mov eax, edi
sub esi, edi
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x403822
lea eax, [esp + 0x24]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x403831
mov edx, dword [0x44798c]
mov ecx, dword [0x447990]
mov dword [eax], edx
mov dx, word [0x447994]
mov dword [eax + 4], ecx
mov cl, byte [0x447996]
mov word [eax + 8], dx
lea edx, [esp + 0x24]
push edx
mov byte [eax + 0xa], cl
call fcn.00409e30
add esp, 4
test eax, eax
jne 0x403897
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
push str.LdxFile__s__Not_Exists
push ecx
call fcn.00409670
mov edx, dword [esp + 0x20]
add esp, 0xc
push 0
push edx
push 0x453d09
call fcn.0040d390
lea eax, [esp + 0x24]
push 0
push eax
mov ecx, ebp
call fcn.00403cf0
add esp, 8
test eax, eax
jne 0x40396f
push 0x208
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00424c40
add esp, 0xc
mov eax, edi
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x4038c5
lea eax, [esp + 0x24]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4038d4
mov edx, dword [0x4479b0]
mov ecx, dword [0x4479b4]
mov dword [eax], edx
mov edx, dword [0x4479b8]
mov dword [eax + 4], ecx
mov cl, byte [0x4479bc]
mov dword [eax + 8], edx
lea edx, [esp + 0x24]
push edx
mov byte [eax + 0xc], cl
call fcn.00409e30
add esp, 4
test eax, eax
jne 0x403938
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
push str.LdxFile__s__Not_Exists
push ecx
call fcn.00409670
mov edx, dword [esp + 0x20]
add esp, 0xc
push 0
push edx
push 0x453d09
call fcn.0040d390
lea eax, [esp + 0x24]
push 0
push eax
mov ecx, ebp
call fcn.00403cf0
add esp, 8
test eax, eax
jne 0x40396f
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x24]
mov ecx, ebx
call fcn.00407580
add esp, 4
test al, al
jne 0x4039ab
mov ecx, 0x453d09
call fcn.0040db30
test ebx, ebx
je 0x403986
push ebx
call fcn.004221f5
add esp, 4
push edi
call fcn.00409ea0
add esp, 4
push ebp
call fcn.00409e30
add esp, 4
test eax, eax
je 0x4039a3
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 2
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push ebx
call fcn.004221f5
add esp, 4
lea ecx, [esp + 0x14]
call fcn.00409da0
xor eax, eax
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.0042179d
add esp, 0x22c
ret