joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419f40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
sub esp, 8
call fcn.0041a0f0
test al, al
jne 0x419f75
call fcn.0041e289
push dword [eax]
push str.INTERNAL_ERROR___d_._Please__contact_WTware_tech_support.
push 0x11a
push str...ip.cpp
push str.ERROR
call fcn.00416980
add esp, 0x14
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x419790
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x419fa3
push str.ERROR:_CreateThread____failed
call fcn.004168e0
add esp, 4
xor al, al
mov esp, ebp
pop ebp
ret
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x41a620
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x441288]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [0x4424ec]
push edi
mov edi, dword [ebp + 8]
add esi, 0xfffffff8
test di, di
je 0x41a773
movzx ebx, di
lea ecx, [ebp - 0x28]
push ebx
push esi
call fcn.004013b0
push eax
push str.Bind_at__s:_d.
call fcn.004168e0
add esp, 0xc
cmp dword [esi + 4], 0xffffffff
je 0x41a68c
call fcn.0041e289
push dword [eax]
push str.INTERNAL_ERROR___d_._Please__contact_WTware_tech_support.
push 0x18d
push str.e:workwtftp..common_filterSockets.h
push str.ERROR
call fcn.00416980
add esp, 0x14
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x41a6b9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Create_socket_failed:__d.
call fcn.004168e0
add esp, 8
jmp 0x41a796
xorps xmm0, xmm0
mov eax, 2
movdqu xmmword [ebp - 0x18], xmm0
mov word [ebp - 0x18], ax
mov eax, dword [esi]
push edi
mov dword [ebp - 0x14], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x18]
push 0x10
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x41a75e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.bind____failed:__d.
call fcn.004168e0
add esp, 8
lea ecx, [ebp - 0x28]
push esi
call fcn.004013b0
push eax
push str.ERROR__Error_occured_while_binding_socket_for_interface_IP_s.
call fcn.004168e0
push ebx
push str.ERROR__Port__d_already_used_by_another_application.
call fcn.004168e0
push str.ERROR__Only_one_application_can_use_TCP_or_UDP_port.
call fcn.004168e0
add esp, 0x14
push str.ERROR__To_determine_application_that_uses_port__run_Command_Prompt
call fcn.004168e0
add esp, 4
push str.ERROR__as_Administrator_and_execute_following_command:
call fcn.004168e0
add esp, 4
push str.netstat__abnp_udp
call fcn.004168e0
add esp, 4
mov ecx, esi
call fcn.004187d0
jmp 0x41a796
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041e246
mov esp, ebp
pop ebp
ret 4
call fcn.0041e289
push dword [eax]
push str.INTERNAL_ERROR___d_._Please__contact_WTware_tech_support.
push 0x188
push str.e:workwtftp..common_filterSockets.h
push str.ERROR
call fcn.00416980
add esp, 0x14
mov ecx, dword [ebp - 8]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e246
mov esp, ebp
pop ebp
ret 4
Function at 0x41b3d0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x441288]
xor eax, ebp
mov dword [ebp - 4], eax
movdqu xmm0, xmmword [str.XXXXIllegal_TFTP_operation.]
mov eax, dword [0x43e80c]
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 8], eax
movdqu xmmword [ebp - 0x20], xmm0
lea edi, [ebp - 0x20]
mov dword [ebp - 0x54], ebx
movq xmm0, qword [0x43e804]
lea ecx, [edi + 1]
movq qword [ebp - 0x10], xmm0
mov al, byte [edi]
inc edi
test al, al
jne 0x41b410
mov esi, dword [sym.imp.WS2_32.dll_htons]
sub edi, ecx
push 5
call esi
push 4
mov word [ebp - 0x20], ax
call esi
mov word [ebp - 0x1e], ax
lea eax, [edi + 1]
push 0
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebx]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x41b590
mov ebx, dword [ebx + 0xa6c]
lea ecx, [ebp - 0x50]
movzx edx, bl
call fcn.004015f0
xor ecx, ecx
lea ecx, [ecx]
cmp byte [ebp + ecx - 0x50], 0
je 0x41b491
cmp byte [ebp + ecx - 0x4f], 0
je 0x41b490
cmp byte [ebp + ecx - 0x4e], 0
je 0x41b48b
cmp byte [ebp + ecx - 0x4d], 0
je 0x41b486
add ecx, 4
cmp ecx, 0x10
jb 0x41b460
jmp 0x41b491
add ecx, 3
jmp 0x41b491
add ecx, 2
jmp 0x41b491
inc ecx
lea eax, [ecx + 2]
cmp eax, 0x10
ja 0x41b4a0
mov word [ebp + ecx - 0x50], 0x2e
mov esi, dword [ebp - 0x54]
lea ecx, [ebp - 0x40]
movzx edx, byte [esi + 0xa6d]
call fcn.004015f0
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x50]
call fcn.004016c0
xor ecx, ecx
nop
cmp byte [ebp + ecx - 0x50], 0
je 0x41b4f1
cmp byte [ebp + ecx - 0x4f], 0
je 0x41b4f0
cmp byte [ebp + ecx - 0x4e], 0
je 0x41b4eb
cmp byte [ebp + ecx - 0x4d], 0
je 0x41b4e6
add ecx, 4
cmp ecx, 0x10
jb 0x41b4c0
jmp 0x41b4f1
add ecx, 3
jmp 0x41b4f1
add ecx, 2
jmp 0x41b4f1
inc ecx
lea eax, [ecx + 2]
cmp eax, 0x10
ja 0x41b500
mov word [ebp + ecx - 0x50], 0x2e
movzx edx, byte [esi + 0xa6e]
lea ecx, [ebp - 0x40]
call fcn.004015f0
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x50]
call fcn.004016c0
xor eax, eax
lea esp, [esp]
cmp byte [ebp + eax - 0x50], 0
je 0x41b551
cmp byte [ebp + eax - 0x4f], 0
je 0x41b550
cmp byte [ebp + eax - 0x4e], 0
je 0x41b54b
cmp byte [ebp + eax - 0x4d], 0
je 0x41b546
add eax, 4
cmp eax, 0x10
jb 0x41b520
jmp 0x41b551
add eax, 3
jmp 0x41b551
add eax, 2
jmp 0x41b551
inc eax
lea ecx, [eax + 2]
cmp ecx, 0x10
ja 0x41b560
mov word [ebp + eax - 0x50], 0x2e
shr ebx, 0x18
lea ecx, [ebp - 0x40]
mov edx, ebx
call fcn.004015f0
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x50]
call fcn.004016c0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
lea eax, [ebp - 0x50]
push eax
push str.__s__send___failed__error__d.
call fcn.00416930
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e246
mov esp, ebp
pop ebp
ret
Function at 0x41ba20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x441288]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
push 0
lea eax, [ebx - 1]
imul eax, dword [edi + 0xa24]
push eax
push dword [edi + 0x208]
call fcn.0042169f
add esp, 0xc
test eax, eax
je 0x41bbbc
mov ebx, dword [edi + 0xa6c]
lea ecx, [ebp - 0x38]
movzx edx, bl
call fcn.004015f0
xor ecx, ecx
lea ecx, [ecx]
cmp byte [ebp + ecx - 0x38], 0
je 0x41baa1
cmp byte [ebp + ecx - 0x37], 0
je 0x41baa0
cmp byte [ebp + ecx - 0x36], 0
je 0x41ba9b
cmp byte [ebp + ecx - 0x35], 0
je 0x41ba96
add ecx, 4
cmp ecx, 0x10
jb 0x41ba70
jmp 0x41baa1
add ecx, 3
jmp 0x41baa1
add ecx, 2
jmp 0x41baa1
inc ecx
lea eax, [ecx + 2]
cmp eax, 0x10
ja 0x41bab0
mov word [ebp + ecx - 0x38], 0x2e
movzx edx, byte [edi + 0xa6d]
lea ecx, [ebp - 0x28]
call fcn.004015f0
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x38]
call fcn.004016c0
xor ecx, ecx
lea esp, [esp]
cmp byte [ebp + ecx - 0x38], 0
je 0x41bb01
cmp byte [ebp + ecx - 0x37], 0
je 0x41bb00
cmp byte [ebp + ecx - 0x36], 0
je 0x41bafb
cmp byte [ebp + ecx - 0x35], 0
je 0x41baf6
add ecx, 4
cmp ecx, 0x10
jb 0x41bad0
jmp 0x41bb01
add ecx, 3
jmp 0x41bb01
add ecx, 2
jmp 0x41bb01
inc ecx
lea eax, [ecx + 2]
cmp eax, 0x10
ja 0x41bb10
mov word [ebp + ecx - 0x38], 0x2e
movzx edx, byte [edi + 0xa6e]
lea ecx, [ebp - 0x28]
call fcn.004015f0
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x38]
call fcn.004016c0
xor ecx, ecx
lea esp, [esp]
cmp byte [ebp + ecx - 0x38], 0
je 0x41bb61
cmp byte [ebp + ecx - 0x37], 0
je 0x41bb60
cmp byte [ebp + ecx - 0x36], 0
je 0x41bb5b
cmp byte [ebp + ecx - 0x35], 0
je 0x41bb56
add ecx, 4
cmp ecx, 0x10
jb 0x41bb30
jmp 0x41bb61
add ecx, 3
jmp 0x41bb61
add ecx, 2
jmp 0x41bb61
inc ecx
lea eax, [ecx + 2]
cmp eax, 0x10
ja 0x41bb70
mov word [ebp + ecx - 0x38], 0x2e
shr ebx, 0x18
lea ecx, [ebp - 0x28]
mov edx, ebx
call fcn.004015f0
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x38]
call fcn.004016c0
push dword [ebp + 8]
lea eax, [ebp - 0x38]
push eax
push str.__s__Requested_block__d_does_not_exist.
call fcn.00416930
add esp, 0xc
mov ecx, edi
call fcn.0041b3d0
mov byte [edi + 0xa71], 1
pop edi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041e246
mov esp, ebp
pop ebp
ret 4
push dword [edi + 0x208]
lea eax, [edi + 0x210]
push dword [edi + 0xa24]
push 1
push eax
call fcn.004218e7
add esp, 0x10
mov dword [edi + 0xa0c], eax
cmp eax, dword [edi + 0xa24]
je 0x41bbee
mov byte [edi + 0xa70], 1
add eax, 4
push 3
mov dword [edi + 0xa0c], eax
call dword [sym.imp.WS2_32.dll_htons]
push ebx
mov word [edi + 0x20c], ax
call dword [sym.imp.WS2_32.dll_htons]
push ebx
mov ecx, edi
mov word [edi + 0x20e], ax
call fcn.0041b5b0
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop ebx
call fcn.0041e246
mov esp, ebp
pop ebp
ret 4
Function at 0x42b66f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x441288]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004238ca
mov dword [ebp - 0x14], eax
cmp dword [0x443438], esi
jne 0x42b762
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x42b6ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x42b842
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x42b842
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42b842
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x443438], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x44343c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x443440], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x443448], eax
test eax, eax
je 0x42b75f
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x443444], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x42b787
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42b77a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x42b79c
push 4
pop eax
jmp 0x42b844
cmp dword [ebp - 0x14], esi
je 0x42b79c
push dword [0x443438]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x42b781
mov eax, dword [0x443444]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x42b7fa
cmp dword [0x443448], edi
je 0x42b7fa
push eax
call ebx
push dword [0x443448]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x42b7fa
test eax, eax
je 0x42b7fa
call ecx
test eax, eax
je 0x42b7ef
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x42b7ef
test byte [ebp - 8], 1
jne 0x42b7fa
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x42b82a
mov eax, dword [0x44343c]
cmp eax, edi
je 0x42b827
push eax
call ebx
test eax, eax
je 0x42b827
call eax
mov esi, eax
test esi, esi
je 0x42b827
mov eax, dword [0x443440]
cmp eax, edi
je 0x42b827
push eax
call ebx
test eax, eax
je 0x42b827
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x443438]
call ebx
test eax, eax
je 0x42b842
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x42b844
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e246
mov esp, ebp
pop ebp
ret
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x40bdb9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x40bdc8
pop dword [ebp - 0x38]
mov eax, 0x2dfe0d7b
sub eax, 0x2dbd4fb3
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x1cc85144
sub dword [ebp - 0x48], 0xce760bf9
mov dword [ebp - 0x44], 0xba12c9f3
add dword [ebp - 0x44], 0x78208252
mov dword [ebp - 0x40], 0x8274140b
add dword [ebp - 0x40], 0xc9d83023
mov dword [ebp - 0x3c], 0x73606442
sub dword [ebp - 0x3c], 0x73606442
lea eax, [ebp - 0x48]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x30bd575b
add dword [ebp - 0x48], 0x43b511fb
mov dword [ebp - 0x44], 0xec030fb
sub dword [ebp - 0x44], 0xcd53cf86
mov dword [ebp - 0x40], 0x8bbc207e
add dword [ebp - 0x40], 0xd7b34bee
mov dword [ebp - 0x3c], 0xb65abf51
add dword [ebp - 0x3c], 0x49a540af
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x8ea7930e
sub eax, 0x8e66c2c2
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x37d5e
push 0
call eax
mov ecx, 0xbc61551b
add ecx, 0x439eec28
mov esi, eax
mov edi, 0x37dd7c7
add edi, 0xfcc3d839
add edi, dword [ebp - 0x38]
mov ebx, 0x7ce169c8
add ebx, 0x758731b1
xor dword [ebp - 0x1c], edi
mov edx, dword [edi]
add dword [ebp - 0x1c], 0xd543e95d
sub edx, ebx
sub dword [ebp - 0x10], edi
mov dword [esi], edx
xor dword [ebp - 0x20], 0x46177078
add esi, 4
add edi, 0x969ddb3e
sub edi, 0x969ddb3a
loop 0x40bee5
add eax, 0xf7df
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xae2ac8ed
sub ecx, 0xadeac8ed
add ecx, dword [ebp - 0x38]
call ebx

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x41e570
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49b07b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0048f3bb
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41e5f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048ce3d
mov eax, dword [eax]
push 0x5811f0
push eax
call fcn.0047f0c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048f646
test bl, bl
je 0x41e5f2
push 0x5811f0
lea ecx, [esp + 0xc]
call fcn.0048f9d6
push 0x584d64
lea ecx, [esp + 0xc]
call fcn.0048f9d6
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41e62e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048f646
jmp 0x41e6f9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x41e6b2
lea edx, [esp + 0x7c]
push 0x584d60
push edx
call fcn.0047f0c4
add esp, 8
test eax, eax
je 0x41e6b2
lea eax, [esp + 0x7c]
push 0x584d5c
push eax
call fcn.0047f0c4
add esp, 8
test eax, eax
je 0x41e6b2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41e642
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0048f646
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4
Function at 0x41ef10
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49b0fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x58d174]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x41f048
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41ef76
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048f646
xor eax, eax
jmp 0x41f0bf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0048f783
push esi
lea ecx, [esp + 0xc]
call fcn.0048fa12
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x584d9c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41f09d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x584d94
push SysReAllocString
call fcn.0046cdb0
test eax, eax
jne 0x41f09d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x584d80
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocString
mov ecx, edi
call fcn.0046cdb0
test eax, eax
jne 0x41f09d
lea eax, [esp + 0x14]
push 0x584d78
push eax
call fcn.004801d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41f07c
lea ecx, [esp + 0x14]
push 0x584d74
push ecx
call fcn.00480150
mov esi, eax
add esp, 8
test esi, esi
jne 0x41f07c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41f07f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0048f733
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41ef8e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048f646
xor eax, eax
jmp 0x41f0bf
mov byte [esi], 0
push 0x584d70
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0048f646
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x434db0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x434e1e
cmp si, 0x69
ja 0x434e1e
add esi, 0xffd0
cmp si, 0x11
je 0x434dee
push 0x11
call edi
test ax, ax
jge 0x434dee
or esi, 0x2000
cmp si, 0x10
je 0x434e03
push 0x10
call edi
test ax, ax
jge 0x434e03
or esi, 0x4000
cmp si, 0x12
je 0x434e18
push 0x12
call edi
test ax, ax
jge 0x434e18
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x434e2b
mov esi, 0xbd
jmp 0x434ddf
cmp si, 0x6e
jne 0x434e38
mov esi, 0xbe
jmp 0x434ddf
cmp si, 0x6f
jne 0x434dd9
mov esi, 0xbf
jmp 0x434ddf

Function at 0x436910
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x59d948]
xor edx, edx
cmp eax, edx
jne 0x436936
xor eax, eax
mov byte [eax + 0x59d848], al
inc eax
cmp eax, 0x100
jl 0x43691e
mov dword [0x59d948], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x59d848
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4369c7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x43699a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x436968
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x436a40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x436a93
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x436a7a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43d4d0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x43d668
cmp ebp, ebx
jle 0x43d668
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x43d52e
dec eax
or eax, 0xfffffff8
inc eax
je 0x43d535
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x43d544
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x43d54b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0048f387
add esp, 4
cmp eax, ebx
je 0x43d56c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.0048f387
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x43d65e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x43d645
mov al, byte [edx]
cmp al, 0xc0
jbe 0x43d631
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x43d626
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x43d634
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x43d634
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x43d5d0
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x43d5c1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret