joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10013dcf
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using rc4 via winapi
Encrypt or decrypt via wincrypt
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jne 0x10013de7
mov eax, 0x80004005
jmp 0x10013f44
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push esi
push 1
mov ebx, str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push ebx
push esi
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], esi
call edi
test eax, eax
jne 0x10013e0d
call fcn.1000888f
jmp 0x10013e0f
xor eax, eax
cmp eax, esi
jge 0x10013e34
push 8
push 1
push ebx
push esi
lea eax, [ebp - 4]
push eax
call edi
test eax, eax
jne 0x10013e2a
call fcn.1000888f
jmp 0x10013e2c
xor eax, eax
cmp eax, esi
jl 0x10013ee7
lea eax, [ebp - 0x10]
push eax
push esi
push esi
push 0x8004
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x10013ee7
mov eax, dword [ebp - 0x10]
push esi
push 0x10
push 0x1003a328
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x10013e70
call fcn.1000888f
jmp 0x10013e72
xor eax, eax
cmp eax, esi
jl 0x10013ed6
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 8]
push 0x6801
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x10013ed6
cmp dword [ebp + 0x10], esi
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
lea ecx, [ebp + 0xc]
je 0x10013eb2
push dword [ebp + 0xc]
push ecx
push dword [ebp + 8]
push esi
push 1
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
jmp 0x10013ec1
push ecx
push dword [ebp + 8]
push esi
push 1
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x10013f06
cmp dword [ebp - 0xc], esi
je 0x10013ed6
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov dword [ebp - 0xc], esi
cmp dword [ebp - 8], esi
je 0x10013ee7
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov dword [ebp - 8], esi
cmp dword [ebp - 4], esi
je 0x10013eff
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test eax, eax
jne 0x10013eff
call fcn.1000888f
mov eax, 0x80004005
jmp 0x10013f42
cmp dword [ebp - 0xc], esi
je 0x10013f17
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov dword [ebp - 0xc], esi
cmp dword [ebp - 8], esi
je 0x10013f28
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov dword [ebp - 8], esi
cmp dword [ebp - 4], esi
je 0x10013f40
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test eax, eax
jne 0x10013f40
call fcn.1000888f
xor eax, eax
pop edi
pop ebx
pop esi
leave
ret 0xc
Function at 0x10015ce5
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push dword [esp + 0x18]
mov esi, eax
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esi + 8]
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov ebx, eax
test ebx, ebx
jge 0x10015d0d
or eax, 0xffffffff
jmp 0x10015d5f
lea edi, [esi + 0x30]
push edi
push esi
call fcn.10003b8f
test eax, eax
pop ecx
pop ecx
jl 0x10015d08
mov edx, dword [esi + 0x2c]
mov edx, dword [edx + 0x14]
mov eax, dword [edi]
imul edx, edx, 0x3e8
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
mov eax, 0x420
push eax
push eax
push 0x1036
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push 0xd
push ecx
mov eax, esp
add esi, 0x48
push esi
mov dword [eax], 0x69
call fcn.1000f6ff
mov eax, ebx
pop edi
pop esi
pop ebx
ret 0xc

Function at 0x10016605
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
movsx esi, ax
shr eax, 0x10
test esi, esi
push edi
movsx edi, ax
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], edi
jge 0x10016683
test edi, edi
jge 0x10016683
push 3
push 0xffffffffffffffff
lea esi, [ebx + 8]
push esi
call fcn.1001384b
mov edi, eax
test edi, edi
jge 0x10016642
mov eax, dword [ebp + 8]
and dword [eax], 0
jmp 0x100166dc
lea eax, [ebp - 0x1c]
push eax
push edi
push 0x100e
push dword [esi]
mov dword [ebp - 0x1c], 2
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x1c]
sar eax, 1
add edx, eax
add eax, ecx
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [esi]
mov dword [ebp - 0xc], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
jmp 0x100166c7
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x10016637
mov dword [ebp - 0x1c], edi
xor eax, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], 0xe
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x20]
push eax
push 0
push 0x1012
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test edi, edi
jl 0x10016637
push dword [ebp - 8]
mov edi, ebx
push dword [ebp - 0xc]
call fcn.1001759a
pop edi
xor eax, eax
pop esi
leave
ret 4
Function at 0x10016f14
Capabilities:
Log keystrokes via polling

