Function at 0x44b7ac
Capabilities:
Delete file
Move file

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffaa4
mov dword [esp], ecx
mov edi, edx
mov ebx, eax
xor ebp, ebp
cmp bl, 1
je 0x44b7c9
cmp bl, 3
jne 0x44b7d5
lea eax, [esp + 0x46]
mov edx, dword [esp]
call fcn.004b81b0
test bl, bl
jne 0x44b809
mov dl, 0x30
mov ax, 0x13
call fcn.0048841c
mov edx, dword [0x4be6b0]
mov dword [edx], eax
mov eax, dword [0x4be6b0]
cmp dword [eax], 0
je 0x44bfc9
mov edx, dword [0x4befa8]
lea eax, [esp + 0x46]
call fcn.004b81b0
mov edx, dword [0x4be538]
lea eax, [esp + 0x246]
call fcn.004b81b0
cmp bl, 2
jne 0x44b8b1
mov edx, dword [0x4befa8]
mov eax, dword [0x4be538]
call fcn.004b81b0
mov al, 0x14
call fcn.00421294
test al, al
je 0x44b89b
mov edx, dword [0x4be538]
mov eax, dword [0x4befa8]
call fcn.004b81b0
mov edx, dword [0x4befa8]
lea eax, [esp + 0x46]
call fcn.004b81b0
lea edx, [esp + 0x246]
mov eax, dword [0x4be538]
call fcn.004b81b0
push 0x44bfd8
mov eax, dword [0x4befa8]
call fcn.004aecd8
push eax
call sub.kernel32.dll_lstrcmpiA
test eax, eax
je 0x44b892
call fcn.0044b678
jmp 0x44bfc9
call fcn.0041f708
mov edi, eax
jmp 0x44b8b1
lea edx, [esp + 0x246]
mov eax, dword [0x4be538]
call fcn.004b81b0
jmp 0x44bfc9
test di, di
jne 0x44b8bd
call fcn.0041f708
mov edi, eax
mov byte [esp + 0x45], 0
xor eax, eax
mov dword [esp + 0x40], eax
mov byte [esp + 0x44], 0
mov byte [esp + 0x458], 0
cmp byte [esp + 0x458], 0
je 0x44b8f6
mov byte [esp + 0x45], 1
lea edx, [esp + 0x458]
lea eax, [esp + 0x46]
call fcn.004b81b0
jmp 0x44b94a
cmp bl, 1
jne 0x44b914
movsx eax, di
mov edx, dword [0x4be754]
mov eax, dword [edx + eax*4 - 4]
mov eax, dword [eax + 0xc]
cmp byte [eax + 0x96], 4
je 0x44b92b
mov eax, edi
call fcn.004b1cb8
mov edx, eax
lea eax, [esp + 0x146]
call fcn.004b81b0
jmp 0x44b94a
movsx eax, di
mov edx, dword [0x4be754]
mov eax, dword [edx + eax*4 - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x146]
call fcn.004b81b0
mov byte [esp + 0x458], 0
cmp bl, 1
jne 0x44b9c1
lea edx, [esp + 0x146]
lea eax, [esp + 0x346]
call fcn.004b81b0
lea eax, [esp + 0x346]
call fcn.004aed10
call fcn.004b8144
mov edx, dword [0x4be6b0]
mov dword [edx], eax
lea eax, [esp + 0x346]
call fcn.004b8144
mov edx, dword [0x4be6b0]
sub eax, dword [edx]
mov byte [esp + eax + 0x346], 0x7e
lea eax, [esp + 0x346]
push eax
call sub.kernel32.dll_DeleteFileA_1
lea eax, [esp + 0x346]
push eax
lea eax, [esp + 0x14a]
push eax
call sub.kernel32.dll_MoveFileA
lea eax, [esp + 0x146]
push eax
mov al, byte [esp + 0x49]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x3a]
push eax
lea eax, [esp + 0x3f]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x46c]
push eax
lea eax, [esp + 0x42]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x494]
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x88]
push eax
cmp bl, 1
sete al
lea ecx, [esp + 0x96]
xor edx, edx
call fcn.0042f33c
test al, al
je 0x44bfa0
cmp bl, 1
je 0x44bb83
cmp byte [esp + 0x45], 0
jne 0x44bb83
mov eax, dword [0x4be55c]
cmp byte [eax], 0
je 0x44bae6
mov eax, dword [0x4be994]
cmp byte [eax], 3
jae 0x44bae6
call fcn.0041f708
mov edi, eax
cmp di, 0xffff
je 0x44bfc9
mov edx, 0x44bfdc
mov eax, dword [0x4be538]
call fcn.004b81b0
mov eax, dword [0x4be784]
mov al, byte [eax + 0x18bb]
mov edx, dword [0x4bea14]
mov byte [edx], al
cmp byte [esp + 0x458], 0
je 0x44bac3
mov eax, dword [0x4beb20]
mov byte [eax], 1
call fcn.0044afac
mov eax, dword [0x4beb20]
mov byte [eax], 0
movsx eax, di
mov edx, dword [0x4be754]
cmp dword [edx + eax*4 - 4], 0
je 0x44bfc9
jmp 0x44bb45
mov eax, dword [0x4be55c]
cmp byte [eax], 0
je 0x44bb0c
mov eax, dword [0x4be994]
cmp byte [eax], 3
jne 0x44bb0c
mov eax, dword [0x4be55c]
mov byte [eax], 0
call fcn.0044afac
jmp 0x44bf56
mov eax, dword [0x4be994]
cmp byte [eax], 1
jbe 0x44bb26
call fcn.0044afac
test ax, ax
jle 0x44bfc9
jmp 0x44bb45
push dword [esp + 0x14]
push dword [esp + 0x14]
mov eax, dword [0x4be538]
call fcn.00418948
call fcn.0044acd4
test al, al
je 0x44bfc9
movsx eax, di
mov edx, dword [0x4be754]
mov eax, dword [edx + eax*4 - 4]
mov dx, word [esp + 0x1a]
mov word [eax + 0x400], dx
movsx edx, di
mov ecx, dword [0x4be754]
mov edx, dword [esp + 0x20]
mov dword [eax + 0x44], edx
movsx edx, di
mov ecx, dword [0x4be754]
mov eax, dword [eax + 0xc]
mov byte [eax + 0xa5], 0
jmp 0x44bba7
mov edi, dword [0x4bec7c]
mov di, word [edi]
mov eax, dword [0x4be55c]
cmp byte [eax], 0
je 0x44bba7
mov eax, dword [0x4be994]
cmp byte [eax], 3
jne 0x44bba7
mov eax, edi
call fcn.0044b340
cmp bl, 1
jne 0x44bbb9
lea eax, [esp + 0x346]
push eax
call sub.kernel32.dll_DeleteFileA_1
movsx eax, di
mov edx, dword [0x4be754]
mov esi, dword [edx + eax*4 - 4]
mov eax, dword [esi + 0xc]
mov dl, 1
call fcn.00418a58
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x3c]
mov dword [eax + 0x68], edx
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x38]
mov dword [eax + 0x64], edx
mov eax, dword [0x4be994]
cmp byte [eax], 3
je 0x44bc12
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x28]
mov dword [eax + 0x24], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 0x28], edx
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x30]
mov dword [eax + 0x2c], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 0x30], edx
jmp 0x44bc31
cmp byte [esp + 0x45], 0
jne 0x44bc31
mov eax, dword [esi + 0xc]
add eax, 0x24
push eax
call sub.kernel32.dll_GetSystemTimeAsFileTime
mov eax, dword [esi + 0xc]
add eax, 0x2c
push eax
call sub.kernel32.dll_GetSystemTimeAsFileTime
mov eax, dword [esi + 0xc]
mov byte [eax + 0xd2], 0
cmp byte [esp + 0x45], 0
jne 0x44bd0f
cmp byte [esp + 0x26], 2
je 0x44bc72
mov ecx, dword [0x4bedb0]
mov ax, word [esp + 0x24]
dec eax
mov edx, dword [esp + 0xc]
call fcn.00430cd4
test al, al
jne 0x44bc72
mov word [esp + 0x24], 0
mov byte [esp + 0x26], 0
mov ax, word [esp + 0x24]
mov word [esi + 0x428], ax
mov al, byte [esp + 0x26]
mov byte [esi + 0x434], al
mov eax, dword [esp + 0xc]
mov dword [esi + 0x30], eax
cmp byte [esi + 0x442], 0
jne 0x44bd0f
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x10]
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x14]
mov dword [eax + 0x14], edx
fild qword [esp + 0x10]
fsub dword [0x44bfe0]
fild qword [esi + 0x3c]
fcompp
fnstsw ax
sahf
jbe 0x44bd0f
mov eax, dword [esi + 0xc]
fild qword [eax + 0x10]
fsub dword [0x44bfe4]
add esp, 0xfffffff8
fistp qword [esp]
wait
movzx eax, word [esi + 0x3fe]
mov dword [esp + 0x560], eax
fild dword [esp + 0x560]
add esp, 0xfffffff8
fistp qword [esp]
wait
call fcn.004af060
mov dword [esp + 0x558], eax
fild dword [esp + 0x558]
fild qword [esp + 0x10]
fsubrp st(1)
fsub dword [0x44bfe4]
fistp qword [esi + 0x3c]
wait
cmp bl, 1
jne 0x44bd99
mov al, byte [esp + 0x27]
mov byte [esi + 0x443], al
push esi
push edi
lea edi, [esi + 0x144]
lea esi, [esp + 0x450]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [esi + 0xc]
cmp byte [eax + 0x96], 4
je 0x44bd99
cmp byte [esi + 0x442], 0
jne 0x44bd99
mov byte [eax + 0x96], 3
mov byte [eax + 0xa1], 1
mov edx, dword [eax + 0x98]
test edx, edx
je 0x44bd99
push 0x4000
mov eax, dword [eax + 0x9c]
push eax
push edx
call sub.kernel32.dll_VirtualFree_1
mov eax, dword [esi + 0xc]
xor edx, edx
mov dword [eax + 0x98], edx
mov eax, dword [esi + 0xc]
call fcn.00419a30
test al, al
jne 0x44bd99
mov byte [esi + 0x44a], 0
call fcn.00427d08
mov eax, dword [0x4be55c]
cmp byte [eax], 0
je 0x44bdad
mov eax, dword [0x4be994]
cmp byte [eax], 3
jb 0x44bdc3
cmp byte [esi + 0x442], 0
je 0x44be8e
cmp bl, 1
jne 0x44be8e
mov eax, dword [0x4be994]
cmp byte [eax], 2
jae 0x44bdec
mov eax, dword [esi + 0xc]
mov byte [eax + 0xa1], 1
mov byte [eax + 0x96], 2
mov byte [esi + 0x443], 1
mov byte [esi + 0x444], 1
mov eax, dword [esi + 0xc]
mov dx, word [esp + 0x1c]
mov word [eax + 0x94], dx
mov eax, dword [0x4be55c]
cmp byte [eax], 0
je 0x44be73
mov eax, dword [0x4be4b0]
mov eax, dword [eax]
sub eax, dword [esp + 4]
mov edx, dword [0x4bea38]
add eax, dword [edx]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x24]
call fcn.004aef80
movsx eax, byte [esi + 0x442]
mov edx, dword [0x4becf0]
movzx eax, word [edx + eax*2 + 0x54]
mov dword [esp + 0x558], eax
fild dword [esp + 0x558]
fmulp st(1)
fistp qword [esi + 0x3c]
wait
movzx eax, word [esi + 0x3fe]
mov dword [esp + 0x558], eax
fild dword [esp + 0x558]
fild qword [esi + 0x3c]
fdivrp st(1)
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.004aefd0
inc eax
mov dword [esi + 0x20], eax
movsx eax, word [esi + 0x424]
mov edx, dword [0x4be754]
mov eax, dword [edx + eax*4 - 4]
call fcn.0046ee24
call fcn.00427d08
cmp byte [esi + 0x442], 0
jne 0x44beb4
mov eax, dword [0x4be994]
cmp byte [eax], 2
jae 0x44beb4
mov byte [esi + 0x443], 1
mov byte [esi + 0x444], 1
call fcn.00427d08
mov eax, dword [0x4be994]
cmp byte [eax], 2
jae 0x44bf30
mov eax, dword [0x4be55c]
cmp byte [eax], 0
setne al
mov byte [esp + 0x18], al
cmp bl, 1
je 0x44bf30
xor eax, eax
mov al, byte [esp + 0x18]
mov edx, dword [0x4be784]
cmp byte [edx + eax + 0x1940], 0
je 0x44bf30
xor eax, eax
mov al, byte [esp + 0x18]
add ax, 0x125
call fcn.004aa600
mov edx, eax
mov eax, dword [0x4bedb0]
call fcn.004b81b0
mov eax, dword [0x4bedb0]
mov edx, 0x24
call fcn.004b12a8
xor eax, eax
mov al, byte [esp + 0x18]
mov edx, dword [0x4be784]
mov ecx, dword [0x4bec68]
mov cl, byte [ecx]
xor cl, 1
mov byte [edx + eax + 0x1940], cl
cmp bl, 1
jne 0x44bf56
mov eax, dword [0x4be55c]
cmp byte [eax], 0
jne 0x44bf56
movsx eax, di
mov edx, dword [0x4be754]
mov eax, dword [edx + eax*4 - 4]
call fcn.0046ee24
call fcn.00427d08
cmp byte [esp + 0x458], 0
je 0x44bfc7
mov eax, dword [0x4be784]
cmp byte [eax + 0x189b], 0
jne 0x44b8d5
mov ax, 0x2c9
call fcn.004aa600
lea edx, [esp + 0x458]
call fcn.004ae1b0
mov eax, dword [0x4bedb0]
mov edx, 2
call fcn.004b12a8
cmp al, 1
je 0x44b8d5
jmp 0x44bfc7
cmp bl, 1
jne 0x44bfc7
lea eax, [esp + 0x146]
push eax
call sub.kernel32.dll_DeleteFileA_1
lea eax, [esp + 0x146]
push eax
lea eax, [esp + 0x34a]
push eax
call sub.kernel32.dll_MoveFileA
mov ebp, edi
mov eax, ebp
add esp, 0x55c
pop ebp
pop edi
pop esi
pop ebx
ret