joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4945d3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4ce940]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x494613
cmp byte [ebx], 0xa
jne 0x494613
or byte [edi + eax + 0x28], 4
jmp 0x494618
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x494717
mov dl, byte [eax]
cmp dl, 0x1a
je 0x4946fa
inc eax
cmp dl, 0xd
je 0x494644
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x49466a
cmp eax, ecx
jae 0x494678
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x49462c
jmp 0x494717
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4946f5
cmp dword [ebp - 0x10], 0
je 0x4946f5
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x4ce940]
test byte [eax + edi + 0x28], 0x48
je 0x4946cf
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4946ba
mov byte [esi], dl
jmp 0x4946cb
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4ce940]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x494717
cmp byte [ebp - 1], 0xa
jne 0x4946de
cmp esi, ebx
jne 0x4946de
mov byte [esi], 0xa
jmp 0x494716
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004018f7
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x494717
mov byte [esi], 0xd
jmp 0x494716
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x4ce940]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x494714
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x494717
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x494773
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x4ce940]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4947b9
cmp word [ebx], dx
jne 0x4947b9
or byte [eax + edi + 0x28], 4
jmp 0x4947be
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x494921
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x494901
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x4947ff
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x494835
cmp eax, edx
jae 0x494843
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x4947da
jmp 0x494921
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4948fc
cmp dword [ebp - 0x18], 0
je 0x4948fc
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x4ce940]
test byte [eax + edi + 0x28], 0x48
je 0x4948d2
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x494896
mov word [esi], cx
jmp 0x4948cd
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x4ce940]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x4ce940]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x4ce940]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x494921
pop eax
cmp word [ebp - 4], ax
jne 0x4948e2
cmp esi, ebx
jne 0x4948e2
mov word [esi], ax
jmp 0x49491e
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004018f7
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x494921
push 0xd
pop eax
jmp 0x4948dd
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x4ce940]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x49491b
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x494921
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4983ca
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4cb040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x498415
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00498882
test al, al
jne 0x49840f
sub edx, 2
cmp edx, edi
jne 0x4983f5
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x498437
lea eax, [edi + 2]
cmp edx, eax
je 0x498437
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00497fc3
add esp, 0x10
jmp 0x498531
push esi
lea ecx, [ebp - 0x255]
call fcn.00498882
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x49847a
push dword [ebp - 0x25c]
jmp 0x498427
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4984b7
cmp word [ebp - 0x226], 0
je 0x4984d8
cmp word [ebp - 0x226], ax
jne 0x4984b7
cmp word [ebp - 0x224], 0
je 0x4984d8
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00497fc3
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x498524
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x498491
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x49850c
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x498531
push 0x4979ab
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004053cb
add esp, 0x10
jmp 0x498501
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402fa4
leave
ret

