joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43cc70
Capabilities:
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x4ff004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
mov eax, 0x542190
nop dword [eax]
cmp dword [eax], 0
je 0x43cca2
add eax, 0xc40
inc ebx
cmp eax, 0x546b10
jl 0x43cc90
cmp ebx, 6
jne 0x43cceb
push 0x1d
lea eax, [ebp - 0x808]
push str.No_more_UDP_socket_available_n
push eax
call fcn.00444290
add esp, 0xc
mov byte [ebp - 0x7eb], 0
lea eax, [ebp - 0x808]
push eax
push 0x4f8acc
call fcn.004362a0
add esp, 8
or al, 0xff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004423fe
mov esp, ebp
pop ebp
ret
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
mov dword [ebp - 0x810], esi
cmp esi, 0xffffffff
jne 0x43cd29
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
mov ecx, 0x540
call fcn.0043bcf0
or al, 0xff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004423fe
mov esp, ebp
pop ebp
ret
push 4
lea eax, [ebp - 0x80c]
mov dword [ebp - 0x80c], 1
push eax
push 4
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x43cd7a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
mov ecx, 0x545
call fcn.0043bcf0
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
or al, 0xff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004423fe
mov esp, ebp
pop ebp
ret
imul edi, ebx, 0xc40
xorps xmm0, xmm0
push 0xc24
push 0
lea eax, [edi + 0x5421ac]
movq qword [edi + 0x542190], xmm0
push eax
call fcn.00443620
add esp, 0xc
lea eax, [edi + 0x5421ce]
xorps xmm0, xmm0
mov ecx, 0x600
movups xmmword [edi + 0x542198], xmm0
mov dword [edi + 0x5421a8], 0
push 0x18
mov dword [edi + 0x54219c], eax
mov word [edi + 0x542198], cx
mov dword [edi + 0x5421a4], eax
mov dword [edi + 0x5421a0], eax
call fcn.00449be3
mov esi, eax
add esp, 4
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push esi
movq qword [esi + 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [edi + 0x5421a8], esi
lea eax, [edi + 0x5427ce]
xorps xmm0, xmm0
mov ecx, 0x600
movups xmmword [edi + 0x5421b4], xmm0
mov dword [edi + 0x5421c4], 0
push 0x18
mov dword [edi + 0x5421b8], eax
mov word [edi + 0x5421b4], cx
mov dword [edi + 0x5421c0], eax
mov dword [edi + 0x5421bc], eax
call fcn.00449be3
mov esi, eax
add esp, 4
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push esi
movq qword [esi + 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [ebp - 0x810]
mov ecx, dword [ebp - 4]
mov dword [edi + 0x5421c4], esi
xor ecx, ebp
mov dword [edi + 0x542194], eax
mov al, bl
mov dword [edi + 0x542190], 1
pop edi
pop esi
pop ebx
call fcn.004423fe
mov esp, ebp
pop ebp
ret
Function at 0x43d080
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x4ff004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [0x546b14]
mov bl, cl
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
movzx eax, bl
imul ebx, eax, 0xc40
add ebx, 0x542190
cmp dword [ebx], 1
jne 0x43d18a
push dword [ebx + 0x34]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebx + 0x34]
movzx esi, word [ebx + 0x26]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test si, si
je 0x43d18a
push dword [ebx + 0x34]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x600
lea edx, [ebp - 0x608]
lea ecx, [ebx + 0x24]
call fcn.004114f0
add esp, 4
movzx edi, ax
push dword [ebx + 0x34]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebx + 0x34]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebx + 0x34]
xor eax, eax
mov word [ebx + 0x26], ax
mov eax, dword [ebx + 0x28]
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xorps xmm0, xmm0
mov eax, 2
movups xmmword [ebp - 0x618], xmm0
mov word [ebp - 0x618], ax
movzx eax, word [ebx + 0x3c]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x616], ax
mov eax, dword [ebx + 0x38]
push 0x10
mov dword [ebp - 0x614], eax
lea eax, [ebp - 0x618]
push eax
push 0
push edi
lea eax, [ebp - 0x608]
push eax
push dword [ebx + 4]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x43d18a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
mov ecx, 0x5ed
call fcn.0043bcf0
push dword [0x546b14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004423fe
mov esp, ebp
pop ebp
ret
Function at 0x43d460
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x4ff004]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x74], eax
push ebx
movzx eax, dx
dec eax
push esi
push edi
cmp eax, 0x14
ja case.0x43d486.2
jmp dword [eax*4 + 0x43d6e0]
mov dword [ebp - 0x70], ecx
jmp 0x43d6a7
mov edx, 0x4ffbf0
call fcn.00420a50
movzx eax, al
mov word [ebp - 0x70], ax
jmp 0x43d6a7
call fcn.004205a0
mov byte [ebp - 0x70], al
jmp 0x43d6a7
call fcn.00420570
movzx eax, al
mov word [ebp - 0x70], ax
jmp 0x43d6a7
call fcn.00420610
mov dword [ebp - 0x70], eax
jmp 0x43d6a7
lea edx, [ebp - 0x70]
call fcn.00420960
jmp 0x43d6a7
lea edx, [ebp - 0x70]
call fcn.00420860
jmp 0x43d6a7
mov edx, ecx
mov ecx, str.user
call fcn.004207c0
mov dword [ebp - 0x70], eax
jmp 0x43d6a7
mov edx, ecx
mov ecx, str.admin
call fcn.004207c0
mov dword [ebp - 0x70], eax
jmp 0x43d6a7
mov edx, 0x4ffc00
call fcn.00420a50
movzx eax, al
mov word [ebp - 0x70], ax
jmp 0x43d6a7
mov edx, 0x4ffb60
call fcn.00420a50
movzx eax, al
mov word [ebp - 0x70], ax
jmp 0x43d6a7
xor eax, eax
mov dword [ebp - 0x70], ecx
xorps xmm0, xmm0
mov word [ebp - 0x6c], ax
movlpd qword [0x541881], xmm0
mov esi, ecx
movlpd qword [0x541889], xmm0
mov byte [0x541880], al
mov al, byte [ecx]
mov dword [ebp - 0x68], 0x541880
test al, al
je 0x43d580
cmp al, 0x3a
je 0x43d589
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x43d574
cmp byte [esi], 0x3a
jne 0x43d6a7
mov eax, esi
sub eax, ecx
movzx edi, ax
mov eax, 0x1f
cmp edi, 0x20
cmovae edi, eax
inc esi
mov edx, esi
mov word [ebp - 0x6c], di
lea ebx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x43d5a5
sub edx, ebx
movzx edx, dx
cmp edx, 0x18
jne 0x43d5f7
push 0x10
push 0x541881
mov ecx, esi
call fcn.00438e60
add esp, 8
cmp ax, 0x10
jne 0x43d5e1
mov ecx, 0x541881
mov byte [0x541880], al
call fcn.004204b0
jmp 0x43d6a7
xorps xmm0, xmm0
mov byte [0x541890], 0
movaps xmmword [0x541880], xmm0
jmp 0x43d6a7
test dx, dx
je 0x43d6a7
test di, di
je 0x43d620
cmp di, 3
jne 0x43d66e
cmp word [ecx], 0x646d
jne 0x43d6a7
cmp byte [ecx + 2], 0x35
jne 0x43d6a7
push edx
mov edx, esi
mov dword [ebp - 0x64], 0x67452301
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x60], 0xefcdab89
mov dword [ebp - 0x5c], 0x98badcfe
mov dword [ebp - 0x58], 0x10325476
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
call fcn.00412fa0
add esp, 4
lea ecx, [ebp - 0x64]
mov edx, 0x541881
call fcn.00413080
mov byte [0x541880], 0x10
jmp 0x43d6a7
cmp di, 2
jne 0x43d6a7
mov eax, 0x7377
cmp word [ecx], ax
jne 0x43d6a7
push 0x500b70
push esi
mov edx, 0x4670d0
mov ecx, 0x541881
call fcn.00411d30
add esp, 8
mov byte [0x541880], 0x10
jmp 0x43d6a7
lea edx, [ebp - 0x70]
call fcn.00420640
mov ecx, dword [ebp - 0x74]
movq xmm0, qword [ebp - 0x70]
mov eax, dword [ebp - 0x68]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004423fe
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004423fe
mov esp, ebp
pop ebp
ret
Function at 0x43fd80
Capabilities:
Terminate process

Disassembly:
push ecx
push str.Usage:_VirtualHub_..._n
call fcn.0041cc00
add esp, 4
push str._____________h_:_display_this_help_message_n
call fcn.0041cc00
add esp, 4
push str._____________v_:_display_the_version_of_the_executable_n
call fcn.0041cc00
add esp, 4
push str._____________A__firmware.byn_:_special_firmware_upgrade_mode_n
call fcn.0041cc00
add esp, 4
push str.______________c__conffile_____g__tracefile.log_____F__container.tar_____o__n
call fcn.0041cc00
add esp, 4
push str.______________T__config_template______n__ipaddr_____p__port_____d__n
call fcn.0041cc00
add esp, 4
push str.______________i_u__n
call fcn.0041cc00
add esp, 4
push str.____c_specify_the_pathname_of__conffile__to_store_the_configuration_of_the_VirtualHub._n
call fcn.0041cc00
add esp, 4
push str..virtualhub.dat
push str.______By_default__it_is_set_to___s__in_your_profile_dir____APPDATA___._n
call fcn.0041cc00
push str.____g_log_debug_infos_into_a__tracefile__n
call fcn.0041cc00
add esp, 0xc
push str.____F_enable_Files_interface_for_adding_custom_files_to_the_VirtualHub_n
call fcn.0041cc00
add esp, 4
push str.____o_enable_OsControl_interface_for_remote_shutdown_through_the_API_n
call fcn.0041cc00
add esp, 4
push str.____T_if_no_settings_file_are_found_create_new_file_using_the__config_template__template_n
call fcn.0041cc00
add esp, 4
push str.____n_use_the_network_interface_with_the_specified__ipaddr__n
call fcn.0041cc00
add esp, 4
push str.____p_use_a_specific__port__for_HTTP_connection_n
call fcn.0041cc00
add esp, 4
push str.____d_run_in_background_mode__use_only_when_running_as_a_service___n
call fcn.0041cc00
add esp, 4
push str.____i_to_install_the_service__with_the_arguments_specified__n
call fcn.0041cc00
add esp, 4
push str.____u_to_uninstall_the_service_n
call fcn.0041cc00
add esp, 4
push str._____install_udev_rule_n
call fcn.0041cc00
add esp, 4
push str._____allow_reboot_allow_VirtualHub_to_reboot_the_computer_n
call fcn.0041cc00
add esp, 4
push str._____www_watchdog__logstopreboot__selects_the_behaviour_of_the_VirtualHub_when_the_wwwWatchdogDelay_expires_n
call fcn.0041cc00
add esp, 4
push 0
call fcn.0044d167
int3
Function at 0x441010
Capabilities:
Create thread
Terminate process

Disassembly:
push ecx
mov eax, dword [0x4ffdf4]
mov ecx, eax
dec eax
mov dword [0x4ffdf4], eax
test ecx, ecx
je 0x441058
push 0
push 0
push 0
push 0x43e9c0
push 0
push 0
mov dword [0xd46d28], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x44104e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
mov ecx, str.thread_creation_failed
call fcn.00436650
push 1
call fcn.0044d167
int3
Function at 0x441cc0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x39c
mov eax, dword [0x4ff004]
xor eax, esp
mov dword [esp + 0x398], eax
push esi
lea eax, [esp + 8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov esi, eax
test esi, esi
je 0x441d3a
push 0
push 0
lea eax, [esp + 0xc]
push eax
push 0x400
push esi
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push dword [esp + 4]
push esi
push str.Unable_to_start_Windows_Socket
push str._s___d:_s_
call fcn.0041cc00
add esp, 0x10
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x398]
xor ecx, esp
call fcn.004423fe
mov esp, ebp
pop ebp
ret
push 1
push 0x441c70
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
lea ecx, [esp + 0x198]
call fcn.00441060
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x39c]
xor eax, eax
pop esi
xor ecx, esp
call fcn.004423fe
mov esp, ebp
pop ebp
ret
Function at 0x4422c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [0x4ff004]
xor eax, esp
mov dword [esp + 0xa0], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetControl
push reloc.WS2_32.dll_bind
mov dword [esp + 0x24], str.yVirtualHub
mov dword [esp + 0x28], 0x441fc0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x1c], 0x80
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44236f
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push str.WaitToKillServiceTimeout
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x442365
lea eax, [esp + 0x20]
push eax
call fcn.00446a36
mov ecx, dword [0x4ffc34]
add esp, 4
cmp eax, ecx
cmovb ecx, eax
mov dword [0x4ffc34], ecx
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
mov edx, esi
call fcn.0043fea0
test byte [0xd46d80], 1
je 0x4423e4
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherA]
test eax, eax
jne 0x4423e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
mov esi, eax
lea eax, [esp + 0x10]
push eax
push 0x400
push esi
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push dword [esp + 8]
push esi
push str.Unable_to_Start_the_service
push str._s___d:_s_
call fcn.0041cc00
add esp, 0x10
mov eax, 1
pop esi
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.004423fe
mov esp, ebp
pop ebp
ret
call fcn.00441cc0
mov ecx, dword [esp + 0xa4]
xor eax, eax
pop esi
xor ecx, esp
call fcn.004423fe
mov esp, ebp
pop ebp
ret

