joyce8/EMBER2024-capa huggingface dataset:
Function at 0x473530
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4d8b40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x44], 2
je 0x4735e9
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x40]
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x21c]
push eax
push 0
lea eax, [ebp - 0x108]
mov dword [ebp - 0x208], ecx
push eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x20c], 1
push eax
lea eax, [ecx + 1]
mov dword [ebp - 0x104], ecx
push eax
mov dword [ebp - 0x108], 1
mov dword [ebp - 0x218], 1
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x4735fc
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 4
push eax
lea eax, [ebp - 0x214]
push eax
push 0x1007
push 0xffff
push dword [esi + 0x40]
call dword [sym.imp.WS2_32.dll_getsockopt]
cmp dword [ebp - 0x214], 0
jne 0x473603
inc dword [esi + 0x3c]
mov dword [esi + 0x44], 2
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00485bfe
mov esp, ebp
pop ebp
ret 4
mov dword [esi + 0x44], 1
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.00485bfe
mov esp, ebp
pop ebp
ret 4
Function at 0x473c00
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
call fcn.00473ee0
cmp dword [edi + 0x44], 2
jne 0x473cfc
mov esi, dword [ebp + 0xc]
push 0
push esi
push dword [ebp + 8]
push dword [edi + 0x40]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, esi
jge 0x473cfe
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, dword [eax]
cmp ebx, 0x2733
je 0x473cfc
push str.TCP__
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.004151a0
add esp, 8
mov ecx, edi
cmp dword [edi + 0x14], 0xf
jbe 0x473c62
mov ecx, dword [edi]
push dword [edi + 0x10]
push ecx
push eax
call fcn.00415af0
push 0x4a044c
push eax
call fcn.004151a0
add esp, 0x14
lea ecx, [edi + 0x18]
cmp dword [edi + 0x2c], 0xf
jbe 0x473c86
mov ecx, dword [edi + 0x18]
push dword [edi + 0x28]
push ecx
push eax
call fcn.00415af0
add esp, 0xc
mov esi, eax
push 0x49bb84
push ebx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
add esp, 4
push eax
push 0x4a1f28
push ebx
push str._:_send_error._Error_code:
push esi
call fcn.004151a0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
push eax
call fcn.004151a0
add esp, 8
push eax
call fcn.004151a0
add esp, 8
push eax
call fcn.004151a0
add esp, 8
cmp byte [edi + 0x30], 0
je 0x473d05
mov ecx, edi
call fcn.00473ae0
push str._Reconnect._n
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.004151a0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
push str._Failed._n
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.004151a0
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x473d30
Capabilities:
Create tcp socket
Create thread
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495e6d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x4d8b40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [edi + 8], eax
lea esi, [edi + 0x6a4]
xorps xmm0, xmm0
mov eax, 2
movups xmmword [esi], xmm0
push 0
mov word [esi], ax
call dword [sym.imp.WS2_32.dll_htonl]
push dword [ebp + 8]
mov dword [edi + 0x6a8], eax
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
push esi
push dword [edi + 8]
mov word [edi + 0x6a6], ax
call dword [sym.imp.WS2_32.dll_bind]
mov ecx, dword [edi + 8]
cmp eax, 0xffffffff
jne 0x473dd4
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi + 8], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x1ff
push ecx
call dword [sym.imp.WS2_32.dll_listen]
test eax, eax
js 0x473dbf
lea esi, [edi + 0x18]
lea eax, [esi + 0x680]
cmp esi, eax
je 0x473e08
mov edi, eax
mov ecx, esi
call fcn.00472ac0
mov byte [esi + 0x60], 0
add esi, 0x68
cmp esi, edi
jne 0x473df3
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 1
push eax
push 0x8004667e
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
push 0x4161d0
push dword [ebp + 8]
mov byte [edi + 0x6a0], 0
push str.TCP_Server:_start_thread_at_port
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.004151a0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 8
call fcn.0048596f
add esp, 4
test eax, eax
je 0x473e6c
mov dword [eax], edi
mov dword [eax + 4], 0x472b80
jmp 0x473e6e
xor eax, eax
mov dword [ebp + 8], eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x472970
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x473ecd
cmp dword [edi + 0x69c], 0
je 0x473ea9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x69c], eax
mov al, 1
mov dword [edi + 0x698], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [ebp - 0x10], 0
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x475d40
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0x2c]
lea edx, [ebp + 8]
cmp dword [ebp + 0x1c], 0xf
cmova edx, dword [ebp + 8]
push dword [eax + 0x10]
push dword [eax + 0x18]
push 0
push dword [ebp + 0x18]
push edx
push dword [ecx + 0x28]
call dword [sym.imp.WS2_32.dll_sendto]
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x475d9c
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x475d92
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x475d92
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0048599f
add esp, 8
pop ebp
ret 0x18
Function at 0x47c480
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496a3e
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4d8b40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x30], edi
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
call fcn.0041baa0
mov ecx, esi
mov dword [esi + 0x30], 0
call fcn.0047d0a0
push edi
mov ecx, esi
call fcn.0047c590
inc dword [esi + 0x30]
mov eax, dword [esi + 0x28]
sub eax, dword [esi + 0x24]
sar eax, 5
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 1
cmp dword [esi + 0x30], eax
jae 0x47c562
mov eax, dword [0x4a2a1c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0xc
movq xmm0, qword [str.expected_END]
mov dword [ebp - 0x14], 0xf
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
push 0xc
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.0047c370
test al, al
je 0x47c581
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00485bfe
mov esp, ebp
pop ebp
ret 8
push str.unexpected_end_in_input
lea ecx, [ebp - 0x28]
call fcn.00416490
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.0047c330
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0047c330
int3
Function at 0x47e980
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push dword [ebp + 0xc]
mov ebx, ecx
push dword [ebp + 8]
lea esi, [ebx + 0x80]
push esi
call sub.airspy.dll_airspy_open_sn
add esp, 0xc
test eax, eax
jne 0x47eab4
push eax
lea eax, [ebp - 8]
push eax
push dword [esi]
call sub.airspy.dll_airspy_get_samplerates
mov esi, dword [ebp - 8]
add esp, 0xc
test esi, esi
jne 0x47e9c7
push str.AIRSPY:_cannot_get_allowed_sample_rates.
jmp 0x47eab9
mov eax, dword [ebx + 0x8c]
mov ecx, eax
mov edx, dword [ebx + 0x88]
sub ecx, edx
push edi
lea edi, [ebx + 0x88]
sar ecx, 2
mov dword [ebp - 0xc], eax
cmp esi, ecx
jae 0x47e9ed
lea eax, [edx + esi*4]
jmp 0x47ea27
jbe 0x47ea2a
mov eax, dword [edi + 8]
sub eax, edx
sar eax, 2
cmp esi, eax
jbe 0x47ea0c
lea eax, [ebp - 1]
mov ecx, edi
push eax
push esi
call fcn.00451200
mov esi, dword [ebp - 8]
jmp 0x47ea2a
sub esi, ecx
shl esi, 2
push esi
push 0
push dword [ebp - 0xc]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0xc]
add esp, 0xc
add eax, esi
mov esi, dword [ebp - 8]
mov dword [edi + 4], eax
push esi
push dword [edi]
push dword [ebx + 0x80]
call sub.airspy.dll_airspy_get_samplerates
mov eax, dword [edi]
add esp, 0xc
mov esi, dword [ebx + 0x8c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esi
mov ecx, dword [eax]
mov edx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
cmp eax, esi
je 0x47ea91
mov edi, dword [eax]
mov ecx, ebx
mov eax, dword [ebx]
mov esi, edx
call dword [eax + 0x20]
mov ecx, edi
sub ecx, eax
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [ebp - 0xc]
cmp eax, edx
cmovl edx, eax
cmp eax, esi
mov eax, dword [ebp - 0x14]
cmovge edi, dword [ebp - 0x10]
add eax, 4
mov ecx, edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0x18]
jne 0x47ea57
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x18]
mov eax, dword [ebp + 8]
pop edi
mov dword [ebx + 0x98], eax
mov eax, dword [ebp + 0xc]
pop esi
mov dword [ebx + 0x9c], eax
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.AIRSPY:_cannot_open_device.
lea ecx, [ebp - 0x24]
call fcn.00418e60
push 0x4a7970
lea eax, [ebp - 0x24]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x47fcf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496f8d
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4d8b40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x98], 0xf
lea edi, [esi + 0x84]
mov eax, edi
jbe 0x47fd2f
mov eax, dword [edi]
push 0
push 0x40000000
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 0x80], eax
cmp eax, 0xffffffff
je 0x47feab
lea ecx, [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCommState]
test eax, eax
je 0x47fea4
mov eax, dword [esi + 0x9c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
and eax, 0xffffdfdf
mov word [ebp - 0x2e], 8
or eax, 0x1013
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x40]
push eax
push dword [esi + 0x80]
call dword [sym.imp.KERNEL32.dll_SetCommState]
test eax, eax
je 0x47feee
lea eax, [ebp - 0x24]
push eax
push dword [esi + 0x80]
call dword [sym.imp.KERNEL32.dll_GetCommTimeouts]
test eax, eax
je 0x47fe9d
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x7d0
push eax
push dword [esi + 0x80]
mov dword [ebp - 0x1c], 0x7d0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x14], 0x7d0
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_SetCommTimeouts]
test eax, eax
jne 0x47fdfe
push str.Serial:_SetCommTimeouts_failed.
jmp 0x47fef3
push 0x10
mov byte [esi + 0x64], 1
mov byte [esi + 0xa8], 0
call fcn.0048596f
add esp, 4
test eax, eax
je 0x47fe29
mov dword [eax], esi
mov dword [eax + 8], 0x47ff20
mov dword [eax + 0xc], 0
jmp 0x47fe2b
xor eax, eax
mov dword [ebp - 0x80], eax
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], 2
push ecx
push 0
push eax
push 0x429c00
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x88], ecx
test ecx, ecx
je 0x47ff09
cmp dword [esi + 0xa4], 0
je 0x47fe70
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov eax, dword [ebp - 0x84]
mov dword [esi + 0xa0], ecx
mov dword [esi + 0xa4], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00485bfe
mov esp, ebp
pop ebp
ret
push str.Serial:_GetCommTimeouts_failed.
jmp 0x47fef3
push str.Serial:_GetCommState_failed.
jmp 0x47fef3
push edi
lea eax, [ebp - 0x58]
push str.Serial:_cannot_open_serial_port
push eax
call fcn.004155a0
push 0x49c738
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0
push eax
call fcn.004154c0
add esp, 0x18
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 1
call fcn.00418e10
push 0x4a7970
lea eax, [ebp - 0x7c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.Serial:_SetCommState_failed.
lea ecx, [ebp - 0x7c]
call fcn.00418e60
push 0x4a7970
lea eax, [ebp - 0x7c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push 6
mov dword [ebp - 0x84], 0
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x4843d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov edx, ecx
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 0x14]
mov ebx, 0xffff
shr ebx, cl
mov eax, ebx
mov dword [ebp - 4], edx
shl eax, 0x10
or ebx, eax
mov eax, dword [ebp + 0x10]
sar eax, 1
mov dword [ebp - 0xc], ebx
mov dword [ebp + 0x10], eax
test eax, eax
jle 0x4844b4
movss xmm1, dword [0x4a1d2c]
push esi
push edi
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov esi, eax
add eax, dword [edx]
add ecx, 4
mov edi, eax
mov dword [ebp + 8], ecx
add eax, dword [edx + 4]
mov ecx, dword [ebp + 0x14]
mov ebx, eax
add eax, dword [edx + 8]
mov edx, dword [edx + 0xc]
add edx, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
add edx, dword [eax + 0x10]
shr edx, cl
and edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
xor edx, 0x80008000
movsx eax, dx
shr edx, 0x10
movd xmm0, eax
mov eax, dword [ebp + 0xc]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [eax + ecx*8], xmm0
movsx eax, dx
movd xmm0, eax
mov eax, dword [ebp + 0xc]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [eax + ecx*8 + 4], xmm0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
add eax, 4
mov dword [ebp + 8], eax
mov eax, dword [ebp - 4]
mov edx, eax
mov dword [eax], ecx
add ecx, esi
mov dword [eax + 4], ecx
add ecx, edi
mov dword [eax + 8], ecx
add ecx, ebx
mov dword [eax + 0xc], ecx
add ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x10], ecx
mov ecx, dword [ebp - 8]
inc ecx
mov dword [ebp - 8], ecx
cmp ecx, eax
jl 0x484411
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x48665c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x48669b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x48669b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x48669b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x48669b
cmp dword [ecx + 0x74], 0xe
jbe 0x48669b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x4a716368
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..text
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x42b00185
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219

Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x618f103b
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x31b47794
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x4074e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x26a]
push ecx
mov word [ebp - 0x26c], ax
call fcn.00418370
mov esi, dword [ebp + 8]
xor edx, edx
xor eax, eax
lea ecx, [ebp - 0x26c]
mov word [ebp - 4], dx
push ecx
lea edx, [ebp - 0x10]
push edx
push esi
mov byte [ebp - 0x64], 0
mov dword [ebp - 0x63], eax
mov dword [ebp - 0x5f], eax
mov dword [ebp - 0x5b], eax
mov dword [ebp - 0x57], eax
mov dword [ebp - 0x53], eax
mov dword [ebp - 0x4f], eax
mov dword [ebp - 0x10], 0x690077
mov dword [ebp - 0xc], 0x64006e
mov dword [ebp - 8], 0x720069
mov dword [ebp - 0x48], 0x53005c
mov dword [ebp - 0x44], 0x730079
mov dword [ebp - 0x40], 0x650074
mov dword [ebp - 0x3c], 0x33006d
mov dword [ebp - 0x38], 0x5c0032
mov dword [ebp - 0x34], 0x720064
mov dword [ebp - 0x30], 0x760069
mov dword [ebp - 0x2c], 0x720065
mov dword [ebp - 0x28], 0x5c0073
mov dword [ebp - 0x24], 0x740065
mov dword [ebp - 0x20], 0x5c0063
mov dword [ebp - 0x1c], 0x6f0068
mov dword [ebp - 0x18], 0x740073
mov dword [ebp - 0x14], 0x73
call fcn.00408640
push 0
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x26c]
push ecx
call fcn.00418750
push 0
push 0x15
lea edx, [ebp - 0x26c]
push edx
push esi
call fcn.00411e80
push 0
mov edi, eax
push 1
lea eax, [ebp - 0x26c]
push eax
push esi
call fcn.00411e80
add esp, 0x44
mov ebx, eax
test edi, edi
je 0x407632
test ebx, ebx
je 0x407632
push 0
lea ecx, [ebp - 0x64]
push ecx
push esi
call fcn.004072a0
add edi, 0x10
push edi
lea edx, [ebp - 0x64]
push edx
push ebx
call fcn.00418b50
add esp, 0x18
push ebx
push esi
test eax, eax
je 0x40762a
call fcn.004182d0
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004182d0
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x407800
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
push edi
xor ecx, ecx
mov edi, 0x100
nop
mov eax, ecx
shl eax, 0x18
mov esi, 8
lea ebx, [ebx]
test eax, eax
jns 0x40782d
add eax, eax
xor eax, 0x4c11db7
jmp 0x40782f
add eax, eax
dec esi
jne 0x407820
mov dword [edx], eax
inc ecx
add edx, 4
dec edi
jne 0x407810
pop edi
pop esi
pop ebp
ret

