Function at 0x525e50
Capabilities:
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55bd35
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x5c2b80]
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, ecx
mov dword [ebp - 0x7c], edi
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x84], esi
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x8c], eax
cmp ebx, eax
je 0x526304
xor eax, eax
mov dword [ebp - 0x1c], 0
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x2c]
push ebx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00477fe0
mov dword [ebp - 4], 0
call fcn.00456bd0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x526322
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
push eax
push dword [esi]
lea eax, [ebp - 0x14]
push 0x5a1260
push eax
call fcn.00457480
push dword [ebp - 0x14]
call fcn.0052de20
mov esi, dword [edi + 0x48]
add esp, 0x14
mov edi, dword [edi + 0x4c]
cmp esi, edi
je 0x526115
mov eax, dword [ebp - 0x7c]
add eax, 0x5c
mov ebx, eax
lea esp, [esp]
xor eax, eax
mov dword [ebp - 0x64], 0
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x74]
push esi
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
call fcn.00477fe0
mov byte [ebp - 4], 3
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], 0
push ebx
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
call fcn.00477fe0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2c]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x5c]
call fcn.00527c30
push 1
push 0x5923e4
lea ecx, [ebp - 0x5c]
call fcn.00527d00
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00527c30
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x30], 7
mov edx, dword [eax]
xor eax, eax
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
cmp word [edx], ax
je 0x526020
mov eax, edx
lea ecx, [eax + 2]
mov dword [ebp - 0x78], ecx
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x526010
sub eax, dword [ebp - 0x78]
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x44]
call fcn.00477ee0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44]
push 1
push 0x5923e4
call fcn.00527d00
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x44]
call fcn.00527c30
push 1
push 0x5923e4
lea ecx, [ebp - 0x44]
call fcn.00527d00
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x44]
call fcn.00527c30
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
push 0
cmovae ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
push ecx
cmovae eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x30], 8
jb 0x5260a1
push dword [ebp - 0x44]
call fcn.0047c370
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x48], 8
jb 0x5260ca
push dword [ebp - 0x5c]
call fcn.0047c370
add esp, 4
xor eax, eax
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x60], 8
jb 0x5260f3
push dword [ebp - 0x74]
call fcn.0047c370
add esp, 4
xor eax, eax
mov dword [ebp - 0x60], 7
add esi, 0x18
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
cmp esi, edi
jne 0x525f40
mov ebx, dword [ebp - 0x80]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x94]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.00457210
mov esi, eax
mov byte [ebp - 4], 6
mov edi, dword [ebp - 0x7c]
cmp dword [edi + 0x70], 8
lea ecx, [edi + 0x5c]
jb 0x526140
mov ecx, dword [ecx]
push ecx
lea ecx, [ebp - 0x88]
call fcn.00457210
mov byte [ebp - 4], 7
mov edx, eax
push esi
lea ecx, [ebp - 0x90]
call fcn.0045bbe0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 8
mov ecx, dword [esi]
cmp dword [ecx - 4], 1
jle 0x526179
push dword [ecx - 0xc]
mov ecx, esi
call fcn.00456d60
mov edx, dword [esi]
xor eax, eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x98], 7
mov dword [ebp - 0x9c], 0
mov word [ebp - 0xac], ax
cmp word [edx], ax
jne 0x5261b5
xor ecx, ecx
jmp 0x5261cf
mov ecx, edx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5261c0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xac]
call fcn.00477ee0
mov byte [ebp - 4], 9
lea eax, [ebp - 0xac]
push eax
lea ecx, [edi + 0x74]
call fcn.00527560
mov byte [ebp - 4], 8
cmp dword [ebp - 0x98], 8
jb 0x52620a
push dword [ebp - 0xac]
call fcn.0047c370
add esp, 4
xor eax, eax
mov dword [ebp - 0x98], 7
mov dword [ebp - 0x9c], 0
mov word [ebp - 0xac], ax
mov byte [ebp - 4], 7
or ecx, 0xffffffff
mov edx, dword [ebp - 0x90]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x52624b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
or ecx, 0xffffffff
mov edx, dword [ebp - 0x88]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x52626f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
or ecx, 0xffffffff
mov edx, dword [ebp - 0x94]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x526293
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x84]
lea eax, [ebp - 0x2c]
push esi
push eax
mov ecx, edi
call fcn.00526330
mov byte [ebp - 4], 0
or ecx, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5262c6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
jb 0x5262de
push dword [ebp - 0x2c]
call fcn.0047c370
add esp, 4
add ebx, 0x18
mov dword [ebp - 0x18], 7
xor eax, eax
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x80], ebx
cmp ebx, dword [ebp - 0x8c]
jne 0x525ea5
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.0052ab62
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00456ea0
int3