joyce8/EMBER2024-capa huggingface dataset:
Function at 0x57939b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0
je 0x5793c0
cmp dword [ebp - 0xc], 1
jne 0x5794ea
jmp 0x5794f0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 0x98], 4
mov dword [esp + 0x94], 2
mov dword [esp + 0x90], eax
fld qword [0x592bd0]
fstp qword [esp + 0x88]
mov dword [esp + 0x84], 8
mov dword [esp + 0x80], 1
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 9
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 2
fld1
fstp qword [esp + 0x64]
fld qword [0x592bd0]
fstp qword [esp + 0x5c]
fld qword [0x592bd0]
fstp qword [esp + 0x54]
fld qword [0x592c08]
fstp qword [esp + 0x4c]
mov dword [esp + 0x48], 8
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 1
mov dword [esp + 0x38], 1
fld qword [0x592bd0]
fstp qword [esp + 0x30]
mov dword [esp + 0x2c], 5
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 3
mov dword [esp + 0x18], 4
mov dword [esp + 0x14], 7
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 1
mov dword [esp + 8], str.Litecoin
fld qword [0x592c08]
fstp qword [esp]
call sym._AddDatAndEthFiles
mov dword [ebp - 0xc], 1
jmp 0x5794eb
nop
jmp 0x5793ab
leave
ret
Function at 0x57992a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0
je 0x57994f
cmp dword [ebp - 0xc], 1
jne 0x579aaa
jmp 0x579ab0
mov eax, dword [ebp + 0xa4]
mov dword [esp + 0x9c], eax
mov eax, dword [ebp + 0xa0]
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 0x9c]
mov dword [esp + 0x94], eax
mov eax, dword [ebp + 0x98]
mov dword [esp + 0x90], eax
mov eax, dword [ebp + 0x94]
mov dword [esp + 0x8c], eax
mov eax, dword [ebp + 0x90]
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 0x8c]
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 0x88]
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 0x84]
mov dword [esp + 0x7c], eax
mov eax, dword [ebp + 0x80]
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x7c]
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0x78]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x74]
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 0x70]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x6c]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x68]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x64]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x60]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x5c]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x58]
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x54]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x50]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x4c]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x48]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x40]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x34]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.___super_fnc__17
mov dword [ebp - 0xc], 1
jmp 0x579aab
nop
jmp 0x57993a
leave
ret
Function at 0x57a2d6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0
je 0x57a3f2
cmp dword [ebp - 0xc], 1
je 0x57a2fb
jmp 0x57a3ed
mov eax, dword [ebp + 0x84]
mov dword [esp + 0x7c], eax
mov eax, dword [ebp + 0x80]
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x7c]
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0x78]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x74]
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 0x70]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x6c]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x68]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x64]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x60]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x5c]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x58]
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x54]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x50]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x4c]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x48]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x40]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x34]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.___super_fnc__2167
mov dword [ebp - 0xc], 0
nop
jmp 0x57a2e6
nop
leave
ret

Function at 0x57a7e0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call dbg.__acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call dbg.__acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
lea esi, [esi]
Function at 0x57a840
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0xbd3d14]
test esi, esi
jle 0x57a960
mov eax, dword [0xbd3d18]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x57a874
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x57a8f7
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x57a860
mov dword [esp], ebx
call dbg.__mingw_GetSectionForAddress
mov edi, eax
test eax, eax
je 0x57a987
mov eax, dword [0xbd3d18]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call dbg._GetPEImageBase
mov edx, dword [0xbd3d18]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x57a967
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x57a8f0
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x57a900
add dword [0xbd3d14], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 0x40
mov eax, 4
mov ecx, dword [esp + 0x20]
cmovne eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0xbd3d18]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x57a8f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call dbg.__report_error
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x57a87e
mov eax, dword [0xbd3d18]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call dbg.__report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call dbg.__report_error
lea esi, [esi]
nop

Function at 0x57ae40
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0xbd3d30
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0xbd3d28]
sub esp, 4
test ebx, ebx
je 0x57ae95
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x57ae8e
test esi, esi
je 0x57ae8e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x57ae70
mov dword [esp], 0xbd3d30
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x57b1c0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x57b1e5
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x57b1f0
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x57b1e5
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test esi, esi
je 0x57b238
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x57b22e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x57b23a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x57b220
xor eax, eax
pop ebx
pop esi
ret
Function at 0x4013a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
lea eax, [ebp - 4]
push 0x436338
push esi
push eax
mov edi, edx
call fcn.004145ea
add esp, 0xc
test eax, eax
je 0x4013d8
push esi
push eax
push str.Error_writing_file:_error__d__s_n
call fcn.004010d0
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
test eax, eax
je 0x401401
push eax
push 1
push dword [ebp + 8]
push edi
call fcn.0041a39b
push dword [ebp - 4]
call fcn.004144c8
add esp, 0x14
push dword [ebp - 4]
call fcn.004146a8
add esp, 4
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x403460
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60c
mov eax, dword [0x439040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push ecx
push 0x43687c
mov esi, edx
call fcn.00401180
add esp, 8
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor ecx, ecx
movzx eax, word [ecx + 0xebd688]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x20a], ax
test ax, ax
jne 0x403493
lea ecx, [ebp - 0x208]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x4034b3
mov eax, dword [str..hs1]
mov edx, 0xebd8e8
mov dword [ecx], eax
mov eax, dword [0x436884]
mov dword [ecx + 4], eax
mov ax, word [0x436888]
mov word [ecx + 8], ax
lea ecx, [ebp - 0x208]
push 0xddf
call fcn.004013a0
add esp, 4
xor ecx, ecx
movzx eax, word [ecx + 0xebd688]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x40a], ax
test ax, ax
jne 0x4034f2
lea ecx, [ebp - 0x408]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x403512
mov eax, dword [str..hs2]
mov edx, 0x597480
mov dword [ecx], eax
mov eax, dword [0x436890]
mov dword [ecx + 4], eax
mov ax, word [0x436894]
mov word [ecx + 8], ax
lea ecx, [ebp - 0x408]
movzx eax, word [0xebd993]
imul eax, eax, 0x92e3
push eax
call fcn.004013a0
add esp, 4
xor ecx, ecx
nop word [eax + eax]
movzx eax, word [ecx + 0xebd688]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x60a], ax
test ax, ax
jne 0x403560
lea ecx, [ebp - 0x608]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x403580
mov eax, dword [str..hst]
mov edx, 0xebfa60
mov dword [ecx], eax
mov eax, dword [0x43689c]
mov dword [ecx + 4], eax
mov ax, word [0x4368a0]
mov word [ecx + 8], ax
lea ecx, [ebp - 0x608]
push 0x165d0
call fcn.004013a0
add esp, 4
push 0
call fcn.00413c51
int3
Function at 0x407ea0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x439040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push ecx
push 0x43687c
mov esi, edx
call fcn.00401180
add esp, 8
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
movzx ecx, word [eax + 0xebd688]
lea eax, [eax + 2]
mov word [ebp + eax - 0x20a], cx
test cx, cx
jne 0x407ed3
lea ecx, [ebp - 0x208]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x407ef3
mov eax, dword [str..hsf]
mov edx, 0x596d90
mov dword [ecx], eax
mov eax, dword [0x437048]
mov dword [ecx + 4], eax
mov ax, word [0x43704c]
mov word [ecx + 8], ax
lea ecx, [ebp - 0x208]
push 0x6e0
call fcn.004013a0
add esp, 4
push 0
call fcn.00413c51
int3