Function at 0x4565ba
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00456430

Function at 0x458113
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00457c66
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x88d008], 0x8088405
inc edx
mov dword [ebx + 0x88d008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cd64
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cd95
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cd7d
add dl, dl
jne 0x41cda0
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cdf1
xor eax, eax
add dl, dl
jne 0x41cdad
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41ce8e
add dl, dl
jne 0x41cdbc
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cdc7
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cdd2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cddd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cde7
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cd8c
mov eax, 1
add dl, dl
jne 0x41cdff
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41ce0a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cdf6
sub eax, ebx
mov ebx, 1
jne 0x41ce3d
mov ecx, 1
add dl, dl
jne 0x41ce23
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41ce2e
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41ce1a
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cd8c
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41ce54
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41ce5f
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41ce4b
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cd8c
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41ceaf
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 0x41cd8c
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41e5a4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x874a63
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41e655
add edx, ebx
mov eax, edx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0x10], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmp edx, 0xffff
jbe 0x41e63e
test esi, esi
jbe 0x41e655
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088e4
test eax, eax
jne 0x41e630
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41e655
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41e60d
jmp 0x41e655
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x41e655
mov eax, ecx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x874a6a
ret
Function at 0x41eec4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov word [ebp - 2], dx
xor eax, eax
push ebp
push 0x875473
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x41eeff
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x41ef18
lea eax, [ebp - 0x10]
mov edx, dword [0x88f2a4]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x41ef2b
lea eax, [ebp - 0x10]
mov edx, dword [0x88f2a4]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x41ef37
adc edx, 0
mov edx, dword [edx*4 + 0x88e10c]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x41f045
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x41f038
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x41f038
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x41f038
mov eax, edi
cmp dword [eax], 0x4550
jne 0x41f038
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x41f038
cmp dx, 0x150
ja 0x41f038
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x41f038
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x41f038
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x41f05d
inc ebx
cmp ebx, 0x19
jne 0x41eef1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x87547a
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x406260
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40d07c]
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.00403dae
and dword [ebp - 0x14], 0
cmp dword [0x40e920], 0
mov dword [ebp - 0x18], eax
jne 0x406313
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4063bb
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4063bb
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40e920], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40e924], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40e928], eax
call edi
push eax
call esi
mov dword [0x40e930], eax
test eax, eax
je 0x406313
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40e92c], eax
mov eax, dword [0x40e92c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40636c
cmp dword [0x40e930], ecx
je 0x40636c
push eax
call esi
push dword [0x40e930]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40636c
test ebx, ebx
je 0x40636c
call edi
test eax, eax
je 0x406363
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x406363
test byte [ebp - 8], 1
jne 0x40636c
or dword [ebp + 0x10], 0x200000
jmp 0x40639f
mov eax, dword [0x40e924]
cmp eax, dword [ebp - 0x18]
je 0x40639f
push eax
call esi
test eax, eax
je 0x40639f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40639f
mov eax, dword [0x40e928]
cmp eax, dword [ebp - 0x18]
je 0x40639f
push eax
call esi
test eax, eax
je 0x40639f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40e920]
call esi
test eax, eax
je 0x4063bb
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4063bd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402701
leave
ret
Function at 0x4d59ae
Capabilities:
Encode data using xor

Disassembly:
cmp al, 0x1d
sbb esp, dword [esi]
ljmp 0xb390
movsb byte es:[edi], byte [esi]
or byte [edx], bl
inc edi
mov word [ebp - 0x5e1fd5cc], fs
sbb al, byte [edi - 0x74]
and al, 0x2d
xor al, 0x2a
loopne 0x4d595a
or eax, 0x655d2848
sub dword [esi + ebx*8 - 0x55c47587], eax
mov ah, 0xaa
mov ch, 0x20
xor al, 0x37
push esi
mov esi, 0x1abbeaf4
mov bh, 0x61
xor al, 0x6a
xor esi, ebp
insb byte es:[edi], dx
jp 0x4d59b0
dec edi
push esi
jle 0x4d5a02
pop edx
and dword [esp + eax*8 - 4], esp
shr dword [eax - 0x544a07c5], 1
rcr al, cl
movsd dword es:[edi], dword [esi]
cli
nop
sahf
test dword [esi - 0x3216ffe5], ebp
pop edx
jmp [ecx]
or dword [ebx - 0x40506c5f], 0x4335c4b5
lea edx, [eax + 0x91ed4ca]
les edi, [edx]
aaa
invalid

Function at 0x5b647e
Capabilities:
Encode data using xor

Disassembly:
mov ah, 0xb6
or al, 3
loope 0x5b6446
or eax, 0x50a20aeb
push eax
push ss
jmp 0xc9e19c46
adc al, byte [edi]
bound esi, qword [eax + 0x67e6cf5]
mov cl, 0xf1
mov byte [0x60a1c6e5], al
jae 0x5b64c6
in eax, 0xc6
mov eax, dword [0xf26f7360]
jp 0x5b643f
bnd jp 0x5b643f
add al, 0x41
invalid
rcr dword [ecx + ecx], 1
mov dl, 0x3f
mov eax, dword [0x3cce04e8]
inc esi
sub dword [esi - 0x62], ebx
xchg byte [eax + 0x1a], cl
adc dword [esi], eax
jl 0x5b6435
xor dword [edi + esi*4 + 0x203726da], 0x598d321e
loop 0x5b6493
mov ah, 0xb7
fisub dword [esi]
aaa
and byte [esi], bl
xor cl, byte [ebp - 0x6c0c1da7]
xchg ebx, eax
loope 0x5b64b9
cmp byte [esi - 0x3b], bl
pop ds
mov ebp, 0x61bd7f0e
xor ah, byte [esi + edx*2 + 0x2f]
xchg edx, eax
mov edx, 0xadec4f7e
or cl, byte [edi]
mov al, byte [0x93d1d2b1]
add eax, ecx
push ebx
retf 0xd6e3
mov cl, 0xd2
rcl dword [ebx - 0x35ac37ff]
jecxz 0x5b6499
xor dword [ebx + edx*8], ebx
cmp ebx, dword [edx]
jl 0x5b6451
inc ebx
jb 0x5b6494
insd dword es:[edi], dx
pop edi
rol byte [0x8ea5c3d5], 0xb1
mov eax, 0x40b10551
dec esi
or edi, dword [ebp + 0x64]
sub dh, byte [edi - 0xe5b7c23]
aam 0x81
xor bh, 0x74
rcl byte [edi + 0x289ebda6], 0x80
in eax, dx
pop ss
enter 0xffffffffffffbfaf, 0x63
iretd