joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43fc88
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x43fcd4
mov eax, esi
call fcn.00455a0c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43fcd4
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x43fcd4
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x43fe13
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x43fd14
cmp eax, 0x108
ja 0x43fd14
mov eax, esi
call fcn.00455a0c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43fe0a
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x43fe13
jmp 0x43fe0a
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43fdf3
cmp eax, 0x20a
ja 0x43fdf3
test byte [esi + 0x50], 0x80
jne 0x43fd46
sub eax, 0x203
je 0x43fd43
sub eax, 3
je 0x43fd43
sub eax, 3
jne 0x43fd46
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x43fd5a
dec eax
je 0x43fd6f
dec eax
je 0x43fd8c
dec eax
je 0x43fd6f
jmp 0x43fd93
mov ecx, ebx
mov eax, dword [0x4621ec]
mov eax, dword [eax]
mov edx, esi
call fcn.0045f2fc
jmp 0x43fe0a
cmp byte [esi + 0x5d], 1
jne 0x43fd85
mov eax, esi
mov si, 0xffed
call fcn.004038c8
jmp 0x43fe13
or word [esi + 0x54], 1
jmp 0x43fe0a
and word [esi + 0x54], 0xfffe
jmp 0x43fe0a
mov eax, dword [0x463b10]
cmp byte [eax + 0x20], 0
je 0x43fe0a
mov eax, dword [0x463b10]
cmp dword [eax + 0x1c], 0
je 0x43fe0a
mov eax, dword [ebx]
mov edx, dword [0x463b10]
cmp eax, dword [edx + 0x1c]
jne 0x43fe0a
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00455950
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.004038c8
jmp 0x43fe13
cmp eax, 0xb00b
jne 0x43fe0a
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0043e5a8
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x443380
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x44339c
cmp dword [esi + 4], 0
je 0x4433c9
test byte [ebx + 0x55], 1
jne 0x4433bb
mov eax, ebx
call fcn.00441f20
test eax, eax
jne 0x4433bb
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4434d9
mov edx, esi
mov eax, ebx
call fcn.00442ea4
jmp 0x4434d9
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4434d2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004451f0
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0043fbbc
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00443380
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004451f0
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4434d9
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x449bcc
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x462368]
cmp byte [eax + 0xc], 0
je 0x449d39
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x449d32
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x463b64], 0
jne 0x449c20
push 0x449d40
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x449d48
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x463b64], eax
cmp dword [0x461cec], 0
jne 0x449d1b
push 0x449d58
call sub.kernel32.dll_LoadLibraryA
mov dword [0x461cec], eax
cmp dword [0x461cec], 0
je 0x449d1b
push 0x449d64
mov eax, dword [0x461cec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x463b68], eax
push 0x449d74
mov eax, dword [0x461cec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x463b6c], eax
push 0x449d88
mov eax, dword [0x461cec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x463b70], eax
push 0x449da0
mov eax, dword [0x461cec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x463b74], eax
push 0x449db8
mov eax, dword [0x461cec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x463b78], eax
push 0x449dcc
mov eax, dword [0x461cec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x463b7c], eax
push 0x449de4
mov eax, dword [0x461cec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x463b80], eax
push 0x449dfc
mov eax, dword [0x461cec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x463b84], eax
push 0x449e18
mov eax, dword [0x461cec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x463b88], eax
push 0x449e24
mov eax, dword [0x461cec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x463b8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449d39
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44e098
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.0040444c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44e0e7
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004046bc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4558c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x455910]
test si, 4
je 0x4558d4
or bl, 1
test si, 8
je 0x4558de
or bl, 4
test si, 1
je 0x4558e8
or bl, 8
test si, 2
je 0x4558f2
or bl, 0x10
test si, 0x10
je 0x4558fc
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45590b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x455914
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45594c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45592d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45593c
or bl, 4
test esi, 0x20000000
je 0x455947
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45c010
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45c022
add esp, 0xfffffff0
call fcn.004039f8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a04c
mov eax, dword [0x462004]
mov dword [eax + 4], ebx
mov dword [eax], 0x45c3b4
mov eax, dword [0x462014]
mov dword [eax + 4], ebx
mov dword [eax], 0x45c3c0
mov eax, ebx
call fcn.0045c3cc
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x412298]
call fcn.00403690
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x412298]
call fcn.00403690
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x412298]
call fcn.00403690
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x412298]
call fcn.00403690
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x412298]
call fcn.00403690
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x4587e4
push eax
push 0
push 0
mov eax, dword [0x462170]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41bad8]
call fcn.0041d270
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41bad8]
call fcn.0041d270
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41bad8]
call fcn.0041d270
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045c81c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45c6e4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45c6e4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45c6e4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45c15f
call fcn.00403a50
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45c4c8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45c673
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45c654
mov dl, 1
mov eax, dword [0x4126b4]
call fcn.00403690
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040444c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45c643
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00449f2c
test al, al
je 0x45c636
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45c684
lea eax, [ebp - 0x254]
call fcn.00409410
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45c636
xor eax, eax
push ebp
push 0x45c62f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45c6bc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45c618
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046bc
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45c618
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c636
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45c539
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004161a8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c67a
lea eax, [ebp - 0x260]
call fcn.0040444c
ret

