Function at 0x42e0b0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2820
call fcn.004756c0
mov eax, dword [0x52c018]
xor eax, esp
mov dword [esp + 0x281c], eax
push 0x800
lea eax, [esp + 0x201c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor ecx, ecx
mov al, byte [esp + ecx + 0x2018]
lea ecx, [ecx + 1]
mov byte [esp + ecx + 0x817], al
test al, al
jne 0x42e0e5
lea ecx, [esp + 0x818]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x42e102
mov eax, dword [str..old]
mov dword [ecx], eax
mov al, byte [0x51982c]
mov byte [ecx + 4], al
lea eax, [esp + 0x818]
push eax
call fcn.004d88ce
add esp, 4
lea ecx, [esp]
call fcn.0042de70
mov ecx, eax
cmp dword [ecx + 0x14], 0x10
jb 0x42e13d
mov ecx, dword [ecx]
lea edx, [esp + 0x1018]
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x42e146
mov edx, dword [esp + 0x14]
cmp edx, 0x10
jb 0x42e188
mov ecx, dword [esp]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42e17e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e472
push edx
push ecx
call fcn.004748b1
add esp, 8
lea ecx, [esp + 0x1018]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x42e190
mov eax, dword [str.work.exe]
mov dword [ecx], eax
mov eax, dword [0x519834]
mov dword [ecx + 4], eax
mov ax, word [0x519838]
mov word [ecx + 8], ax
lea eax, [esp + 0x1018]
push eax
call fcn.004d88ce
add esp, 4
lea ecx, [esp]
call fcn.0042de70
mov ecx, eax
cmp dword [ecx + 0x14], 0x10
jb 0x42e1d5
mov ecx, dword [ecx]
lea edx, [esp + 0x1818]
sub edx, ecx
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x42e1e0
mov edx, dword [esp + 0x14]
cmp edx, 0x10
jb 0x42e222
mov ecx, dword [esp]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42e218
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e477
push edx
push ecx
call fcn.004748b1
add esp, 8
lea ecx, [esp + 0x1818]
dec ecx
nop word [eax + eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x42e230
mov eax, dword [0x51983c]
mov dword [ecx], eax
mov eax, dword [0x519840]
mov dword [ecx + 4], eax
mov ax, word [0x519844]
mov word [ecx + 8], ax
lea eax, [esp + 0x1818]
push eax
call fcn.004d88ce
add esp, 4
lea ecx, [esp]
call fcn.0042de70
mov ecx, eax
cmp dword [ecx + 0x14], 0x10
jb 0x42e275
mov ecx, dword [ecx]
lea edx, [esp + 0x18]
sub edx, ecx
nop dword [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x42e280
mov edx, dword [esp + 0x14]
cmp edx, 0x10
jb 0x42e2c2
mov ecx, dword [esp]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42e2b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e47c
push edx
push ecx
call fcn.004748b1
add esp, 8
lea ecx, [esp + 0x18]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x42e2c7
mov eax, dword [str._spanettest.exe]
mov dword [ecx], eax
mov eax, dword [0x51984c]
mov dword [ecx + 4], eax
mov eax, dword [0x519850]
mov dword [ecx + 8], eax
mov eax, dword [0x519854]
mov dword [ecx + 0xc], eax
lea eax, [esp + 0x18]
push eax
call fcn.004d88ce
add esp, 4
lea ecx, [esp]
call fcn.0042de70
mov ecx, eax
cmp dword [ecx + 0x14], 0x10
jb 0x42e30f
mov ecx, dword [ecx]
lea edx, [esp + 0x18]
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x42e315
mov edx, dword [esp + 0x14]
cmp edx, 0x10
jb 0x42e357
mov ecx, dword [esp]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42e34d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e481
push edx
push ecx
call fcn.004748b1
add esp, 8
lea ecx, [esp + 0x18]
dec ecx
nop dword [eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x42e360
mov eax, dword [str.qrgen.exe]
mov dword [ecx], eax
mov eax, dword [0x51985c]
mov dword [ecx + 4], eax
mov ax, word [0x519860]
mov word [ecx + 8], ax
mov al, byte [0x519862]
mov byte [ecx + 0xa], al
lea eax, [esp + 0x18]
push eax
call fcn.004d88ce
add esp, 4
call fcn.00404810
lea eax, [esp + 0x818]
push eax
lea eax, [esp + 0x201c]
push eax
call fcn.004d9164
add esp, 8
test eax, eax
je 0x42e3cd
xor al, al
mov ecx, dword [esp + 0x281c]
xor ecx, esp
call fcn.00474416
mov esp, ebp
pop ebp
ret
lea ecx, [esp]
call fcn.0042de70
mov ecx, eax
cmp dword [ecx + 0x14], 0x10
jb 0x42e3df
mov ecx, dword [ecx]
lea edx, [esp + 0x18]
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x42e3e5
mov edx, dword [esp + 0x14]
cmp edx, 0x10
jb 0x42e423
mov ecx, dword [esp]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42e419
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e486
push edx
push ecx
call fcn.004748b1
add esp, 8
lea ecx, [esp + 0x18]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x42e428
mov eax, dword [str._spa.exe.old]
mov dword [ecx], eax
mov eax, dword [0x519868]
mov dword [ecx + 4], eax
mov eax, dword [0x51986c]
mov dword [ecx + 8], eax
mov al, byte [0x519870]
mov byte [ecx + 0xc], al
lea eax, [esp + 0x18]
push eax
call fcn.004d88ce
mov ecx, dword [esp + 0x2820]
add esp, 4
xor ecx, esp
mov al, 1
call fcn.00474416
mov esp, ebp
pop ebp
ret
call fcn.004d274f
call fcn.004d274f
call fcn.004d274f
call fcn.004d274f
call fcn.004d274f
int3