joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100d9700
Capabilities:
Check if file exists
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10118d7f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1015e404]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x58
call fcn.10067a5e
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x100d9757
push 0x58
push 0
push esi
call fcn.100dd9d0
add esp, 0xc
mov ecx, esi
call fcn.100d8b30
mov esi, eax
jmp 0x100d9759
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x14], 8
jb 0x100d976b
mov edi, dword [edi]
test edi, edi
je 0x100d9808
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100d9808
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x100d9808
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0x14], eax
cmp eax, 0x16
jb 0x100d9808
push 0
push 0
push 0
push 2
push 0
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp dword [esi + 4], 0
mov dword [esi + 8], eax
je 0x100d9808
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0xc], eax
test eax, eax
je 0x100d9808
push dword [esi + 0x14]
mov ecx, esi
push eax
call fcn.100d8f90
test eax, eax
je 0x100d9808
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x100d981e
mov ecx, esi
call fcn.100d8c50
push 0x58
push esi
call fcn.10067a8e
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100da050
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
test edx, edx
je 0x100da14f
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x100da14f
or eax, 0xffffffff
cmp esi, 8
jb 0x100da127
push edi
mov edi, esi
shr edi, 3
nop dword [eax]
movzx ecx, byte [edx]
sub esi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x101364b0]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x101364b0]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x101364b0]
movzx ecx, byte [edx + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x101364b0]
movzx ecx, byte [edx + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x101364b0]
movzx ecx, byte [edx + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x101364b0]
movzx ecx, byte [edx + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x101364b0]
movzx ecx, byte [edx + 7]
add edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x101364b0]
sub edi, 1
jne 0x100da080
pop edi
test esi, esi
je 0x100da14a
nop dword [eax + eax]
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x101364b0]
sub esi, 1
jne 0x100da130
not eax
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x101037a1
Capabilities:
Read file on windows

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

Function at 0x10109c64
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10109b69

Function at 0x1010ad2c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1010a9ec
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45d008]
jne 0x40100a
repz ret
jmp fcn.00401878

Function at 0x407c90
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00403d87
and dword [ebp - 4], 0
cmp dword [0x45f108], 0
mov ebx, eax
jne 0x407d41
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407df2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x407df2
push eax
call fcn.00403d15
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x45f108], eax
call esi
push eax
call fcn.00403d15
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45f10c], eax
call esi
push eax
call fcn.00403d15
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45f110], eax
call esi
push eax
call fcn.00403d15
pop ecx
mov dword [0x45f118], eax
test eax, eax
je 0x407d41
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403d15
pop ecx
mov dword [0x45f114], eax
mov eax, dword [0x45f114]
cmp eax, ebx
je 0x407d99
cmp dword [0x45f118], ebx
je 0x407d99
push eax
call fcn.00403d90
push dword [0x45f118]
mov esi, eax
call fcn.00403d90
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x407d99
test edi, edi
je 0x407d99
call esi
test eax, eax
je 0x407d90
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407d90
test byte [ebp - 0xc], 1
jne 0x407d99
or dword [ebp + 0x10], 0x200000
jmp 0x407dd2
mov eax, dword [0x45f10c]
cmp eax, ebx
je 0x407dd2
push eax
call fcn.00403d90
pop ecx
test eax, eax
je 0x407dd2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407dd2
mov eax, dword [0x45f110]
cmp eax, ebx
je 0x407dd2
push eax
call fcn.00403d90
pop ecx
test eax, eax
je 0x407dd2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45f108]
call fcn.00403d90
pop ecx
test eax, eax
je 0x407df2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407df4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x455c90
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x804
mov eax, dword [0x45d008]
xor eax, esp
mov dword [esp + 0x800], eax
mov eax, dword [0x45e000]
push ebx
mov ebx, dword [0x2b5d1ec]
push edi
mov edi, dword [0x2b5d034]
call fcn.00455ba0
cmp dword [0x2b5d1ec], 0x2f
jne 0x455ccb
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
call fcn.00455be0
cmp dword [0x2b5d1ec], 0x568
pop edi
pop ebx
jne 0x455d02
push 0
push 0
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push 0
lea ecx, [esp + 0x404]
push ecx
push str.Muvedipumob_hiwolucuwe_vusovamovuse
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.00401000
add esp, 0x804
ret
Function at 0x4bc92d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c5398
cmp edx, dword [eax]
je 0x4bc94f
add eax, 8
inc ecx
cmp eax, 0x4c5428
jl 0x4bc940
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c5398]
jne 0x4bca7d
mov eax, dword [0x4cad20]
cmp eax, 1
je 0x4bca57
test eax, eax
jne 0x4bc980
cmp dword [0x4c52c4], 1
je 0x4bca57
cmp edx, 0xfc
je 0x4bca7d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bc9b7
lea eax, [ebp - 0x1a4]
push 0x4c1ad8
push eax
call fcn.004bd310
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bd7a0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bc9fa
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bd7a0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c1ad4
push edi
call fcn.004bf670
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c1ab8
push eax
call fcn.004bd310
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bd320
lea eax, [ebp - 0xa0]
push 0x4c1ab4
push eax
call fcn.004bd320
push dword [esi + 0x4c539c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bd320
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c1a8c
push eax
call fcn.004bf5e4
add esp, 0x2c
pop edi
jmp 0x4bca7d
lea eax, [ebp + 8]
lea esi, [esi + 0x4c539c]
push 0
push eax
push dword [esi]
call fcn.004bd7a0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x6b28e5
Capabilities:
Encode data using xor

Disassembly:
imul edx, dword [edi - 0x7b], 0x1c
and eax, 0xa4eb63d9
fldenv [ebx - 0x15]
movsb byte es:[edi], byte [esi]
jo 0x6b292c
bnd jae 0x6b28ea
dec ecx
cmp bl, byte [edx]
mov fs, word [ebx + 0x408bc24d]
mov ecx, 0x1cc77a78
dec ebp
mov al, dh
dec esi
add al, 0xce
pop edx
push ds
scasb al, byte es:[edi]
in eax, 0x17
daa
std
aaa
xchg ebp, eax
mov dl, 0x94
aaa
imul ebp, dword [ecx + 0xe], 0x103a0182
movsb byte es:[edi], byte [esi]
invalid
out 0x50, al
xchg esi, eax
inc edi
invalid

Function at 0x6bc6ae
Capabilities:
Encode data using xor

Disassembly:
sahf
cmp dword [esi], edi
jl 0x6bc6f1
mov byte [0x480ed5aa], al
insd dword es:[edi], dx
xchg ebp, eax
pop edx
or eax, 0xd85ec0f
jnp 0x6bc6bc
paddsb mm0, qword [ebp + 0x11fa7b0d]
mov al, byte [0x625fd3ed]
adc dword [eax + 0x625fd3ed], esp
scasd eax, dword es:[edi]
mov bh, 0x1d
ja 0x6bc720
aam 0xe
fisttp dword [edx + 0x6a]
pop esi
dec eax
xor esi, edx
inc edx
insb byte es:[edi], dx
add eax, 0x7604e216
in al, 0xc7
mov eax, dword [edx - 0x41652606]
int3
insb byte es:[edi], dx
push es
mov esi, 0xba51f508
sub al, 0xc4
push ebp
fist word [eax - 0x10]
sar byte [eax], cl
loope 0x6bc751
lodsb al, byte [esi]
in al, 0x60
in al, 0x15
outsd dx, dword [esi]
adc dword [ecx], 0xf86b0e7f
xchg esp, eax
dec eax
fldenv [eax + esi*4]
pop ebp
adc byte [edx - 0x40], al
jnp 0x6bc6cf
out 9, eax
jle 0x6bc773
loopne 0x6bc772
push ecx
sub byte [esi - 0x61], ch
in al, 0xee
cdq
test ah, 0xc2
pop ecx
inc ecx
push ds
out 0x92, al
setle byte [esi - 0x69]
push 0x62b170ce
jo 0x6bc790
js 0x6bc770
sahf
aaa
pop ds
popfd
loop 0x6bc754
pushal
out 0x2d, al
mul byte [eax + 0x2e]
aad 0xba
shr dword [edx + 0x49d64d67], 9
pop es
dec ecx
or dword [edi], eax
adc eax, 0x28688b6
sbb bh, byte [esi - 0x79c406fd]
sbb al, 0x12
invalid
aaa
adc al, 0x3c
cmp al, 0xf5
cmc
mov dh, 0xc9
mov esi, 0x36482715
jnp 0x6bc7b2
inc esp
scasd eax, dword es:[edi]
adc eax, 0x450c76d2
and al, 0xd5
sub cl, byte [eax + 0xd]
lcall 0xacc0, 0xdafe5132
push ecx
invalid
lodsb al, byte [esi]
mov bl, 0xec
in al, dx
sub eax, dword [ecx + edi + 0x38861264]
mov cs, word [esi + 0x17]
cmp eax, 0xc91a711a
xor ebx, dword [esi + 0x406b3829]
dec ecx
pop es
dec ecx
add edi, dword [edx - 0x22]
popfd
mov esi, 0x6fbb661
sti
push es
mov ch, 0x66
lodsb al, byte [esi]
xchg ecx, eax
sbb eax, 0xb9c7c139
jle 0x6bc792
mov es, ebp
jle 0x6bc78c
and dword [ebp + 0x1789e0e4], esp
inc eax
lodsb al, byte [esi]
and dword [edx], ecx
adc ecx, dword [eax - 0x63]
popfd
iretd
Function at 0x401550
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x401c18
call fcn.004018fb
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
cmp dword [0x403390], ebx
jne 0x4012eb
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x24], ebx
mov edi, 0x403384
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x401325
cmp eax, esi
jne 0x401318
xor esi, esi
inc esi
mov dword [ebp - 0x24], esi
jmp 0x401328
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4012ff
xor esi, esi
inc esi
mov eax, dword [0x403380]
cmp eax, esi
jne 0x40133b
push 0x1f
call sub.MSVCR100.dll__amsg_exit
pop ecx
jmp 0x401376
mov eax, dword [0x403380]
test eax, eax
jne 0x401370
mov dword [0x403380], esi
push 0x4010e8
push 0x4010dc
call sub.MSVCR100.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x401376
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x401490
mov dword [0x403038], esi
mov eax, dword [0x403380]
cmp eax, esi
jne 0x40139a
push 0x4010d8
push 0x4010d0
call sub.MSVCR100.dll__initterm
pop ecx
pop ecx
mov dword [0x403380], 2
cmp dword [ebp - 0x24], ebx
jne 0x4013a7
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x403394], ebx
je 0x4013c8
push 0x403394
call fcn.00401833
pop ecx
test eax, eax
je 0x4013c8
push ebx
push 2
push ebx
call dword [0x403394]
mov eax, dword [sym.imp.MSVCR100.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x401421
cmp al, bl
je 0x4013e1
cmp dword [ebp - 0x1c], ebx
jne 0x401421
mov al, byte [esi]
cmp al, bl
je 0x4013f1
cmp al, 0x20
ja 0x4013f1
inc esi
mov dword [ebp - 0x20], esi
jmp 0x4013e1
test byte [ebp - 0x40], 1
je 0x4013fd
movzx eax, word [ebp - 0x3c]
jmp 0x401400
push 0xa
pop eax
push eax
push esi
push ebx
push 0x400000
call main
mov dword [0x403034], eax
cmp dword [0x403028], ebx
jne 0x401476
push eax
call dword [sym.imp.MSVCR100.dll_exit]
cmp al, 0x22
jne 0x401430
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR100.dll__ismbblead]
pop ecx
test eax, eax
je 0x401443
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x4013cf
cmp dword [0x403038], ebx
jne 0x401484
call dword [sym.imp.MSVCR100.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x403034]
call fcn.00401940
ret
call 0x529000
jmp 0x4012bd

