joyce8/EMBER2024-capa huggingface dataset:
Function at 0xc140b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0xc14200
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xc140d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc140c2
add dl, dl
jne 0xc140e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc14134
xor eax, eax
add dl, dl
jne 0xc140ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc141d5
add dl, dl
jne 0xc140fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc14108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc14113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc1411e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xc1412a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xc140cd
mov eax, 1
add dl, dl
jne 0xc14142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc1414d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc14139
sub eax, ebx
mov ebx, 1
jne 0xc14180
mov ecx, 1
add dl, dl
jne 0xc14166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc14171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc1415d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc140cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xc14197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc141a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc1418e
cmp eax, 0x7d00
jae 0xc141c5
cmp eax, 0x500
jb 0xc141c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc140cd
cmp eax, 0x7f
ja 0xc141c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc140cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xc141f6
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 0xc140cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0xf8d390
Capabilities:
Encode data using xor

Disassembly:
jmp 0xf8d39a
pushal
call 0xf8d3a0
pop ebp
sub ebp, 0x10
sub ebp, 0xb8d390
jmp 0xf8d3b6
mov eax, 0xb8d390
add eax, ebp
add eax, 0x4c
mov ecx, 0x5f8
mov edx, 0xe547858d
xor byte [eax], dl
inc eax
dec ecx
jne 0xf8d3cd
jmp 0xf8d3e0
push es
inc eax
push es
add al, 0xb1
lea ecx, [ebp + 0x754c0c8d]
lea ecx, [ebp + 0x35408e8d]
mov byte [ebp - 0x5ac87273], cl
lea ecx, [ebp - 0x71908573]
inc ebp
push es
or al, 0x81
lea ecx, [ebp - 0x22b77173]
add cl, ch
test eax, 0xa9890471
in eax, 0x6d
adc dword [ebp - 0x44c21a73], ebp
adc eax, 0xa9a18c8d
in eax, 0x55
ror dword [ebx + 0x22], 1
mov byte gs:[ebp - 0x5c9b7273], cl
lea ecx, [ebp - 0x5616ff73]
jno 0xf8d433
mov eax, dword [0x6d0d9a9]
push es
or byte [ebp + 0x68d8d8d], al
sbb byte [ecx + 0x68d8d8d], al
add byte [ebp + 0x4c8d8d8d], bl
invalid
Function at 0x438ca8
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov ecx, 0x438a14
mov eax, 0x756e0143
call fcn.00438ce6
mov eax, 0x401733f5
mov edx, 0xbb4d2c63
xor dword [ebx], ecx
or eax, eax
add ebx, 1
sub edx, 0xa2229e
cmp ebx, esi
jne fcn.00438ca8
mov edx, edx
inc eax
sub edx, 0xe1a5b4b8
ret

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40501c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x405028
push 0x405024
push 0x405020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x405028]
push dword [0x405024]
push dword [0x405020]
mov dword [0x405014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x3f553fae
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..data_1
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x191467fe
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x4015c0
Capabilities:
Set registry value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ecx
sub esp, 0x54
call sym.___main
mov byte [ebp - 9], 0
mov dword [esp], str.Updating_license
call sym._puts
lea eax, [ebp - 0x20]
mov dword [esp + 0x20], eax
lea eax, [ebp - 0x1c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.SOFTWAREecorisqOrganizationDefaults
mov dword [esp], 0x80000002
mov eax, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
call eax
sub esp, 0x24
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], str.licenceKey
mov eax, dword [str.vsH3SM9bJqEz]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sym._strlen
lea edx, [eax + 1]
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x14], edx
mov edx, dword [ebp - 0x18]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov edx, dword [ebp - 0x14]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call eax
sub esp, 0x18
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call eax
sub esp, 4
mov dword [ebp - 0x10], eax
cmp byte [ebp - 9], 0
je 0x4016b6
mov dword [esp], str.Exiting_with_errors...
call sym._puts
mov eax, 1
jmp 0x4016c7
mov dword [esp], str.Done_
call sym._puts
mov eax, 0
mov ecx, dword [ebp - 4]
leave
lea esp, [ecx - 4]
ret
Function at 0x401ae0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x4063a0]
test esi, esi
jle 0x401bf0
mov edi, dword [0x4063a4]
xor ebx, ebx
lea edx, [edi + 0xc]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x401b14
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x401b95
add ebx, 1
add edx, 0x14
cmp ebx, esi
jne 0x401b00
mov dword [esp], eax
mov ebx, eax
call sym.___mingw_GetSectionForAddress
test eax, eax
mov edi, eax
je 0x401c17
mov eax, dword [0x4063a4]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call sym.__GetPEImageBase
add eax, dword [edi + 0xc]
mov edx, dword [0x4063a4]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x401bf7
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x401b8e
sub eax, 4
and eax, 0xfffffffb
jne 0x401ba0
add dword [0x4063a0], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
add ebx, dword [0x4063a4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x401b8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call sym.___report_error
lea esi, [esi]
xor esi, esi
jmp 0x401b1e
mov eax, dword [0x4063a4]
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 sym.___report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call sym.___report_error
mov esi, esi
lea edi, [edi]

Function at 0x402050
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x4063b8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4063b0]
sub esp, 4
test ebx, ebx
je 0x4020a5
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 0x40209e
test esi, esi
je 0x40209e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402080
mov dword [esp], 0x4063b8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x402740
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call sym.___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 sym.___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
nop
nop
nop
nop
nop
Function at 0x402461
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 4, 0
mov esi, eax
lea edx, [eax - 1]
mov ebx, eax
and edx, dword [0x404050]
mov eax, 0x404054
call fcn.0040238b
lea edx, [ebp - 4]
push edx
mov edx, esi
or dl, 0x40
mov edi, 0x402f8b
push edx
sub edi, fcn.00402735
push edi
xor eax, eax
push fcn.00402735
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp - 4], 0
je 0x4024cc
mov eax, fcn.00402735
mov ebx, esi
mov edx, edi
call fcn.0040238b
mov edx, 0x1c000
mov eax, 0x404054
mov ebx, esi
call fcn.004024ff
leave
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret

Function at 0x424040
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x350
push ebx
push ebp
push esi
mov esi, dword [esp + 0x360]
push edi
xor edi, edi
mov dword [esp + 0x14], ecx
push esi
mov dword [esp + 0x14], edi
call fcn.0040c9d0
add esp, 4
test eax, eax
je 0x42420e
mov ebx, dword [esp + 0x368]
test ebx, ebx
je 0x42420e
mov edi, dword [sym.imp.KERNEL32.DLL_lstrcpyA]
lea eax, [esp + 0x18]
push esi
push eax
call edi
lea ecx, [esp + 0x18]
push 0x104
push ecx
call fcn.0040ce70
mov ebp, dword [sym.imp.KERNEL32.DLL_lstrcatA]
add esp, 8
lea edx, [esp + 0x18]
push ebx
push edx
call ebp
lea eax, [esp + 0x220]
lea ecx, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x424137
call fcn.004246e0
lea edx, [esp + 0x11c]
push esi
push edx
call edi
lea eax, [esp + 0x11c]
push 0x104
push eax
call fcn.0040ce70
add esp, 8
lea ecx, [esp + 0x24c]
lea edx, [esp + 0x11c]
push ecx
push edx
call ebp
test byte [esp + 0x220], 0x10
jne 0x42411d
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x11c]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
jl 0x42411d
inc dword [esp + 0x10]
lea eax, [esp + 0x220]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x4240c3
push ebx
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea ecx, [esp + 0x18]
push esi
push ecx
call edi
lea edx, [esp + 0x18]
push 0x104
push edx
call fcn.0040ce70
add esp, 8
lea eax, [esp + 0x18]
push 0x42b1bc
push eax
call ebp
lea ecx, [esp + 0x220]
lea edx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4241fd
call fcn.004246e0
test byte [esp + 0x220], 0x10
je 0x4241e3
cmp byte [esp + 0x24c], 0x2e
je 0x4241e3
lea eax, [esp + 0x11c]
push esi
push eax
call edi
lea ecx, [esp + 0x11c]
push 0x104
push ecx
call fcn.0040ce70
add esp, 8
lea edx, [esp + 0x24c]
lea eax, [esp + 0x11c]
push edx
push eax
call ebp
mov ecx, dword [esp + 0x368]
lea edx, [esp + 0x11c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.00424040
add dword [esp + 0x10], eax
lea eax, [esp + 0x220]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x42417b
push ebx
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x350
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x350
ret 8
Function at 0x100012dc
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x18
mov eax, dword [0x10006008]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push ebp
mov ebp, dword [esp + 0x24]
xor eax, eax
and dword [esp + 0x14], eax
and dword [esp + 0x18], eax
push esi
mov ebx, dword [ebp + 4]
sub ebx, dword [ebp]
push edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
lea edi, [ebx + 4]
test edi, edi
je 0x10001344
push edi
lea ecx, [esp + 0x1c]
call fcn.100024bb
mov esi, dword [esp + 0x18]
push edi
push 0
push esi
call sub.VCRUNTIME140.dll_memset
and dword [esp + 0x1c], 0
lea eax, [esi + edi]
add esp, 0xc
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x10]
call fcn.10002485
mov eax, dword [esp + 0x18]
mov dword [eax], ebx
mov eax, dword [ebp + 4]
sub eax, dword [ebp]
push eax
mov eax, dword [esp + 0x1c]
push dword [ebp]
add eax, 4
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ebx, dword [esp + 0x20]
add esp, 0xc
xor esi, esi
mov ecx, dword [ebx + 0x10]
xor edx, edx
inc edx
xor eax, eax
lock cmpxchg dword [ecx], edx
test eax, eax
jne 0x10001366
mov ecx, dword [esp + 0x1c]
mov eax, ecx
mov edx, dword [esp + 0x18]
sub eax, edx
je 0x100013af
sub ecx, edx
lea eax, [edx + esi]
push 0
sub ecx, esi
push ecx
push eax
push dword [ebx + 0xc]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x100013af
mov ecx, dword [esp + 0x1c]
add esi, eax
mov edx, dword [esp + 0x18]
mov eax, ecx
sub eax, edx
cmp esi, eax
jb 0x10001384
mov eax, dword [ebx + 0x10]
xor ecx, ecx
xchg dword [eax], ecx
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
test ecx, ecx
je 0x100013cd
mov edx, dword [esp + 0x10]
sub edx, ecx
call fcn.10002419
mov ecx, dword [esp + 0x14]
mov al, 1
xor ecx, esp
call fcn.10002b16
add esp, 0x18
ret 4
Function at 0x100013e0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ecx
push ecx
mov eax, dword [0x10006008]
xor eax, esp
mov dword [esp + 4], eax
and dword [esp], 0
push ebx
push ebp
mov ebp, dword [0x1000642c]
push esi
push edi
mov edi, dword [esp + 0x1c]
xor esi, esi
push 0
push 4
pop eax
sub eax, esi
push eax
lea eax, [esp + 0x18]
add eax, esi
push eax
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x10001499
add esi, eax
cmp esi, 4
jl 0x10001401
mov ebx, dword [edi + 4]
mov ecx, ebx
mov edx, dword [edi]
sub ecx, edx
mov esi, dword [esp + 0x10]
cmp esi, ecx
jae 0x1000143b
lea eax, [edx + esi]
jmp 0x1000146a
jbe 0x1000146d
mov eax, dword [edi + 8]
sub eax, edx
cmp esi, eax
jbe 0x10001455
push ecx
push esi
mov ecx, edi
call fcn.1000284f
mov esi, dword [esp + 0x10]
jmp 0x1000146d
sub esi, ecx
push esi
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
lea eax, [esi + ebx]
add esp, 0xc
mov esi, dword [esp + 0x10]
mov dword [edi + 4], eax
xor ebx, ebx
test esi, esi
jle 0x10001495
mov eax, dword [edi]
sub esi, ebx
push 0
push esi
add eax, ebx
push eax
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x10001499
mov esi, dword [esp + 0x10]
add ebx, eax
cmp ebx, esi
jl 0x10001473
mov al, 1
jmp 0x1000149b
xor al, al
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10002b16
pop ecx
pop ecx
ret 4

Function at 0x100014af
Capabilities:
Connect socket
Connect udp socket
Convert ip address from string
Create udp socket
Initialize winsock library
Set socket configuration

Disassembly:
push 0x1a8
mov eax, 0x10003c7c
call fcn.1000395e
and dword [ebp - 4], 0
lea eax, [ebp - 0x1b4]
mov esi, dword [0x1000642c]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 6
xor ebx, ebx
inc ebx
push ebx
push 2
pop edi
push edi
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0xc], eax
cmp eax, 0xffffffff
je 0x10001553
push 4
call fcn.10002b24
pop ecx
push dword [ebp + 0x20]
mov dword [esi + 0x10], eax
and dword [eax], 0
mov word [ebp - 0x24], di
call dword [sym.imp.WS2_32.dll_htons]
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x20]
mov word [ebp - 0x22], ax
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push eax
push edi
call dword [sym.imp.WS2_32.dll_inet_pton]
push 0x10
lea eax, [ebp - 0x24]
push eax
push dword [esi + 0xc]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x10001553
push 4
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
push ebx
push 6
push dword [esi + 0xc]
call dword [sym.imp.WS2_32.dll_setsockopt]
jmp 0x10001555
xor bl, bl
lea ecx, [ebp + 8]
call fcn.10001cdd
mov al, bl
call fcn.1000391c
ret 0x1c
Function at 0x100027d2
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
mov esi, dword [esp + 8]
mov edx, 0x811c9dc5
xor ecx, ecx
movzx eax, byte [ecx + esi]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 4
jb 0x100027de
pop esi
mov eax, edx
ret 4

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x20b74076
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x6c6a3f5a
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x10001fd6
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x130
mov eax, esp
mov dword [eax + 8], 0xae0
mov dword [eax + 4], 0xbd0c7b
mov dword [eax], 0xbb4674
mov eax, dword [sym.imp.USER32.dll_InvalidateRgn]
call eax
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0xfd7bd4
mov ecx, dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov dword [esp + 0x5c], eax
call ecx
sub esp, 4
xor ecx, ecx
lea edx, [esp + 0x70]
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], ecx
jmp 0x10002047
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x4c]
add eax, 1
cmp eax, 0x299
mov dword [esp + 0x48], eax
je 0x100020a5
jmp 0x1000206c
mov eax, dword [esp + 0x50]
mov ecx, esp
mov dword [ecx], 5
mov ecx, dword [sym.imp.ADVAPI32.dll_GetSidLengthRequired]
mov dword [esp + 0x44], eax
call ecx
sub esp, 4
xor ecx, ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x48]
mov ecx, 0xf
mov dword [esp + 0x4c], eax
xor edx, edx
div ecx
cmp edx, 1
jne 0x10002031
mov eax, esp
mov dword [eax + 4], 0x2f90a7
mov dword [eax], 0x58
mov eax, dword [sym.imp.USER32.dll_VkKeyScanExA]
call eax
sub esp, 8
mov word [esp + 0x3e], ax
jmp 0x10002031
mov eax, dword [esp + 0x44]
sub eax, 0xc
mov dword [esp + 0x38], eax
je 0x10002115
jmp 0x100020b4
mov eax, dword [esp + 0x44]
sub eax, 0x3e
mov dword [esp + 0x34], eax
jne 0x10002154
jmp 0x100020c7
mov eax, esp
lea ecx, [esp + 0x60]
mov dword [eax + 0xc], ecx
mov dword [eax + 8], 0x3e5
mov dword [eax + 4], 0x8de4e7
mov dword [eax], 0x7a43a8
mov eax, dword [sym.imp.USER32.dll_GetMenuItemRect]
call eax
sub esp, 0x10
mov ecx, esp
mov dword [ecx], 0xc2f83a
mov ecx, dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov dword [esp + 0x30], eax
call ecx
sub esp, 4
mov ecx, dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [esp + 0x2c], eax
call ecx
mov dword [esp + 0x28], eax
xor eax, eax
mov ecx, 0xc0
mov edx, dword [esp + 0x54]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0xc0
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
call sub.msvcrt.dll_memset
mov eax, esp
lea ecx, [esp + 0x70]
mov dword [eax], ecx
call sub.POWRPROF.dll_WriteGlobalPwrPolicy
sub esp, 4
mov byte [esp + 0x1f], al
mov eax, dword [esp + 0x44]
add eax, 1
mov ecx, esp
mov dword [ecx], 0xac29ec
mov ecx, dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov dword [esp + 0x18], eax
call ecx
sub esp, 4
mov ecx, dword [esp + 0x18]
cmp ecx, 0xa3
mov dword [esp + 0x14], eax
mov dword [esp + 0x50], ecx
je 0x1000202d
jmp 0x10002047
Function at 0x1000b954
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x102ee488], 0x1bef
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1000d63c]
mov dh, byte [eax + 0x1000d60d]
sub dh, dl
mov byte [ebp + eax - 0x20], dh
cmp ecx, 0xe
mov dword [ebp - 0x2c], ecx
jne 0x1000b975
lea eax, [ebp - 0x20]
mov dword [0x102ee48c], 0x5f3
mov dword [0x102ee488], 0x1528
mov dword [ebp - 0x30], eax
call fcn.1000be98
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.1000b7f7
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x1000ba80
mov eax, dword [ebp - 0x34]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.1000bf55
xor eax, eax
mov ecx, dword [0x102ee488]
add ecx, 0x25d2
mov dword [0x102ee48c], ecx
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x24], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x38], ecx
mov dword [0x102ee488], 0x14a0
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x1000ba80
mov dword [0x102ee488], 0x3b87
mov eax, dword [ebp - 0x3c]
add eax, 0x1952
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop ebp
ret