Disassembly:
movzx eax, word [eax + 0xc]
cmp eax, 0x1b
je 0x10016f97
cmp eax, 0x20
je 0x10016f8e
cmp eax, 0x2e
je 0x10016f85
cmp eax, 0x41
je 0x10016f6f
cmp eax, 0x52
je 0x10016f51
cmp eax, 0x74
je 0x10016f3f
mov eax, dword [esp + 4]
and dword [eax], 0
jmp 0x10016fb3
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 0x9c41
jmp 0x10016fa7
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x10016fb3
push 0
push 0x9ca7
push 0x111
push dword [esi + 8]
jmp 0x10016fad
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x10016fb3
push 0
push 0x9ca8
jmp 0x10016f65
push 0
push 0x9ca9
jmp 0x10016f65
push 0
push 0x9ca6
jmp 0x10016f65
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 0x9c42
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
ret 4

Function at 0x10019687
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x10044d10], 0
push esi
jne 0x100195fa
call fcn.10019525
test eax, eax
je 0x1001963d
mov eax, dword [0x10044d10]
cmp eax, 1
jne 0x1001961b
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x1001963d
pop esi
ret
push eax
call dword [0x10044d18]
test eax, eax
jne 0x10019685
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x10019641
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x10044d10]
call dword [0x10044d18]
mov edi, eax
test edi, edi
je 0x10019668
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x10019684
lea edi, [esi + 0xff0]
push esi
push dword [0x10044d10]
call dword [0x10044d14]
add esi, 0x10
cmp esi, edi
jb 0x1001966e
mov eax, esi
pop edi
pop esi
ret
jmp 0x100195e7

Function at 0x10019691
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10042058]
jne 0x1001969b
repz ret
jmp fcn.1001cff6
Function at 0x1001ffeb
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x10042310]
je 0x10020006
inc edi
cmp edi, 0x17
jb 0x1001fff7
cmp edi, 0x17
jae 0x10020186
push ebp
push 3
call fcn.10029fcb
cmp eax, 1
pop ecx
je 0x10020152
push 3
call fcn.10029fcb
test eax, eax
pop ecx
jne 0x1002003a
cmp dword [0x10044d48], 1
je 0x10020152
cmp ebx, 0xfc
je 0x10020185
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x10045240
push ebp
call fcn.1001fadf
add esp, 0xc
test eax, eax
je 0x10020070
push esi
push esi
push esi
push esi
push esi
call fcn.1001be42
add esp, 0x14
push 0x104
mov esi, 0x10045259
push esi
push 0
mov byte [0x1004535d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x100200b4
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.1001fadf
add esp, 0xc
test eax, eax
je 0x100200b4
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.1001be42
add esp, 0x14
push esi
call fcn.10019870
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x100200f9
push esi
call fcn.10019870
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x10045554
push 0x10036e24
sub ecx, eax
push ecx
push eax
call fcn.10027a96
add esp, 0x14
test eax, eax
je 0x100200f9
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.1001be42
add esp, 0x14
jmp 0x100200fb
xor esi, esi
push 0x10036e20
push ebx
push ebp
call fcn.100279d2
add esp, 0xc
test eax, eax
je 0x1002011b
push esi
push esi
push esi
push esi
push esi
call fcn.1001be42
add esp, 0x14
push dword [edi*8 + 0x10042314]
push ebx
push ebp
call fcn.100279d2
add esp, 0xc
test eax, eax
je 0x1002013d
push esi
push esi
push esi
push esi
push esi
call fcn.1001be42
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.10029e0e
add esp, 0xc
jmp 0x10020185
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x10020185
cmp ebp, 0xffffffff
je 0x10020185
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x10042314]
push dword [esi]
call fcn.10019870
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x10029e0e
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.1001d71c
xor ebx, ebx
cmp dword [0x10045724], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x10029ee4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x10029fc4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x10029fc4
push eax
call fcn.1001d6ae
mov dword [esp], 0x10039170
push edi
mov dword [0x10045724], eax
call esi
push eax
call fcn.1001d6ae
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10045728], eax
call esi
push eax
call fcn.1001d6ae
mov dword [0x1004572c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.1001fd6b
test eax, eax
pop ecx
pop ecx
je 0x10029eb2
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1001be42
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x10029ee4
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.1001d6ae
cmp eax, ebx
pop ecx
mov dword [0x10045734], eax
je 0x10029ee4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1001d6ae
pop ecx
mov dword [0x10045730], eax
mov eax, dword [0x10045730]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x10029f69
cmp dword [0x10045734], ecx
je 0x10029f69
push eax
call fcn.1001d725
push dword [0x10045734]
mov esi, eax
call fcn.1001d725
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x10029f69
cmp edi, ebx
je 0x10029f69
call esi
cmp eax, ebx
je 0x10029f36
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10029f36
test byte [ebp - 0x18], 1
jne 0x10029f69
lea eax, [ebp - 0x10]
push eax
call fcn.1001fda2
test eax, eax
pop ecx
je 0x10029f51
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1001be42
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x10029f60
or dword [ebp + 0x10], 0x200000
jmp 0x10029fa4
or dword [ebp + 0x10], 0x40000
jmp 0x10029fa4
mov eax, dword [0x10045728]
cmp eax, dword [ebp - 8]
je 0x10029fa4
push eax
call fcn.1001d725
cmp eax, ebx
pop ecx
je 0x10029fa4
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x10029fa4
mov eax, dword [0x1004572c]
cmp eax, dword [ebp - 8]
je 0x10029fa4
push eax
call fcn.1001d725
cmp eax, ebx
pop ecx
je 0x10029fa4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10045724]
call fcn.1001d725
cmp eax, ebx
pop ecx
je 0x10029fc4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10029fc6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x505590
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa0000]
push edi
or ebp, 0xffffffff
jmp 0x5055b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5055b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5055a8
mov eax, 1
add ebx, ebx
jne 0x5055cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5055dc
jne 0x5055fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5055fb
dec eax
add ebx, ebx
jne 0x5055e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5055c0
add ebx, ebx
jne 0x5055f7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x50564d
xor ecx, ecx
sub eax, 3
jb 0x505613
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x505682
sar eax, 1
mov ebp, eax
jmp 0x50561e
add ebx, ebx
jne 0x50561e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5055ec
inc ecx
add ebx, ebx
jne 0x50562c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5055ec
add ebx, ebx
jne 0x505639
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x50562e
jne 0x50564a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50562e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x50566c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x50565e
jmp 0x5055ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x50566c
add edi, ecx
jmp 0x5055ae
pop esi
mov edi, esi
mov ecx, 0x3268
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x50568a
cmp byte [edi], 0x13
jne 0x50568a
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 0x50568f
lea edi, [esi + 0x102000]
mov eax, dword [edi]
or eax, eax
je 0x505707
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x10de48]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x10df94]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5056bc
mov ecx, edi
jns 0x5056eb
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 + 0x10df9c]
or eax, eax
je 0x505701
mov dword [ebx], eax
add ebx, 4
jmp 0x5056d9
call dword [esi + 0x10df98]
mov ebp, dword [esi + 0x10dfa0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x50573b
sub esp, 0xffffff80
jmp 0x49d3b0
Function at 0x407458
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x407467
pop dword [ebp - 0x1c]
mov eax, 0x407467
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x95fd15b0
sub dword [ebp - 0x2c], 0x47aad065
mov dword [ebp - 0x28], 0xe00593eb
add dword [ebp - 0x28], 0x522db85a
mov dword [ebp - 0x24], 0x44baef3b
sub dword [ebp - 0x24], 0xf86eab0d
mov dword [ebp - 0x20], 0xcd47d7d7
add dword [ebp - 0x20], 0x32b82829
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x81ac458b
sub eax, 0x816bc513
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0xa75ee8e5
sub dword [ebp - 0x2c], 0x32ec7f8f
mov dword [ebp - 0x28], 0x875a999c
add dword [ebp - 0x28], 0xba11c7d9
mov dword [ebp - 0x24], 0xdb27b5e3
add dword [ebp - 0x24], 0x8847b689
mov dword [ebp - 0x20], 0xad0e60e9
sub dword [ebp - 0x20], 0xad0e60e9
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x388bc
push 0
call eax
mov ecx, 0x8bfb8b56
sub ecx, 0x8bfb3d8f
xor edi, edi
add edi, eax
mov esi, 0x459200
add esi, dword [ebp - 0x1c]
mov ebx, 0xc14b706a
add ebx, 0x93fd0a9d
mov edx, dword [esi]
sub dword [ebp - 8], ecx
add edx, ebx
mov dword [ebp - 0xc], 0xdb80b748
mov dword [edi], edx
xor dword [ebp - 0x14], 0x7a61369f
add edi, 0xad0f8939
sub edi, 0xad0f8935
add esi, 0x63e2da3b
add esi, 0x9c1d25c9
loop 0x40757b
add eax, 0xc8acb147
sub eax, 0xc8ab8758
mov ebx, eax
add eax, 0x6ac94cc9
sub eax, 0x6ac94cc4
mov ecx, 0xa510cae1
sub ecx, 0xa4d0cae1
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401420
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
jmp 0x401438
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x100
jae 0x40148a
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
jmp 0x401459
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 8
jae 0x40147b
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp - 8]
and ecx, 1
xor edx, edx
sub edx, ecx
and edx, 0xedb88320
xor eax, edx
mov dword [ebp - 8], eax
jmp 0x401450
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [eax*4 + 0x54f860], ecx
jmp 0x40142f
mov dword [ebp - 4], 0x100
jmp 0x40149c
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0x800
jae 0x4014d4
mov eax, dword [ebp - 4]
mov ecx, dword [eax*4 + 0x54f460]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
and edx, 0xff
mov eax, dword [ebp - 0x10]
shr eax, 8
xor eax, dword [edx*4 + 0x54f860]
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x54f860], eax
jmp 0x401493
mov dword [0x54f84c], 0x40d930
mov dword [0x54f844], 0x40d930
mov dword [0x54f848], 0x40da40
call fcn.0040dd50
test eax, eax
jne 0x401505
mov dword [0x54f844], 0x40da40
mov esp, ebp
pop ebp
ret

