Function at 0x4055e0
Capabilities:
Move file
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ab2d
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x47a2f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebx + 0x28]
mov eax, 0x3e0f83e1
sub edx, dword [ebx + 0x24]
imul edx
mov dword [ebp - 0x90], 0
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4058ff
xor edi, edi
mov dword [ebp - 0x8c], edi
nop
lea eax, [ebp - 0x88]
push eax
call fcn.004041f0
mov esi, eax
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 0x24]
add ecx, edi
call fcn.0040de91
push eax
mov edx, esi
lea ecx, [ebp - 0x70]
call fcn.00408c60
add esp, 4
mov edi, eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
call fcn.004041f0
mov esi, eax
mov byte [ebp - 4], 2
mov ecx, dword [ebx + 0x24]
add ecx, dword [ebp - 0x8c]
call fcn.0040de91
push eax
mov edx, esi
lea ecx, [ebp - 0x40]
call fcn.00408c60
add esp, 4
push 0x47250c
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00408c60
add esp, 4
cmp dword [edi + 0x14], 8
jb 0x4056bc
mov edi, dword [edi]
cmp dword [eax + 0x14], 8
jb 0x4056c4
mov eax, dword [eax]
push 1
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edx, dword [ebp - 0x14]
mov esi, eax
cmp edx, 8
jb 0x40570a
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405700
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405923
push edx
push ecx
call fcn.0043feb1
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x40575c
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405752
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405923
push edx
push ecx
call fcn.0043feb1
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x4057ae
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4057a4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405923
push edx
push ecx
call fcn.0043feb1
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edx, 8
jb 0x4057ff
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4057f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405923
push edx
push ecx
call fcn.0043feb1
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp edx, 8
jb 0x405857
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40584d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405923
push edx
push ecx
call fcn.0043feb1
add esp, 8
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
test esi, esi
je 0x40587f
push 0x472644
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4058c2
push 0x84
mov dword [ebx + 0x70], eax
call fcn.0043fe81
add esp, 4
mov dword [ebp - 0x94], eax
push 0xffffffffffffffff
push 0x472658
mov ecx, eax
mov dword [ebp - 4], 4
call fcn.0040dc81
push 0
push eax
push 0x401
mov dword [ebp - 4], 0xffffffff
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x28]
mov eax, 0x3e0f83e1
sub ecx, dword [ebx + 0x24]
mov edi, dword [ebp - 0x90]
add dword [ebp - 0x8c], 0x84
inc edi
imul ecx
mov dword [ebp - 0x90], edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x405905
mov edi, dword [ebp - 0x8c]
jmp 0x405640
mov esi, dword [ebp - 0x94]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043fe70
mov esp, ebp
pop ebp
ret
call fcn.00444fd9
int3