Function at 0x453280
Capabilities:
Copy file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d586d
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x511070]
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 edi, dword [ebp + 0xc]
lea eax, [ebp - 0x260]
mov esi, dword [ebp + 8]
push 0x250
push 0
push eax
mov dword [ebp - 0x280], edi
call fcn.004a73c0
mov ecx, dword [esi]
add esp, 0xc
sub ecx, 0x10
call fcn.0041c6e0
lea ebx, [eax + 0x10]
mov dword [ebp - 0x26c], ebx
mov dword [ebp - 4], 0
mov ecx, dword [edi]
sub ecx, 0x10
call fcn.0041c6e0
add eax, 0x10
mov dword [ebp - 0x278], eax
mov byte [ebp - 4], 1
call fcn.0041bef0
mov ecx, eax
test ecx, ecx
jne 0x453316
push 0x80004005
call fcn.0041ce60
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x270], eax
mov byte [ebp - 4], 2
call fcn.0041bef0
mov ecx, eax
test ecx, ecx
jne 0x45333d
push 0x80004005
call fcn.0041ce60
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x27c], edi
push 1
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x26c]
call fcn.0041c100
mov ecx, str.0s
mov eax, dword [eax]
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x453396
test dx, dx
je 0x453392
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x453396
add eax, 4
add ecx, 4
test dx, dx
jne 0x453370
xor eax, eax
jmp 0x45339b
sbb eax, eax
or eax, 1
mov edx, dword [ebp - 0x268]
test eax, eax
setne byte [ebp - 0x261]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4533c4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x261], 0
je 0x4533e5
push 1
push str.0s
lea ecx, [ebp - 0x26c]
call fcn.0041c4b0
mov ebx, dword [ebp - 0x26c]
push 1
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x278]
call fcn.0041c100
mov ecx, str.0s
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x453426
test dx, dx
je 0x453422
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x453426
add eax, 4
add ecx, 4
test dx, dx
jne 0x453400
xor eax, eax
jmp 0x45342b
sbb eax, eax
or eax, 1
mov edx, dword [ebp - 0x268]
test eax, eax
mov eax, esi
setne byte [ebp - 0x261]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x453451
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x261], 0
je 0x45346c
push 1
push str.0s
lea ecx, [ebp - 0x278]
call fcn.0041c4b0
push 0x4ec44c
lea edx, [ebp - 0x26c]
lea ecx, [ebp - 0x268]
call fcn.0041c030
add esp, 4
push eax
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 4
call fcn.0041c740
mov byte [ebp - 4], 3
mov eax, esi
mov edx, dword [ebp - 0x268]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4534b6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x270]
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x274], eax
cmp eax, 0xffffffff
jne 0x4534f7
push ebx
push 0x4f3bdc
push 0x515408
call fcn.0048be90
add esp, 0xc
mov dword [ebp - 0x268], 0
jmp 0x453664
mov dword [ebp - 0x268], 1
test byte [ebp - 0x260], 0x12
jne 0x45371e
lea eax, [ebp - 0x234]
push 0x2e
push eax
call fcn.004a6ff1
add esp, 8
test eax, eax
je 0x4536ff
mov ecx, str..dll
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x453556
test dx, dx
je 0x453552
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x453556
add eax, 4
add ecx, 4
test dx, dx
jne 0x453530
xor eax, eax
jmp 0x45355b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4536ff
mov eax, dword [ebp - 0x280]
push dword [eax]
lea eax, [ebp - 0x234]
push eax
push 0x4f3c28
push 0x515408
call fcn.0048be90
lea eax, [ebp - 0x234]
push eax
lea edx, [ebp - 0x278]
lea ecx, [ebp - 0x284]
call fcn.0041c030
add esp, 0x14
push eax
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 5
call fcn.0041c740
mov byte [ebp - 4], 3
or esi, 0xffffffff
mov edx, dword [ebp - 0x284]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4535d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x234]
push eax
lea edx, [ebp - 0x26c]
lea ecx, [ebp - 0x288]
call fcn.0041c030
add esp, 4
push eax
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 6
call fcn.0041c740
mov byte [ebp - 4], 3
mov eax, esi
mov edx, dword [ebp - 0x288]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45361c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x27c]
mov esi, dword [ebp - 0x270]
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x453718
push esi
push edi
push 0x4f3c50
push 0x515408
call fcn.0048be90
add esp, 0x10
mov dword [ebp - 0x268], 0
push dword [ebp - 0x274]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 2
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x453680
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
or edi, 0xffffffff
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45369e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x278]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4536bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add ebx, 0xfffffff0
lock xadd dword [ebx + 0xc], edi
dec edi
test edi, edi
jg 0x4536db
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x268]
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.004a474b
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp - 0x234]
push eax
push 0x4f3c08
push 0x515408
call fcn.0048be90
add esp, 0xc
mov eax, dword [ebp - 0x274]
lea ecx, [ebp - 0x260]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x453658
mov eax, dword [ebp - 0x274]
jmp 0x453501