joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401980
Capabilities:
Set application hook

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, eax
add eax, 0x164
sub esp, 0x40
mov dword [ebp - 0x28], eax
mov eax, dword [0x4153a0]
mov ecx, dword [ebx + 0x154]
mov edx, dword [ebx + 0x150]
mov dword [ebp - 0x2c], 0x40d4bc
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x14c]
mov dword [ebp - 0x1c], edx
sub ecx, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x158]
mov dword [ebp - 0x18], ecx
sub eax, edx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x401b20
mov dword [esp + 0xc], eax
mov dword [esp], 5
mov dword [ebp - 0xc], 0
call sub.user32.dll_SetWindowsHookExW
mov dword [0x415358], ebx
sub esp, 0x10
mov dword [0x41535c], eax
lea eax, [ebp - 0x2c]
mov dword [esp + 0xc], eax
mov eax, dword [0x4153c4]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x220
mov dword [esp], eax
call sub.user32.dll_SendMessageW
sub esp, 0x10
mov dword [ebx], eax
test eax, eax
mov eax, dword [0x41535c]
mov dword [esp], eax
je 0x401b10
call sub.user32.dll_UnhookWindowsHookEx
mov esi, 0x10
sub esp, 4
mov eax, esi
cmp dword [0x4153e0], 0x10
cmovge eax, dword [0x4153e0]
mov dword [esp + 8], 1
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 4]
mov dword [esp + 4], 0x1a0
mov dword [esp], eax
call sub.user32.dll_SendMessageW
mov eax, dword [ebx + 0x98]
sub esp, 0x10
cmp dword [0x4153e0], 0x10
cmovge esi, dword [0x4153e0]
mov dword [esp + 8], 1
mov dword [esp + 0xc], esi
mov dword [esp + 4], 0x1a0
mov dword [esp], eax
call sub.user32.dll_SendMessageW
mov eax, dword [ebx + 0x94]
sub esp, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 4]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x18f
mov dword [esp], eax
call sub.user32.dll_SendMessageW
sub esp, 0x10
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x186
mov dword [esp], eax
call sub.user32.dll_SendMessageW
mov eax, dword [ebx]
sub esp, 0x10
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
call sub.user32.dll_UnhookWindowsHookEx
xor eax, eax
sub esp, 4
jmp 0x401b05
Function at 0x401d40
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
lea eax, [ebp - 0x998]
sub esp, 0x9c0
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x9a0]
mov dword [esp + 8], eax
lea eax, [ebp - 0x9a8]
mov dword [esp + 4], eax
mov dword [esp], 0
call sub.kernel32.dll_GetDiskFreeSpaceExW
sub esp, 0x10
test eax, eax
jne 0x401dd0
xor eax, eax
mov edx, 0x3f
lea ebx, [ebp - 0x808]
jmp 0x401d97
movzx edx, word [eax + 0x40d4e4]
mov word [ebx + eax], dx
add eax, 2
test dx, dx
jne 0x401d90
mov eax, dword [0x4153c8]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40b
mov dword [esp], eax
call sub.user32.dll_SendMessageW
sub esp, 0x10
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
lea eax, [ebp - 0x908]
mov edx, dword [ebp - 0x9a4]
mov dword [esp + 0xc], 0x40
lea esi, [ebp - 0x988]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x9a8]
lea ebx, [ebp - 0x808]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.shlwapi.dll_StrFormatByteSizeW
mov edx, dword [ebp - 0x99c]
sub esp, 0x10
mov dword [ebp - 0x990], eax
lea eax, [ebp - 0x888]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x9a0]
mov dword [esp + 4], edx
mov dword [esp + 0xc], 0x40
mov dword [esp], eax
call sub.shlwapi.dll_StrFormatByteSizeW
mov dword [ebp - 0x98c], eax
mov eax, dword [0x4153a0]
sub esp, 0x10
mov dword [esp + 0xc], 0x40
mov dword [esp + 8], esi
mov dword [esp + 4], 0x4c3
mov dword [esp], eax
call sub.user32.dll_LoadStringW
lea eax, [ebp - 0x990]
sub esp, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0x400
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], 0x2400
call sub.kernel32.dll_FormatMessageW
sub esp, 0x1c
jmp 0x401da3
Function at 0x401eb0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x82c]
push ebx
lea ebx, [ebp - 0x818]
sub esp, 0x86c
mov dword [ebp - 0x82c], 0
mov dword [esp + 4], 0x4153e8
mov dword [esp], 0x400
mov dword [ebp - 0x828], 0
mov dword [ebp - 0x824], 4
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 0
call sub.kernel32.dll_GetLogicalDriveStringsW
mov eax, dword [0x4153a0]
sub esp, 8
mov dword [esp + 0x10], eax
mov eax, dword [0x4153ac]
mov dword [esp + 0x30], 0x14
mov dword [esp + 0x2c], 0xd
mov dword [esp + 0x28], 0x10
mov dword [esp + 0x24], 0xd
mov dword [esp + 0x20], 0x10
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], 0x65
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0x102
mov dword [esp + 4], 0x50001002
mov dword [esp], eax
call sub.comctl32.dll_CreateToolbarEx
mov dword [0x4153d0], eax
mov eax, dword [0x4153a0]
sub esp, 0x34
mov dword [esp + 0xc], 0x400
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x4b5
mov dword [esp], eax
call sub.user32.dll_LoadStringW
sub esp, 0x10
cmp word [ebp - 0x818], 0
je 0x40214f
mov eax, ebx
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x401fc0
sub eax, ebx
sar eax, 1
add eax, 1
xor edx, edx
mov dword [esp + 0xc], ebx
mov esi, 2
mov ebx, 0x4153e8
mov word [ebp + eax*2 - 0x818], dx
mov eax, dword [0x4153d0]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x44d
mov dword [esp], eax
call sub.user32.dll_SendMessageW
mov eax, dword [0x4153d0]
mov dword [ebp - 0x828], 0x9001
sub esp, 0x10
mov dword [esp + 0xc], edi
mov dword [esp + 8], 1
mov dword [esp + 4], 0x443
mov dword [esp], eax
call sub.user32.dll_SendMessageW
mov eax, dword [0x4153d0]
add dword [ebp - 0x81c], 1
sub esp, 0x10
mov dword [esp + 0xc], 0x4153e8
mov dword [esp + 8], 0
mov dword [esp + 4], 0x44d
mov dword [esp], eax
call sub.user32.dll_SendMessageW
mov dword [ebp - 0x828], 0x9002
sub esp, 0x10
cmp word [0x4153e8], 0
je 0x4020f3
lea esi, [esi]
mov dword [esp], ebx
call sub.kernel32.dll_GetDriveTypeW
sub esp, 4
cmp eax, 5
je 0x402128
ja 0x402100
cmp eax, 2
je 0x402140
cmp eax, 4
jne 0x402118
mov dword [ebp - 0x82c], 4
mov eax, dword [0x4153d0]
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 4], 0x443
mov dword [esp], eax
call sub.user32.dll_SendMessageW
add dword [ebp - 0x828], 1
add dword [ebp - 0x81c], 1
sub esp, 0x10
lea esi, [esi]
add ebx, 2
cmp word [ebx - 2], 0
jne 0x4020e0
add esi, 1
cmp word [ebx], 0
jne 0x402080
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 6
jne 0x402118
mov dword [ebp - 0x82c], 5
jmp 0x4020ae
mov dword [ebp - 0x82c], 2
jmp 0x4020ae
mov dword [ebp - 0x82c], 3
jmp 0x4020ae
mov dword [ebp - 0x82c], 1
jmp 0x4020ae
mov eax, 1
jmp 0x401fd0
Function at 0x402490
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
mov esi, edx
push ebx
sub esp, 0x1c
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x18f
mov eax, dword [eax]
mov dword [esp], eax
call sub.user32.dll_SendMessageW
mov ebx, eax
mov eax, dword [edi]
sub esp, 0x10
mov dword [esp + 4], 0
add ebx, 1
mov dword [esp], eax
call sub.user32.dll_ShowWindow
sub esp, 8
jmp 0x402509
mov ecx, dword [esi + 0x14]
cmp dword [eax + 0x14], ecx
jle 0x402532
mov eax, dword [edi]
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x182
mov dword [esp], eax
call sub.user32.dll_SendMessageW
sub esp, 0x10
mov eax, dword [edi]
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x199
mov dword [esp], eax
call sub.user32.dll_SendMessageW
lea edx, [eax + 1]
sub esp, 0x10
cmp edx, 1
ja 0x4024e0
mov dword [esi + 0xc], 0
mov eax, dword [edi]
mov dword [esp + 4], 5
mov dword [esp], eax
call sub.user32.dll_ShowWindow
sub esp, 8
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x402560
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x2c
mov dword [esp + 4], 0
mov eax, dword [eax]
mov dword [esp], eax
call sub.user32.dll_ShowWindow
sub esp, 8
test ebx, ebx
je 0x40265a
mov eax, dword [ebp + 8]
and eax, 1
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
and eax, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x18]
mov edx, dword [esi + 0x84]
and eax, 0x10
test edx, edx
je 0x402680
test eax, eax
je 0x402650
cmp word [ebx + 0x44], 0x2e
je 0x4026f0
test edi, edi
je 0x4025d7
lea eax, [ebx + 0x44]
mov edx, edi
call fcn.00401660
test eax, eax
je 0x402650
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x4025e4
test byte [ebx + 0x18], 6
jne 0x402650
mov eax, dword [ebp + 8]
and eax, 0xe
cmp eax, 0xe
je 0x402610
lea eax, [ebx + 0x44]
call fcn.00401240
cmp eax, 1
je 0x4026e0
cmp eax, 2
je 0x4026a0
test byte [ebp + 8], 8
je 0x402650
nop
cmp dword [ebp + 0xc], 0xffffffff
mov eax, 0xffffffff
je 0x402622
add dword [ebp + 0xc], 1
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [esi]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], 0x181
mov dword [esp], eax
call sub.user32.dll_SendMessageW
mov edx, dword [esi + 0x84]
sub esp, 0x10
test edx, edx
je 0x402650
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x4026b0
mov ebx, dword [ebx]
test ebx, ebx
jne 0x40259e
mov eax, dword [esi]
mov dword [esp + 4], 5
mov dword [esp], eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp + 0xc]
sub esp, 8
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
test eax, eax
je 0x4025c5
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4025c5
mov ebx, dword [ebx]
test ebx, ebx
jne 0x40259e
jmp 0x40265a
test byte [ebp + 8], 4
jne 0x402610
jmp 0x402650
mov edx, dword [ebx + 4]
test edx, edx
je 0x402650
mov eax, dword [ebp + 0xc]
mov ecx, edi
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, esi
call fcn.00402560
mov ebx, dword [ebx]
mov dword [ebp + 0xc], eax
test ebx, ebx
jne 0x40259e
jmp 0x40265a
test byte [ebp + 8], 2
jne 0x402610
jmp 0x402650
movzx eax, word [ebx + 0x46]
test ax, ax
je 0x402650
cmp ax, 0x2e
jne 0x4025c5
cmp word [ebx + 0x48], 0
jne 0x4025c5
jmp 0x402650
Function at 0x4027d0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
push ebx
sub esp, 0x2c
mov eax, dword [eax]
mov dword [ebp - 0x1c], edx
test eax, eax
je 0x4028ae
xor ebx, ebx
lea esi, [esi]
mov eax, dword [eax]
mov esi, ebx
add ebx, 1
test eax, eax
jne 0x4027f0
lea edx, [ebx*4]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call sub.kernel32.dll_HeapAlloc
mov edx, dword [edi]
sub esp, 0xc
mov ecx, eax
test edx, edx
je 0x402838
mov dword [ecx], edx
mov edx, dword [edx]
add ecx, 4
test edx, edx
jne 0x40282d
mov ecx, dword [ebp - 0x1c]
mov dword [esp], eax
mov dword [esp + 8], 4
mov edx, dword [ecx*4 + 0x40d4ac]
mov dword [esp + 4], ebx
mov dword [ebp - 0x1c], eax
mov dword [esp + 0xc], edx
call sub.ucrtbase.dll_qsort
mov eax, dword [ebp - 0x1c]
mov ecx, esi
mov edx, dword [eax]
mov dword [edi], edx
mov edx, eax
test esi, esi
je 0x402882
lea esi, [esi]
mov ebx, dword [edx]
mov edi, dword [edx + 4]
add edx, 4
mov dword [ebx], edi
sub ecx, 1
jne 0x402870
lea edx, [eax + esi*4]
mov edx, dword [edx]
mov dword [edx], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call sub.kernel32.dll_HeapFree
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x405130
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
push esi
mov esi, eax
push ebx
mov ebx, edi
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
mov dword [esp], edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
call sub.kernel32.dll_GetDriveTypeW
mov dword [esi + 0x8b8], eax
sub esp, 4
cmp word [edi], 0
je 0x405171
lea esi, [esi]
add ebx, 2
cmp word [ebx], 0
jne 0x405168
xor eax, eax
mov edx, 0x5c
jmp 0x405187
movzx edx, word [eax + 0x40d2b4]
mov word [ebx + eax], dx
add eax, 2
test dx, dx
jne 0x405180
lea eax, [esi + 0x6b8]
mov dword [esp + 0x1c], 0x100
mov dword [esp + 0x18], eax
lea eax, [esi + 0x8bc]
mov dword [esp + 0x14], eax
lea eax, [esi + 0x4b8]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x100
mov dword [esp + 4], eax
mov dword [esp], edi
call sub.kernel32.dll_GetVolumeInformationW
xor eax, eax
sub esp, 0x20
nop
movzx edx, word [edi + eax]
mov word [esi + eax + 0x2b0], dx
add eax, 2
test dx, dx
jne 0x4051e0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [ebp + 8], eax
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00404ed0
Function at 0x405690
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
lea edx, [ebp - 0x220]
sub esp, 0x64c
mov eax, dword [ebx]
mov dword [ebp - 0x62c], ecx
mov edi, dword [ebp + 8]
call fcn.004054b0
lea eax, [ebp - 0x220]
mov dword [esp + 0xc], 0x402a10
mov dword [esp + 0x10], eax
mov eax, dword [esi]
xor esi, esi
mov dword [esp + 4], 0x68
mov dword [esp + 8], eax
mov eax, dword [0x4153a0]
mov dword [esp], eax
call sub.user32.dll_DialogBoxParamW
sub esp, 0x14
cmp eax, 1
je 0x405700
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp - 0x62c]
mov esi, eax
mov eax, dword [ebx]
call fcn.004054b0
movzx edx, word [ebp - 0x220]
cmp dx, 0x2f
je 0x40572a
cmp word [ebp - 0x21e], 0x3a
jne 0x4057c0
xor eax, eax
jmp 0x405738
movzx edx, word [ebp + eax - 0x220]
mov word [edi + eax], dx
add eax, 2
test dx, dx
jne 0x405730
lea eax, [ebp - 0x220]
mov dword [esp], eax
call sub.kernel32.dll_GetFileAttributesW
sub esp, 4
cmp eax, 0xffffffff
je 0x4056ed
test al, 0x10
je 0x4056ed
lea eax, [ebp - 0x420]
lea ebx, [ebp - 0x620]
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x62c]
mov dword [esp + 0xc], ebx
mov dword [esp], eax
mov dword [esp + 4], 0
call sub.ucrtbase.dll__wsplitpath
lea eax, [ebp - 0x420]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x220]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s__s_s
mov dword [esp], edi
call sub.user32.dll_wsprintfW
jmp 0x4056ed
mov eax, dword [ebx]
mov edx, edi
mov eax, dword [eax + 8]
call fcn.004054b0
cmp word [edi], 0
mov eax, edi
je 0x405829
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x4057d8
mov edx, eax
sub edx, edi
mov ecx, edx
sub edx, 2
sar ecx, 1
movzx edx, word [edi + edx]
cmp dx, 0x5c
je 0x405807
cmp dx, 0x2f
je 0x405807
mov edx, 0x2f
add ecx, 1
mov word [eax], dx
lea ecx, [edi + ecx*2]
xor eax, eax
lea esi, [esi]
movzx edx, word [ebp + eax - 0x220]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x405810
jmp 0x405744
mov edx, 0xfffffffe
xor ecx, ecx
jmp 0x4057ec
Function at 0x405b40
Capabilities:
Set current directory

