Function at 0x43dbf0
Capabilities:
Check os version
Delete file
Get common file path
Move file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x440e6c
push eax
mov eax, 0x127c
mov dword fs:[0], esp
call sub.ntdll.dll__chkstk
push ebx
push ebp
push esi
push edi
xor esi, esi
mov edi, 1
mov eax, 0x400
mov dword [esp + 0x538], esi
mov dword [esp + 0x53c], esi
mov dword [esp + 0x540], esi
mov dword [esp + 0x544], edi
mov dword [esp + 0x56c], eax
mov dword [esp + 0x570], eax
mov dword [esp + 0x568], 0x140
mov dword [esp + 0x584], esi
mov dword [esp + 0x574], 0xffffffff
mov dword [esp + 0x578], esi
mov dword [esp + 0x57c], esi
mov dword [esp + 0x580], esi
push edi
lea ecx, [esp + 0x538]
mov dword [esp + 0x1298], esi
call fcn.0043e4e0
lea eax, [esp + 0x548]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [esp + 0x20]
mov dword [esp + 0x1294], edi
mov dword [esp + 0x14], esi
call fcn.0043bc30
lea ecx, [esp + 0x1188]
push 0x104
push ecx
mov byte [esp + 0x129c], 2
mov dword [esp + 0x24], 0xea60
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [esp + 0x39c]
mov dword [esp + 0x39c], 0x94
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x43e164
cmp dword [esp + 0x3a0], 5
jne 0x43e164
cmp dword [esp + 0x3a4], esi
jne 0x43dd2c
lea eax, [esp + 0x1188]
lea ecx, [esp + 0x160]
push eax
push 0x47c490
push 0x104
push ecx
jmp 0x43dd46
lea edx, [esp + 0x1188]
lea eax, [esp + 0x160]
push edx
push 0x47c480
push 0x104
push eax
call fcn.00407080
add esp, 0x10
lea ecx, [esp + 0x160]
lea edx, [esp + 0x298]
push ecx
push 0x104
push edx
call fcn.0040aba0
lea eax, [esp + 0x298]
push eax
call dword [sym.imp.ntdll.dll__strupr]
lea edi, [esp + 0x29c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x2a0]
push ecx
call fcn.00437810
xor edx, edx
add esp, 0xc
div dword [esp + 0x53c]
mov ebx, edx
lea edx, [esp + 0x548]
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x538]
mov ebp, dword [eax + ebx*4]
test ebp, ebp
mov esi, ebp
je 0x43dddd
lea ecx, [esp + 0x160]
lea edx, [esi + 4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x43de3d
mov esi, dword [esi]
test esi, esi
jne 0x43ddc1
lea ecx, [esp + 0x584]
push ecx
lea ecx, [esp + 0x56c]
call fcn.0040d230
test eax, eax
jne 0x43de01
lea ecx, [esp + 0x568]
call fcn.0040d100
lea edi, [eax + 4]
mov ecx, 0x4e
lea esi, [esp + 0x160]
mov dword [eax], 0
rep movsd dword es:[edi], dword [esi]
mov dword [eax + 0x13c], 0
mov dword [eax], ebp
mov edx, dword [esp + 0x538]
mov dword [edx + ebx*4], eax
mov edx, dword [esp + 0x540]
inc edx
mov dword [esp + 0x540], edx
lea eax, [esp + 0x548]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x534]
mov dword [esp + 0x294], 1
push ecx
call fcn.0043c990
lea edx, [esp + 0x538]
push edx
call fcn.0043ca10
add esp, 8
test eax, eax
je 0x43de86
mov dword [esp + 0x10], 6
xor esi, esi
jmp 0x43e16c
lea eax, [esp + 0x160]
lea ecx, [esp + 0x298]
push eax
push 0x104
push ecx
call fcn.0040aba0
lea edx, [esp + 0x298]
push edx
call dword [sym.imp.ntdll.dll__strupr]
lea edi, [esp + 0x29c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x29c]
push ecx
push eax
call fcn.00437810
xor edx, edx
add esp, 0xc
div dword [esp + 0x53c]
lea ecx, [esp + 0x548]
push ecx
mov esi, edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0x538]
mov esi, dword [edx + esi*4]
test esi, esi
je 0x43df15
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea eax, [esp + 0x160]
lea ecx, [esi + 4]
push eax
push ecx
call ebp
test eax, eax
je 0x43df32
mov esi, dword [esi]
test esi, esi
jne 0x43def7
lea eax, [esp + 0x548]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x10], 6
xor esi, esi
jmp 0x43e16c
add esi, 4
mov ecx, 0x4e
lea edi, [esp + 0x160]
lea edx, [esp + 0x548]
rep movsd dword es:[edi], dword [esi]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x284]
test eax, eax
je 0x43df6b
mov dword [esp + 0x10], 6
xor esi, esi
jmp 0x43e16c
lea ecx, [esp + 0x160]
push 0x5c
push ecx
call dword [sym.imp.ntdll.dll_strrchr]
mov edi, eax
add esp, 8
test edi, edi
jne 0x43df93
mov dword [esp + 0x10], 6
xor esi, esi
jmp 0x43e16c
mov edx, 0x47c3f0
lea ecx, [esp + 0x5c]
inc edi
mov esi, 0x104
lea eax, [esp + 0x5c]
sub edx, ecx
mov cl, byte [edx + eax]
test cl, cl
je 0x43dfb7
mov byte [eax], cl
inc eax
dec esi
jne 0x43dfa8
jmp 0x43dfbb
test esi, esi
jne 0x43dfbc
dec eax
lea edx, [esp + 0x18]
mov byte [eax], 0
push edx
lea eax, [esp + 0x60]
push 0x104
push eax
call fcn.004054f0
test eax, eax
jl 0x43dfee
mov eax, dword [esp + 0x18]
mov ecx, 0x104
sub ecx, eax
push edi
lea edx, [esp + eax + 0x60]
push ecx
push edx
call fcn.004054a0
lea eax, [esp + 0x18]
lea ecx, [esp + 0x5c]
push eax
push 0x104
push ecx
call fcn.004054f0
test eax, eax
jl 0x43e021
mov eax, dword [esp + 0x18]
mov edx, 0x104
sub edx, eax
push 0x47c258
lea eax, [esp + eax + 0x60]
push edx
push eax
call fcn.004054a0
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x5c]
push ecx
call ebx
mov eax, dword [esp + 0x28c]
mov esi, dword [esp + 0x1c]
lea edx, [esp + 0x5c]
push esi
mov ecx, dword [eax]
push edx
push ecx
call fcn.0043c080
add esp, 0xc
test eax, eax
je 0x43e065
mov eax, dword [esp + 0x14]
cmp eax, 3
jge 0x43e0b4
inc eax
lea edx, [esi + esi]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edx
jmp 0x43e02e
lea eax, [esp + 0x28]
push 0
lea ecx, [esp + 0x60]
push eax
push ecx
call fcn.004147f0
add esp, 0xc
test eax, eax
jne 0x43e08c
mov dword [esp + 0x10], 6
xor esi, esi
jmp 0x43e16c
lea edx, [esp + 0x38]
lea eax, [esp + 0x28]
push edx
push eax
call fcn.0043dba0
mov edx, dword [esp + 0x294]
add esp, 8
lea ecx, [esp + 0x38]
add edx, 4
push ecx
push edx
call ebp
test eax, eax
je 0x43e0c3
mov dword [esp + 0x10], 6
xor esi, esi
jmp 0x43e16c
mov esi, dword [esp + 0x129c]
push edi
push 0x47c3e8
push 0x104
push esi
call fcn.00407080
push esi
call fcn.00414f90
add esp, 0x14
test eax, eax
je 0x43e13e
mov edi, dword [sym.imp.MSVCRT.dll_rand]
call edi
push eax
push esi
push 0x47c3e0
lea eax, [esp + 0x43c]
push 0x104
push eax
call fcn.00407080
lea ecx, [esp + 0x444]
push ecx
call fcn.00414f90
add esp, 0x18
test eax, eax
jne 0x43e0ee
lea edx, [esp + 0x430]
push 1
push edx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExA]
call esi
push 4
lea eax, [esp + 0x434]
push 0
push eax
call esi
lea ecx, [esp + 0x5c]
push 0x47c3f0
push ecx
lea ecx, [esp + 0x28]
call fcn.0043bc70
test eax, eax
je 0x43e0b4
lea edx, [esp + 0x5c]
push edx
call ebx
xor esi, esi
jmp 0x43e16c
mov dword [esp + 0x10], 6
lea eax, [esp + 0x534]
push eax
call fcn.0043e240
add esp, 4
lea ecx, [esp + 0x20]
mov byte [esp + 0x1294], 1
call fcn.0043bc60
lea ecx, [esp + 0x548]
mov dword [esp + 0x1294], 3
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 0x568]
mov dword [esp + 0x540], esi
call fcn.0043e570
mov ecx, dword [esp + 0x53c]
mov edi, dword [esp + 0x538]
xor eax, eax
lea edx, [esp + 0x548]
rep stosd dword es:[edi], eax
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x538]
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
lea ecx, [esp + 0x548]
mov dword [esp + 0x538], esi
mov dword [esp + 0x53c], esi
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ecx, [esp + 0x568]
mov dword [esp + 0x1294], 0xffffffff
call fcn.0043e570
mov ecx, dword [esp + 0x128c]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1288
ret