Function at 0x40ddd0
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4c0508
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e7d04]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x74]
mov edi, ecx
xor esi, esi
mov dword [esp + 0x20], eax
cmp edi, esi
je 0x40e0d8
cmp eax, esi
je 0x40e0d8
lea ecx, [esp + 0x24]
push ecx
call fcn.0040ee50
mov dword [esp + 0x68], esi
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], esi
mov ebx, ecx
cmp eax, ecx
jbe 0x40de48
call fcn.00482476
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x24]
mov ebp, eax
cmp eax, ecx
jbe 0x40de57
call fcn.00482476
mov edx, dword [esp + 0x24]
push ebx
push esi
push ebp
push edx
lea eax, [esp + 0x50]
push eax
lea esi, [esp + 0x38]
call fcn.0040f5b0
mov edx, dword [esp + 0x3c]
mov ecx, esi
mov esi, dword [esp + 0x20]
push ecx
push edi
push edx
lea edx, [esp + 0x28]
mov ecx, esi
call fcn.0040e1b0
test eax, eax
jne 0x40e146
mov eax, dword [0x4eab28]
mov edx, dword [eax + 0xc]
mov ecx, 0x4eab28
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x68], 1
mov eax, dword [0x4eab28]
mov edx, dword [eax + 0xc]
mov ecx, 0x4eab28
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x68], 2
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
cmp esi, eax
jbe 0x40ded8
call fcn.00482476
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x24]
add esi, 8
nop
mov ebp, eax
cmp dword [esp + 0x30], eax
jbe 0x40deed
call fcn.00482476
test edi, edi
je 0x40def7
cmp edi, dword [esp + 0x24]
je 0x40defc
call fcn.00482476
lea ebx, [esi - 8]
cmp ebx, ebp
je 0x40df72
test edi, edi
jne 0x40df6a
call fcn.00482476
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x40df18
call fcn.00482476
mov eax, dword [esi - 4]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004037b0
push 3
push 0x4d2734
lea ecx, [esp + 0x20]
call fcn.004037b0
mov eax, dword [esi]
mov edx, dword [eax - 0xc]
push edx
push eax
lea ecx, [esp + 0x20]
call fcn.004037b0
test edi, edi
jne 0x40df6e
call fcn.00482476
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x40df5e
call fcn.00482476
mov eax, dword [esp + 0x34]
add esi, 0xc
jmp 0x40dee0
mov eax, dword [edi]
jmp 0x40df0e
mov eax, dword [edi]
jmp 0x40df54
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx - 0xc]
push eax
push ebx
lea ecx, [esp + 0x1c]
call fcn.004037b0
push 9
push str.ErrFile
lea ecx, [esp + 0x1c]
call fcn.004037b0
mov esi, dword [esp + 0x20]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
jne 0x40dfa7
xor ecx, ecx
jmp 0x40dfbf
mov ecx, eax
lea edi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x40dfb0
sub ecx, edi
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.004037b0
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x18]
call fcn.00422660
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x40], esp
mov dword [eax], 0
mov byte [esp + 0x88], 4
mov ecx, dword [esp + 0x60]
push 0
push ecx
push str.inst_move_file_fail
call fcn.0040f020
mov ecx, eax
mov byte [esp + 0x94], 3
call fcn.0046c540
mov edi, dword [esp + 0x14]
push edi
push esi
push str.Copy_file__s_failed__ErrInfo___s
call fcn.0041aa00
mov esi, dword [esp + 0x48]
add esp, 0xc
lea edx, [esp + 0x1c]
mov ecx, esi
lea eax, [esp + 0x48]
mov dword [esp + 0x1c], 2
call fcn.00410250
mov ecx, dword [0x4ec05c]
test ecx, ecx
je 0x40e0f0
mov edx, dword [ecx + 4]
push 0
push eax
push 0xbba
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esp + 0x1c], 1
jne 0x40e0f0
mov byte [esp + 0x68], 2
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e08d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x68], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e0ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x68], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e0cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x24]
call fcn.0040eeb0
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 8
push str.Delete_extract_temp_folder
call fcn.0041aa00
mov eax, dword [esi + 8]
add esp, 4
push eax
call fcn.00453fa0
add esp, 4
push str.Suicide
call fcn.0041aa00
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40e068
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40e068
push edi
push esi
push str.Copy__s_to__s_success.
call fcn.0041aa00
add esp, 0xc
lea esi, [esp + 0x24]
call fcn.0040eeb0
mov eax, 1
jmp 0x40e0da