joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10010320
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10010340

Function at 0x10010330
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10010410

Function at 0x10010340
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x1003400c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xd0]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push eax
push edi
lea eax, [ebp - 0xd4]
mov dword [ebp - 0xd4], 4
push eax
mov eax, dword [esi + 4]
push 0
push ebx
mov dword [ebp - 0xd0], 4
push dword [esi + eax*4 + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100103e9
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd8], 0xc8
push eax
lea eax, [ebp - 0xcc]
push eax
mov eax, dword [esi + 4]
push ebx
push dword [esi + eax*4 + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
je 0x100103d4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10013c18
mov esp, ebp
pop ebp
ret 8
push 0xa
lea eax, [ebp - 0xcc]
push 0
push eax
call fcn.10019cf0
add esp, 0xc
mov dword [edi], eax
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10013c18
mov esp, ebp
pop ebp
ret 8

Function at 0x10010440
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov eax, edx
push esi
push edi
mov esi, ecx
lea edi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10010450
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
mov eax, dword [esi + 4]
push edx
push 1
push 0
push dword [ebp + 8]
push dword [esi + eax*4 + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
pop edi
sbb eax, eax
inc eax
pop esi
pop ebp
ret 8

Function at 0x10010490
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
push dword [ebp + 8]
push dword [ecx + eax*4 + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
neg eax
sbb eax, eax
inc eax
pop ebp
ret 4

Function at 0x100104b0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
push dword [ebp + 8]
push dword [ecx + eax*4 + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
neg eax
sbb eax, eax
inc eax
pop ebp
ret 4

Function at 0x100104d0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push 0
push 0
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x100
push eax
push dword [ebp + 0xc]
mov eax, dword [ecx + 4]
push 0
push dword [ecx + eax*4 + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
neg eax
sbb eax, eax
inc eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10010510
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push 0
push 0
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x100
push eax
push dword [ebp + 0xc]
mov eax, dword [ecx + 4]
push 0
push dword [ecx + eax*4 + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
neg eax
sbb eax, eax
inc eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100118d0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10011650

Function at 0x100118e0
Capabilities:
Hash data with crc32

Disassembly:
mov edx, ecx
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x1002df40]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x1002df40]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x1002df40]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x1002df40]
mov eax, edx
ret

Function at 0x10011c40
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10011920

Function at 0x10018af8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.1001880a
mov eax, dword [0x8dfcbf6a]
inc ebp
rcl byte [eax - 0x18], 0xc5
cld
invalid

Function at 0x1001a515
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x7a9], 0
mov byte [ebp - 0x7a8], 0x4e
mov byte [ebp - 0x7a7], 0x55
mov byte [ebp - 0x7a6], 0x56
mov byte [ebp - 0x7a5], 0x7e
mov byte [ebp - 0x7a4], 0x21
mov byte [ebp - 0x7a3], 0x20
mov byte [ebp - 0x7a2], 0x3c
mov byte [ebp - 0x7a1], 0x76
invalid
test dword [eax - 8], esp
invalid
invalid
Function at 0x4025e9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x20c
mov eax, dword [0x47d900]
xor eax, esp
mov dword [esp + 0x208], eax
mov eax, dword [esp + 0x210]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x224]
mov ebp, pe_nt_image_headers32
push edi
xor edi, edi
mov dword [esp + 0x14], eax
mov ecx, edi
mov eax, ecx
mov byte [esp + ecx + 0x18], cl
cdq
idiv dword [esp + 0x22c]
mov al, byte [edx + esi]
mov byte [esp + ecx + 0x118], al
inc ecx
cmp ecx, ebp
jl 0x40261c
mov esi, edi
mov ebx, edi
mov dl, byte [esp + esi + 0x18]
movzx eax, byte [esp + esi + 0x118]
add ebx, eax
movzx ecx, dl
add ebx, ecx
and ebx, 0x800000ff
jns 0x402660
dec ebx
or ebx, 0xffffff00
inc ebx
mov al, byte [esp + ebx + 0x18]
mov byte [esp + esi + 0x18], al
inc esi
mov byte [esp + ebx + 0x18], dl
cmp esi, ebp
jl 0x40263d
mov ebx, edi
mov ebp, edi
cmp dword [esp + 0x224], ebx
jle 0x402711
inc edi
and edi, 0x800000ff
jns 0x402693
dec edi
or edi, 0xffffff00
inc edi
mov cl, byte [esp + edi + 0x18]
movzx esi, cl
add ebx, esi
and ebx, 0x800000ff
jns 0x4026ac
dec ebx
or ebx, 0xffffff00
inc ebx
mov al, byte [esp + ebx + 0x18]
sub esp, 0x10
movaps xmm0, xmmword [0x423450]
mov byte [esp + edi + 0x28], al
mov byte [esp + ebx + 0x28], cl
movups xmmword [esp], xmm0
call fcn.0040acb0
add esp, 0xc
mov ecx, 0x47e958
fstp dword [esp + 0x14]
movss xmm0, dword [esp + 0x14]
movss dword [esp], xmm0
call fcn.004022db
push eax
call fcn.00401c08
movzx eax, byte [esp + edi + 0x1c]
add eax, esi
pop ecx
mov ecx, dword [esp + 0x14]
movzx eax, al
mov al, byte [esp + eax + 0x18]
xor byte [ecx + ebp], al
inc ebp
cmp ebp, dword [esp + 0x224]
jl 0x402682
mov ecx, dword [esp + 0x218]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040640a
add esp, 0x20c
ret

Function at 0x4032df
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
push edi
mov edi, dword [esp + 0xc]
cmp dword [esp + 0x10], esi
jbe 0x40331c
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x15
push 0
mov byte [edi + esi], al
call dword [sym.imp.USER32.dll_OpenIcon]
mov al, byte [edi + esi]
sub al, 0x57
xor al, 0x74
add al, 0x4e
xor al, 0x70
sub al, 0x65
xor al, 0x22
sub al, 0x73
xor al, 0x2a
mov byte [edi + esi], al
inc esi
cmp esi, dword [esp + 0x10]
jb 0x4032ed
pop edi
pop esi
ret
Function at 0x403f87
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push str.VirtualProtect
xor ebx, ebx
push str.kernel32.dll
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 4]
mov edi, 0x4ac
push ecx
push 0x40
push edi
mov esi, 0x47d428
push esi
call eax
push edi
push esi
call fcn.004032df
pop ecx
pop ecx
call fcn.004032c5
push ebx
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, 0x47d428
add edx, 0x188
mov esi, 0x42d028
push esi
call edx
push str.dsikfhucIUsioa
push 0x47e958
call fcn.00401100
push eax
call fcn.00401c08
add esp, 0xc
push ebx
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
push ebx
push ebx
push ebx
call dword [sym.imp.GDI32.dll_GdiComment]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0x406bb7
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x406bf6
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x406bf6
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x406bf6
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x406bf6
cmp dword [ecx + 0x74], 0xe
jbe 0x406bf6
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x415a78
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x427258
push 0x427250
push str.FlsAlloc
push 0x1e
call fcn.004158e5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x415aac
push dword [ebp + 8]
mov ecx, esi
call dword [0x423150]
call esi
jmp 0x415ab2
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x415af6
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x427268
push 0x427260
push str.FlsGetValue
push 0x20
call fcn.004158e5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x415b2d
push dword [ebp + 8]
mov ecx, esi
call dword [0x423150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x416efd
Capabilities:
Read file on windows

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

Function at 0x416f08
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00416d2e
Function at 0x418573
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00406f20
mov eax, dword [0x47d900]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004152c4
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4185b5
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x418711
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00422050
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x47f210]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00418999
mov ecx, dword [esi*4 + 0x47f210]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41870a
cmp eax, dword [edi + ecx + 0x24]
jne 0x41870a
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41870a
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00418999
add esp, 0x14
test edx, edx
jl 0x41870a
jg 0x418680
test eax, eax
jb 0x41870a
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41870a
jl 0x41869a
cmp dword [ebp - 0x1008], eax
ja 0x41870a
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4186b8
test ebx, ebx
je 0x4186f1
cmp ecx, edi
jae 0x4186f1
mov al, byte [ecx]
cmp al, 0xd
jne 0x4186d2
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4186de
cmp byte [ecx + 1], 0xa
jne 0x4186de
inc ecx
jmp 0x4186de
movzx eax, al
movsx eax, byte [eax + 0x47e280]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4186b8
cmp edx, ebx
jne 0x4186b8
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41870f
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040640a
leave
ret
Function at 0x41a228
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x41a2c5
push ebx
push esi
call fcn.0041a1f1
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00418e76
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41a272
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41a2c4
push edi
push eax
call fcn.00414362
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41a292
call fcn.00414328
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41a2c3
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00418e76
add esp, 0x20
test eax, eax
jne 0x41a2b1
push edi
call fcn.00414328
jmp 0x41a2b9
push ebx
call fcn.00414328
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x41f1a9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x47f210]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41f1e9
cmp byte [ebx], 0xa
jne 0x41f1e9
or byte [eax + edi + 0x28], 4
jmp 0x41f1ee
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41f2ec
mov al, byte [edx]
cmp al, 0x1a
je 0x41f2ce
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41f21d
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41f242
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41f24c
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41f1ff
jmp 0x41f2ec
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f2c9
cmp dword [ebp - 0xc], 0
je 0x41f2c9
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x47f210]
test byte [eax + edi + 0x28], 0x48
je 0x41f2a3
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41f28e
mov byte [esi], dl
jmp 0x41f29f
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x47f210]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41f2ec
cmp byte [ebp - 1], 0xa
jne 0x41f2b2
cmp esi, ebx
jne 0x41f2b2
mov byte [esi], 0xa
jmp 0x41f2eb
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004189b7
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41f2ec
mov byte [esi], 0xd
jmp 0x41f2eb
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x47f210]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41f2e8
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41f2ec
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41f2f5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x47f210]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41f338
cmp word [esi], dx
jne 0x41f338
or byte [edi + eax + 0x28], 4
jmp 0x41f33d
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41f490
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41f470
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41f37f
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41f3b5
cmp eax, edx
jae 0x41f3c1
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41f357
jmp 0x41f490
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f46c
cmp dword [ebp - 0x14], 0
je 0x41f46c
mov eax, dword [ebx*4 + 0x47f210]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41f444
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41f40d
mov word [esi], cx
jmp 0x41f440
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x47f210]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x47f210]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x47f210]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41f490
pop ebx
cmp word [ebp - 4], bx
jne 0x41f455
cmp esi, dword [ebp + 0xc]
jne 0x41f455
mov word [esi], bx
jmp 0x41f48d
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004189b7
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41f490
push 0xd
jmp 0x41f489
mov ecx, dword [ebx*4 + 0x47f210]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41f487
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41f490
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x421e50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x421e7d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x421e7d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x45da90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x38000]
push edi
or ebp, 0xffffffff
jmp 0x45dab2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x45dab9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45daa8
mov eax, 1
add ebx, ebx
jne 0x45dacb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45dac0
jne 0x45dadc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45dac0
xor ecx, ecx
sub eax, 3
jb 0x45daf0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45db62
mov ebp, eax
add ebx, ebx
jne 0x45dafb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x45db08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x45db2c
inc ecx
add ebx, ebx
jne 0x45db18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45db0d
jne 0x45db29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45db0d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45db4c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45db3d
jmp 0x45daae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45db4c
add edi, ecx
jmp 0x45daae
pop esi
lea edi, [esi + 0x5b000]
mov eax, dword [edi]
or eax, eax
je 0x45dbab
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5d22c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5d2d4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45db69
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5d2dc]
or eax, eax
je 0x45dba5
mov dword [ebx], eax
add ebx, 4
jmp 0x45db86
call dword [esi + 0x5d2d8]
mov ebp, dword [esi + 0x5d2e0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x45dbdf
sub esp, 0xffffff80
jmp 0x401710
Function at 0x6e90659c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [ebp + 8]
mov dword [ebp - 0xac], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
mov eax, dword [ebp - 0xac]
mov eax, dword [eax]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x90], 0
cmp dword [ebp + 0x10], 0
jns 0x6e9065e0
mov eax, 0xffffffff
jmp 0x6e906779
mov eax, dword [ebp - 0xac]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x6e9066e5
call sym.libevent_core_2_1_6.dll_evthreadimpl_is_lock_debugging_enabled_
test eax, eax
je 0x6e9066e5
mov eax, dword [ebp - 0xac]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call sym.libevent_core_2_1_6.dll_evthread_is_debug_lock_held_
test eax, eax
sete al
movzx eax, al
test eax, eax
je 0x6e9066e5
mov dword [esp + 0x14], str.evbuffer_write_iovec
mov dword [esp + 0x10], str.evthread_is_debug_lock_held___buffer___lock_
mov dword [esp + 0xc], 0x96d
mov dword [esp + 8], str.buffer.c
mov dword [esp + 4], 0x6e92b01c
mov dword [esp], 0xdeaddead
call sym.libevent_core_2_1_6.dll_event_errx
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x1c]
mov eax, dword [ebp - 0x98]
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
lea edx, [ecx + eax]
mov eax, dword [ebp - 0x90]
mov dword [ebp + eax*8 - 0x88], edx
mov eax, dword [ebp - 0x98]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp + 0x10]
cmp edx, eax
ja 0x6e9066bc
mov eax, dword [ebp - 0x90]
lea edx, [eax + 1]
mov dword [ebp - 0x90], edx
mov edx, dword [ebp - 0x98]
mov edx, dword [edx + 0x10]
mov dword [ebp + eax*8 - 0x8c], edx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x10]
sub edx, eax
mov eax, edx
mov dword [ebp + 0x10], eax
jmp 0x6e9066d7
mov eax, dword [ebp - 0x90]
lea edx, [eax + 1]
mov dword [ebp - 0x90], edx
mov edx, dword [ebp + 0x10]
mov dword [ebp + eax*8 - 0x8c], edx
jmp 0x6e906701
mov eax, dword [ebp - 0x98]
mov eax, dword [eax]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
je 0x6e906701
cmp dword [ebp - 0x90], 0xf
jg 0x6e906701
cmp dword [ebp + 0x10], 0
jne 0x6e906653
cmp dword [ebp - 0x90], 0
jne 0x6e906711
mov eax, 0
jmp 0x6e906779
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
lea ecx, [ebp - 0x9c]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
lea edx, [ebp - 0x8c]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_WSASend]
call eax
sub esp, 0x1c
test eax, eax
je 0x6e906767
mov dword [ebp - 0x94], 0xffffffff
jmp 0x6e906773
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0xc]
xor ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x6e906789
call sym.___stack_chk_fail
leave
ret