Function at 0x49e151
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004041c4
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x49e1c0
cmp esi, dword [ebp - 4]
je 0x49e1bb
cmp dword [ebp + 0xc], 0
je 0x49e1bb
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x49e198
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0049db79
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x49e1c2
xor eax, eax
inc eax
jmp 0x49e1c2
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x5b0950
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17b000]
push edi
or ebp, 0xffffffff
jmp 0x5b0972
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5b0979
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5b0968
mov eax, 1
add ebx, ebx
jne 0x5b098b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5b0980
jne 0x5b099c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5b0980
xor ecx, ecx
sub eax, 3
jb 0x5b09b0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5b0a22
mov ebp, eax
add ebx, ebx
jne 0x5b09bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x5b09c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x5b09ec
inc ecx
add ebx, ebx
jne 0x5b09d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5b09cd
jne 0x5b09e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5b09cd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5b0a0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5b09fd
jmp 0x5b096e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5b0a0c
add edi, ecx
jmp 0x5b096e
pop esi
mov edi, esi
mov ecx, 0xe43
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5b0a2a
cmp byte [edi], 0xa
jne 0x5b0a2a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5b0a2f
lea edi, [esi + 0x1ae000]
mov eax, dword [edi]
or eax, eax
je 0x5b0a9e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1b0f54]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1b0f90]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5b0a5c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1b0f98]
or eax, eax
je 0x5b0a98
mov dword [ebx], eax
add ebx, 4
jmp 0x5b0a79
call dword [esi + 0x1b0f94]
mov ebp, dword [esi + 0x1b0f9c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5b0ad2
sub esp, 0xffffff80
jmp 0x4089eb
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x40273a
Capabilities:
Terminate process

Disassembly:
call section..text
push 0
push 0x406018
push 0x406014
call fcn.00402d64
push 0
push 0x406020
push 0x40601c
call fcn.00402d64
add esp, 0x18
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x403402
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x406a44]
test eax, eax
je 0x40341b
call eax
test eax, eax
jne 0x40341b
push 0xfffffffffffffffe
jmp 0x403435
push 1
push 0x406010
push 0x406008
call fcn.00402d64
add esp, 0xc
test eax, eax
je 0x40343b
push 0xfffffffffffffffd
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
push 0
push 0x406004
push section..data
call fcn.00402d64
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
test esi, esi
jne 0x403461
mov esi, 0x405bd1
mov cl, 0x20
jmp 0x40346a
cmp al, 0x20
ja 0x403474
inc esi
mov al, byte [esi]
test al, al
jne 0x403465
cmp al, 0x20
jbe 0x40348b
mov al, byte [esi]
cmp al, 0x22
jne 0x40347d
xor cl, 0x20
inc esi
mov al, byte [esi]
cmp al, cl
ja 0x403476
jmp 0x40348b
cmp al, cl
ja 0x403491
inc esi
mov al, byte [esi]
test al, al
jne 0x403486
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test eax, 0xa0d0a0d
sub eax, 0x54524357
sub eax, 0xa0d0a0d
test byte [ebp - 0x18], 1
je 0x4034ba
movzx eax, word [ebp - 0x14]
jmp 0x4034bd
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call fcn.0040273a
pop ecx
pop esi
leave
ret

Function at 0x4034f8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x406391], eax
push 0
push dword [ebp + 8]
push 0
push 0
push 0
push 0x80000000
push 0xfffffc18
push 0xfffffc18
push 0xcf0000
push 0x4068a0
push 0x406908
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x403542
xor eax, eax
jmp 0x403559
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
inc eax
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x403850
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x4051db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0xc], edi
mov edx, dword [esp + 0x134]
mov eax, dword [ebx]
lea ecx, [esp + 0x14]
mov dword [esp + 0x12c], edi
push ecx
push 0x2001f
push edi
push edx
push eax
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
cmp esi, edi
jne 0x4038c8
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp ecx, edi
je 0x4038b8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
cmp eax, edi
mov esi, eax
mov dword [esp + 0xc], ecx
je 0x4038da
jmp 0x4038cc
mov ecx, dword [esp + 0xc]
cmp ecx, edi
je 0x403975
push ecx
jmp 0x40396f
lea eax, [esp + 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push edi
push edi
lea edx, [esp + 0x1c]
push edi
lea eax, [esp + 0x34]
push edx
push eax
push edi
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x403940
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x10]
call fcn.00403850
mov ebx, eax
cmp ebx, edi
jne 0x403991
lea edx, [esp + 0x1c]
lea eax, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push edi
push edi
push edi
lea ecx, [esp + 0x34]
push eax
push ecx
push edi
push edx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x403902
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x403953
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x134]
mov ecx, dword [ebx]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x403975
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x124
ret 4
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x4039a0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x403977
Function at 0x4039b0
Capabilities:
Create process on windows
Resume thread
Write and execute a file
Write file on windows

