Function at 0x405040
Capabilities:
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4388b9
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x450068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
push str.ScriptsFile
lea edx, [ebp + 8]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x130]
call fcn.004078b0
mov esi, eax
add esp, 4
lea eax, [ebp - 0x50]
cmp eax, esi
je 0x4050e2
mov ecx, eax
call fcn.004029e0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x40], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x11c]
cmp edx, 8
jb 0x405122
mov ecx, dword [ebp - 0x130]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405118
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405fba
push edx
push ecx
call fcn.0041aec9
add esp, 8
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
push 0
cmovae eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40515f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40515f
mov edx, str.CreateDirectory
mov ecx, eax
call fcn.004111b0
mov byte [ebp - 0xb9], 0
jmp 0x405f15
push str.r_ccsUNICODE
lea eax, [ebp - 0xb4]
push edi
push eax
call fcn.00422faf
add esp, 0xc
test eax, eax
je 0x405192
push edi
push str.Failed_to_open_file__s_n
call fcn.00411490
add esp, 8
mov byte [ebp - 0xb9], 0
jmp 0x405f15
xor eax, eax
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
push 0x447d1c
lea edx, [ebp - 0x50]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x130]
call fcn.004078b0
push str.FileScriptsGet.csv
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xe4]
call fcn.00403a70
mov esi, eax
add esp, 8
lea eax, [ebp - 0x68]
cmp eax, esi
je 0x405214
mov ecx, eax
call fcn.004029e0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x68], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x58], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0xd0]
cmp edx, 8
jb 0x405254
mov ecx, dword [ebp - 0xe4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40524a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405fbf
push edx
push ecx
call fcn.0041aec9
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 7
mov word [ebp - 0xe4], ax
cmp edx, 8
jb 0x4052b5
mov ecx, dword [ebp - 0x130]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4052ab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405fc4
push edx
push ecx
call fcn.0041aec9
add esp, 8
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
push 0x447d20
cmovae eax, dword [ebp - 0x68]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00422faf
push 0x447d24
push dword [ebp - 0xb8]
call fcn.004040e0
push 0x1fffe
call fcn.0041aed7
mov esi, eax
mov dword [ebp - 0xc4], eax
add esp, 0x18
test esi, esi
je 0x405315
push 0x1fffc
lea ecx, [esi + 2]
push 0
push ecx
call fcn.0041d060
add esp, 0xc
xor eax, eax
mov word [esi], ax
jmp 0x40531d
xor esi, esi
mov dword [ebp - 0xc4], esi
push dword [ebp - 0xb4]
push 0xffff
push esi
call fcn.004232f7
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
sub esp, 0xc
mov byte [ebp - 4], 4
mov ecx, esp
mov edx, esi
xor eax, eax
mov dword [ecx + 0x10], 0
lea edi, [edx + 2]
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x405373
sub edx, edi
sar edx, 1
push edx
push esi
call fcn.00402cf0
lea ecx, [ebp - 0x1c]
call fcn.00405fe0
push 0x1fffe
push 0
push esi
call fcn.0041d060
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x1c]
xor edi, edi
sub ecx, esi
mov dword [ebp - 0xe8], 0xffffffff
imul ecx
add esp, 0x24
mov dword [ebp - 0xc0], 0xffffffff
sar edx, 2
mov eax, edx
mov dword [ebp - 0x38], edi
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0xc8], eax
test eax, eax
jle 0x405e51
lea eax, [edi + edi*2]
cmp dword [esi + eax*8 + 0x14], 8
lea edx, [esi + eax*8]
mov edi, edx
jb 0x4053f2
mov edi, dword [edx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x134], eax
cmp eax, 0xa
jne 0x405425
mov ecx, str.Image_Path
mov esi, eax
sub edi, ecx
nop dword [eax]
mov ax, word [ecx + edi]
cmp ax, word [ecx]
jne 0x405425
add ecx, 2
sub esi, 1
jne 0x405410
mov cl, 1
jmp 0x405427
xor cl, cl
mov edi, dword [ebp - 0x38]
test cl, cl
mov eax, edi
cmove eax, dword [ebp - 0xc0]
cmp dword [edx + 0x14], 8
mov dword [ebp - 0xc0], eax
jb 0x405443
mov edx, dword [edx]
cmp dword [ebp - 0x134], 3
jne 0x405475
mov eax, 0x447d5c
mov esi, 3
sub edx, eax
nop dword [eax + eax]
mov cx, word [eax + edx]
cmp cx, word [eax]
jne 0x405475
add eax, 2
sub esi, 1
jne 0x405460
mov cl, 1
jmp 0x405477
xor cl, cl
mov esi, dword [ebp - 0x1c]
test cl, cl
mov eax, edi
cmove eax, dword [ebp - 0xe8]
inc edi
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0x38], edi
cmp edi, dword [ebp - 0xc8]
jl 0x4053e1
cmp eax, 0xffffffff
je 0x405e51
cmp dword [ebp - 0xc0], 0xffffffff
je 0x405e51
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], ax
mov edi, dword [ebp - 0xc4]
mov byte [ebp - 4], 7
push dword [ebp - 0xb4]
push 0xffff
push edi
call fcn.004232f7
add esp, 0xc
test eax, eax
je 0x405e0b
nop dword [eax]
mov edx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.00407cd0
mov eax, dword [ebp - 0x1c]
sub esp, 0x14
mov ecx, esp
mov dword [ebp - 0x18], eax
mov edx, edi
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
lea esi, [edx + 2]
mov word [ecx], ax
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x405550
sub edx, esi
sar edx, 1
push edx
push edi
call fcn.00402cf0
lea ecx, [ebp - 0x1c]
call fcn.00405fe0
push 0x1fffe
push 0
push edi
call fcn.0041d060
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x1c]
add esp, 0x24
sub ecx, esi
imul ecx
mov ecx, dword [ebp - 0xc0]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
jl 0x405def
lea eax, [ecx + ecx*2]
lea eax, [esi + eax*8]
lea ecx, [ebp - 0x34]
cmp ecx, eax
je 0x4055c8
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x4055bc
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00402cf0
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x40563f
cmp ecx, 2
jb 0x40563f
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x34]
mov esi, dword [ebp - 0x34]
cmp edx, 8
cmovae eax, esi
cmp word [eax], 0x22
jne 0x405645
cmp edx, 8
lea eax, [ebp - 0x34]
cmovae eax, esi
cmp word [eax + ecx*2 - 2], 0x22
jne 0x405645
dec ecx
lea eax, [ebp - 0x34]
cmp edx, 8
mov dword [ebp - 0x24], ecx
cmovae eax, esi
xor edx, edx
mov word [eax + ecx*2], dx
mov edx, 1
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x34]
cmp eax, edx
cmovb edx, eax
cmp dword [ebp - 0x20], 8
cmovae ecx, dword [ebp - 0x34]
sub eax, edx
mov dword [ebp - 0x24], eax
lea eax, [eax*2 + 2]
push eax
lea eax, [ecx + edx*2]
push eax
push ecx
call fcn.0041cae0
add esp, 0xc
mov esi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x20]
cmp edx, 8
lea eax, [ebp - 0x34]
cmovae eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov esi, eax
push str..cmd
push esi
call fcn.0042491e
add esp, 8
test eax, eax
je 0x4056d9
push str..ps1
push esi
call fcn.0042491e
add esp, 8
test eax, eax
je 0x4056d9
push str..vbs
push esi
call fcn.0042491e
add esp, 8
test eax, eax
je 0x4056d9
push str..psm1
push esi
call fcn.0042491e
add esp, 8
test eax, eax
je 0x4056d9
push 0x449ad0
push esi
call fcn.0042491e
add esp, 8
test eax, eax
je 0x4056d9
push 0x449ad8
push esi
call fcn.0042491e
add esp, 8
test eax, eax
je 0x4056d9
push str..bat
push esi
call fcn.0042491e
add esp, 8
test eax, eax
jne 0x405def
mov edi, dword [ebp - 0x24]
xor ecx, ecx
add edi, 2
mov edx, 2
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
mov dword [ebp - 0xc8], ecx
call fcn.0041aed7
mov esi, eax
add esp, 4
test esi, esi
je 0x40571e
push dword [ebp - 0xc8]
push 0
push esi
call fcn.0041d060
add esp, 0xc
xor eax, eax
mov word [esi], ax
jmp 0x405720
xor esi, esi
mov eax, dword [ebp - 0xe8]
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 0x1c]
lea eax, [eax + ecx*8]
lea ecx, [ebp - 0xb0]
cmp ecx, eax
je 0x405752
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x405743
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0xb0]
call fcn.00402cf0
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x38], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x405832
cmp dword [ebp - 0x38], 0
je 0x405832
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
push str._system32_
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x405832
cmp dword [ebp - 0x20], 8
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0xe4]
cmovae edx, dword [ebp - 0x34]
sub esp, 8
call fcn.00413580
cmp dword [ebp - 0xd0], 8
lea eax, [ebp - 0xe4]
cmovae eax, dword [ebp - 0xe4]
push eax
push 0x447d64
push edi
push esi
call fcn.00413080
mov edx, dword [ebp - 0xd0]
add esp, 0x18
cmp edx, 8
jb 0x40584d
mov ecx, dword [ebp - 0xe4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405826
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405fba
push edx
push ecx
call fcn.0041aec9
add esp, 8
jmp 0x40584d
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
push 0x447d64
push edi
push esi
call fcn.00413080
add esp, 0x10
push 0x447d1c
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x130]
call fcn.004078b0
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xb0]
cmp dword [ebp - 0x9c], 8
push dword [ebp - 0xa0]
cmovae ecx, dword [ebp - 0xb0]
push ecx
mov ecx, eax
call fcn.00403c30
mov dword [ebp - 0xd4], 0
xor ecx, ecx
mov dword [ebp - 0xd0], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xe4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xd4], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 1
push 0x447d78
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 9
call fcn.00403c30
mov dword [ebp - 0x108], 0
xor ecx, ecx
mov dword [ebp - 0x104], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x118], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x108], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0xc8]
mov ecx, edx
lea edi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405930
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x118]
call fcn.00403c30
mov dword [ebp - 0xf0], 0
xor ecx, ecx
mov dword [ebp - 0xec], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x100], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xf0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 4
push str..txt
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0xb
call fcn.00403c30
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x78], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x98]
movq qword [ebp - 0xcc], xmm0
call fcn.004029e0
movups xmm0, xmmword [ebp - 0x78]
movups xmmword [ebp - 0x98], xmm0
movq xmm0, qword [ebp - 0xcc]
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0xec]
movq qword [ebp - 0x88], xmm0
cmp edx, 8
jb 0x405a31
mov ecx, dword [ebp - 0x100]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405a27
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405fba
push edx
push ecx
call fcn.0041aec9
add esp, 8
xor eax, eax
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x104]
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 7
mov word [ebp - 0x100], ax
cmp edx, 8
jb 0x405a92
mov ecx, dword [ebp - 0x118]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405a88
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405fba
push edx
push ecx
call fcn.0041aec9
add esp, 8
xor eax, eax
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 7
mov word [ebp - 0x118], ax
cmp edx, 8
jb 0x405af3
mov ecx, dword [ebp - 0xe4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405ae9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405fba
push edx
push ecx
call fcn.0041aec9
add esp, 8
xor eax, eax
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 7
mov word [ebp - 0xe4], ax
cmp edx, 8
jb 0x405b54
mov ecx, dword [ebp - 0x130]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405b4a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405fba
push edx
push ecx
call fcn.0041aec9
add esp, 8
cmp dword [ebp - 0x84], 8
lea eax, [ebp - 0x98]
push 0
cmovae eax, dword [ebp - 0x98]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x405daf
push esi
push str.File
push str._s:__s
push 0x447d7c
call fcn.004116a0
add esp, 0x10
mov dword [ebp - 0x120], 0
xor eax, eax
mov dword [ebp - 0x11c], 7
lea ecx, [ebp - 0x130]
mov word [ebp - 0x130], ax
push 6
push str.copy__
call fcn.00402cf0
mov ecx, esi
mov byte [ebp - 4], 0xc
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405bd0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x130]
call fcn.00403c30
mov dword [ebp - 0xf0], 0
xor ecx, ecx
mov dword [ebp - 0xec], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x100], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xf0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 3
push 0x447d90
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0xd
call fcn.00403c30
mov dword [ebp - 0x108], 0
xor ecx, ecx
mov dword [ebp - 0x104], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x118], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x108], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x98]
cmp dword [ebp - 0x84], 8
lea ecx, [ebp - 0x118]
push dword [ebp - 0x88]
cmovae eax, dword [ebp - 0x98]
push eax
call fcn.00403c30
mov dword [ebp - 0xd4], 0
xor ecx, ecx
mov dword [ebp - 0xd0], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xe4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xd4], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 1
push 0x447b74
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 0xf
call fcn.00403c30
mov dword [ebp - 0x70], 0
xor ecx, ecx
mov dword [ebp - 0x6c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x80], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x70], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0xe4]
call fcn.004029e0
lea ecx, [ebp - 0x118]
call fcn.004029e0
lea ecx, [ebp - 0x100]
call fcn.004029e0
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0x14
call fcn.004029e0
cmp dword [ebp - 0x6c], 8
lea eax, [ebp - 0x80]
cmovae eax, dword [ebp - 0x80]
push eax
call fcn.004231ec
add esp, 4
test eax, eax
je 0x405da3
cmp dword [ebp - 0x6c], 8
lea eax, [ebp - 0x80]
cmovae eax, dword [ebp - 0x80]
push eax
push str.Execute_command___s__failed___
call fcn.004114b0
push esi
call fcn.0041aafc
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x80]
call fcn.004029e0
jmp 0x405de9
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 7
call fcn.004029e0
cmp dword [ebp - 0x9c], 8
lea ecx, [ebp - 0xb0]
lea eax, [ebp - 0x34]
cmovae ecx, dword [ebp - 0xb0]
cmp dword [ebp - 0x20], 8
push ecx
cmovae eax, dword [ebp - 0x34]
push eax
push str._s__s_n
push dword [ebp - 0xb8]
call fcn.004040e0
push esi
call fcn.0041aafc
add esp, 0x14
mov edi, dword [ebp - 0xc4]
push dword [ebp - 0xb4]
push 0xffff
push edi
call fcn.004232f7
add esp, 0xc
test eax, eax
jne 0x405520
push edi
call fcn.0041aafc
push dword [ebp - 0xb4]
call fcn.0042306c
push dword [ebp - 0xb8]
call fcn.0042306c
add esp, 0xc
mov byte [ebp - 0xb9], 1
lea ecx, [ebp - 0x98]
call fcn.004029e0
lea ecx, [ebp - 0xb0]
call fcn.004029e0
lea ecx, [ebp - 0x34]
call fcn.004029e0
jmp 0x405e58
mov byte [ebp - 0xb9], 0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x405ec7
mov edx, dword [ebp - 0x18]
push ecx
call fcn.00407cd0
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x1c]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x405ea8
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405fc9
push ecx
push esi
call fcn.0041aec9
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x54]
cmp edx, 8
jb 0x405f01
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405ef7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405fce
push edx
push ecx
call fcn.0041aec9
add esp, 8
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x405f4f
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405f45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405fd3
push edx
push ecx
call fcn.0041aec9
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
cmp edx, 8
jb 0x405f99
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405f8f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405fd8
push edx
push ecx
call fcn.0041aec9
add esp, 8
mov al, byte [ebp - 0xb9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041aaeb
mov esp, ebp
pop ebp
ret
call fcn.00422e9e
call fcn.00422e9e
call fcn.00422e9e
call fcn.00422e9e
call fcn.00422e9e
call fcn.00422e9e
call fcn.00422e9e
int3