Function at 0x407f40
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x439040]
xor eax, ebp
mov dword [ebp - 8], eax
movups xmm0, xmmword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
movups xmmword [ebp - 0x11c], xmm0
push str._n___u__n
movups xmm0, xmmword [ebp + 0x24]
mov edi, ecx
mov dword [ebp - 0x130], 0x10
movups xmmword [ebp - 0x12c], xmm0
call fcn.00401180
mov ecx, esi
add esp, 8
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407f93
sub ecx, edx
push ecx
push 0x437064
call fcn.00401180
mov ecx, esi
add esp, 8
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407fb0
push 0x10
lea eax, [ebp - 0x11c]
sub ecx, edx
push eax
push 0
push ecx
push esi
push edi
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jle 0x408048
push 0x1194
push 0
push ebx
call fcn.00411cc0
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x12c]
push eax
push 0
push 0x1194
push ebx
push edi
call dword [sym.imp.WS2_32.dll_recvfrom]
push 0
mov esi, eax
push esi
push ebx
push str._s__i__u_n
call fcn.00401180
add esp, 0x10
cmp esi, 0xffffffff
jg 0x408028
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
cmp eax, 0x274c
jne 0x408075
jmp 0x408054
push str.Break_n
call fcn.00401180
mov ecx, dword [ebp - 8]
add esp, 4
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.004106cd
mov esp, ebp
pop ebp
ret
mov edx, edi
mov ecx, str.E_Error_sending_dtg_n
call fcn.00407ea0
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
push str._No_answer_to_async._req._Festo
call fcn.00401180
add esp, 4
push 0
call fcn.00413c51
call esi
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x10c]
push str._d_recvfrom_failed_with_error__d_n
push eax
call fcn.004011c0
add esp, 0x10
lea ecx, [ebp - 0x10c]
mov edx, edi
call fcn.00407ea0
int3
Function at 0x408670
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x439040]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov eax, ecx
mov dword [0xebe6f0], 0xffffffff
push edi
mov dword [ebp - 0x220], eax
xor bl, bl
nop word [eax + eax]
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x228]
push ecx
push eax
call dword [sym.imp.wpcap.dll_pcap_next_ex]
mov esi, eax
add esp, 0xc
test esi, esi
jns 0x4086c6
test bl, bl
jne 0x4087dd
call fcn.00413e68
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movzx eax, word [ebp + 8]
movd xmm0, eax
divsd xmm1, qword [0x437330]
cvtdq2pd xmm0, xmm0
comisd xmm1, xmm0
ja 0x4087dd
test bl, bl
jne 0x4087dd
mov eax, dword [ebp - 0x220]
test esi, esi
je 0x4086a0
mov esi, dword [ebp - 0x224]
cmp byte [esi + 0xc], 0x81
jne 0x408719
mov edi, 0x12
cmp byte [esi + 0xd], bl
je 0x40871e
mov edi, 0xe
cmp byte [esi + 6], 0xc8
jne 0x4086a0
cmp byte [esi + 7], 0x3e
jne 0x4086a0
cmp byte [esi + 8], 0xa7
jne 0x4086a0
mov eax, dword [ebp - 0x228]
mov eax, dword [eax]
cdq
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x234]
push eax
mov dword [ebp - 0x230], edx
call fcn.0041a7b0
add esp, 4
push eax
push str._H:_M:_S
lea eax, [ebp - 0x18]
push 0x10
push eax
call fcn.004193d6
mov eax, dword [esi]
mov ecx, dword [ebp - 0x224]
mov dword [0xebe6e4], eax
movzx eax, word [esi + 4]
mov word [0xebe6e8], ax
mov eax, dword [esi + 6]
mov dword [0xebe6ea], eax
movzx eax, word [esi + 0xa]
mov word [0xebe6ee], ax
movzx eax, byte [ecx + 0x1f]
push eax
movzx eax, byte [ecx + 0x1e]
push eax
movzx eax, byte [ecx + 0x1d]
push eax
movzx eax, byte [ecx + 0x1c]
push eax
push str._u._u._u._u
push 0xebe6f4
call fcn.004011c0
mov eax, dword [ebp - 0x224]
add esp, 0x28
mov bl, 1
movzx eax, byte [eax + edi + 0x12]
mov dword [0xebe6f0], eax
mov eax, dword [ebp - 0x220]
jmp 0x4086a0
cmp esi, 0xffffffff
jne 0x408834
push dword [ebp - 0x220]
call dword [sym.imp.wpcap.dll_pcap_geterr]
add esp, 4
push eax
push str._nError_reading_the_packet:__hs_n
lea eax, [ebp - 0x21c]
push 0x100
push eax
call fcn.00401110
add esp, 0x10
lea eax, [ebp - 0x21c]
push 0
push str.Message
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
or eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004106cd
mov esp, ebp
pop ebp
ret
push 0x436338
lea eax, [ebp - 0x220]
push 0xee7480
push eax
call fcn.004145ea
add esp, 0xc
test eax, eax
je 0x408877
push 0xee7480
push eax
push str.Error_writing_file:_error__d__s_n
call fcn.004010d0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004106cd
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x4088af
push eax
push 1
push 0x17c
push 0xebe6e0
call fcn.0041a39b
push dword [ebp - 0x220]
call fcn.004144c8
add esp, 0x14
push dword [ebp - 0x220]
call fcn.004146a8
add esp, 4
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004106cd
mov esp, ebp
pop ebp
ret
Function at 0x40a5c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x439040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x44], eax
imul eax, eax, 0x13c
push esi
mov esi, dword [ebx + 0xc]
push edi
mov dword [ebp - 0x48], eax
cmp dword [eax + 0xee92b4], 0
jne 0x40a60a
mov eax, 0xa0100002
jmp 0x40a718
xorps xmm0, xmm0
movlpd qword [ebp - 0x1f], xmm0
movlpd qword [ebp - 0x17], xmm0
movlpd qword [ebp - 0xf], xmm0
call fcn.0040cae0
call fcn.0041f516
mov ah, al
mov byte [ebp - 0x20], 0
movsx ecx, ah
mov edi, 1
mov byte [ebp - 0x3d], ah
movd xmm0, ecx
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
movaps xmmword [ebp - 0x60], xmm0
nop dword [eax]
call fcn.0041f516
push eax
call fcn.0041f537
add esp, 4
call fcn.0041f516
mov byte [ebp + edi - 0x20], al
inc edi
cmp edi, 0x19
jb 0x40a650
mov cl, byte [ebp - 0x3d]
sub esp, 0x1c
mov al, cl
mov byte [ebp - 0x1e], cl
xor al, 0x7d
mov byte [ebp - 0x1d], cl
mov byte [ebp - 0x1c], cl
mov byte [ebp - 0x1b], cl
mov ecx, esp
mov byte [ebp - 0x1f], al
movups xmm0, xmmword [ebp - 0x20]
mov al, byte [ebp - 8]
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x10]
movq qword [ecx + 0x10], xmm0
mov byte [ecx + 0x18], al
call fcn.0040ce80
mov byte [ebp - 8], al
add esp, 0x1c
mov eax, dword [ebp - 0x48]
lea edi, [eax + 0xee92c8]
mov ecx, edi
call fcn.0040fe20
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x44]
call fcn.0040cdb0
add esp, 0xc
mov dword [ebp - 0x44], eax
mov ecx, edi
call fcn.0040fe30
lea eax, [ebp - 0x27]
lea ecx, [esi + 0xf]
cmp esi, eax
ja 0x40a706
lea eax, [ebp - 0x36]
cmp ecx, eax
jb 0x40a706
mov edx, eax
mov ecx, 0x10
mov ah, byte [ebp - 0x3d]
sub edx, esi
mov al, byte [edx + esi]
lea esi, [esi + 1]
xor al, ah
mov byte [esi - 1], al
sub ecx, 1
jne 0x40a6f4
jmp 0x40a715
movups xmm0, xmmword [ebp - 0x36]
movaps xmm1, xmmword [ebp - 0x60]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004106cd
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
Function at 0x40b5a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x439040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x44], eax
imul eax, eax, 0x13c
push esi
mov esi, dword [ebx + 0x14]
push edi
mov dword [ebp - 0x48], eax
cmp dword [eax + 0xee92b4], 0
jne 0x40b5ea
mov eax, 0xa0100002
jmp 0x40b74e
cmp byte [ebx + 0xc], 0x10
ja 0x40b749
mov eax, dword [ebx + 0x10]
cmp eax, 0x1e0
jg 0x40b749
and eax, 0x8000000f
jns 0x40b610
dec eax
or eax, 0xfffffff0
add eax, 1
jne 0x40b749
call fcn.0040cae0
call fcn.0041f516
mov cl, al
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x3d], cl
mov edi, 1
movsx ecx, cl
movd xmm0, ecx
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
movaps xmmword [ebp - 0x60], xmm0
call fcn.0041f516
push eax
call fcn.0041f537
add esp, 4
call fcn.0041f516
mov byte [ebp + edi - 0x20], al
inc edi
cmp edi, 0x19
jb 0x40b646
mov dl, byte [ebp - 0x3d]
mov ecx, dword [ebx + 0x10]
mov al, dl
movups xmm0, xmmword [ebp - 0x1a]
xor al, 0x72
mov byte [ebp - 0x1e], dl
movaps xmm1, xmmword [ebp - 0x60]
mov byte [ebp - 0x1f], al
pxor xmm1, xmm0
mov al, dl
xor al, byte [ebx + 0xc]
mov byte [ebp - 0x1d], al
mov eax, ecx
sar eax, 8
xor al, dl
xor cl, dl
mov byte [ebp - 0x1b], cl
mov ecx, 0x10
mov byte [ebp - 0x1c], al
movups xmmword [ebp - 0x1a], xmm1
nop
lea eax, [ebp - 0x1a]
xor byte [eax + ecx], dl
inc ecx
cmp ecx, 0x12
jl 0x40b6a0
movups xmm0, xmmword [ebp - 0x20]
mov al, byte [ebp - 8]
sub esp, 0x1c
mov ecx, esp
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x10]
movq qword [ecx + 0x10], xmm0
mov byte [ecx + 0x18], al
call fcn.0040ce80
mov byte [ebp - 8], al
add esp, 0x1c
mov eax, dword [ebp - 0x48]
lea edi, [eax + 0xee92c8]
mov ecx, edi
call fcn.0040fe20
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x44]
call fcn.0040cdb0
add esp, 0xc
mov dword [ebp - 0x44], eax
mov ecx, edi
call fcn.0040fe30
lea eax, [ebp - 0x27]
lea ecx, [esi + 0xf]
cmp esi, eax
ja 0x40b735
lea eax, [ebp - 0x36]
cmp ecx, eax
jb 0x40b735
mov cl, byte [ebp - 0x3d]
mov edi, eax
sub edi, esi
mov edx, 0x10
nop dword [eax]
mov al, byte [edi + esi]
lea esi, [esi + 1]
xor al, cl
mov byte [esi - 1], al
sub edx, 1
jne 0x40b720
mov eax, dword [ebp - 0x44]
jmp 0x40b74e
movups xmm0, xmmword [ebp - 0x36]
mov eax, dword [ebp - 0x44]
movaps xmm1, xmmword [ebp - 0x60]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
jmp 0x40b74e
mov eax, 0xa0100004
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004106cd
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
Function at 0x40ce80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x439040]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm1, xmmword [ebp + 8]
mov al, byte [ebp + 0x20]
movq xmm0, qword [ebp + 0x18]
movq qword [ebp - 0x10], xmm0
movaps xmm0, xmm1
psrldq xmm0, 4
movd ecx, xmm1
movd edx, xmm0
mov byte [ebp - 8], al
mov eax, ecx
shr eax, 0x18
shr edx, 8
xor dl, al
mov eax, ecx
movups xmmword [ebp - 0x20], xmm1
shr eax, 0x10
movups xmm0, xmmword [ebp - 0x1a]
xor dl, al
shr ecx, 8
psrldq xmm1, 4
xor dl, cl
movd eax, xmm1
mov ecx, 0x10
xorps xmm1, xmm1
pxor xmm1, xmm0
movaps xmm0, xmm1
xor dl, al
psrldq xmm0, 8
pxor xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
pxor xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 2
pxor xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 1
pxor xmm1, xmm0
movd eax, xmm1
xor dl, al
nop
xor dl, byte [ebp + ecx - 0x1a]
inc ecx
cmp ecx, 0x12
jl 0x40cf20
mov ecx, dword [ebp - 4]
mov al, dl
xor ecx, ebp
call fcn.004106cd
mov esp, ebp
pop ebp
ret