joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100014a0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x10019178]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x14c], 0xffffffff
lea eax, [ebp - 0x148]
push eax
push str.c:.
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0xffffffff
jne 0x100014e5
or eax, 0xffffffff
jmp 0x1000153c
lea ecx, [ebp - 0x148]
push ecx
mov edx, dword [ebp - 0x14c]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x1000152d
push str.IbyKRjcgyc
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x1000152b
mov ecx, dword [ebp + 8]
mov dx, word [ebp - 0x11c]
mov word [ecx + 0xe6], dx
mov eax, 1
jmp 0x1000153c
jmp 0x100014e5
mov eax, dword [ebp - 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000320d
mov esp, ebp
pop ebp
ret

Function at 0x100016f0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x10019178]
xor eax, ebp
mov dword [ebp - 0x14], eax
push 0x104
call fcn.10003202
add esp, 4
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x124]
push ecx
push 0x20019
push 0
push str.fkibgzeprubvxp
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10001759
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x10]
jmp 0x10001789
push 0x104
lea edx, [ebp - 0x120]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x124]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x124]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000320d
mov esp, ebp
pop ebp
ret
Function at 0x100026d0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x10019178]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov dword [ebp - 0xc8], 0x97f
mov dword [ebp - 0xc4], 0
mov eax, dword [0x1001a3a8]
imul eax, eax, 0xfffffff1
sub eax, 0x17
cmp dword [0x1001a3b4], eax
jge 0x1000271a
mov ecx, dword [0x1001a3a8]
sub ecx, 0x17
mov dword [0x1001a3b4], ecx
push 8
call fcn.10004a41
add esp, 4
mov dword [ebp - 0xcc], eax
mov edx, dword [ebp - 0xcc]
mov dword [ebp - 0xac], edx
mov dword [ebp - 0xc4], 0x10017630
mov eax, dword [ebp - 0xac]
mov dword [eax], str.gCYEwocHEJ
mov ecx, dword [ebp - 0xac]
push ecx
mov edx, dword [ebp - 0xc4]
push edx
call fcn.10001480
add esp, 8
test eax, eax
je 0x10002778
push str.zjvfuVLQhD
push str.eUzKnZcSLqED
call fcn.100011d0
add esp, 8
push 2
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
mov dword [0x1001a3c8], eax
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
mov esi, eax
call sym.fsgsemrtddzn.dll_tnfnnvigrtz
cmp eax, esi
sbb eax, eax
and eax, dword [0x1001a3c4]
mov dword [ebp - 0xc8], eax
mov ecx, dword [0x1001a3ac]
sub ecx, 4
mov edx, dword [0x1001a3a8]
lea eax, [edx + edx - 0xa]
imul eax, eax, 5
xor ecx, eax
mov dword [0x1001a3b4], ecx
push str.pjBxzfkevaQHt
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov dword [ebp - 0xb4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100027ef
mov dword [0x1001b114], 1
mov ecx, dword [ebp - 0xb4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call sym.fsgsemrtddzn.dll_suvcttpijnrhm
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xa8], 0
push 0x98
push 0
lea edx, [ebp - 0xa4]
push edx
call fcn.1000b670
add esp, 0xc
mov dword [ebp - 0xa8], 0x9c
mov dword [ebp - 0xa4], 6
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x98], 2
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
push 1
push 2
mov eax, dword [ebp - 0xbc]
push eax
mov ecx, dword [ebp - 0xc0]
push ecx
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], edx
push 1
push 1
mov edx, dword [ebp - 0xbc]
push edx
mov eax, dword [ebp - 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], edx
push 1
push 8
mov ecx, dword [ebp - 0xbc]
push ecx
mov edx, dword [ebp - 0xc0]
push edx
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0xbc]
push eax
mov ecx, dword [ebp - 0xc0]
push ecx
push 0xb
lea edx, [ebp - 0xa8]
push edx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
mov dword [0x1001b114], eax
push 0x10017678
push 0x41
call fcn.100018f0
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [str.wbywsofdzqwmzshhcfimccwmwkkaejezpqybdhs]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x10002928
mov edx, dword [ebp - 4]
mov dword [str.wbywsofdzqwmzshhcfimccwmwkkaejezpqybdhs], edx
xor eax, eax
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1000320d
mov esp, ebp
pop ebp
ret
Function at 0x1000320d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10019178]
jne 0x10003217
repz ret
jmp fcn.10004d8a

Function at 0x1000de5b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10019178]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.100058ad
and dword [ebp - 0x14], 0
cmp dword [0x1001b0b0], 0
mov dword [ebp - 0x18], eax
jne 0x1000df0e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1000dfb6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x1000dfb6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1001b0b0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1001b0b4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1001b0b8], eax
call edi
push eax
call esi
mov dword [0x1001b0c0], eax
test eax, eax
je 0x1000df0e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1001b0bc], eax
mov eax, dword [0x1001b0bc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1000df67
cmp dword [0x1001b0c0], ecx
je 0x1000df67
push eax
call esi
push dword [0x1001b0c0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1000df67
test ebx, ebx
je 0x1000df67
call edi
test eax, eax
je 0x1000df5e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1000df5e
test byte [ebp - 8], 1
jne 0x1000df67
or dword [ebp + 0x10], 0x200000
jmp 0x1000df9a
mov eax, dword [0x1001b0b4]
cmp eax, dword [ebp - 0x18]
je 0x1000df9a
push eax
call esi
test eax, eax
je 0x1000df9a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000df9a
mov eax, dword [0x1001b0b8]
cmp eax, dword [ebp - 0x18]
je 0x1000df9a
push eax
call esi
test eax, eax
je 0x1000df9a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1001b0b0]
call esi
test eax, eax
je 0x1000dfb6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1000dfb8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000320d
leave
ret
Function at 0x406752
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406776
xor eax, eax
test eax, eax
je 0x406789
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406789
xor ecx, ecx
jmp 0x40678c
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x427dcc], 0
push esi
jne 0x4068ec
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 0x4068c6
mov dword [ecx*4 + 0x427dc8], eax
inc ecx
cmp ecx, 0x100
jl 0x4068c1
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40691d
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 + 0x427dc8]
xor eax, esi
inc ecx
dec edx
jne 0x4068ff
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
je 0x42e072
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x10371636
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x6356142c
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4e1690
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8b000]
push edi
jmp 0x4e16aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4e16b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e16a0
mov eax, 1
add ebx, ebx
jne 0x4e16c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4e16d4
jne 0x4e16f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e16f3
dec eax
add ebx, ebx
jne 0x4e16e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4e16b8
add ebx, ebx
jne 0x4e16ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4e1745
xor ecx, ecx
sub eax, 3
jb 0x4e170b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4e177a
sar eax, 1
mov ebp, eax
jmp 0x4e1716
add ebx, ebx
jne 0x4e1716
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e16e4
inc ecx
add ebx, ebx
jne 0x4e1724
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e16e4
add ebx, ebx
jne 0x4e1731
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4e1726
jne 0x4e1742
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4e1726
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4e1764
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4e1756
jmp 0x4e16a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4e1764
add edi, ecx
jmp 0x4e16a6
pop esi
mov edi, esi
mov ecx, 0x404d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4e1782
cmp byte [edi], 0x11
jne 0x4e1782
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 0x4e1787
lea edi, [esi + 0xda000]
mov eax, dword [edi]
or eax, eax
je 0x4e17ff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe7f00]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe807c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4e17b4
mov ecx, edi
jns 0x4e17e3
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 + 0xe8080]
or eax, eax
je 0x4e17f9
mov dword [ebx], eax
add ebx, 4
jmp 0x4e17d1
call dword [esi + 0xe8090]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4e1830
cmp al, 0xef
ja 0x4e1823
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4e1805
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4e1812
mov ebp, dword [esi + 0xe8084]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x4e1864
sub esp, 0xffffff80
jmp 0x429ab7
Function at 0x532090
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xdb000]
push edi
jmp 0x5320aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5320b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5320a0
mov eax, 1
add ebx, ebx
jne 0x5320c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5320d4
jne 0x5320f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5320f3
dec eax
add ebx, ebx
jne 0x5320e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5320b8
add ebx, ebx
jne 0x5320ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x532145
xor ecx, ecx
sub eax, 3
jb 0x53210b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x53217a
sar eax, 1
mov ebp, eax
jmp 0x532116
add ebx, ebx
jne 0x532116
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5320e4
inc ecx
add ebx, ebx
jne 0x532124
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5320e4
add ebx, ebx
jne 0x532131
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x532126
jne 0x532142
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x532126
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x532164
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x532156
jmp 0x5320a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x532164
add edi, ecx
jmp 0x5320a6
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x532182
cmp byte [edi], 0x11
jne 0x532182
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 0x532187
lea edi, [esi + 0x12b000]
mov eax, dword [edi]
or eax, eax
je 0x5321ff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x18b70c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18b888]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5321b4
mov ecx, edi
jns 0x5321e3
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 + 0x18b88c]
or eax, eax
je 0x5321f9
mov dword [ebx], eax
add ebx, 4
jmp 0x5321d1
call dword [esi + 0x18b89c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x532230
cmp al, 0xef
ja 0x532223
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x532205
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x532212
mov ebp, dword [esi + 0x18b890]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x532264
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x100041a0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100924d0
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x100b0270]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x138], ebx
push 0xb8
lea eax, [ebp - 0x134]
mov dword [ebp - 0x138], ebx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea ecx, [ebp - 0x134]
call fcn.10009940
sub esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x134]
push esi
call fcn.100097c0
push 2
push 0
push 0
lea ecx, [ebp - 0x134]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x134]
call dword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
push 0
push 0
push 0
mov edi, dword [eax + 8]
lea ecx, [ebp - 0x134]
add edi, dword [eax]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
push edi
call fcn.10090a1e
add esp, 4
lea ecx, [ebp - 0x134]
mov esi, eax
mov eax, edi
cdq
push edx
push eax
push esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___long_long___int64__]
push edi
push esi
lea ecx, [ebp - 0x7c]
mov byte [ebp - 0x7c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0x67452301
mov dword [ebp - 0x2c], 0xefcdab89
mov dword [ebp - 0x28], 0x98badcfe
mov dword [ebp - 0x24], 0x10325476
call fcn.10036db0
lea ecx, [ebp - 0x7c]
call fcn.10036e60
push ebx
lea ecx, [ebp - 0x7c]
call fcn.10036f50
push esi
call fcn.100908c1
mov eax, dword [ebp - 0x134]
add esp, 4
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov ecx, dword [ebp - 0x134]
mov edx, dword [ecx + 4]
lea ecx, [edx - 0x70]
mov dword [ebp + edx - 0x138], ecx
lea ecx, [ebp - 0x124]
call fcn.10009700
lea ecx, [ebp - 0x11c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xc4]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100908b3
mov esp, ebp
pop ebp
ret
Function at 0x100089c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10092c8d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x100b0270]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call fcn.10001a60
mov eax, dword [ebp + 0x1c]
lea ebx, [ebp + 8]
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
cmp eax, 0x10
jb 0x10008a14
lea ecx, [edi + edx]
mov esi, edi
mov ebx, edi
jmp 0x10008a1c
lea ecx, [ebp + 8]
add ecx, edx
lea esi, [ebp + 8]
mov dword [ebp - 0x14], ecx
cmp esi, ecx
je 0x10008a4e
sub ebx, esi
mov edi, ecx
nop word [eax + eax]
movsx eax, byte [esi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [ebx + esi], al
add esp, 4
inc esi
cmp esi, edi
jne 0x10008a30
mov edx, dword [ebp + 0x18]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x1c]
cmp eax, 0x10
lea ebx, [ebp + 8]
mov esi, 0x811c9dc5
cmovae ebx, edi
xor ecx, ecx
test edx, edx
je 0x10008a73
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x10008a62
mov ebx, dword [ebp - 0x10]
lea eax, [ebp + 8]
push esi
push eax
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.1000d910
mov esi, dword [eax + 4]
test esi, esi
je 0x10008a9a
cmp esi, dword [ebx + 4]
je 0x10008a9a
mov esi, dword [esi + 0x20]
jmp 0x10008b35
mov ecx, dword [ebx + 0x24]
mov eax, 0x78787879
sub ecx, dword [ebx + 0x20]
imul ecx
lea eax, [ebp + 8]
mov ecx, ebx
sar edx, 5
mov esi, edx
shr esi, 0x1f
push eax
add esi, edx
call fcn.1000aaa0
lea ecx, [ebp - 0x44]
mov dword [eax], esi
call fcn.1000a270
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
mov edi, dword [eax + 0x24]
cmp edi, dword [eax + 0x28]
je 0x10008b0e
lea eax, [ebp + 8]
mov dword [ebp - 0x14], edi
push eax
mov ecx, edi
call fcn.10009f40
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0x18]
call fcn.1000e170
add dword [ebx + 0x24], 0x44
jmp 0x10008b1f
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp + 8]
push eax
push edi
lea ecx, [ebx + 0x20]
call fcn.1000c490
lea ecx, [ebp - 0x24]
call fcn.1000a950
lea ecx, [ebp - 0x44]
call fcn.10002930
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x20]
mov ecx, esi
shl ecx, 4
add ecx, esi
lea esi, [eax + ecx*4]
mov eax, dword [ebp + 0x1c]
cmp eax, 0x10
jb 0x10008b77
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10008b6d
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10008b6d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.10090a10
add esp, 8
lea eax, [esi + 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x10009020
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x1000904c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x1000906e
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x10009070
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x100090f5
jg 0x10009085
test esi, esi
je 0x100090f5
test ecx, ecx
jl 0x100090d8
jg 0x1000908f
test eax, eax
je 0x100090d8
cmp edi, ecx
jg 0x100090a3
jl 0x10009099
cmp esi, eax
jae 0x100090a3
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov eax, dword [ebx + 0x30]
sub esi, ecx
mov edx, dword [ebp + 8]
sbb edi, dword [esp + 0x10]
add edx, ecx
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
test edi, edi
jl 0x100090f5
jg 0x100090db
test esi, esi
je 0x100090f5
jmp 0x100090db
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x100090f5
push eax
push esi
push 1
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc