joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f5380
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ab87
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5462f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], edx
mov esi, ecx
push 0x34
call fcn.00424a9d
mov ebx, eax
add esp, 4
lea edi, [ebx + 0x14]
mov dword [ebp - 0x1c], ebx
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
mov dword [ebx + 0x10], esi
mov esi, ecx
mov dword [ebx + 8], 0
lea edx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x4f53f0
sub esi, edx
mov edx, dword [edi + 0x14]
mov dword [ebp - 0x1c], edx
cmp esi, edx
ja 0x4f542c
mov dword [ebp - 0x14], edi
mov eax, edi
cmp edx, 0x10
jb 0x4f5412
mov eax, dword [edi]
mov dword [ebp - 0x14], eax
push esi
push ecx
push eax
mov dword [edi + 0x10], esi
call fcn.00430620
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x4f550f
cmp esi, 0x7fffffff
ja 0x4f556d
mov ecx, esi
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0x4f544c
mov ecx, 0x7fffffff
jmp 0x4f5470
mov eax, edx
shr eax, 1
mov dword [ebp - 0x14], eax
mov eax, 0x7fffffff
sub eax, dword [ebp - 0x14]
cmp edx, eax
jbe 0x4f5466
mov ecx, 0x7fffffff
jmp 0x4f5470
mov eax, dword [ebp - 0x14]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea edx, [ecx + 1]
mov dword [ebp - 0x10], ecx
cmp edx, 0x1000
jb 0x4f54aa
lea eax, [edx + 0x23]
or ecx, 0xffffffff
cmp eax, edx
cmovbe eax, ecx
push eax
call fcn.00424a9d
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4f5572
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
mov ecx, dword [ebp - 0x10]
jmp 0x4f54be
test edx, edx
je 0x4f54bc
push edx
call fcn.00424a9d
mov ecx, dword [ebp - 0x10]
add esp, 4
jmp 0x4f54be
xor eax, eax
push esi
push dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
push eax
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], ecx
call fcn.0042fe00
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
mov byte [eax + esi], 0
cmp ecx, 0x10
jb 0x4f550d
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x4f5500
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f5572
mov eax, edx
push ecx
push eax
call fcn.00424acd
mov eax, dword [ebp - 0x14]
add esp, 8
mov dword [edi], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 0xc]
push 0
push 0x4f4a00
mov dword [ebx + 0x30], eax
call fcn.00435e9f
add esp, 0xc
cmp eax, 0xffffffff
je 0x4f554f
push 0
push eax
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, ebx
call fcn.00404ac0
xor ebx, ebx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00404370
call fcn.00436c49
int3
Function at 0x4f5680
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x18
mov edi, edx
mov esi, ecx
call fcn.00424a9d
mov ebx, eax
mov eax, dword [ebp + 8]
push ebx
push 0
push 0x4f4aa0
mov dword [ebx + 4], 0
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], eax
call fcn.00435e9f
add esp, 0x10
cmp eax, 0xffffffff
je 0x4f56d4
push 2
push eax
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret
push 0x18
push ebx
call fcn.00424acd
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4f5790
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x18
mov edi, edx
mov esi, ecx
call fcn.00424a9d
mov ebx, eax
mov eax, dword [ebp + 8]
push ebx
push 0
push 0x4f4b70
mov dword [ebx + 4], 0
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], eax
call fcn.00435e9f
add esp, 0x10
cmp eax, 0xffffffff
je 0x4f57e4
push 2
push eax
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret
push 0x18
push ebx
call fcn.00424acd
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4f5f00
Capabilities:
Change the wallpaper
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x5462f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0x620]
mov esi, edx
push eax
push 0
push 0x20006
push 0
push 0
push 0
push 0x5317e4
push 0x80000001
mov ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push 4
test esi, esi
mov ecx, 0x531830
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, 0x5317e0
cmove eax, ecx
push eax
push 1
push 0
push str.WallpaperStyle
push dword [ebp - 0x620]
call esi
push 4
test edi, edi
mov ecx, 0x531830
mov eax, 0x5317dc
cmove eax, ecx
push eax
push 1
push 0
push str.TileWallpaper
push dword [ebp - 0x620]
call esi
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.004f1180
add esp, 8
lea eax, [ebp - 0x61c]
push 3
push eax
push 0
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00424a87
mov esp, ebp
pop ebp
ret
Function at 0x4f67d0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x55edc4]
push esi
mov esi, ecx
test eax, eax
je 0x4f6873
test esi, esi
je 0x4f6843
call fcn.004b6220
test eax, eax
jne 0x4f6837
cmp dword [0x5a9308], eax
je 0x4f681d
push 0x25
push eax
push eax
push dword [0x5a92e4]
push dword [0x5a92e0]
push eax
push dword [0x55eaa0]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [0x5a92e4]
call fcn.004ba500
push 1
push dword [0x55eaa0]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x55eaa0]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov dword [0x5a9308], 0
jmp 0x4f6851
push 0
push dword [0x55eaa0]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [0x5a92d4], esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
cmp eax, dword [0x55eaa0]
mov eax, dword [0x55edc4]
sete cl
mov dword [0x55e938], ecx
pop esi
ret

Function at 0x4f7ed0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x34], 0xffffffff
jne 0x4f7ee7
mov eax, 0x80070006
pop esi
pop ebp
ret 0x10
mov edx, dword [ebp + 0x10]
xor eax, eax
mov ecx, dword [esi + 0x44]
push ebx
mov ebx, edx
add ebx, dword [esi + 0x38]
mov dword [ebp + 8], ebx
adc eax, dword [esi + 0x3c]
mov ebx, dword [esi + 0x40]
add ebx, dword [esi + 0x48]
adc ecx, dword [esi + 0x4c]
cmp eax, ecx
jb 0x4f7f18
ja 0x4f7f0f
cmp dword [ebp + 8], ebx
jbe 0x4f7f18
mov edx, dword [esi + 0x40]
sub edx, dword [esi + 0x38]
add edx, dword [esi + 0x48]
mov ebx, dword [ebp + 0x14]
push 0
push ebx
push edx
push dword [ebp + 0xc]
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4f7f47
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4f7f52
movzx eax, ax
pop ebx
or eax, 0x80070000
pop esi
pop ebp
ret 0x10
mov eax, dword [ebx]
add dword [esi + 0x38], eax
adc dword [esi + 0x3c], 0
xor eax, eax
pop ebx
pop esi
pop ebp
ret 0x10
Function at 0x4fe300
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, edx
mov edi, ecx
xor cl, cl
mov dword [ebp - 0x10], esi
xor bl, bl
mov dword [ebp - 0xc], edi
xor eax, eax
mov dword [ebp - 8], ecx
test esi, esi
je 0x4fe3d9
cmp esi, 0x20
jb 0x4fe3d9
mov ecx, esi
xorps xmm2, xmm2
and ecx, 0xffffffe0
xorps xmm4, xmm4
xorps xmm3, xmm3
xorps xmm5, xmm5
nop
movups xmm1, xmmword [edi + eax]
movaps xmm0, xmm1
pxor xmm5, xmm1
movups xmm1, xmmword [edi + eax + 0x10]
add eax, 0x20
paddb xmm2, xmm0
movaps xmm0, xmm1
pxor xmm3, xmm1
paddb xmm4, xmm0
cmp eax, ecx
jb 0x4fe340
pxor xmm3, xmm5
paddb xmm4, xmm2
movaps xmm0, xmm3
psrldq xmm0, 8
pxor xmm3, xmm0
movups xmm0, xmm3
psrldq xmm0, 4
pxor xmm3, xmm0
movups xmm0, xmm3
psrldq xmm0, 2
pxor xmm3, xmm0
movups xmm0, xmm3
psrldq xmm0, 1
pxor xmm3, xmm0
movaps xmm0, xmm4
psrldq xmm0, 8
paddb xmm4, xmm0
movd ebx, xmm3
movups xmm0, xmm4
psrldq xmm0, 4
paddb xmm4, xmm0
movups xmm0, xmm4
psrldq xmm0, 2
paddb xmm4, xmm0
movups xmm0, xmm4
psrldq xmm0, 1
paddb xmm4, xmm0
movd ecx, xmm4
mov dword [ebp - 8], ecx
xor dh, dh
mov byte [ebp - 1], 0
cmp eax, esi
jae 0x4fe424
mov ecx, esi
sub ecx, eax
cmp ecx, 2
mov ch, byte [ebp - 1]
jb 0x4fe411
lea edi, [esi - 1]
mov esi, dword [ebp - 0xc]
mov dl, byte [esi + eax]
mov cl, byte [esi + eax + 1]
add ch, dl
xor dl, cl
add eax, 2
add dh, cl
xor bl, dl
cmp eax, edi
jb 0x4fe3f5
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
cmp eax, esi
jae 0x4fe41d
mov al, byte [eax + edi]
add byte [ebp - 8], al
xor bl, al
add dh, ch
mov ecx, dword [ebp - 8]
add cl, dh
cmp byte [ebp + 8], cl
jne 0x4fe43a
cmp byte [ebp + 0xc], bl
jne 0x4fe43a
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4fe450
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor bl, bl
push edi
mov dword [ebp - 0xc], ecx
mov edi, edx
xor cl, cl
mov dword [ebp - 0x10], edi
xor eax, eax
mov dword [ebp - 8], ecx
test esi, esi
je 0x4fe52b
cmp esi, 0x20
jb 0x4fe52b
mov edx, dword [ebp + 8]
mov ecx, esi
and ecx, 0xffffffe0
xorps xmm2, xmm2
xorps xmm4, xmm4
xorps xmm3, xmm3
xorps xmm5, xmm5
movups xmm1, xmmword [edx + eax]
movaps xmm0, xmm1
pxor xmm5, xmm1
movups xmm1, xmmword [edx + eax + 0x10]
add eax, 0x20
paddb xmm2, xmm0
movaps xmm0, xmm1
pxor xmm3, xmm1
paddb xmm4, xmm0
cmp eax, ecx
jb 0x4fe492
pxor xmm3, xmm5
paddb xmm4, xmm2
movaps xmm0, xmm3
psrldq xmm0, 8
pxor xmm3, xmm0
movups xmm0, xmm3
psrldq xmm0, 4
pxor xmm3, xmm0
movups xmm0, xmm3
psrldq xmm0, 2
pxor xmm3, xmm0
movups xmm0, xmm3
psrldq xmm0, 1
pxor xmm3, xmm0
movaps xmm0, xmm4
psrldq xmm0, 8
paddb xmm4, xmm0
movd ebx, xmm3
movups xmm0, xmm4
psrldq xmm0, 4
paddb xmm4, xmm0
movups xmm0, xmm4
psrldq xmm0, 2
paddb xmm4, xmm0
movups xmm0, xmm4
psrldq xmm0, 1
paddb xmm4, xmm0
movd ecx, xmm4
mov dword [ebp - 8], ecx
xor dh, dh
mov byte [ebp - 1], 0
cmp eax, esi
jae 0x4fe587
mov ecx, esi
sub ecx, eax
cmp ecx, 2
mov ch, byte [ebp - 1]
jb 0x4fe563
lea edi, [esi - 1]
mov esi, dword [ebp + 8]
mov dl, byte [esi + eax]
mov cl, byte [esi + eax + 1]
add ch, dl
xor dl, cl
add eax, 2
add dh, cl
xor bl, dl
cmp eax, edi
jb 0x4fe547
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp - 0x10]
cmp eax, esi
jae 0x4fe572
mov esi, dword [ebp + 8]
mov al, byte [eax + esi]
add byte [ebp - 8], al
xor bl, al
mov eax, dword [ebp - 8]
add dh, ch
add al, dh
mov edx, dword [ebp - 0xc]
mov byte [edx], al
mov byte [edi], bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0xc]
mov byte [edx], cl
mov byte [edi], bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x500960
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50aed5
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5462f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00501110
mov dword [ebp - 4], 0
lea ecx, [esi + 0x98]
mov dword [esi], vtable.YCMFPlayer.1.0
mov dword [esi + 8], vtable.YCMFPlayer.0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0x3f800000
mov dword [esi + 0x70], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0x3f800000
mov dword [esi + 0x88], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
call fcn.0049ebc0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov byte [esi + 0x38], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov word [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [esi + 0x54], 0
mov dword [esi + 0x58], 0x80
mov byte [esi + 0x5c], 0
mov dword [esi + 0x60], 0x3f800000
mov dword [esi + 0x64], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4023e0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffffc
push ebx
push esi
mov dword [ebp - 4], ecx
mov ebx, eax
cmp dword [ebp + 8], 0
je 0x402400
mov eax, dword [ebp + 8]
mov byte [eax], 0
test ebx, ebx
je 0x402409
cmp byte [ebx], 0
jne 0x402410
xor eax, eax
jmp 0x402490
xor esi, esi
jmp 0x402453
mov al, byte [ebx]
xor ecx, ecx
mov cl, al
inc ebx
cmp ecx, 0x3d
jne 0x40243a
cmp dword [ebp - 4], 0
je 0x40243a
test esi, esi
jne 0x40243a
cmp dword [ebp + 8], 0
je 0x402436
mov eax, dword [ebp + 8]
mov byte [eax], 1
mov esi, edx
jmp 0x402453
xor ecx, ecx
mov cl, al
cmp ecx, 0xd
je 0x402448
cmp ecx, 0xa
jne 0x402450
cmp ecx, 0xd
jne 0x402458
inc ebx
jmp 0x402458
mov byte [edx], al
inc edx
cmp byte [ebx], 0
jne 0x402414
mov byte [edx], 0
cmp dword [ebp - 4], 0
je 0x40248e
mov eax, dword [ebp - 4]
test esi, esi
mov byte [eax], 0
je 0x40248e
push 0x1000
lea edx, [ebp - 0x1004]
push edx
push esi
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
lea edx, [ebp - 0x1004]
mov eax, dword [ebp - 4]
call fcn.0040c0d0
mov byte [esi], 0
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x402498
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffff7c0
mov ebx, eax
mov al, byte [0x41251c]
test al, al
mov byte [esp], dl
lea esi, [esp + 4]
je 0x4024d4
xor edx, edx
mov dl, al
cmp edx, 0x20
je 0x4024c8
mov edx, 0x411125
mov eax, ebx
call fcn.0040c1a4
mov edx, 0x41251c
mov eax, ebx
call fcn.0040c1a4
mov eax, esi
mov ecx, 0x3c
xor edx, edx
call fcn.0040bfd0
mov dword [esi], 0x3c
xor eax, eax
mov dword [esi + 4], 0x5c0
mov al, byte [ebx]
cmp eax, 0x22
jne 0x4024fd
lea edx, [ebx + 1]
jmp 0x4024ff
mov edx, ebx
mov dword [esi + 0x10], edx
xor eax, eax
jmp 0x402550
xor ecx, ecx
mov cl, dl
cmp ecx, 0x22
jne 0x402528
jmp 0x402521
xor edx, edx
mov dl, byte [ebx + eax]
cmp edx, 0x22
jne 0x402521
mov byte [ebx + eax], 0x20
jmp 0x402528
inc eax
cmp byte [ebx + eax], 0
jne 0x402511
xor edx, edx
mov dl, byte [ebx + eax]
cmp edx, 0x20
je 0x40253d
xor ecx, ecx
mov cl, byte [ebx + eax + 1]
cmp ecx, 0x2f
jne 0x40254f
cmp edx, 0x20
jne 0x402546
mov byte [ebx + eax], 0
lea eax, [eax + ebx + 1]
mov dword [esi + 0x14], eax
jmp 0x402557
inc eax
mov dl, byte [ebx + eax]
test dl, dl
jne 0x402506
mov dword [esi + 0x1c], 1
mov eax, dword [esi + 0x10]
call fcn.00405e04
mov edi, eax
test edi, edi
je 0x402583
mov edx, str..inf
mov eax, edi
call fcn.0040c158
test eax, eax
jne 0x402583
mov dword [esi + 0xc], str.Install
xor edx, edx
mov eax, dword [esi + 0x10]
call fcn.00406774
mov byte [esp + 1], al
cmp byte [esp + 1], 0
je 0x4025ab
lea edx, [esp + 0x40]
mov eax, dword [esi + 0x10]
call fcn.00406840
lea ecx, [esp + 0x40]
mov dword [esi + 0x10], ecx
cmp byte [esp], 0
je 0x4025ee
cmp byte [esp + 1], 0
jne 0x4025ee
lea eax, [esp + 0x440]
mov edx, dword [esi + 0x10]
call fcn.0040c0d0
mov edx, str..exe
lea eax, [esp + 0x440]
call fcn.0040c1a4
lea eax, [esp + 0x440]
xor edx, edx
call fcn.00406774
test al, al
je 0x4026d6
push esi
call sub.SHELL32.DLL_ShellExecuteExA
test eax, eax
setne al
and eax, 1
test al, al
jne 0x402618
and dword [esi + 4], 0xfffffbff
mov dword [esi + 0x10], ebx
push esi
call sub.SHELL32.DLL_ShellExecuteExA
test eax, eax
setne al
and eax, 1
test al, al
je 0x4026d6
cmp byte [0x411044], 0
jne 0x40262f
cmp byte [esp], 0
je 0x402687
mov ebx, dword [0x411868]
test ebx, ebx
je 0x402643
push ebx
call sub.USER32.DLL_IsWindowVisible
test eax, eax
jne 0x402647
xor eax, eax
jmp 0x40264c
mov eax, 1
mov ebx, eax
test ebx, ebx
je 0x40265f
push 0
push dword [0x411868]
call sub.USER32.DLL_ShowWindow
push 0x7d0
push dword [esi + 0x38]
call sub.USER32.DLL_WaitForInputIdle
push 0xffffffffffffffff
push dword [esi + 0x38]
call sub.KERNEL32.DLL_WaitForSingleObject
test ebx, ebx
je 0x402687
push 1
push dword [0x411868]
call sub.USER32.DLL_ShowWindow
push dword [esi + 0x38]
call sub.KERNEL32.DLL_CloseHandle
test edi, edi
je 0x4026a3
mov edx, str..exe
mov eax, edi
call fcn.0040c158
test eax, eax
je 0x4026d6
cmp byte [0x411044], 0
je 0x4026be
cmp byte [esp], 0
jne 0x4026be
push 0x1b58
call sub.KERNEL32.DLL_Sleep
jmp 0x4026d6
cmp byte [esp], 0
je 0x4026cb
mov edx, 0xc8
jmp 0x4026d0
mov edx, 0x3e8
push edx
call sub.KERNEL32.DLL_Sleep
add esp, 0x840
pop edi
pop esi
pop ebx
ret
Function at 0x4026e0
Capabilities:
Delete file
Get common file path
Set current directory

Disassembly:
add esp, 0xfffffbe0
push esp
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
cmp byte [0x411045], 0
jne 0x402769
mov eax, esp
call fcn.0040297c
mov ecx, 6
mov edx, dword [str.RarSFX]
call fcn.0040c17c
test eax, eax
jne 0x402769
push 0x411203
call sub.KERNEL32.DLL_SetCurrentDirectoryA
mov eax, esp
call fcn.0040c050
mov byte [esp + eax + 1], 0
lea eax, [esp + 0x400]
mov ecx, 0x1e
xor edx, edx
call fcn.0040bfd0
mov dword [esp + 0x404], 3
mov word [esp + 0x410], 0x14
mov eax, esp
mov dword [esp + 0x408], eax
lea edx, [esp + 0x400]
push edx
call sub.SHELL32.DLL_SHFileOperationA
add esp, 0x420
ret

Function at 0x402824
Capabilities:
Set registry value

Disassembly:
push ebx
add esp, 0xfffffbf8
mov ebx, eax
cmp byte [0x41105d], 0
je 0x40289b
cmp byte [0x412924], 0
je 0x40289b
lea edx, [esp + 8]
mov eax, 0x412924
call fcn.004027f3
lea ecx, [esp + 4]
push ecx
lea eax, [esp + 4]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SoftwareWinRAR_SFX
push 0x80000001
call sub.ADVAPI32.DLL_RegCreateKeyExA
test eax, eax
jne 0x40289b
mov eax, ebx
call fcn.0040c050
inc eax
push eax
push ebx
push 1
push 0
lea edx, [esp + 0x18]
push edx
push dword [esp + 0x14]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [esp]
call sub.ADVAPI32.DLL_RegCloseKey
add esp, 0x408
pop ebx
ret

Function at 0x4028a3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
add esp, 0xfffff7f4
mov ebx, eax
cmp byte [0x41105d], 0
je 0x40291c
lea edx, [esp + 0xc]
mov eax, ebx
call fcn.004027f3
push esp
push 1
push 0
push str.SoftwareWinRAR_SFX
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x40291c
mov dword [esp + 4], 0x400
lea ecx, [esp + 4]
push ecx
lea eax, [esp + 0x410]
push eax
lea edx, [esp + 0x10]
push edx
push 0
lea ecx, [esp + 0x1c]
push ecx
push dword [esp + 0x14]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x402914
lea edx, [esp + 0x40c]
mov eax, ebx
call fcn.0040c0d0
push dword [esp]
call sub.ADVAPI32.DLL_RegCloseKey
add esp, 0x80c
pop ebx
ret

Function at 0x402a04
Capabilities:
Get geographical location

Disassembly:
add esp, 0xffffff9c
push 0x64
lea eax, [esp + 4]
push eax
push 0xf
push 0x400
call sub.KERNEL32.DLL_GetLocaleInfoA
xor eax, eax
mov al, byte [esp]
add esp, 0x64
ret
Function at 0x402b6c
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff9ec
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor ebx, ebx
push 0
call sub.OLE32.DLL_OleInitialize
lea eax, [ebp - 8]
push eax
push 0x4117b8
push 1
push 0
push 0x4117c8
call sub.OLE32.DLL_CoCreateInstance
test eax, eax
jl 0x402c6b
push esi
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x50]
push edi
mov eax, dword [ebp - 8]
push eax
mov edx, dword [eax]
call dword [edx + 0x1c]
cmp dword [ebp + 0xc], 0
je 0x402bcf
push 0
push dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x44]
cmp dword [ebp + 8], 0
je 0x402be1
push dword [ebp + 8]
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x2c]
lea eax, [ebp - 0x40c]
mov edx, esi
call fcn.0040c0d0
lea eax, [ebp - 0x40c]
call fcn.00405ef8
cmp byte [ebp - 0x40c], 0
je 0x402c12
lea edx, [ebp - 0x40c]
push edx
mov ecx, dword [ebp - 8]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x24]
lea edx, [ebp - 0xc]
push edx
push 0x4117e8
mov ecx, dword [ebp - 8]
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
jl 0x402c62
push 0x104
lea edx, [ebp - 0x614]
push edx
push 0xffffffffffffffff
push dword [ebp - 4]
push 0
push 0
call sub.KERNEL32.DLL_MultiByteToWideChar
push 1
lea ecx, [ebp - 0x614]
push ecx
mov eax, dword [ebp - 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 0x18]
test eax, eax
jl 0x402c59
mov bl, 1
mov eax, dword [ebp - 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov ecx, dword [ebp - 8]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
call sub.OLE32.DLL_OleUninitialize
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x402c7c
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov esi, edx
mov ebx, eax
push esp
call sub.SHELL32.DLL_SHGetMalloc
lea eax, [esp + 4]
push eax
push esi
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderLocation
push ebx
push dword [esp + 8]
call sub.SHELL32.DLL_SHGetPathFromIDListA
push dword [esp + 4]
mov edx, dword [esp + 4]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x14]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x402de0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffc4
mov edi, edx
mov ebx, eax
push 0x67
push dword [0x411868]
call sub.USER32.DLL_GetDlgItem
mov esi, eax
cmp byte [0x411019], 0
jne 0x402e3c
mov eax, dword [0x412d24]
call fcn.00404270
push 5
push esi
call sub.USER32.DLL_ShowWindow
push 0xffffffffffffffff
push 0
push 0xb1
push esi
call sub.USER32.DLL_SendMessageA
push 0x411099
push 0
push 0xc2
push esi
call sub.USER32.DLL_SendMessageA
mov byte [0x411019], 1
push 0x5f5e100
push 0x5f5e100
push 0xb1
push esi
call sub.USER32.DLL_SendMessageA
mov dword [esp], 0x3c
mov edx, esp
push edx
push 0
push 0x43a
push esi
call sub.USER32.DLL_SendMessageA
mov byte [esp + 0x19], 0
mov dword [esp + 4], 1
test bl, bl
je 0x402e96
and dword [esp + 8], 0xbfffffff
or dword [esp + 8], 1
mov dword [esp + 0x14], 0xa0
or dword [esp + 4], 0x40000000
mov ecx, esp
push ecx
push 1
push 0x444
push esi
call sub.USER32.DLL_SendMessageA
push edi
push 0
push 0xc2
push esi
call sub.USER32.DLL_SendMessageA
push 0x5f5e100
push 0x5f5e100
push 0xb1
push esi
call sub.USER32.DLL_SendMessageA
test bl, bl
je 0x402eea
or dword [esp + 8], 0x40000000
and dword [esp + 8], 0xfffffffe
mov eax, esp
push eax
push 1
push 0x444
push esi
call sub.USER32.DLL_SendMessageA
push 0x4110c0
push 0
push 0xc2
push esi
call sub.USER32.DLL_SendMessageA
add esp, 0x3c
pop edi
pop esi
pop ebx
ret