Function at 0x4d91f0
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5db547
mov eax, dword fs:[0]
push eax
sub esp, 0x530
mov eax, dword [0x63d284]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x510], ecx
xor eax, eax
mov dword [ebp - 0x4f0], eax
mov dword [ebp - 0x504], eax
mov dword [ebp - 4], 3
lea eax, [ebp + 0x38]
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x4fc], eax
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
sub esp, 0x18
mov edx, SysReAllocString
mov esi, esp
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
test eax, eax
je 0x4da257
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
mov ecx, dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
mov dword [ebp - 0x50c], ecx
mov dword [ebp - 0x4f8], eax
cmp ecx, 8
jae 0x4d92a8
movups xmm0, xmmword [eax]
mov edi, 7
movups xmmword [esi], xmm0
jmp 0x4d9330
mov edi, ecx
or edi, 7
cmp edi, edx
cmova edi, edx
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x4da674
add eax, eax
cmp eax, 0x1000
jb 0x4d92f0
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4da674
push ecx
call fcn.00591cad
add esp, 4
test eax, eax
je 0x4da634
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x4d930b
test eax, eax
je 0x4d9309
push eax
call fcn.00591cad
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4da645
jmp 0x4d930b
xor ecx, ecx
mov eax, dword [ebp - 0x50c]
mov dword [esi], ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x4f8]
push ecx
call fcn.005729d0
mov ecx, dword [ebp - 0x50c]
add esp, 0xc
mov dword [esi + 0x10], ecx
mov ecx, 0x63f528
mov dword [esi + 0x14], edi
call fcn.004cc910
test eax, eax
jne 0x4d934b
xor edi, edi
jmp 0x4da56b
mov eax, 0x5c
mov dword [ebp - 0x90], 0
mov word [ebp - 0x94], ax
mov dword [ebp - 0x8c], 0
mov byte [ebp - 4], 4
mov eax, SysReAllocString
mov ecx, dword [ebp + 0x18]
sub eax, ecx
cmp eax, 2
jb 0x4da656
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 2
cmovae eax, dword [ebp + 8]
push 0x61befc
push ecx
push eax
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x510]
lea ecx, [ebp - 0x40]
call fcn.00447219
mov edi, dword [ebp - 0x4f0]
or edi, 1
mov dword [ebp - 0x504], edi
mov byte [ebp - 4], 5
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x4ec]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.004c5a20
mov byte [ebp - 4], 4
mov esi, eax
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4d9412
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4d9408
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4da65b
push edx
push ecx
call fcn.0056c61e
add esp, 8
test esi, esi
je 0x4da20d
mov edx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x514], edx
xor ecx, ecx
cmp dword [ebp - 0x8c], ecx
je 0x4d9468
mov eax, dword [ebp - 0x4ec]
shr eax, 4
and eax, 1
je 0x4d9468
cmp word [ebp - 0x4c0], 0x2e
jne 0x4d9468
mov ax, word [ebp - 0x4be]
test ax, ax
je 0x4d9463
cmp ax, 0x2e
jne 0x4d9468
cmp word [ebp - 0x4bc], cx
jne 0x4d9468
mov ecx, 1
test ecx, ecx
jne 0x4da128
mov byte [ebp - 4], 6
call fcn.0040b813
mov ecx, eax
test ecx, ecx
je 0x4da66a
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
or edi, 2
cmp dword [ebp - 0x8c], 0
mov dword [ebp - 0x4f0], edi
mov dword [ebp - 0x504], edi
lea esi, [eax + 0x10]
mov dword [ebp - 0x524], esi
je 0x4d9606
lea edi, [ebp - 0x4c0]
lea ecx, [edi + 2]
nop dword [eax + eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x4d94c0
sub edi, ecx
sar edi, 1
jne 0x4d952f
cmp dword [esi - 0xc], 0
lea edx, [esi - 0x10]
mov edi, dword [edx]
je 0x4d9600
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x4d9504
cmp dword [esi - 8], 0
jl 0x4da660
xor eax, eax
mov dword [esi - 0xc], 0
mov word [esi], ax
jmp 0x4d9600
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4d9518
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x524], esi
jmp 0x4d9600
mov eax, dword [esi - 0xc]
lea edx, [ebp - 0x4c0]
sub edx, esi
mov dword [ebp - 0x50c], eax
sar edx, 1
mov dword [ebp - 0x4f8], edx
test edi, edi
js 0x4da660
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x4d9579
push edi
lea ecx, [ebp - 0x524]
call fcn.0040bfb3
mov esi, dword [ebp - 0x524]
mov edx, dword [ebp - 0x4f8]
lea ecx, [edi + edi]
mov eax, dword [esi - 8]
cmp edx, dword [ebp - 0x50c]
ja 0x4d95b2
lea edx, [esi + edx*2]
test ecx, ecx
je 0x4d95ee
test edx, edx
jne 0x4d959f
call fcn.00591b4a
mov dword [eax], 0x16
jmp 0x4d95e6
add eax, eax
cmp eax, ecx
jb 0x4d95db
push ecx
push edx
push esi
call fcn.00572f50
add esp, 0xc
jmp 0x4d95eb
add eax, eax
test ecx, ecx
je 0x4d95ee
cmp eax, ecx
jb 0x4d95cf
push ecx
lea eax, [ebp - 0x4c0]
push eax
push esi
call fcn.005729d0
add esp, 0xc
jmp 0x4d95eb
push eax
push 0
push esi
call fcn.00573610
add esp, 0xc
call fcn.00591b4a
mov dword [eax], 0x22
call fcn.0057da70
lea ecx, [edi + edi]
cmp edi, dword [esi - 8]
jg 0x4da660
xor eax, eax
mov dword [esi - 0xc], edi
mov word [ecx + esi], ax
mov edi, dword [ebp - 0x4f0]
mov ecx, dword [ebp + 0x18]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x4da656
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 1
cmovae eax, dword [ebp + 8]
push 0x60db0c
push ecx
push eax
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x4fc]
lea ecx, [ebp - 0x28]
call fcn.00447219
or edi, 4
mov dword [ebp - 0x504], edi
mov ecx, esi
mov byte [ebp - 4], 7
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d9651
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.0040993b
xor ecx, ecx
or edi, 8
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4d96cf
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4d96c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4da65b
push edx
push ecx
call fcn.0056c61e
add esp, 8
and edi, 0xfffffffd
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 0x4f0], edi
mov dword [ebp - 0x504], edi
mov byte [ebp - 4], 0xa
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4d970e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x58]
sub esp, 0x18
mov dword [ebp - 0x51c], ecx
cmp ecx, 8
mov esi, esp
mov ecx, dword [ebp - 0x58]
cmovae eax, ecx
mov dword [ebp - 0x520], ecx
mov ecx, dword [ebp - 0x48]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 0x4f8], eax
mov dword [ebp - 0x518], ecx
cmp ecx, 8
jae 0x4d9766
movups xmm0, xmmword [eax]
mov edi, 7
movups xmmword [esi], xmm0
jmp 0x4d97f7
mov edi, ecx
mov eax, SysReAllocString
or edi, 7
cmp edi, 0x7ffffffe
cmova edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x4da674
add eax, eax
cmp eax, 0x1000
jb 0x4d97b7
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4da674
push ecx
call fcn.00591cad
add esp, 4
test eax, eax
je 0x4da645
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x4d97d2
test eax, eax
je 0x4d97d0
push eax
call fcn.00591cad
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4da634
jmp 0x4d97d2
xor ecx, ecx
mov eax, dword [ebp - 0x518]
mov dword [esi], ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x4f8]
push ecx
call fcn.005729d0
mov ecx, dword [ebp - 0x518]
add esp, 0xc
mov dword [esi + 0x10], ecx
lea ecx, [ebp - 0x4fc]
mov dword [esi + 0x14], edi
call fcn.004da6f0
test al, al
jne 0x4da0d8
mov byte [ebp - 4], 0xb
call fcn.0040b813
mov ecx, eax
test ecx, ecx
je 0x4da66a
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edi, dword [ebp - 0x4f0]
or edi, 0x10
cmp dword [ebp - 0x8c], 0
mov dword [ebp - 0x4f0], edi
lea esi, [eax + 0x10]
mov dword [ebp - 0x504], edi
mov dword [ebp - 0x528], esi
je 0x4d99a6
lea edi, [ebp - 0x4c0]
lea ecx, [edi + 2]
nop
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x4d9860
sub edi, ecx
sar edi, 1
jne 0x4d98cf
cmp dword [esi - 0xc], 0
lea edx, [esi - 0x10]
mov edi, dword [edx]
je 0x4d99a0
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x4d98a4
cmp dword [esi - 8], 0
jl 0x4da660
xor eax, eax
mov dword [esi - 0xc], 0
mov word [esi], ax
jmp 0x4d99a0
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4d98b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x528], esi
jmp 0x4d99a0
mov eax, dword [esi - 0xc]
lea edx, [ebp - 0x4c0]
sub edx, esi
mov dword [ebp - 0x50c], eax
sar edx, 1
mov dword [ebp - 0x4f8], edx
test edi, edi
js 0x4da660
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x4d9919
push edi
lea ecx, [ebp - 0x528]
call fcn.0040bfb3
mov esi, dword [ebp - 0x528]
mov edx, dword [ebp - 0x4f8]
lea ecx, [edi + edi]
mov eax, dword [esi - 8]
cmp edx, dword [ebp - 0x50c]
ja 0x4d9952
lea edx, [esi + edx*2]
test ecx, ecx
je 0x4d998e
test edx, edx
jne 0x4d993f
call fcn.00591b4a
mov dword [eax], 0x16
jmp 0x4d9986
add eax, eax
cmp eax, ecx
jb 0x4d997b
push ecx
push edx
push esi
call fcn.00572f50
add esp, 0xc
jmp 0x4d998b
add eax, eax
test ecx, ecx
je 0x4d998e
cmp eax, ecx
jb 0x4d996f
push ecx
lea eax, [ebp - 0x4c0]
push eax
push esi
call fcn.005729d0
add esp, 0xc
jmp 0x4d998b
push eax
push 0
push esi
call fcn.00573610
add esp, 0xc
call fcn.00591b4a
mov dword [eax], 0x22
call fcn.0057da70
lea ecx, [edi + edi]
cmp edi, dword [esi - 8]
jg 0x4da660
xor eax, eax
mov dword [esi - 0xc], edi
mov word [ecx + esi], ax
mov edi, dword [ebp - 0x4f0]
mov ecx, dword [ebp + 0x30]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x4da656
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
push 1
cmovae eax, dword [ebp + 0x20]
push 0x60db0c
push ecx
push eax
lea eax, [ebp + 0x20]
push eax
push dword [ebp - 0x4fc]
lea ecx, [ebp - 0x28]
call fcn.00447219
or edi, 0x20
mov dword [ebp - 0x504], edi
mov ecx, esi
mov byte [ebp - 4], 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d99f1
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.0040993b
xor ecx, ecx
or edi, 0x40
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x60], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4d9a6f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4d9a65
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4da65b
push edx
push ecx
call fcn.0056c61e
add esp, 8
and edi, 0xffffffef
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 0x4f0], edi
mov dword [ebp - 0x504], edi
mov byte [ebp - 4], 0xf
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4d9aae
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 0xc
lea eax, [ebp + 0x44]
mov ecx, esp
mov dword [ebp - 0x538], esp
push eax
call fcn.004db680
sub esp, 0xc
mov byte [ebp - 4], 0x10
lea eax, [ebp + 0x38]
mov dword [ebp - 0x53c], esp
mov ecx, esp
push eax
call fcn.004db680
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x70]
mov ecx, dword [ebp - 0x5c]
sub esp, 0x18
cmp ecx, 8
mov dword [ebp - 0x530], ecx
mov ecx, dword [ebp - 0x70]
mov edi, esp
cmovae eax, ecx
mov dword [ebp - 0x50c], ecx
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x534], esp
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [ebp - 0x508], eax
mov dword [ebp - 0x4f8], ecx
cmp ecx, 8
jae 0x4d9b3c
movups xmm0, xmmword [eax]
mov esi, 7
movups xmmword [edi], xmm0
jmp 0x4d9bcd
mov esi, ecx
mov eax, SysReAllocString
or esi, 7
cmp esi, 0x7ffffffe
cmova esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x4da674
add eax, eax
cmp eax, 0x1000
jb 0x4d9b8d
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4da674
push ecx
call fcn.00591cad
add esp, 4
test eax, eax
je 0x4da634
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x4d9ba8
test eax, eax
je 0x4d9ba6
push eax
call fcn.00591cad
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4da645
jmp 0x4d9ba8
xor ecx, ecx
mov eax, dword [ebp - 0x4f8]
mov dword [edi], ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x508]
push ecx
call fcn.005729d0
mov ecx, dword [ebp - 0x4f8]
add esp, 0xc
mov dword [edi + 0x10], ecx
lea eax, [ebp - 0x58]
mov dword [edi + 0x14], esi
sub esp, 0x18
mov byte [ebp - 4], 0x12
mov edi, esp
cmp dword [ebp - 0x51c], 8
mov ecx, dword [ebp - 0x518]
cmovae eax, dword [ebp - 0x520]
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [ebp - 0x508], eax
cmp ecx, 8
jae 0x4d9c22
movups xmm0, xmmword [eax]
mov esi, 7
movups xmmword [edi], xmm0
jmp 0x4d9cb3
mov esi, ecx
mov eax, SysReAllocString
or esi, 7
cmp esi, 0x7ffffffe
cmova esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x4da674
add eax, eax
cmp eax, 0x1000
jb 0x4d9c73
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4da674
push ecx
call fcn.00591cad
add esp, 4
test eax, eax
je 0x4da68a
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x4d9c8e
test eax, eax
je 0x4d9c8c
push eax
call fcn.00591cad
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4da679
jmp 0x4d9c8e
xor ecx, ecx
mov eax, dword [ebp - 0x518]
mov dword [edi], ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x508]
push ecx
call fcn.005729d0
mov ecx, dword [ebp - 0x518]
add esp, 0xc
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], esi
mov esi, dword [ebp - 0x510]
mov ecx, esi
mov byte [ebp - 4], 0xf
call fcn.004d91f0
add esp, 0x48
test eax, eax
jne 0x4da094
test esi, esi
je 0x4da166
mov byte [ebp - 4], 0x13
call fcn.0040b813
mov ecx, eax
test ecx, ecx
je 0x4da66a
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edi, dword [ebp - 0x4f0]
or edi, 0x80
cmp dword [ebp - 0x8c], 0
mov dword [ebp - 0x4f0], edi
lea esi, [eax + 0x10]
mov dword [ebp - 0x504], edi
mov dword [ebp - 0x52c], esi
je 0x4d9e76
lea edi, [ebp - 0x4c0]
lea ecx, [edi + 2]
nop
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x4d9d30
sub edi, ecx
sar edi, 1
jne 0x4d9d9f
cmp dword [esi - 0xc], 0
lea edx, [esi - 0x10]
mov edi, dword [edx]
je 0x4d9e70
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x4d9d74
cmp dword [esi - 8], 0
jl 0x4da660
xor eax, eax
mov dword [esi - 0xc], 0
mov word [esi], ax
jmp 0x4d9e70
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4d9d88
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x52c], esi
jmp 0x4d9e70
mov eax, dword [esi - 0xc]
lea edx, [ebp - 0x4c0]
sub edx, esi
mov dword [ebp - 0x4f8], eax
sar edx, 1
mov dword [ebp - 0x508], edx
test edi, edi
js 0x4da660
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x4d9de9
push edi
lea ecx, [ebp - 0x52c]
call fcn.0040bfb3
mov esi, dword [ebp - 0x52c]
mov edx, dword [ebp - 0x508]
lea ecx, [edi + edi]
mov eax, dword [esi - 8]
cmp edx, dword [ebp - 0x4f8]
ja 0x4d9e22
lea edx, [esi + edx*2]
test ecx, ecx
je 0x4d9e5e
test edx, edx
jne 0x4d9e0f
call fcn.00591b4a
mov dword [eax], 0x16
jmp 0x4d9e56
add eax, eax
cmp eax, ecx
jb 0x4d9e4b
push ecx
push edx
push esi
call fcn.00572f50
add esp, 0xc
jmp 0x4d9e5b
add eax, eax
test ecx, ecx
je 0x4d9e5e
cmp eax, ecx
jb 0x4d9e3f
push ecx
lea eax, [ebp - 0x4c0]
push eax
push esi
call fcn.005729d0
add esp, 0xc
jmp 0x4d9e5b
push eax
push 0
push esi
call fcn.00573610
add esp, 0xc
call fcn.00591b4a
mov dword [eax], 0x22
call fcn.0057da70
lea ecx, [edi + edi]
cmp edi, dword [esi - 8]
jg 0x4da660
xor eax, eax
mov dword [esi - 0xc], edi
mov word [ecx + esi], ax
mov edi, dword [ebp - 0x4f0]
mov ecx, dword [ebp + 0x18]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x4da656
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 1
cmovae eax, dword [ebp + 8]
push 0x60db0c
push ecx
push eax
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x510]
lea ecx, [ebp - 0x40]
call fcn.00447219
or edi, 0x100
mov dword [ebp - 0x504], edi
mov ecx, esi
mov byte [ebp - 4], 0x14
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d9ec4
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.0040993b
xor ecx, ecx
or edi, 0x200
mov dword [ebp - 0x504], edi
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
movups xmmword [ebp - 0x88], xmm0
mov dword [eax + 0x10], 0
movq qword [ebp - 0x78], xmm1
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x15
mov eax, dword [ebp + 0x48]
cmp eax, dword [ebp + 0x4c]
je 0x4d9f38
mov dword [eax], ecx
lea edx, [ecx + 7]
movups xmmword [eax], xmm0
movq qword [eax + 0x10], xmm1
xor eax, eax
add dword [ebp + 0x48], 0x18
mov word [ebp - 0x88], ax
jmp 0x4d9f4b
lea ecx, [ebp - 0x88]
push ecx
push eax
lea ecx, [ebp + 0x44]
call fcn.00446fa8
mov edx, dword [ebp - 0x74]
mov byte [ebp - 4], 0x14
cmp edx, 8
jb 0x4d9f89
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4d9f7f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4da65b
push edx
push ecx
call fcn.0056c61e
add esp, 8
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4d9fc7
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4d9fbd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4da65b
push edx
push ecx
call fcn.0056c61e
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
and edi, 0xffffff7f
mov word [ebp - 0x40], ax
mov dword [ebp - 0x2c], 7
add esi, 0xfffffff0
mov dword [ebp - 0x504], edi
or eax, 0xffffffff
mov byte [ebp - 4], 0xf
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4da003
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x530]
cmp ecx, 8
jb 0x4da047
mov edx, dword [ebp - 0x50c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4da03d
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4da65b
push ecx
push edx
call fcn.0056c61e
add esp, 8
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x51c]
cmp eax, 8
jb 0x4da122
mov edx, dword [ebp - 0x520]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4da085
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4da65b
push ecx
push edx
call fcn.0056c61e
add esp, 8
jmp 0x4da122
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x530]
cmp ecx, 8
jb 0x4da0d8
mov edx, dword [ebp - 0x50c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4da0ce
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4da65b
push ecx
push edx
call fcn.0056c61e
add esp, 8
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x51c]
cmp eax, 8
jb 0x4da11c
mov edx, dword [ebp - 0x520]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4da112
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4da65b
push ecx
push edx
call fcn.0056c61e
add esp, 8
mov edi, dword [ebp - 0x4f0]
mov edx, dword [ebp - 0x514]
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x4da24d
cmp dword [ebp - 0x8c], 0
je 0x4da213
lea ecx, [ebp - 0x4ec]
push ecx
push eax
call edx
mov dword [ebp - 0x8c], eax
test eax, eax
je 0x4da20d
mov edx, dword [ebp - 0x514]
jmp 0x4d9426
mov ecx, dword [ebp - 0x530]
cmp ecx, 8
jb 0x4da1a6
mov edx, dword [ebp - 0x50c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4da19c
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4da65b
push ecx
push edx
call fcn.0056c61e
add esp, 8
mov eax, dword [ebp - 0x51c]
cmp eax, 8
jb 0x4da1e6
mov edx, dword [ebp - 0x520]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4da1dc
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4da65b
push ecx
push edx
call fcn.0056c61e
add esp, 8
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x8c], 0
test eax, eax
je 0x4da206
cmp eax, 0xffffffff
je 0x4da206
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
xor edi, edi
jmp 0x4da56b
mov eax, dword [ebp - 0x90]
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x8c], 0
test eax, eax
je 0x4da237
cmp eax, 0xffffffff
je 0x4da237
push eax
call esi
xor eax, eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], 0
test eax, eax
je 0x4da24d
cmp eax, 0xffffffff
je 0x4da24d
push eax
call esi
mov edi, 1
jmp 0x4da56b
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
mov ecx, dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov dword [ebp - 0x4f8], ecx
mov dword [ebp - 0x510], eax
cmp ecx, 8
jae 0x4da286
movups xmm0, xmmword [eax]
mov edi, 7
movups xmmword [esi], xmm0
jmp 0x4da30e
mov edi, ecx
or edi, 7
cmp edi, edx
cmova edi, edx
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x4da674
add eax, eax
cmp eax, 0x1000
jb 0x4da2ce
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4da674
push ecx
call fcn.00591cad
add esp, 4
test eax, eax
je 0x4da679
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x4da2e9
test eax, eax
je 0x4da2e7
push eax
call fcn.00591cad
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4da68a
jmp 0x4da2e9
xor ecx, ecx
mov eax, dword [ebp - 0x4f8]
mov dword [esi], ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x510]
push ecx
call fcn.005729d0
mov ecx, dword [ebp - 0x4f8]
add esp, 0xc
mov dword [esi + 0x10], ecx
lea ecx, [ebp - 0x4fc]
mov dword [esi + 0x14], edi
call fcn.004da6f0
test al, al
je 0x4da32d
mov edi, 1
jmp 0x4da56b
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4da430
sub esp, 0x18
lea eax, [ebp + 0x20]
mov esi, esp
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [ebp + 0x34], 8
mov ecx, dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
mov dword [ebp - 0x4fc], ecx
mov dword [ebp - 0x510], eax
cmp ecx, 8
jae 0x4da38f
movups xmm0, xmmword [eax]
mov edi, 7
movups xmmword [esi], xmm0
jmp 0x4da420
mov edi, ecx
mov eax, SysReAllocString
or edi, 7
cmp edi, 0x7ffffffe
cmova edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x4da674
add eax, eax
cmp eax, 0x1000
jb 0x4da3e0
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4da674
push ecx
call fcn.00591cad
add esp, 4
test eax, eax
je 0x4da69b
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x4da3fb
test eax, eax
je 0x4da3f9
push eax
call fcn.00591cad
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4da6ac
jmp 0x4da3fb
xor ecx, ecx
mov eax, dword [ebp - 0x4fc]
mov dword [esi], ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x510]
push ecx
call fcn.005729d0
mov ecx, dword [ebp - 0x4fc]
add esp, 0xc
mov dword [esi + 0x10], ecx
mov ecx, 0x63f528
mov dword [esi + 0x14], edi
call fcn.004cc470
cmp dword [ebp + 0x34], 8
lea ecx, [ebp + 0x20]
push 0
cmovae ecx, dword [ebp + 0x20]
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
push ecx
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, eax
cmp edi, 1
je 0x4da56b
mov esi, dword [ebp + 0x48]
cmp esi, dword [ebp + 0x4c]
je 0x4da55e
mov dword [esi], 0
lea ecx, [ebp + 8]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
mov dword [ebp - 0x4fc], eax
mov dword [ebp - 0x510], ecx
cmp eax, 8
jae 0x4da4ba
movups xmm0, xmmword [ecx]
mov ecx, dword [ebp - 0x4fc]
mov eax, 7
movups xmmword [esi], xmm0
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
add dword [ebp + 0x48], 0x18
jmp 0x4da56b
or eax, 7
mov ecx, SysReAllocString
cmp eax, 0x7ffffffe
cmova eax, ecx
mov dword [ebp - 0x508], eax
inc eax
cmp eax, 0x7fffffff
ja 0x4da674
add eax, eax
cmp eax, 0x1000
jb 0x4da50c
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4da674
push ecx
call fcn.00591cad
add esp, 4
test eax, eax
je 0x4da6bd
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x4da527
test eax, eax
je 0x4da525
push eax
call fcn.00591cad
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4da6ce
jmp 0x4da527
xor ecx, ecx
mov eax, dword [ebp - 0x4fc]
mov dword [esi], ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x510]
push ecx
call fcn.005729d0
mov ecx, dword [ebp - 0x4fc]
add esp, 0xc
mov eax, dword [ebp - 0x508]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
add dword [ebp + 0x48], 0x18
jmp 0x4da56b
lea eax, [ebp + 8]
push eax
push esi
lea ecx, [ebp + 0x44]
call fcn.00453179
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x4da5a5
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4da59b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4da6df
push edx
push ecx
call fcn.0056c61e
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x4da5f3
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4da5e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4da6df
push edx
push ecx
call fcn.0056c61e
add esp, 8
xor eax, eax
mov dword [ebp + 0x30], 0
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x34], 7
mov word [ebp + 0x20], ax
call fcn.00446dac
lea ecx, [ebp + 0x44]
call fcn.00446dac
mov eax, edi
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.0056cd75
mov esp, ebp
pop ebp
ret
push 0x638780
lea eax, [ebp - 0x4fd]
push eax
call fcn.0057359b
push 0x638780
lea eax, [ebp - 0x4fe]
push eax
call fcn.0057359b
call fcn.0040791f
call fcn.0057da80
push 0x80070057
call fcn.0040c3c1
push 0x80004005
call fcn.0040c3c1
call fcn.00407b84
push 0x638780
lea eax, [ebp - 0x4f2]
push eax
call fcn.0057359b
push 0x638780
lea eax, [ebp - 0x4f1]
push eax
call fcn.0057359b
push 0x638780
lea eax, [ebp - 0x4f2]
push eax
call fcn.0057359b
push 0x638780
lea eax, [ebp - 0x4f1]
push eax
call fcn.0057359b
push 0x638780
lea eax, [ebp - 0x4f2]
push eax
call fcn.0057359b
push 0x638780
lea eax, [ebp - 0x4f1]
push eax
call fcn.0057359b
call fcn.0057da80
int3