Function at 0x45cfbc
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x463bb0]
cmp byte [eax + 0xa5], 0
jne 0x45d02d
cmp dword [0x463bc8], 0
jne 0x45cfee
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45cf78
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x463bc8], eax
cmp dword [0x463bc4], 0
jne 0x45d009
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x463bc4], eax
cmp dword [0x463bcc], 0
jne 0x45d02d
push esp
push 0
push 0
push 0x45cf1c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x463bcc], eax
pop edx
ret
Function at 0x45d6c0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x463bb0]
cmp dword [eax + 0x30], 0
je 0x45d76a
cmp dword [ebx + 0x94], 0
jne 0x45d764
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45d650
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45d764
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45d72a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45d764
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414600
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45d739
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45e2c8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45e2fd
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040453c
jmp 0x45e30a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004044a0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45f444
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45f485
mov eax, esi
call fcn.004454f4
test al, al
je 0x45f485
mov eax, dword [ebx + 0x84]
call fcn.004451f0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45f485
push 0
mov eax, dword [ebx + 0x84]
call fcn.004451f0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x42a430
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1c000]
push edi
or ebp, 0xffffffff
jmp 0x42a452
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42a459
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42a448
mov eax, 1
add ebx, ebx
jne 0x42a46b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42a460
jne 0x42a47c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42a460
xor ecx, ecx
sub eax, 3
jb 0x42a490
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42a502
mov ebp, eax
add ebx, ebx
jne 0x42a49b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42a4a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42a4cc
inc ecx
add ebx, ebx
jne 0x42a4b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42a4ad
jne 0x42a4c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42a4ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42a4ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42a4dd
jmp 0x42a44e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42a4ec
add edi, ecx
jmp 0x42a44e
pop esi
mov edi, esi
mov ecx, 0xd7f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42a50a
cmp byte [edi], 9
jne 0x42a50a
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 0x42a50f
lea edi, [esi + 0x28000]
mov eax, dword [edi]
or eax, eax
je 0x42a587
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x30cc4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x30d28]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42a53c
mov ecx, edi
jns 0x42a56b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x30d2c]
or eax, eax
je 0x42a581
mov dword [ebx], eax
add ebx, 4
jmp 0x42a559
call dword [esi + 0x30d34]
mov ebp, dword [esi + 0x30d30]
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 0x42a5bb
sub esp, 0xffffff80
jmp 0x412c8f
Function at 0x4023e2
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 4], ecx
mov ebx, eax
cmp dword [ebp + 0x10], 0
je 0x402402
mov eax, dword [ebp + 0x10]
mov byte [eax], 0
cmp dword [ebp + 0xc], 0
je 0x40240e
mov ecx, dword [ebp + 0xc]
mov byte [ecx], 0
test ebx, ebx
je 0x402417
cmp byte [ebx], 0
jne 0x40241e
xor eax, eax
jmp 0x4024cf
xor ecx, ecx
mov dword [ebp - 8], ecx
xor esi, esi
jmp 0x40247c
mov al, byte [ebx]
xor ecx, ecx
mov cl, al
inc ebx
cmp ecx, 0x3d
jne 0x402450
cmp dword [ebp - 4], 0
je 0x402450
cmp dword [ebp - 8], 0
jne 0x402450
cmp dword [ebp + 0x10], 0
je 0x40244b
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
mov dword [ebp - 8], edx
jmp 0x40247b
xor ecx, ecx
mov cl, al
cmp ecx, 0xd
je 0x40245e
cmp ecx, 0xa
jne 0x402466
cmp ecx, 0xd
jne 0x402481
inc ebx
jmp 0x402481
mov byte [edx], al
inc edx
mov eax, dword [ebp + 8]
add eax, 0xfffffffe
cmp esi, eax
jle 0x40247b
mov ecx, dword [ebp + 0xc]
mov byte [ecx], 1
jmp 0x402481
inc esi
cmp byte [ebx], 0
jne 0x402427
mov byte [edx], 0
cmp dword [ebp - 4], 0
je 0x4024cd
mov edx, dword [ebp - 4]
mov byte [edx], 0
cmp dword [ebp - 8], 0
je 0x4024cd
push 0x1000
lea eax, [ebp - 0x1008]
push eax
push dword [ebp - 8]
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
mov ecx, dword [ebp + 8]
dec ecx
lea edx, [ebp - 0x1008]
mov eax, dword [ebp - 4]
call fcn.0040c998
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov byte [edx + ecx - 1], 0
mov eax, dword [ebp - 8]
mov byte [eax], 0
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40273d
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 0x4027c6
mov eax, esp
call fcn.00405bd4
mov ecx, 6
mov edx, dword [str.RarSFX]
call fcn.0040ca34
test eax, eax
jne 0x4027c6
push 0x411203
call sub.KERNEL32.DLL_SetCurrentDirectoryA
mov eax, esp
call fcn.0040c908
mov byte [esp + eax + 1], 0
lea eax, [esp + 0x400]
mov ecx, 0x1e
xor edx, edx
call fcn.0040c888
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 0x4028af
Capabilities:
Set registry value

Disassembly:
push ebx
add esp, 0xfffffbf8
mov ebx, eax
cmp byte [0x41105d], 0
je 0x402926
cmp byte [0x412938], 0
je 0x402926
lea edx, [esp + 8]
mov eax, 0x412938
call fcn.0040287e
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 0x402926
mov eax, ebx
call fcn.0040c908
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 0x402a6c
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 0x402bd4
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 0x4117cc
push 1
push 0
push 0x4117dc
call sub.OLE32.DLL_CoCreateInstance
test eax, eax
jl 0x402cd3
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 0x402c37
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 0x402c49
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.0040c988
lea eax, [ebp - 0x40c]
call fcn.00405ff4
cmp byte [ebp - 0x40c], 0
je 0x402c7a
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 0x4117fc
mov ecx, dword [ebp - 8]
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
jl 0x402cca
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 0x402cc1
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 0x402e48
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffc4
mov edi, edx
mov ebx, eax
push 0x67
push dword [0x41187c]
call sub.USER32.DLL_GetDlgItem
mov esi, eax
cmp byte [0x411019], 0
jne 0x402ea4
mov eax, dword [0x412d38]
call fcn.004042f0
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 0x402efe
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 0x402f52
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