joyce8/EMBER2024-capa huggingface dataset:
Function at 0x456744
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x488bb0]
cmp dword [eax + 0x30], 0
je 0x4567ee
cmp dword [ebx + 0x94], 0
jne 0x4567e8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4566d4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4567e8
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 0x4567ae
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4567e8
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.00413918
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4567bd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x457350
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 0x457385
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.00403fd0
jmp 0x457392
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403f34
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4583e4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x458425
mov eax, esi
call fcn.0043eb44
test al, al
je 0x458425
mov eax, dword [ebx + 0x84]
call fcn.0043e840
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x458425
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043e840
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45baec
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45bb1a
mov eax, ebx
call fcn.0045c5a0
cmp dword [ebx + 0x40], 0
je 0x45bb13
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45bb8b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45bb7d
cmp dword [ebx + 8], 0
je 0x45bb3c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x45bb4e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45bb7d
cmp dword [ebx + 8], 0
je 0x45bb2f
cmp eax, 3
je 0x45bb61
dec eax
jne 0x45bb2f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45bb2f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45bb2f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x45bba9
cmp dword [ebx + 0x14], 0xcc
je 0x45bba9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0045bbb4
pop ebx
ret
Function at 0x405cbb
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c60c], 0
push esi
jne 0x405cf2
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405ccc
mov dword [ecx*4 + 0x42c608], eax
inc ecx
cmp ecx, 0x100
jl 0x405cc7
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405d23
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c608]
xor eax, esi
inc ecx
dec edx
jne 0x405d05
pop edi
not eax
pop esi
ret 0xc

Function at 0xa86058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00a861a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xa8607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa8606a
add dl, dl
jne 0xa86089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa860dc
xor eax, eax
add dl, dl
jne 0xa86096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa8617d
add dl, dl
jne 0xa860a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa860b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa860bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa860c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xa860d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xa86075
mov eax, 1
add dl, dl
jne 0xa860ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa860f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa860e1
sub eax, ebx
mov ebx, 1
jne 0xa86128
mov ecx, 1
add dl, dl
jne 0xa8610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa86119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa86105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa86075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xa8613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa8614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa86136
cmp eax, 0x7d00
jae 0xa8616d
cmp eax, 0x500
jb 0xa86168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa86075
cmp eax, 0x7f
ja 0xa86170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa86075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xa8619e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xa86075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40965f
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x130
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0x1c]
push eax
mov ebx, 0xc8
mov dword [ebp - 0x1c], 0x94
call edi
test eax, eax
je 0x409748
mov eax, dword [ebp - 0xc]
dec eax
je 0x40972b
dec eax
jne 0x409748
lea eax, [ebp - 0xb8]
push eax
xor esi, esi
mov dword [ebp - 0xb8], 0x9c
call edi
test eax, eax
je 0x4096be
cmp byte [ebp - 0x1e], 1
jne 0x4096be
inc esi
mov eax, dword [ebp - 0x18]
sub eax, 3
je 0x409727
dec eax
je 0x409723
dec eax
je 0x409701
dec eax
jne 0x409748
mov eax, dword [ebp - 0x14]
sub eax, 0
je 0x4096f5
dec eax
je 0x4096e9
dec eax
jne 0x409748
neg esi
sbb esi, esi
and esi, 0xfffffffb
lea ebx, [esi + 0x5f]
jmp 0x409748
neg esi
sbb esi, esi
and esi, 0xfffffffb
lea ebx, [esi + 0x55]
jmp 0x409748
neg esi
sbb esi, esi
and esi, 0xfffffffb
lea ebx, [esi + 0x4b]
jmp 0x409748
mov eax, dword [ebp - 0x14]
sub eax, 0
je 0x40971f
dec eax
je 0x40971b
dec eax
jne 0x409748
neg esi
sbb esi, esi
and esi, 0xfffffffb
lea ebx, [esi + 0x41]
jmp 0x409748
push 0x3c
jmp 0x409747
push 0x32
jmp 0x409747
push 0x14
jmp 0x409747
push 5
jmp 0x409747
cmp dword [ebp - 0x14], 0
je 0x409745
cmp dword [ebp - 0x14], 0xa
je 0x409741
cmp dword [ebp - 0x14], 0x5a
jne 0x409748
push 0x28
jmp 0x409747
push 0x1e
jmp 0x409747
push 0xa
pop ebx
pop edi
pop esi
mov eax, ebx
pop ebx
add ebp, 0x78
leave
ret

Function at 0x40a6b1
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xc
push ebx
push esi
push edi
call dword [sym.imp.USER32.DLL_GetFocus]
mov esi, dword [sym.imp.USER32.DLL_GetKeyState]
mov edi, eax
mov bl, pe_nt_image_headers32
test edi, edi
je 0x40a72d
push 9
call esi
test bl, al
je 0x40a72d
push 0x11
call esi
test bl, al
jne 0x40a72d
push 0x10
call esi
test bl, al
jne 0x40a72d
push 0x12
call esi
test bl, al
jne 0x40a72d
push 5
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.USER32.DLL_GetClassNameA]
push 4
lea eax, [esp + 0x14]
push 0x40f41c
push eax
call sub.MSVCRT.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x40a72d
push eax
push eax
push 0x44e
push edi
call dword [sym.imp.USER32.DLL_SendMessageA]
test eax, 0x800
jne 0x40a72d
xor eax, eax
jmp 0x40a7af
push ebp
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x40a756
push 0x11
call esi
test bl, al
jne 0x40a74e
push 0x10
call esi
test bl, al
jne 0x40a74e
push 0x12
call esi
test bl, al
je 0x40a756
push 1
push ebp
call fcn.0040a66a
mov esi, dword [sym.imp.USER32.DLL_GetPropA]
test edi, edi
je 0x40a76c
push str.PB_Hotkey
push edi
call esi
test eax, eax
jne 0x40a7ac
push str.PB_WindowID
push ebp
call esi
mov esi, eax
test esi, esi
je 0x40a7ac
lea eax, [esp + 0x10]
push eax
push ebp
call dword [sym.imp.USER32.DLL_GetWindowThreadProcessId]
test eax, eax
je 0x40a7ac
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x10], eax
jne 0x40a7ac
dec esi
push esi
push dword [0x4117b4]
call fcn.0040d4fa
test eax, eax
je 0x40a7ac
mov eax, dword [eax + 8]
jmp 0x40a7ae
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x4010e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
mov eax, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4010f8
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40112c
mov ecx, dword [ebp + 8]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x401128
cmp esi, eax
jae 0x40112c
sub edi, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401118
cmp esi, eax
jb 0x401132
pop esi
xor eax, eax
pop edi
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x401d30
Capabilities:
Initialize winhttp library
Prepare http request
Read http header
Receive http response
Reference http user-agent string
Set http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc78
mov eax, dword [0x42a030]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.0040edc0
xor edx, edx
push 0xa26
push edx
lea eax, [ebp - 0xc32]
push eax
mov word [ebp - 0xc34], dx
call fcn.0040edc0
push 0x3c
lea ecx, [ebp - 0xc78]
push 0
push ecx
call fcn.0040edc0
lea eax, [ebp - 0xc34]
lea edx, [ebp - 0x20c]
mov dword [ebp - 0xc4c], eax
mov eax, esi
mov dword [ebp - 0xc68], edx
add esp, 0x24
mov dword [ebp - 0xc78], 0x3c
mov dword [ebp - 0xc64], 0x104
mov dword [ebp - 0xc48], 0x514
mov dword [ebp - 0xc70], 1
mov dword [ebp - 0xc3c], 4
mov dword [ebp - 0xc38], 0
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401df0
lea ecx, [ebp - 0xc78]
push ecx
sub eax, edx
push 0
sar eax, 1
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
push 0
push 0
push 0
push 0
push str.Mozilla_5.0__Windows_NT_6.1__WOW64__rv:24.0__Gecko_20100101_Firefox_24.0_FirePHP_0.7.4
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edi, eax
test edi, edi
je 0x401ec3
mov edx, dword [ebp - 0xc68]
push 0
push 0x50
push edx
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov ebx, eax
test ebx, ebx
je 0x401ec3
mov eax, dword [ebp - 0xc4c]
push 0
push 0
push 0
push 0
push eax
push 0x427430
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, eax
test esi, esi
je 0x401ec3
push 0x20000000
push 0xffffffffffffffff
push str.If_Modified_Since:_Mon__20_Nov_2000_20:00:00_GMT
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
je 0x401ec3
push 0
push 0
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x401ec3
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x401ec3
push 0
lea ecx, [ebp - 0xc3c]
push ecx
lea edx, [ebp - 0xc38]
push edx
push 0
push 0x20000013
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x401ed6
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004095ce
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
push ebx
call esi
push edi
call esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc38]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004095ce
mov esp, ebp
pop ebp
ret
Function at 0x402500
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
movzx ecx, word [ebp + 8]
push esi
push eax
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x40254d
push eax
push eax
push 0x4274b4
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402548
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop esi
pop ebp
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
push esi
push 0
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40259a
push eax
push eax
push 0x4274c0
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402548
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop esi
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4025c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
pop esi
pop ebp
ret
Function at 0x4029b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x38
xor esi, esi
lea eax, [ebp - 0x38]
push esi
push eax
call fcn.0040edc0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], ecx
add esp, 0xc
lea ecx, [ebp - 0x3c]
push ecx
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edx, dword [ebp - 4]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4051e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421d17
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x42a030]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [edi], 0x427668
mov dword [edi + 8], 0x427670
mov dword [edi + 0x5c], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 0xc]
push esi
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 0x10], 1
call fcn.00406880
mov dword [ebp - 4], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
call fcn.00407900
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x42c22c]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x407900
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42164b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x42a030]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0041b1d5
push 4
mov dword [ebp - 4], 0
call fcn.004099e7
mov edi, eax
add esp, 4
test edi, edi
je 0x40797c
call fcn.0041adb2
mov dword [edi], eax
call fcn.0041abe0
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0041ab04
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x407972
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0041ab2c
jmp 0x40797e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4095ce
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42a030]
jne 0x4095d8
repz ret
jmp fcn.0040baea
Function at 0x4177a2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040d2f7
and dword [ebp - 4], 0
cmp dword [0x42bf7c], 0
mov ebx, eax
jne 0x417853
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x417904
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x426a14
push edi
call esi
test eax, eax
je 0x417904
push eax
call fcn.0040d285
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42bf7c], eax
call esi
push eax
call fcn.0040d285
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42bf80], eax
call esi
push eax
call fcn.0040d285
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42bf84], eax
call esi
push eax
call fcn.0040d285
pop ecx
mov dword [0x42bf8c], eax
test eax, eax
je 0x417853
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040d285
pop ecx
mov dword [0x42bf88], eax
mov eax, dword [0x42bf88]
cmp eax, ebx
je 0x4178ab
cmp dword [0x42bf8c], ebx
je 0x4178ab
push eax
call fcn.0040d300
push dword [0x42bf8c]
mov esi, eax
call fcn.0040d300
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4178ab
test edi, edi
je 0x4178ab
call esi
test eax, eax
je 0x4178a2
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4178a2
test byte [ebp - 0xc], 1
jne 0x4178ab
or dword [ebp + 0x10], 0x200000
jmp 0x4178e4
mov eax, dword [0x42bf80]
cmp eax, ebx
je 0x4178e4
push eax
call fcn.0040d300
pop ecx
test eax, eax
je 0x4178e4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4178e4
mov eax, dword [0x42bf84]
cmp eax, ebx
je 0x4178e4
push eax
call fcn.0040d300
pop ecx
test eax, eax
je 0x4178e4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42bf7c]
call fcn.0040d300
pop ecx
test eax, eax
je 0x417904
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x417906
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x408947
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x4085d8
add edi, edi
sub edi, 0x12e7cd0c
call fcn.00408976
xor dword [esi], ebx
sub edi, 0x5b904725
sub edi, edi
add esi, 1
cmp esi, ecx
jne fcn.00408947
and eax, edi
ret
Function at 0x8bbc00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3a3000]
push edi
jmp 0x8bbc1a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x8bbc21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8bbc10
mov eax, 1
add ebx, ebx
jne 0x8bbc33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x8bbc44
jne 0x8bbc63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8bbc63
dec eax
add ebx, ebx
jne 0x8bbc50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x8bbc28
add ebx, ebx
jne 0x8bbc5f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x8bbcb5
xor ecx, ecx
sub eax, 3
jb 0x8bbc7b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x8bbcea
sar eax, 1
mov ebp, eax
jmp 0x8bbc86
add ebx, ebx
jne 0x8bbc86
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8bbc54
inc ecx
add ebx, ebx
jne 0x8bbc94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8bbc54
add ebx, ebx
jne 0x8bbca1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x8bbc96
jne 0x8bbcb2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x8bbc96
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x8bbcd4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x8bbcc6
jmp 0x8bbc16
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x8bbcd4
add edi, ecx
jmp 0x8bbc16
pop esi
mov edi, esi
mov ecx, 0xd3cc
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x8bbcf2
cmp byte [edi], 0x36
jne 0x8bbcf2
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 0x8bbcf7
lea edi, [esi + 0x4b7000]
mov eax, dword [edi]
or eax, eax
je 0x8bbd6f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4f8aec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4f8c2c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x8bbd24
mov ecx, edi
jns 0x8bbd53
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 + 0x4f8c30]
or eax, eax
je 0x8bbd69
mov dword [ebx], eax
add ebx, 4
jmp 0x8bbd41
call dword [esi + 0x4f8c40]
mov ebp, dword [esi + 0x4f8c34]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
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 0x8bbda3
sub esp, 0xffffff80
jmp 0x5c6451