Function at 0x455020
Capabilities:
Copy file
Create directory
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d085d
mov eax, dword fs:[0]
push eax
sub esp, 0x8e0
mov eax, dword [0x5020a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x455992
xorps xmm0, xmm0
mov dword [ebp - 0x62c], eax
movups xmmword [ebp - 0x63c], xmm0
push 8
mov dword [ebp - 0x63c], eax
mov dword [ebp - 0x638], eax
mov dword [ebp - 0x634], eax
mov dword [ebp - 0x630], eax
mov dword [ebp - 0x62c], eax
call fcn.0049f987
lea ecx, [ebp - 0x63c]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x63c], eax
mov dword [eax], ecx
mov ecx, esi
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x668], 0
mov dword [ebp - 0x658], 0
mov dword [ebp - 0x654], 7
mov word [ebp - 0x668], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4550e3
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x668]
call fcn.00426af0
lea eax, [ebp - 0x668]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x63c]
call fcn.00458ac0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x654]
cmp edx, 8
jb 0x455159
mov ecx, dword [ebp - 0x668]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45514f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4559b4
push edx
push ecx
call fcn.0049f9b7
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x640], 0
movups xmmword [ebp - 0x650], xmm0
push 8
mov dword [ebp - 0x650], 0
mov dword [ebp - 0x64c], 0
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x644], 0
mov dword [ebp - 0x640], 0
call fcn.0049f987
lea ecx, [ebp - 0x650]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x650], eax
mov dword [eax], ecx
mov ecx, edi
mov byte [ebp - 4], 2
xor eax, eax
mov dword [ebp - 0x668], 0
mov dword [ebp - 0x658], 0
mov dword [ebp - 0x654], 7
mov word [ebp - 0x668], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4551f0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x668]
call fcn.00426af0
lea eax, [ebp - 0x668]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x650]
call fcn.00458ac0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x654]
cmp edx, 8
jb 0x455266
mov ecx, dword [ebp - 0x668]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45525c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4559b4
push edx
push ecx
call fcn.0049f9b7
add esp, 8
cmp dword [ebp - 0x62c], 0
je 0x4557ce
mov ecx, dword [ebp - 0x634]
mov edx, dword [ebp - 0x630]
mov esi, dword [ebp - 0x638]
lea eax, [ecx - 1]
and eax, edx
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x668], 0
mov dword [ebp - 0x658], 0
mov dword [ebp - 0x654], 0
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x8d4], eax
jb 0x4552bc
mov edi, dword [edi]
cmp eax, 8
jae 0x4552d7
movups xmm0, xmmword [edi]
mov dword [ebp - 0x654], 7
movups xmmword [ebp - 0x668], xmm0
jmp 0x455335
mov esi, eax
lea ecx, [ebp - 0x668]
or esi, 7
mov eax, SysReAllocString
cmp esi, 0x7ffffffe
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.00426ed0
mov ecx, dword [ebp - 0x8d4]
mov dword [ebp - 0x668], eax
lea ecx, [ecx*2 + 2]
push ecx
push edi
push eax
call fcn.004a1290
mov eax, dword [ebp - 0x8d4]
add esp, 0xc
mov edx, dword [ebp - 0x630]
mov ecx, dword [ebp - 0x634]
mov dword [ebp - 0x654], esi
mov esi, dword [ebp - 0x638]
mov dword [ebp - 0x658], eax
dec ecx
mov byte [ebp - 4], 4
and ecx, edx
mov ecx, dword [esi + ecx*4]
call fcn.00426a90
sub dword [ebp - 0x62c], 1
jne 0x45535f
mov dword [ebp - 0x630], 0
jmp 0x455365
inc dword [ebp - 0x630]
mov ecx, dword [ebp - 0x648]
mov edx, dword [ebp - 0x644]
mov esi, dword [ebp - 0x64c]
lea eax, [ecx - 1]
and eax, edx
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x680], 0
mov dword [ebp - 0x670], 0
mov dword [ebp - 0x66c], 0
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x8d4], eax
jb 0x4553ae
mov edi, dword [edi]
cmp eax, 8
jae 0x4553c9
movups xmm0, xmmword [edi]
mov dword [ebp - 0x66c], 7
movups xmmword [ebp - 0x680], xmm0
jmp 0x455427
mov esi, eax
lea ecx, [ebp - 0x680]
or esi, 7
mov eax, SysReAllocString
cmp esi, 0x7ffffffe
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.00426ed0
mov ecx, dword [ebp - 0x8d4]
mov dword [ebp - 0x680], eax
lea ecx, [ecx*2 + 2]
push ecx
push edi
push eax
call fcn.004a1290
mov eax, dword [ebp - 0x8d4]
add esp, 0xc
mov edx, dword [ebp - 0x644]
mov ecx, dword [ebp - 0x648]
mov dword [ebp - 0x66c], esi
mov esi, dword [ebp - 0x64c]
mov dword [ebp - 0x670], eax
dec ecx
mov byte [ebp - 4], 5
and ecx, edx
mov ecx, dword [esi + ecx*4]
call fcn.00426a90
sub dword [ebp - 0x640], 1
jne 0x455451
mov dword [ebp - 0x644], 0
jmp 0x455457
inc dword [ebp - 0x644]
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004a1810
cmp dword [ebp - 0x654], 8
lea eax, [ebp - 0x668]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
cmovae eax, dword [ebp - 0x668]
push eax
lea eax, [ebp - 0x628]
push 0x4e95c8
push eax
call edi
add esp, 0x18
lea eax, [ebp - 0x628]
push 0x4ea220
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x8d0]
push 0
push eax
call fcn.004a1810
add esp, 0xc
lea eax, [ebp - 0x8d0]
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x455720
nop dword [eax]
cmp word [ebp - 0x8a4], 0x2e
je 0x455703
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004a1810
cmp dword [ebp - 0x654], 8
lea ecx, [ebp - 0x8a4]
push ecx
lea eax, [ebp - 0x668]
cmovae eax, dword [ebp - 0x668]
push eax
lea eax, [ebp - 0x420]
push 0x4ea228
push eax
call edi
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a1810
cmp dword [ebp - 0x66c], 8
lea ecx, [ebp - 0x8a4]
push ecx
lea eax, [ebp - 0x680]
cmovae eax, dword [ebp - 0x680]
push eax
lea eax, [ebp - 0x218]
push 0x4ea228
push eax
call edi
add esp, 0x38
test byte [ebp - 0x8d0], 0x10
je 0x4556ed
xor eax, eax
mov dword [ebp - 0x8ec], 0
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x8dc], 0
mov dword [ebp - 0x8d8], 7
lea edx, [ecx + 2]
mov word [ebp - 0x8ec], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4555b0
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x8ec]
call fcn.00426af0
lea eax, [ebp - 0x8ec]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x63c]
call fcn.00458ac0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x8d8]
cmp edx, 8
jb 0x45562c
mov ecx, dword [ebp - 0x8ec]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x455622
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4559b4
push edx
push ecx
call fcn.0049f9b7
add esp, 8
xor eax, eax
mov dword [ebp - 0x8ec], 0
mov word [ebp - 0x8ec], ax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x8dc], 0
lea edx, [eax + 2]
mov dword [ebp - 0x8d8], 7
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x455660
sub eax, edx
lea ecx, [ebp - 0x8ec]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00426af0
lea eax, [ebp - 0x8ec]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x650]
call fcn.00458ac0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x8d8]
cmp edx, 8
jb 0x4556dc
mov ecx, dword [ebp - 0x8ec]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4556d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4559b4
push edx
push ecx
call fcn.0049f9b7
add esp, 8
push 0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x455703
push 0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0x8d0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4554e0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x66c]
cmp edx, 8
jb 0x455764
mov ecx, dword [ebp - 0x680]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45575a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4559b4
push edx
push ecx
call fcn.0049f9b7
add esp, 8
mov byte [ebp - 4], 2
xor eax, eax
mov edx, dword [ebp - 0x654]
mov word [ebp - 0x680], ax
mov dword [ebp - 0x66c], 7
mov dword [ebp - 0x670], eax
cmp edx, 8
jb 0x4557c1
mov ecx, dword [ebp - 0x668]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4557b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4559b4
push edx
push ecx
call fcn.0049f9b7
add esp, 8
cmp dword [ebp - 0x62c], 0
jne 0x455273
mov eax, dword [ebp - 0x640]
test eax, eax
je 0x455821
mov ecx, dword [ebp - 0x644]
nop
dec eax
add ecx, eax
mov eax, dword [ebp - 0x648]
dec eax
and ecx, eax
mov eax, dword [ebp - 0x64c]
mov ecx, dword [eax + ecx*4]
call fcn.00426a90
mov eax, dword [ebp - 0x640]
mov edx, 0
mov ecx, dword [ebp - 0x644]
sub eax, 1
mov dword [ebp - 0x640], eax
cmove ecx, edx
mov dword [ebp - 0x644], ecx
test eax, eax
jne 0x4557e0
mov esi, dword [ebp - 0x648]
mov ecx, dword [ebp - 0x64c]
test esi, esi
je 0x455855
mov eax, dword [ecx + esi*4 - 4]
dec esi
test eax, eax
je 0x45584b
push 0x18
push eax
call fcn.0049f9b7
mov ecx, dword [ebp - 0x64c]
add esp, 8
test esi, esi
jne 0x455831
mov esi, dword [ebp - 0x648]
test ecx, ecx
je 0x455884
shl esi, 2
mov eax, ecx
cmp esi, 0x1000
jb 0x45587a
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4559b4
push esi
push ecx
call fcn.0049f9b7
add esp, 8
mov eax, dword [ebp - 0x650]
push 8
push eax
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x64c], 0
mov dword [ebp - 0x650], 0
call fcn.0049f9b7
mov eax, dword [ebp - 0x62c]
add esp, 8
test eax, eax
je 0x455904
mov ecx, dword [ebp - 0x630]
dec eax
add ecx, eax
mov eax, dword [ebp - 0x634]
dec eax
and ecx, eax
mov eax, dword [ebp - 0x638]
mov ecx, dword [eax + ecx*4]
call fcn.00426a90
mov eax, dword [ebp - 0x62c]
mov edx, 0
mov ecx, dword [ebp - 0x630]
sub eax, 1
mov dword [ebp - 0x62c], eax
cmove ecx, edx
mov dword [ebp - 0x630], ecx
test eax, eax
jne 0x4558c3
mov esi, dword [ebp - 0x634]
mov ecx, dword [ebp - 0x638]
test esi, esi
je 0x455938
mov eax, dword [ecx + esi*4 - 4]
dec esi
test eax, eax
je 0x45592e
push 0x18
push eax
call fcn.0049f9b7
mov ecx, dword [ebp - 0x638]
add esp, 8
test esi, esi
jne 0x455914
mov esi, dword [ebp - 0x634]
test ecx, ecx
je 0x455963
shl esi, 2
mov eax, ecx
cmp esi, 0x1000
jb 0x455959
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4559b4
push esi
push ecx
call fcn.0049f9b7
add esp, 8
mov eax, dword [ebp - 0x63c]
push 8
push eax
mov dword [ebp - 0x634], 0
mov dword [ebp - 0x638], 0
mov dword [ebp - 0x63c], 0
call fcn.0049f9b7
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049fe2d
mov esp, ebp
pop ebp
ret 8
call fcn.004a453f
int3