Function at 0x407540
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
not eax
jbe 0x407565
push esi
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
xor eax, dword [esi*4 + 0x26927060]
inc ecx
dec edx
jne 0x407548
pop edi
pop esi
not eax
ret
Function at 0x405c8c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422aa4], 0
push esi
jne 0x405cc3
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 0x405c9d
mov dword [ecx*4 + 0x422aa0], eax
inc ecx
cmp ecx, 0x100
jl 0x405c98
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405cf4
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 + 0x422aa0]
xor eax, esi
inc ecx
dec edx
jne 0x405cd6
pop edi
not eax
pop esi
ret 0xc

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x4084e4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
cmp dword [0x4266d4], 0
mov ebp, esp
push edi
mov ecx, dword [ebp + 0xc]
push esi
push ebx
mov ebx, dword [ebp + 0x10]
jne 0x408525
xor edx, edx
mov eax, edx
mov esi, 8
mov edi, eax
and eax, 1
neg eax
shr edi, 1
and eax, 0xedb88320
xor eax, edi
dec esi
jne 0x408502
mov dword [edx*4 + 0x4266d0], eax
inc edx
cmp edx, 0x100
jne 0x4084fb
mov eax, dword [ebp + 8]
not eax
jmp 0x40853f
mov dl, byte [ecx]
dec ebx
inc ecx
xor edx, eax
movzx edx, dl
shr eax, 8
xor eax, dword [edx*4 + 0x4266d0]
test ebx, ebx
jne 0x40852c
pop ebx
not eax
pop esi
pop edi
pop ebp
ret 0xc
Function at 0x40102f
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, ecx
mov ebx, 0x1388
xor ebp, ebp
mov dword [esp + 0x10], ebp
push 0x3e8
push dword [esi + 0x88]
call edi
test eax, eax
je 0x401095
cmp byte [0x4afde1], 0
je 0x401043
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0xa
jb 0x401047
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push ebp
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor ebp, ebp
jmp 0x401047
and byte [esi + 0x8c], 0
push ebx
push dword [esi + 0x88]
call edi
test eax, eax
je 0x401095
cmp byte [esi + 0x8c], 0
jne 0x401041
cmp dword [esi + 0x14], ebp
jne 0x401041
push dword [esi + 0x88]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
push ebp
push 0x12
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_PostThreadMessageA]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x4010d9
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp eax, edi
mov dword [esi + 0x88], eax
jne 0x4010f8
xor al, al
jmp 0x401112
lea eax, [esp + 8]
push eax
push edi
push esi
push 0x401116
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ecx
ret