Disassembly:
test edx, edx
je 0x405c20
push ebp
mov ebp, esp
push esi
mov esi, edx
push ebx
mov ebx, eax
xor eax, eax
sub esp, 0x220
mov dword [ebx + 0x94], edx
mov word [ebp - 0x210], ax
mov eax, dword [edx + 4]
mov dword [ebx + 0x128], edx
test eax, eax
cmove eax, edx
mov dword [ebx + 0x124], eax
mov edx, dword [edx + 0x10]
test edx, edx
je 0x405be8
mov eax, ebx
call fcn.004044f0
mov eax, esi
lea edx, [ebp - 0x210]
call fcn.004054b0
xor eax, eax
lea esi, [esi]
nop
movzx edx, word [ebp + eax - 0x210]
mov word [ebx + eax + 0x164], dx
add eax, 2
test dx, dx
jne 0x405ba0
mov eax, dword [ebx]
test eax, eax
je 0x405bd3
lea ecx, [ebp - 0x210]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sub.user32.dll_SetWindowTextW
sub esp, 8
cmp word [ebp - 0x210], 0
jne 0x405c00
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
mov edx, esi
mov dword [esp], eax
mov eax, ebx
call fcn.004058c0
jmp 0x405b88
lea eax, [ebp - 0x210]
mov dword [esp], eax
call sub.kernel32.dll_SetCurrentDirectoryW
sub esp, 4
test eax, eax
je 0x405bdd
call fcn.00401d40
jmp 0x405bdd
ret
Function at 0x40af90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 1
call dword [sym.imp.ucrtbase.dll__configure_wide_argv]
call dword [sym.imp.ucrtbase.dll__initialize_wide_environment]
call sub.ucrtbase.dll___p___argc
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call dword [sym.imp.ucrtbase.dll__get_initial_wide_environment]
mov ebx, eax
mov eax, dword [0x40003c]
cmp word [eax + 0x40005c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__set_app_type]
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call 0x40b000
mov dword [esp], eax
call sub.ucrtbase.dll_exit
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x7c
call sub.kernel32.dll_GetCommandLineW
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x40b08b
cmp ax, 9
je 0x40b078
cmp ax, 0x20
je 0x40b078
mov dword [ebp - 0x6c], 0
xor edi, edi
lea esi, [esi]
cmp ax, 0x5c
je 0x40b0d8
cmp ax, 0x22
je 0x40b0e8
mov dword [ebp - 0x6c], 0
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x40b08b
cmp ax, 9
sete cl
cmp ax, 0x20
mov esi, ecx
sete cl
mov edx, esi
or dl, cl
je 0x40b030
test edi, 1
jne 0x40b030
lea esi, [esi]
movzx eax, word [ebx + 2]
add ebx, 2
cmp ax, 9
je 0x40b078
cmp ax, 0x20
je 0x40b078
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call sub.kernel32.dll_GetStartupInfoW
sub esp, 4
test byte [ebp - 0x30], 1
je 0x40b100
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call sub.kernel32.dll_GetModuleHandleW
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0040a610
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
add dword [ebp - 0x6c], 1
jmp 0x40b04b
and dword [ebp - 0x6c], 1
jne 0x40b044
xor edi, 1
jmp 0x40b04b
mov eax, 1
mov esi, 1
mov word [ebp - 0x2c], ax
jmp 0x40b0a3
Function at 0x40b000
Capabilities:
Accept command line arguments
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 1
call dword [sym.imp.ucrtbase.dll__configure_wide_argv]
call dword [sym.imp.ucrtbase.dll__initialize_wide_environment]
call sub.ucrtbase.dll___p___argc
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call dword [sym.imp.ucrtbase.dll__get_initial_wide_environment]
mov ebx, eax
mov eax, dword [0x40003c]
cmp word [eax + 0x40005c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__set_app_type]
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call 0x40b000
mov dword [esp], eax
call sub.ucrtbase.dll_exit
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x7c
call sub.kernel32.dll_GetCommandLineW
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x40b08b
cmp ax, 9
je 0x40b078
cmp ax, 0x20
je 0x40b078
mov dword [ebp - 0x6c], 0
xor edi, edi
lea esi, [esi]
cmp ax, 0x5c
je 0x40b0d8
cmp ax, 0x22
je 0x40b0e8
mov dword [ebp - 0x6c], 0
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x40b08b
cmp ax, 9
sete cl
cmp ax, 0x20
mov esi, ecx
sete cl
mov edx, esi
or dl, cl
je 0x40b030
test edi, 1
jne 0x40b030
lea esi, [esi]
movzx eax, word [ebx + 2]
add ebx, 2
cmp ax, 9
je 0x40b078
cmp ax, 0x20
je 0x40b078
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call sub.kernel32.dll_GetStartupInfoW
sub esp, 4
test byte [ebp - 0x30], 1
je 0x40b100
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call sub.kernel32.dll_GetModuleHandleW
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0040a610
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
add dword [ebp - 0x6c], 1
jmp 0x40b04b
and dword [ebp - 0x6c], 1
jne 0x40b044
xor edi, 1
jmp 0x40b04b
mov eax, 1
mov esi, 1
mov word [ebp - 0x2c], ax
jmp 0x40b0a3
Function at 0x4b8e70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x76000]
push edi
jmp 0x4b8e8a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b8e91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b8e80
mov eax, 1
add ebx, ebx
jne 0x4b8ea3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b8eb4
jne 0x4b8ed3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b8ed3
dec eax
add ebx, ebx
jne 0x4b8ec0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b8e98
add ebx, ebx
jne 0x4b8ecf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b8f25
xor ecx, ecx
sub eax, 3
jb 0x4b8eeb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b8f5a
sar eax, 1
mov ebp, eax
jmp 0x4b8ef6
add ebx, ebx
jne 0x4b8ef6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b8ec4
inc ecx
add ebx, ebx
jne 0x4b8f04
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b8ec4
add ebx, ebx
jne 0x4b8f11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b8f06
jne 0x4b8f22
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b8f06
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b8f44
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b8f36
jmp 0x4b8e86
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b8f44
add edi, ecx
jmp 0x4b8e86
pop esi
mov edi, esi
mov ecx, 0x379b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b8f62
cmp byte [edi], 0x13
jne 0x4b8f62
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 0x4b8f67
lea edi, [esi + 0xb4000]
mov eax, dword [edi]
or eax, eax
je 0x4b8fdf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xbfff0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc0144]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b8f94
mov ecx, edi
jns 0x4b8fc3
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 + 0xc0148]
or eax, eax
je 0x4b8fd9
mov dword [ebx], eax
add ebx, 4
jmp 0x4b8fb1
call dword [esi + 0xc0158]
mov ebp, dword [esi + 0xc014c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x4b9013
sub esp, 0xffffff80
jmp 0x4165c1
Function at 0x642c1ef0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x642c1f4b
cmp byte [esi + ebx - 1], 0xa
je 0x642c1f1f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x642c3118], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret