joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001570
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa0
mov eax, esp
mov dword [eax], 0x9c7be4
mov eax, dword [sym.imp.KERNEL32.dll_GetThreadPriority]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx + 4], 0x1ff
mov dword [ecx], 0x527f16
mov ecx, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esp + 0x64], eax
call ecx
sub esp, 8
xor ecx, ecx
lea edx, [esp + 0x70]
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], ecx
jmp 0x10001650
mov eax, dword [esp + 0x54]
mov ecx, 0x12
mov dword [esp + 0x50], eax
xor edx, edx
div ecx
cmp edx, 0
je 0x10001667
jmp 0x10001680
mov eax, 0x7e0e7d
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], 0xd0c
mov eax, esp
lea ecx, [esp + 0x68]
mov dword [eax + 0x10], ecx
lea ecx, [esp + 0x6c]
mov dword [eax + 0xc], ecx
mov dword [eax + 8], 0x45b
mov dword [eax + 4], 0xa03
mov dword [eax], 0xa03
mov eax, dword [sym.imp.ole32.dll_CoWaitForMultipleHandles]
call eax
sub esp, 0x14
mov ecx, esp
mov dword [ecx], 0xe04
mov ecx, dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
mov dword [esp + 0x4c], eax
call ecx
sub esp, 4
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov dword [esp + 0x48], eax
call ecx
mov dword [esp + 0x44], eax
jmp 0x10001750
mov eax, dword [esp + 0x58]
xor ecx, ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x54], ecx
jmp 0x100015c3
mov esp, ebp
pop ebp
ret
mov eax, esp
mov dword [eax + 4], 0xa72
mov dword [eax], 0xa72
mov eax, dword [sym.imp.USER32.dll_SetLastErrorEx]
call eax
sub esp, 8
mov eax, dword [esp + 0x50]
add eax, 1
cmp eax, 0x7d
mov dword [esp + 0x54], eax
jne 0x100015c3
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x40]
sub edx, 0xe
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], edx
je 0x100015e5
jmp 0x100016b7
mov eax, dword [esp + 0x40]
sub eax, 0x4b
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
jne 0x1000171b
jmp 0x100016ce
xor eax, eax
mov ecx, 0x30
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x30
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
call fcn.10001fe0
mov eax, esp
lea ecx, [esp + 0x70]
mov dword [eax + 4], ecx
mov dword [eax], 0x5df
mov eax, dword [sym.imp.USER32.dll_GetGUIThreadInfo]
call eax
sub esp, 8
mov dword [esp + 0x20], eax
jmp 0x100015e5
mov eax, dword [esp + 0x2c]
mov ecx, esp
mov dword [ecx], 0xf9e689
mov ecx, dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [esp + 0x1c], eax
call ecx
sub esp, 4
mov ecx, dword [esp + 0x1c]
add ecx, 1
cmp ecx, 0xa
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], ecx
jne 0x1000171b
mov eax, dword [esp + 0x40]
add eax, 1
cmp eax, 0xa1
mov dword [esp + 0x58], eax
je 0x10001663
jmp 0x10001650

Function at 0x10004837
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10036328]
jne 0x10004841
repz ret
jmp fcn.10005ebc
Function at 0x10007d3b
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.10002ad4
and dword [ebp - 4], 0
cmp dword [0x1003730c], 0
mov ebx, eax
jne 0x10007dec
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10007e9d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10007e9d
push eax
call fcn.10002a62
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1003730c], eax
call esi
push eax
call fcn.10002a62
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10037310], eax
call esi
push eax
call fcn.10002a62
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10037314], eax
call esi
push eax
call fcn.10002a62
pop ecx
mov dword [0x1003731c], eax
test eax, eax
je 0x10007dec
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10002a62
pop ecx
mov dword [0x10037318], eax
mov eax, dword [0x10037318]
cmp eax, ebx
je 0x10007e44
cmp dword [0x1003731c], ebx
je 0x10007e44
push eax
call fcn.10002add
push dword [0x1003731c]
mov esi, eax
call fcn.10002add
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10007e44
test edi, edi
je 0x10007e44
call esi
test eax, eax
je 0x10007e3b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10007e3b
test byte [ebp - 0xc], 1
jne 0x10007e44
or dword [ebp + 0x10], 0x200000
jmp 0x10007e7d
mov eax, dword [0x10037310]
cmp eax, ebx
je 0x10007e7d
push eax
call fcn.10002add
pop ecx
test eax, eax
je 0x10007e7d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10007e7d
mov eax, dword [0x10037314]
cmp eax, ebx
je 0x10007e7d
push eax
call fcn.10002add
pop ecx
test eax, eax
je 0x10007e7d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1003730c]
call fcn.10002add
pop ecx
test eax, eax
je 0x10007e9d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10007e9f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10009030
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x100358f0], 0
mov byte [0x100358f4], 0
mov dword [0x100358e4], 0x223a
mov dword [0x100358ec], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jmp 0x1000914d
mov eax, 0x100
mov dword [0x100358f8], 0
mov ecx, dword [0x100358f0]
mov edx, dword [0x100358ec]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + edx]
add edi, ecx
mov dword [ebp - 0x1c], eax
mov eax, edx
xor edx, edx
mov ecx, dword [ebp - 0x10]
div ecx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add edi, edx
mov dword [0x100358f8], edi
mov eax, edi
cdq
mov edi, dword [ebp - 0x1c]
idiv edi
mov dword [0x100358f0], edx
mov dword [0x100358e4], 0x9d4
mov edx, dword [0x100358ec]
mov cl, byte [esi + edx]
mov byte [0x100358f4], cl
mov dword [0x100358e4], 0xfffff859
mov edx, dword [0x100358f0]
mov cl, byte [esi + edx]
mov edx, dword [0x100358ec]
mov byte [esi + edx], cl
mov dword [0x100358e4], 0x1f37
mov cl, byte [0x100358f4]
mov edx, dword [0x100358f0]
mov byte [esi + edx], cl
mov edx, dword [0x100358e4]
add edx, 0xfffffbe3
mov dword [0x100358e4], edx
mov eax, dword [0x100358ec]
add eax, 1
mov dword [0x100358ec], eax
cmp eax, 0x100
jl 0x10009075
jmp 0x1000917e
mov dword [0x100358ec], 0
jmp 0x10009075
mov dword [0x100358e4], 0x23f6
mov eax, dword [0x100358ec]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x100358ec]
add eax, 1
mov dword [0x100358ec], eax
cmp eax, 0x100
jl 0x1000914d
jmp 0x1000913e
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100091b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x68
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
call fcn.10009190
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [0x100358e4], 0x26c3
mov ecx, eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
jmp 0x1000924b
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x44]
mov dword [esp + 8], ecx
call fcn.10009bf0
mov eax, dword [ebp - 0x40]
add eax, 0xf1287
mov ecx, dword [ebp - 0x30]
add ecx, 0xc
mov edx, dword [ebp - 0x40]
add edx, 0x11f08f
mov dword [0x100358e8], 0xe79
mov esi, dword [ebp - 0x30]
mov dword [esi], edx
mov dword [esi + 4], 0x12be00
mov dword [esi + 8], eax
mov eax, dword [0x100358e8]
add eax, 0x745
mov dword [0x100358e4], eax
mov dword [ebp - 0x48], ecx
xor eax, eax
mov ecx, dword [ebp - 0x48]
mov dword [ecx], 0x2020
add esp, 0x68
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
lea edx, section..data
imul esi, eax, 0xc8
mov edi, edx
add edi, esi
add edi, 0xb8
mov esi, dword [edi]
imul edi, eax, 0xc8
add edx, edi
add edx, 0xb4
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x32a
mov ecx, edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
jne 0x1000924b
lea eax, [0x1000b6fb]
mov ecx, 0xe
lea edx, [ebp - 0x2c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], ecx
call fcn.10009d90
mov dword [0x100358e8], 0x1da2
mov dword [0x100358e4], 0xbcc
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call fcn.10008d90
mov ecx, eax
mov dword [0x10035904], eax
mov eax, esp
mov edx, dword [ebp - 0x44]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
lea edx, section..data
imul esi, eax, 0xc8
mov edi, edx
add edi, esi
add edi, 0xb8
mov esi, dword [edi]
imul edi, eax, 0xc8
mov ebx, edx
add ebx, edi
add ebx, 0x5c
mov edi, dword [ebx]
imul ebx, eax, 0xc8
add edx, ebx
add edx, 0xb4
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x40]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x64], edx
call fcn.10009c90
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x60]
add eax, ecx
mov edx, dword [ebp - 0x5c]
add edx, 1
cmp edx, 0x32a
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], edx
je 0x100091dd
jmp 0x10009311
Function at 0x10009810
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, 0x2a
lea ecx, [fcn.10009810]
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
jmp 0x1000983a
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
je 0x1000984f
jmp 0x1000985f
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp word [eax], 0x5a4d
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
je 0x10009829
jmp 0x1000985f
mov eax, dword [ebp - 0x10]
mov dword [0x100358e4], eax
mov eax, dword [ebp - 0xc]
add esp, 0x14
pop ebp
ret
mov eax, dword [ebp - 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [ebp - 0x14], eax
mov eax, 0x1e0d
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
jmp 0x1000983a

Function at 0x10009a00
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x100358ec], 0
mov dword [0x100358f0], 0
mov dword [0x100358fc], 0
mov dword [0x100358e8], 0x1d00
mov dword [0x100358e4], 0x24ab
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
je 0x10009b5a
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov edx, dword [0x100358ec]
add edx, 1
mov dword [ebp - 0x24], eax
mov eax, edx
cdq
idiv ecx
mov dword [0x100358ec], edx
mov dword [0x100358e4], 0x11eb
mov esi, dword [0x100358f0]
mov edi, dword [ebp - 0x1c]
movzx edx, byte [edi + edx]
add edx, esi
mov eax, edx
cdq
idiv ecx
mov dword [0x100358f0], edx
mov ecx, dword [0x100358e4]
add ecx, 0x1cfe
mov dword [0x100358e8], ecx
mov ecx, dword [0x100358ec]
mov bl, byte [edi + ecx]
mov byte [0x100358f4], bl
mov dword [0x100358e4], 0x7d5
mov ecx, dword [0x100358f0]
mov bl, byte [edi + ecx]
mov ecx, dword [0x100358ec]
mov byte [edi + ecx], bl
mov bl, byte [0x100358f4]
mov ecx, dword [0x100358f0]
mov byte [edi + ecx], bl
mov dword [0x100358e8], 0x2207
mov ecx, dword [0x100358ec]
movzx ecx, byte [edi + ecx]
mov edx, dword [0x100358f0]
movzx edx, byte [edi + edx]
add edx, ecx
and edx, 0xff
mov dword [0x100358fc], edx
mov bl, byte [edi + edx]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
movzx esi, byte [ecx + edx]
mov dword [esp], esi
movzx esi, bl
mov dword [esp + 4], esi
call fcn.10001000
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
mov byte [ecx + edx], al
add edx, 1
mov esi, dword [ebp - 0x10]
cmp edx, esi
mov dword [ebp - 0x20], edx
jne 0x10009a63
mov eax, dword [0x100358e4]
add eax, 0xfffff597
mov dword [0x100358e4], eax
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10009ff0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x30
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov dword [0x100358e4], 0x6a9
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x100358e8], 0x9a7
mov esi, dword [0x100358e4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], esi
jmp 0x1000a0b6
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dword [0x100358e4], ecx
mov dword [0x100358e8], 0x85f
mov edx, dword [ebp - 0x14]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x24], eax
je 0x1000a080
jmp 0x1000a0ac
mov dword [0x100358e8], 0x18d
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x1000a10f
jmp 0x1000a0ac
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x1000a061
jmp 0x1000a0ac
mov eax, 1
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x28], eax
je 0x1000a15d
xor eax, eax
mov dword [ebp - 0x28], eax
jmp 0x1000a15d
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
add eax, 0xfffffbee
mov edx, dword [ebp - 0x14]
cmp word [edx + ecx*2], 0
mov esi, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
je 0x1000a03a
mov eax, dword [ebp - 0x2c]
add eax, 1
cmp eax, 0x104
setl cl
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x31], cl
mov al, byte [ebp - 0x31]
test al, 1
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], esi
jne 0x1000a0b6
jmp 0x1000a03a
mov dword [0x100358e8], 0xfffff24c
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x1000a0ac
mov dword [0x100358e4], 0x144b
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1000a0ac
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x1000a091
jmp 0x1000a0ac
mov eax, dword [ebp - 0x28]
add esp, 0x30
pop esi
pop ebp
ret
Function at 0x403c60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x408460]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x144]
push eax
push ecx
push 0
mov byte [ebp - 0x13d], 0
mov dword [ebp - 0x144], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x403d00
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x13c]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x403cc7
push ebx
lea ecx, [ebp - 0x13c]
push ecx
push 1
push esi
call edi
add esp, 0x10
mov byte [ebp - 0x13d], 1
lea edx, [ebp - 0x148]
push edx
mov dword [ebp - 0x148], 0
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x403cf7
mov eax, dword [ebp - 0x148]
mov edx, dword [ebp - 0x144]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
cmp byte [ebp - 0x13d], 0
jne 0x403d0b
push ebx
push 0
push 1
push esi
call edi
add esp, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040423b
mov esp, ebp
pop ebp
ret

Function at 0x403ee0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x408460]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x144]
push ecx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x403f6e
mov ecx, dword [ebp - 0x144]
lea edx, [ebp - 0x148]
push edx
lea eax, [ebp - 0x13c]
push eax
push 0
push ecx
mov dword [ebp - 0x148], 0x136
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
je 0x403f41
mov byte [ebp - 0x13d], 0
jmp 0x403f58
push ebx
lea edx, [ebp - 0x13c]
push edx
push 0
push esi
mov byte [ebp - 0x13d], 1
call edi
add esp, 0x10
mov eax, dword [ebp - 0x144]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x13d], 0
jne 0x403f79
push ebx
push 0
push 0
push esi
call edi
add esp, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040423b
mov esp, ebp
pop ebp
ret

Function at 0x40423b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x408460]
jne 0x404245
repz ret
jmp fcn.004046da

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 0x62e81c54
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
leave
jmp fcn.62e81748
Function at 0x62e82a74
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
test edx, edx
jne 0x62e82a98
mov eax, 0xfffffffe
add esp, 0x4c
pop ebx
pop esi
pop edi
leave
ret
mov ebx, dword [edx + 0x1c]
test ebx, ebx
je 0x62e82a8a
test esi, esi
je 0x62e82a8a
mov eax, dword [ebx + 0x18]
cmp eax, 2
je 0x62e82a8a
cmp eax, 1
je 0x62e82b70
test eax, eax
jne 0x62e82b7f
cmp edi, 2
jbe 0x62e82b62
mov edx, dword [ebx + 0x2c]
cmp edi, edx
jbe 0x62e82b69
sub edi, edx
add esi, edi
mov eax, dword [ebx + 0x38]
mov edi, eax
mov ecx, edx
rep movsb byte es:[edi], byte [esi]
mov dword [ebx + 0x6c], edx
mov dword [ebx + 0x5c], edx
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x1c], eax
movzx esi, byte [eax]
mov dword [ebx + 0x48], esi
mov ecx, dword [ebx + 0x58]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebx + 0x54]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x1c]
movzx eax, byte [ecx + 1]
mov cl, byte [ebp - 0x20]
shl esi, cl
xor eax, esi
and eax, dword [ebp - 0x24]
mov dword [ebx + 0x48], eax
sub edx, 3
mov dword [ebp - 0x28], edx
mov esi, dword [ebx + 0x40]
mov dword [ebp - 0x2c], esi
mov edx, dword [ebx + 0x34]
mov dword [ebp - 0x30], edx
mov ecx, dword [ebx + 0x44]
mov dword [ebp - 0x34], ecx
xor edx, edx
mov dword [ebp - 0x3c], ebx
mov cl, byte [ebp - 0x20]
shl eax, cl
mov ebx, dword [ebp - 0x1c]
movzx ecx, byte [ebx + edx + 2]
xor eax, ecx
and eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x3c]
mov dword [esi + 0x48], eax
mov ebx, dword [ebp - 0x34]
lea ecx, [ebx + eax*2]
mov esi, dword [ebp - 0x30]
and esi, edx
mov di, word [ecx]
mov ebx, dword [ebp - 0x2c]
mov word [ebx + esi*2], di
mov word [ecx], dx
inc edx
cmp dword [ebp - 0x28], edx
jae 0x62e82b2c
xor eax, eax
jmp 0x62e82a8f
mov edx, edi
jmp 0x62e82ad4
mov eax, 0xfffffffe
cmp dword [ebx + 4], 0x2a
jne 0x62e82a8f
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov eax, dword [edx + 0x30]
mov dword [esp], eax
mov dword [ebp - 0x38], edx
call sym.zlib1.dll_adler32
mov edx, dword [ebp - 0x38]
mov dword [edx + 0x30], eax
jmp 0x62e82abc
Function at 0x62e84e3c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, eax
mov esi, edx
mov edi, dword [ebp + 8]
mov dword [edi], 0
xor eax, eax
jmp 0x62e84e60
add eax, dword [edi]
mov dword [edi], eax
cmp ecx, eax
jbe 0x62e84e8e
mov edx, ecx
sub edx, eax
mov dword [esp + 8], edx
lea eax, [esi + eax]
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
mov dword [ebp - 0x1c], ecx
call sub.msvcrt.dll__read
cmp eax, 0
mov ecx, dword [ebp - 0x1c]
jg 0x62e84e58
jne 0x62e84e98
mov dword [ebx + 0x28], 1
xor eax, eax
add esp, 0x2c
pop ebx
pop esi
pop edi
leave
ret
call sub.msvcrt.dll__errno
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov dword [esp + 8], eax
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call fcn.62e84d6c
or eax, 0xffffffff
jmp 0x62e84e90
Function at 0x62e85d68
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, eax
mov eax, dword [eax + 0x34]
test eax, eax
je 0x62e85db0
cmp eax, 1
je 0x62e85dc6
cmp eax, 2
je 0x62e85d8e
xor eax, eax
add esp, 0x2c
pop ebx
pop esi
pop edi
leave
ret
mov eax, dword [ebx + 0x10]
shl eax, 1
mov dword [ebx + 0x64], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebx + 0x60], eax
mov eax, ebx
call fcn.62e85b30
inc eax
setne al
movzx eax, al
dec eax
jmp 0x62e85d86
mov eax, ebx
call fcn.62e84ec0
inc eax
je 0x62e85e1d
mov esi, dword [ebx + 0x24]
test esi, esi
jne 0x62e85d84
mov eax, dword [ebx + 0x34]
jmp 0x62e85d7a
lea edi, [ebx + 0x24]
mov esi, dword [ebx + 0x10]
shl esi, 1
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x1c], eax
mov dword [ebx + 0x24], 0
xor eax, eax
jmp 0x62e85de8
add eax, dword [edi]
mov dword [edi], eax
cmp esi, eax
jbe 0x62e85e10
mov edx, esi
sub edx, eax
mov dword [esp + 8], edx
add eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll__read
cmp eax, 0
jg 0x62e85de0
jne 0x62e85e27
mov dword [ebx + 0x28], 1
mov eax, dword [ebx + 0x1c]
mov dword [ebx + 0x20], eax
xor eax, eax
jmp 0x62e85d86
mov eax, 0xffffffff
jmp 0x62e85d86
call sub.msvcrt.dll__errno
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov dword [esp + 8], eax
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call fcn.62e84d6c
or eax, 0xffffffff
jmp 0x62e85d86
Function at 0x62e85e54
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, eax
mov esi, edx
lea esi, [esi]
test esi, esi
je 0x62e85e89
mov eax, dword [ebx + 0x24]
cmp eax, 0
je 0x62e85e94
jl 0x62e85ed4
cmp eax, esi
jg 0x62e85ed4
sub esi, eax
mov edx, eax
xor eax, eax
mov dword [ebx + 0x24], eax
add dword [ebx + 0x20], edx
add dword [ebx + 0xc], edx
test esi, esi
jne 0x62e85e68
xor eax, eax
add esp, 0x2c
pop ebx
pop esi
pop edi
leave
ret
mov edx, dword [ebx + 0x28]
test edx, edx
je 0x62e85ea2
mov eax, dword [ebx + 0x58]
test eax, eax
je 0x62e85e89
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x62e85edc
cmp eax, 1
je 0x62e85ef6
cmp eax, 2
jne 0x62e85e64
mov eax, dword [ebx + 0x10]
shl eax, 1
mov dword [ebx + 0x64], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebx + 0x60], eax
mov eax, ebx
call fcn.62e85b30
inc eax
jne 0x62e85e64
mov eax, 0xffffffff
jmp 0x62e85e8b
mov edx, esi
sub eax, esi
xor esi, esi
jmp 0x62e85e7c
mov eax, ebx
call fcn.62e84ec0
inc eax
je 0x62e85ecb
mov edi, dword [ebx + 0x24]
test edi, edi
jne 0x62e85e64
mov eax, dword [ebx + 0x34]
jmp 0x62e85ea9
lea edx, [ebx + 0x24]
mov edi, dword [ebx + 0x10]
shl edi, 1
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x1c], eax
mov dword [ebx + 0x24], 0
xor eax, eax
mov dword [ebp - 0x20], esi
mov esi, ebx
mov ebx, edx
jmp 0x62e85f20
add eax, dword [ebx]
mov dword [ebx], eax
cmp edi, eax
jbe 0x62e85f58
mov edx, edi
sub edx, eax
mov dword [esp + 8], edx
add eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [esi + 4]
mov dword [esp], eax
call sub.msvcrt.dll__read
cmp eax, 0
jg 0x62e85f18
mov ebx, esi
mov esi, dword [ebp - 0x20]
jne 0x62e85f5f
mov dword [ebx + 0x28], 1
mov eax, dword [ebx + 0x1c]
mov dword [ebx + 0x20], eax
jmp 0x62e85e64
mov ebx, esi
mov esi, dword [ebp - 0x20]
jmp 0x62e85f4d
call sub.msvcrt.dll__errno
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov dword [esp + 8], eax
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call fcn.62e84d6c
or eax, 0xffffffff
jmp 0x62e85e8b