Disassembly:
sub esp, 0xc40
push esi
push 0
push 0x8000080
push 2
push 0
push 0
push 0x40000000
push str.DelMe.bat
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x403b0c
push edi
lea eax, [esp + 0x60]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x60]
lea edx, [esp + 0x848]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x848]
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
lea ecx, [esp + 0x60]
lea edx, [esp + 0x60]
mov byte [eax], 0
push str.DelMe.bat
push ecx
push edx
lea eax, [esp + 0x46c]
push str.:Repeat_r_ndel___s__r_nif_exist___s__goto_Repeat_r_ndel___s__r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea ecx, [esp + 0x18]
lea edx, [esp + 0x460]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [esp + 0x46c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x1c]
lea edx, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0x44
push ecx
push edx
push 0x40938c
push eax
push 0x44
push eax
push eax
push eax
push str.DelMe.bat
push eax
mov dword [esp + 0x70], 1
mov word [esp + 0x74], ax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x403afa
mov eax, dword [esp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0xfffffffffffffff1
push eax
call edi
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call edi
push 0x80
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov ecx, dword [esp + 8]
push ecx
call esi
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [esp + 0xc]
push eax
call esi
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
pop edi
pop esi
add esp, 0xc40
ret
Function at 0x403d20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
mov al, byte [0x409558]
push ebx
push esi
push edi
mov byte [esp + 0x14], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
xor esi, esi
push ecx
push 0xf003f
stosw word es:[edi], ax
push esi
push str.SoftwareMicrosoftwindowsCurrentVersionUninstallPCClearPlus
push 0x80000002
mov dword [esp + 0x24], 0x104
stosb byte es:[edi], al
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403d73
mov esi, dword [esp + 0xc]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push str.UninstallString
push esi
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
test esi, esi
je 0x403da9
push esi
call ebx
xor esi, esi
test edi, edi
je 0x403dc3
test esi, esi
je 0x403db4
push esi
call ebx
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x10c
ret
test esi, esi
je 0x403dca
push esi
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10c
ret

Function at 0x403ec0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x405200
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
push esi
xor esi, esi
push edi
mov edi, ecx
mov dword [esp + 0x14], esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], esi
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push ecx
push esi
push 0xf003f
push esi
push esi
push esi
push str.SoftwarePCclearKorAct
push 0x80000002
mov byte [esp + 0x48], 1
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x403f73
mov esi, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
push 0x3ee
mov ecx, edi
mov dword [esp + 0x1c], esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov eax, dword [esp + 0xc]
push eax
mov edi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push edi
push 1
push 0
push 0x409500
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test esi, esi
je 0x403f73
push esi
call ebp
xor esi, esi
mov dword [esp + 0x14], esi
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call fcn.004045d8
test esi, esi
je 0x403f88
push esi
call ebp
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x6d357388
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x6d357397
pop dword [ebp - 0x50]
mov eax, 0xcfadd08f
add eax, 0x9d87a308
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x90a85a80
sub dword [ebp - 0x60], 0x42561535
mov dword [ebp - 0x5c], 0x34b3ee7a
sub dword [ebp - 0x5c], 0x280a235
mov dword [ebp - 0x58], 0x5c04b1f6
add dword [ebp - 0x58], 0xf0479238
mov dword [ebp - 0x54], 0x76da6df4
add dword [ebp - 0x54], 0x8925920c
lea eax, [ebp - 0x60]
push eax
mov eax, 0x20996bf2
sub eax, 0xb363dba2
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x99d562f2
add dword [ebp - 0x60], 0xda9d0664
mov dword [ebp - 0x5c], 0x4c05187d
add dword [ebp - 0x5c], 0xf56748f8
mov dword [ebp - 0x58], 0xb5aa207
sub dword [ebp - 0x58], 0xa7eb359b
mov dword [ebp - 0x54], 0x6100ca
add dword [ebp - 0x54], 0xff9eff36
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x3c648
push 0
call eax
mov ecx, 0x5cc0
xor ebx, ebx
add ebx, eax
mov edi, 0xa15b0f4c
sub edi, 0x3425274c
add edi, dword [ebp - 0x50]
mov edx, 0xa14b987c
mov dword [ebp - 0x4c], 0x31c8e553
mov esi, dword [edi]
mov dword [ebp - 0x2c], 0x2a42a440
xor esi, edx
sub dword [ebp - 0x40], ecx
mov dword [ebx], esi
mov dword [ebp - 0xc], 0x4eaf0f36
add ebx, 0x31eec2b3
sub ebx, 0x31eec2af
add edi, 0xc6617a06
sub edi, 0xc6617a02
loop 0x6d3574aa
add eax, 0x1bddbf88
sub eax, 0x1bdc59b5
xor ebx, ebx
add ebx, eax
add eax, 0xa50eb689
sub eax, 0xa50eb684
mov ecx, 0xaecd1ad
add ecx, 0x62482e53
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x6d3578c4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x6d3578ce
repz ret
jmp fcn.6d357caf