Function at 0x432e60
Capabilities:
Copy file
Delete file
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x494c88
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x4c51d0]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, edx
push str._funoictl64.dll
lea ecx, [esp + 0x28]
call fcn.00401c40
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x68], 0
call fcn.00407870
add esp, 8
push str._funoictl.dll
lea ecx, [esp + 0x24]
mov byte [esp + 0x64], 1
call fcn.00401c40
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x68], 2
call fcn.00407870
add esp, 8
mov bl, 3
mov byte [esp + 0x60], bl
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov byte [esp + 0x60], 4
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x432f25
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.004105a0
add esp, 8
lea eax, [esi - 0x10]
mov byte [esp + 0x60], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432f45
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ebx, edi
call fcn.00407870
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
add esp, 8
push 0
push ecx
push eax
call esi
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x432f8b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x60], 5
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x432fc8
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.004105a0
add esp, 8
lea eax, [ebx - 0x10]
mov byte [esp + 0x60], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432fe9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
mov ebx, edi
call fcn.00407870
mov ecx, dword [esp + 0x24]
mov eax, dword [eax]
add esp, 8
xor ebx, ebx
push ebx
push ecx
push eax
call esi
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43302a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x64], 6
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [esp + 0x30]
cmp ax, 9
je 0x4330c6
cmp ax, 6
je 0x4330c6
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push str.regsvr32.exe__s___s_
push eax
call fcn.0040d860
mov esi, dword [esp + 0x24]
add esp, 8
add esi, 0xfffffff0
mov dword [esp + 0x30], esp
mov edi, esp
push esi
call fcn.004015d0
add esp, 4
add eax, 0x10
push ebx
mov dword [edi], eax
call fcn.0040b800
add esp, 8
mov edi, eax
mov byte [esp + 0x60], 3
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x433159
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x433159
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push str.regsvr32.exe__s___s_
push edx
call fcn.0040d860
mov eax, dword [esp + 0x24]
add esp, 8
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
push eax
call fcn.004015d0
add esp, 4
add eax, 0x10
push ebx
mov dword [esi], eax
call fcn.0040b800
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push str.regsvr32.exe__s___s_
push ecx
call fcn.0040d860
mov esi, dword [esp + 0x2c]
add esp, 0x10
add esi, 0xfffffff0
mov dword [esp + 0x30], esp
mov edi, esp
push esi
call fcn.004015d0
add esp, 4
add eax, 0x10
push ebx
mov dword [edi], eax
call fcn.0040b800
mov edi, eax
add esp, 8
mov byte [esp + 0x60], 3
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x433159
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [esp + 0x60], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43317e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x60], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4331a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x60], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4331c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x60], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4331ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret