joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b7f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.0043b820
mov esi, dword [ebp + 8]
test al, al
je 0x43b80e
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.0043b830
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x43b960
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 2
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x43b9bc
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43b9bc
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43b9bc
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x43b9bc
cmp dword [ecx + 0x74], 0xe
jbe 0x43b9bc
cmp dword [ecx + 0xe8], 0
je 0x43b9bc
push dword [ebp + 8]
call fcn.0043b830
add esp, 4
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 1]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x45a820
call fcn.0043b600
add esp, 8
cmp dword [ebp - 8], 0
jne 0x43b9f1
push dword [ebp + 8]
call fcn.0043b7f0
mov esp, ebp
pop ebp
ret

Function at 0x43ba30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x43ba8c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43ba8c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43ba8c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x43ba8c
cmp dword [ecx + 0x74], 0xe
jbe 0x43ba8c
cmp dword [ecx + 0xe8], 0
je 0x43ba8c
push dword [ebp + 8]
call fcn.0043b830
add esp, 4
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 1]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x45a820
call fcn.0043b600
add esp, 8
cmp dword [ebp - 8], 0
jne 0x43bac1
push dword [ebp + 8]
call fcn.0043b7f0
mov esp, ebp
pop ebp
ret

Function at 0x43ce20
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0xa4]
shl ecx, 0x10
or ecx, dword [eax + 0xa8]
cmp ecx, 0x60000
jae 0x43ce4a
mov eax, 2
pop ebp
ret
push esi
call fcn.00436860
mov esi, eax
mov eax, dword [ebp + 8]
mov edx, dword [esi + 0x70]
mov ecx, edx
and cl, 2
movzx ecx, cl
neg ecx
sbb ecx, ecx
inc eax
cmp eax, 3
ja case.default.0x43ce6a
jmp dword [eax*4 + 0x43cea0]
or edx, 2
lea eax, [ecx + 2]
mov dword [esi + 0x70], edx
pop esi
pop ebp
ret
and edx, 0xfffffffd
mov dword [esi + 0x70], edx
lea eax, [ecx + 2]
pop esi
pop ebp
ret
call sub.msvcrt.dll__errno
mov dword [eax], 0x16
call fcn.004369a0
or eax, 0xffffffff
pop esi
pop ebp
ret
Function at 0x43ceb0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x504
mov eax, dword [0x459780]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x43cfab
push 0x2d
push esi
call sub.msvcrt.dll_strchr
add esp, 8
test eax, eax
je 0x43cfab
xor ecx, ecx
mov al, byte [ecx + esi]
lea edx, [ecx + ecx]
test al, al
je 0x43cf0a
cbw
inc ecx
mov word [ebp + edx - 0x204], ax
cmp ecx, 0x100
jne 0x43cee8
jmp 0x43cfab
cmp edx, 0x200
jae 0x43d011
xor eax, eax
mov word [ebp + edx - 0x204], ax
lea eax, [ebp - 0x204]
push 0x2d
push eax
call sub.msvcrt.dll_wcsrchr
add esp, 8
test eax, eax
je 0x43cfab
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
lea eax, [ebp - 0x504]
push 0xff
push eax
push 0x1001
lea eax, [ebp - 0x204]
push eax
call edi
test eax, eax
je 0x43cfaa
lea edx, [ebp - 0x504]
mov ecx, 0x5f
lea edx, [edx + eax*2]
mov word [edx - 2], cx
mov ecx, 0x100
sub ecx, eax
lea eax, [ebp - 0x204]
push ecx
push edx
push 0x1002
push eax
call edi
test eax, eax
je 0x43cfaa
lea edi, [ebp - 0x504]
xor eax, eax
nop
movzx ecx, word [edi + eax*2]
lea edx, [ebp - 0x304]
test cx, cx
je 0x43cff3
mov byte [edx + eax], cl
inc eax
cmp eax, 0x100
jne 0x43cf90
pop edi
mov eax, dword [0x45a828]
test eax, eax
jne 0x43cfd1
push str.setlocale
call fcn.0043d860
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x43cfcc
or eax, 0xffffffff
mov dword [0x45a828], eax
lea ecx, [eax + 1]
neg ecx
sbb ecx, ecx
and ecx, eax
je 0x43cfff
push esi
push ebx
call ecx
add esp, 8
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004356ae
mov esp, ebp
pop ebp
ret
mov byte [edx + eax], 0
lea esi, [ebp - 0x304]
jmp 0x43cfaa
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.004356ae
mov esp, ebp
pop ebp
ret
call fcn.00435830
int3
Function at 0x405d6b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a0c], 0
push esi
jne 0x405da2
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405d7c
mov dword [ecx*4 + 0x422a08], eax
inc ecx
cmp ecx, 0x100
jl 0x405d77
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405dd3
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a08]
xor eax, esi
inc ecx
dec edx
jne 0x405db5
pop edi
not eax
pop esi
ret 0xc