Function at 0x402bf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 0xc]
cmp eax, dword [0x54bb04]
jbe 0x402c0d
mov ecx, dword [0x54bb04]
mov dword [ebp + 0xc], ecx
mov dword [ebp - 8], 0
push 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
call fcn.00402920
mov byte [ebp - 1], al
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 8]
mov dword [ecx], edx
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40e550
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax], SysReAllocString
mov dword [eax + 4], ecx
mov dword [ebp - 0x64], 0x40
push str.GlobalMemoryStatusEx
push 0x531860
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x40e5c1
lea edx, [ebp - 0x64]
push edx
call dword [ebp - 0x68]
test eax, eax
je 0x40e5c1
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0040e600
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov al, 1
jmp 0x40e5eb
mov dword [ebp - 0x24], 0x20
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0040e640
xor edx, edx
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret 4

Function at 0x420750
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
or eax, 0x100
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
and ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0xc]
shr edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 8]
neg eax
and eax, 0x7ff
xor edx, eax
shr edx, 4
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
add eax, dword [ecx + edx*4]
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 2
jae 0x420768
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4207b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0x100
mov eax, dword [ebp + 0xc]
or eax, 0x100
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
shl ecx, 1
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp + 0x10]
and edx, dword [ebp - 4]
add edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
shr eax, 8
add edx, eax
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + edx*2]
mov eax, dword [ebp + 0xc]
shr eax, 7
and eax, 1
neg eax
and eax, 0x7ff
xor edx, eax
shr edx, 4
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 8]
add eax, dword [ecx + edx*4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
shl ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
xor edx, dword [ebp + 0xc]
not edx
and edx, dword [ebp - 4]
mov dword [ebp - 4], edx
cmp dword [ebp + 0xc], 0x10000
jb 0x4207cf
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42e8a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 0xc], 0x200
jb 0x42e8bd
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x42e8c4
xor eax, eax
jmp 0x42e9db
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x1000
jae 0x42e8ec
mov ecx, dword [ebp - 0xc]
add ecx, 0x200
cmp ecx, dword [ebp + 0xc]
ja 0x42e8ec
mov edx, dword [ebp - 0xc]
and edx, 7
je 0x42e8f3
xor eax, eax
jmp 0x42e9db
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0x4550
je 0x42e90e
xor eax, eax
jmp 0x42e9db
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x1c4
jg 0x42e94f
cmp dword [ebp - 8], 0x1c4
je 0x42e975
cmp dword [ebp - 8], 0x14c
je 0x42e963
cmp dword [ebp - 8], 0x1c0
je 0x42e96c
cmp dword [ebp - 8], 0x1c2
je 0x42e96c
jmp 0x42e987
cmp dword [ebp - 8], 0x200
je 0x42e97e
cmp dword [ebp - 8], 0x8664
je 0x42e963
jmp 0x42e987
mov dword [ebp - 0x10], 0x3030103
jmp 0x42e98b
mov dword [ebp - 0x10], 0x3030501
jmp 0x42e98b
mov dword [ebp - 0x10], 0x3030701
jmp 0x42e98b
mov dword [ebp - 0x10], 0x3030401
jmp 0x42e98b
xor eax, eax
jmp 0x42e9db
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x10]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x400
jbe 0x42e9a2
xor eax, eax
jmp 0x42e9db
mov ecx, dword [ebp - 4]
add ecx, 0x14
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x10b
je 0x42e9c8
cmp dword [ebp - 0x14], 0x20b
je 0x42e9c8
jmp 0x42e9ca
jmp 0x42e9ce
xor eax, eax
jmp 0x42e9db
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4391f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0
call fcn.004e5eef
add esp, 0x18
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.00439160
mov esp, ebp
pop ebp
ret 0xc