Function at 0x407840
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push esi
push 0x3fc
lea eax, [ebp - 0x3fc]
push 0
push eax
mov dword [ebp - 0x400], 0
call fcn.00418370
lea ecx, [ebp - 0x400]
push ecx
call fcn.00407800
mov esi, dword [ebp + 0xc]
add esp, 0x10
or eax, 0xffffffff
test esi, esi
je 0x4078a3
mov edx, dword [ebp + 8]
push edi
movzx edi, byte [edx]
mov ecx, eax
shr ecx, 0x18
xor ecx, edi
and ecx, 0xff
shl eax, 8
xor eax, dword [ebp + ecx*4 - 0x400]
inc edx
dec esi
jne 0x407884
pop edi
not eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4015dd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x81407c]
jne 0x4015e7
repz ret
jmp fcn.00401fb4

Function at 0x407acc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x81407c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00405794
and dword [ebp - 0x14], 0
cmp dword [0x816e50], 0
mov dword [ebp - 0x18], eax
jne 0x407b7f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x407c27
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x407c27
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x816e50], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x816e54], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x816e58], eax
call edi
push eax
call esi
mov dword [0x816e60], eax
test eax, eax
je 0x407b7f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x816e5c], eax
mov eax, dword [0x816e5c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x407bd8
cmp dword [0x816e60], ecx
je 0x407bd8
push eax
call esi
push dword [0x816e60]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x407bd8
test ebx, ebx
je 0x407bd8
call edi
test eax, eax
je 0x407bcf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x407bcf
test byte [ebp - 8], 1
jne 0x407bd8
or dword [ebp + 0x10], 0x200000
jmp 0x407c0b
mov eax, dword [0x816e54]
cmp eax, dword [ebp - 0x18]
je 0x407c0b
push eax
call esi
test eax, eax
je 0x407c0b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x407c0b
mov eax, dword [0x816e58]
cmp eax, dword [ebp - 0x18]
je 0x407c0b
push eax
call esi
test eax, eax
je 0x407c0b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x816e50]
call esi
test eax, eax
je 0x407c27
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x407c29
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004015dd
leave
ret