Function at 0x43b63d
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x43b3c1
or edi, edi
call fcn.0043b66d
add edi, 0xe5f6b18f
xor dword [ecx], ebx
add edi, 0xc822a488
inc ecx
mov eax, eax
add eax, 0x78d72968
cmp ecx, edx
jne fcn.0043b63d
add edi, 0x93115135
ret
Function at 0x401ea2
Capabilities:
Terminate process

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

Function at 0x4086ca
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x4086d9
pop dword [ebp - 0x20]
mov eax, 0xb198d2dd
add eax, 0x4ea7b3fc
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0xc8185769
sub dword [ebp - 0x30], 0x79c6121e
mov dword [ebp - 0x2c], 0x5e52956b
add dword [ebp - 0x2c], 0xd3e0b6da
mov dword [ebp - 0x28], 0x254626cd
sub dword [ebp - 0x28], 0xd8f9e29f
mov dword [ebp - 0x24], 0x2f1e0852
sub dword [ebp - 0x24], 0x2f1e0852
lea eax, [ebp - 0x30]
push eax
mov eax, 0x6d6683
add eax, 0xffd369d1
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x1fc20535
add dword [ebp - 0x30], 0x54b06421
mov dword [ebp - 0x2c], 0x1136f79c
add dword [ebp - 0x2c], 0x303569d9
mov dword [ebp - 0x28], 0xe6a329c
add dword [ebp - 0x28], 0x550539d0
mov dword [ebp - 0x24], 0x18d3c74
add dword [ebp - 0x24], 0xfe72c38c
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x3e9ad
push 0
call eax
mov ecx, 0xf3e0340f
sub ecx, 0xf3dfd7b8
xor edi, edi
add edi, eax
mov esi, 0xd2a01e12
sub esi, 0xd25e6e12
add esi, dword [ebp - 0x20]
mov ebx, 0x305eb329
xor dword [ebp - 0x1c], eax
mov edx, dword [esi]
xor dword [ebp - 0x18], 0xe53ab139
xor edx, ebx
sub dword [ebp - 8], eax
mov dword [edi], edx
sub dword [ebp - 0x1c], 0x5156d7e9
add edi, 4
add esi, 0x12509871
add esi, 0xedaf6793
loop 0x4087f2
add eax, 0x6e705daf
sub eax, 0x6e6ef980
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xcff46c18
add ecx, 0x304b93e8
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x77cd77a2
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..rdata
mov ebx, 0x4304d8
nop
mov ecx, 0x30550d08
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x401010
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x14], edx
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + ecx + 0x78]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x401084
jmp 0x401115
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 8], 0
jmp 0x4010c3
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0x18]
jae 0x40110d
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00401750
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 0xc]
jne 0x40110b
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x24]
movzx eax, word [edx + ecx*2]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax*4]
mov eax, edx
jmp 0x401117
jmp 0x4010ba
xor eax, eax
jne 0x401055
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x401f59
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401f98
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401f98
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401f98
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401f98
cmp dword [ecx + 0x74], 0xe
jbe 0x401f98
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x406939
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x414014]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x406984
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00406b56
test al, al
jne 0x40697e
sub edx, 2
cmp edx, edi
jne 0x406964
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4069a6
lea eax, [edi + 2]
cmp edx, eax
je 0x4069a6
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00406885
add esp, 0x10
jmp 0x406aa0
push esi
lea ecx, [ebp - 0x255]
call fcn.00406b56
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4069e9
push dword [ebp - 0x25c]
jmp 0x406996
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x406a26
cmp word [ebp - 0x226], 0
je 0x406a47
cmp word [ebp - 0x226], ax
jne 0x406a26
cmp word [ebp - 0x224], 0
je 0x406a47
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00406885
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x406a93
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x406a00
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x406a7b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x406aa0
push 0x4066b5
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00409700
add esp, 0x10
jmp 0x406a70
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402285
leave
ret

Function at 0x4085d3
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x40ffac
push 0x40ffa4
push 0x40ebd4
push 0x1f
call fcn.0040850e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408607
push dword [ebp + 8]
mov ecx, esi
call dword [0x40e104]
call esi
jmp 0x40860d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x408651
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x40ffbc
push 0x40ffb4
push 0x40ebf8
push 0x21
call fcn.0040850e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408688
push dword [ebp + 8]
mov ecx, esi
call dword [0x40e104]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x408690
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x40ffc4
push 0x40ffbc
push 0x40ec0c
push 0x22
call fcn.0040850e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4086ca
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x40e104]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40d420
Capabilities:
Parse pe header

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

Function at 0x425a70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x20000]
push edi
or ebp, 0xffffffff
jmp 0x425a92
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x425a99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x425a88
mov eax, 1
add ebx, ebx
jne 0x425aab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x425aa0
jne 0x425abc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x425aa0
xor ecx, ecx
sub eax, 3
jb 0x425ad0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x425b42
mov ebp, eax
add ebx, ebx
jne 0x425adb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x425ae8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x425b0c
inc ecx
add ebx, ebx
jne 0x425af8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x425aed
jne 0x425b09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x425aed
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x425b2c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x425b1d
jmp 0x425a8e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x425b2c
add edi, ecx
jmp 0x425a8e
pop esi
mov edi, esi
mov ecx, 0x3f4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x425b4a
cmp byte [edi], 3
jne 0x425b4a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x425b4f
lea edi, [esi + 0x23000]
mov eax, dword [edi]
or eax, eax
je 0x425bc7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3951c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x39558]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x425b7c
mov ecx, edi
jns 0x425bab
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x39560]
or eax, eax
je 0x425bc1
mov dword [ebx], eax
add ebx, 4
jmp 0x425b99
call dword [esi + 0x3955c]
mov ebp, dword [esi + 0x39564]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x425bfb
sub esp, 0xffffff80
jmp 0x40152c
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x42e32b67
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..rdata
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x281566b7
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x84c590
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jns 0x84c5a4
add ecx, 3
sar ecx, 2
xor eax, eax
cmp ecx, eax
jle 0x84c5b5
xor dword [edx + eax*4], ebx
inc eax
cmp ecx, eax
jg 0x84c5ad
pop ebx
pop ebp
ret 0xc
Function at 0x4071f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48f09b
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.0048411a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x407272
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048202c
mov eax, dword [eax]
push 0x553c68
push eax
call fcn.00474264
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004843a5
test bl, bl
je 0x407272
push 0x553c68
lea ecx, [esp + 0xc]
call fcn.00484735
push 0x553c74
lea ecx, [esp + 0xc]
call fcn.00484735
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 0x4072ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004843a5
jmp 0x407379
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 0x407332
lea edx, [esp + 0x7c]
push 0x553c70
push edx
call fcn.00474264
add esp, 8
test eax, eax
je 0x407332
lea eax, [esp + 0x7c]
push 0x553c6c
push eax
call fcn.00474264
add esp, 8
test eax, eax
je 0x407332
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 0x4072c2
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.004843a5
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 0x407b70
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x407bd2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x407be0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48f11b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5641e8]
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 0x407d18
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x407c46
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004843a5
xor eax, eax
jmp 0x407d8f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004844e2
push esi
lea ecx, [esp + 0xc]
call fcn.00484771
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x407d6d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00407b70
test eax, eax
jne 0x407d6d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00407b70
test eax, eax
jne 0x407d6d
lea eax, [esp + 0x14]
push 0x553c84
push eax
call fcn.004752e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x407d4c
lea ecx, [esp + 0x14]
push 0x553c80
push ecx
call fcn.00475260
mov esi, eax
add esp, 8
test esi, esi
jne 0x407d4c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x407d4f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00484492
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x407c5e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004843a5
xor eax, eax
jmp 0x407d8f
mov byte [esi], 0
push 0x553c7c
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.004843a5
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