Function at 0x40121e
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push ebx
push esi
push edi
push 0x49
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x130]
mov dword [ebp - 0x134], ebx
push ebx
rep stosd dword es:[edi], eax
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x401255
xor al, al
jmp 0x4012da
lea eax, [ebp - 0x134]
mov dword [ebp - 0x134], 0x128
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4012d8
push dword [ebp + 8]
lea eax, [ebp - 0x110]
push eax
call fcn.00401174
pop ecx
test al, al
pop ecx
je 0x4012a0
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
push eax
call fcn.00401c7c
mov bl, 1
lea eax, [ebp - 0x134]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x4012d8
push dword [ebp + 8]
lea eax, [ebp - 0x110]
push eax
call fcn.00401174
pop ecx
test al, al
pop ecx
je 0x4012a0
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
jmp 0x401295
mov al, bl
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4012df
Capabilities:
Terminate process

Disassembly:
mov eax, 0x490848
call fcn.004903f0
sub esp, 0x18
mov al, byte [ebp - 0xd]
and byte [ebp - 0x1c], 0
mov byte [ebp - 0x24], al
mov al, byte [ebp - 0xd]
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x23], al
call fcn.004028b3
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 1
push eax
push 0x4ac9e0
call fcn.0040121e
pop ecx
test al, al
pop ecx
je 0x401372
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [ebp - 0x14], eax
je 0x401372
push esi
mov esi, dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
je 0x401361
push esi
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x401361
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [ebp - 0x14]
call fcn.00401db1
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x20]
jne 0x40132c
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00401a51
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x4033d4
Capabilities:
Set current directory

Disassembly:
mov ecx, 0x4afe10
jmp 0x4033c3
mov eax, 0x490b17
call fcn.004903f0
sub esp, 0x110
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x18], esi
call fcn.004053b0
xor ebx, ebx
lea ecx, [esi + 4]
mov dword [ebp - 4], ebx
call fcn.00405069
mov al, byte [ebp - 0xd]
lea ecx, [esi + 8]
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], ecx
mov byte [ecx], al
mov al, byte [ebp - 0xd]
mov byte [ecx + 1], al
mov byte [ecx + 8], bl
call fcn.00404deb
push ebx
mov byte [ebp - 4], 3
lea ecx, [esi + 0x1c]
push ebx
mov dword [esi + 0x18], ebx
call fcn.0041b5b0
mov cl, byte [ebp - 0xd]
lea eax, [esi + 0x94]
mov byte [ebp - 4], 4
mov byte [eax], cl
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
lea eax, [esi + 0xac]
mov byte [ebp - 4], 5
mov dword [esi + 0xa4], ebx
mov word [esi + 0xa8], bx
mov dword [ebp - 0x14], eax
mov dword [eax], 0x49a5f4
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 6
mov dword [eax], 0x49a5f0
add eax, 4
push eax
call edi
lea eax, [esi + 0xc8]
mov byte [ebp - 4], 7
mov dword [ebp - 0x14], eax
mov dword [eax], 0x49a5f4
mov byte [ebp - 4], 8
mov dword [eax], 0x49a5f0
add eax, 4
push eax
call edi
mov byte [ebp - 4], 9
mov byte [esi + 0xe4], bl
lea ecx, [esi + 0xe8]
call fcn.00405158
lea eax, [esi + 0x114]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x14], eax
mov dword [eax], 0x49a5f4
mov byte [ebp - 4], 0xb
mov dword [eax], 0x49a5f0
add eax, 4
push eax
call edi
mov byte [ebp - 4], 0xc
mov dword [esi], 0x49a5a8
lea edi, [esi + 0x1c]
mov ecx, edi
call fcn.0041b690
mov ecx, edi
mov dword [esi + 0x8c], eax
call fcn.0041b694
mov dword [esi + 0x90], eax
lea eax, [ebp - 0x11c]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x11c]
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
pop ecx
cmp eax, ebx
pop ecx
je 0x403515
mov byte [eax], bl
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, dword [ebp - 0xc]
or dword [ebp - 4], 0xffffffff
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret