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

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4ea8a0
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4ea8a0
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4ea8a0
push dword [esp + 8]
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4fb44c
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x1662300], 0
push ebx
push esi
mov esi, 0x1662308
jne 0x4fb478
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x1662320], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x1662300], 1
push dword [0x1662320]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x4fb515
push 0x14
push 8
push dword [0x15e8870]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x4fb53f
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x1662304]
test eax, eax
je 0x4fb4ba
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x1662304], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x4fb544
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x1662320]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x15e8870]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4fb53f
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

Function at 0x4fbbb9
Capabilities:
Set thread local storage value

Disassembly:
push esi
push 0x184
push 8
push dword [0x15e8870]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
push esi
push dword [0x16627a0]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push dword [esp + 8]
mov dword [0x16627a4], esi
and dword [esi + 0xa8], 0
or dword [esi + 0xac], 0xffffffff
or dword [esi + 0xb0], 0xffffffff
push esi
mov dword [esi + 0xa4], 0xffffff
mov dword [esi + 0x74], 2
mov dword [esi + 0x78], 0x3f
call fcn.004fe7c9
mov dword [esi + 0x58], 0x4fc7cc
mov eax, esi
mov dword [esi + 0x5c], 0x4fc818
mov dword [esi + 0x10], fcn.004fc36d
mov dword [esi + 0x30], 0x4fc25f
mov dword [esi + 0x64], 0x4fc8a2
mov dword [esi + 0x60], 0x4fc85a
mov dword [esi + 0x34], 0x4fbf0f
mov dword [esi + 0x24], 0x4fbee6
mov dword [esi + 0x28], 0x4fbebb
mov dword [esi + 0x2c], 0x4fbe0d
mov dword [esi + 0x44], 0x4fc5d2
pop esi
ret 4
Function at 0x501a93
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
mov edx, dword [esp + 0x2c]
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0xd4]
mov dword [esp + 4], eax
test edx, edx
je 0x501b49
imul eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
imul ecx, dword [esp + 0x28]
push ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
neg eax
add ecx, dword [esp + 0x18]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
push ebp
push edi
lea edi, [ecx + eax*4]
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0xcc]
mov ebp, edi
imul ecx, ebx
add ecx, dword [esi + 0xc8]
add ecx, eax
cmp dword [esp + 0x38], 0
jle 0x501b29
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x10]
mov al, byte [ebp + 2]
xor byte [ecx + 2], al
mov al, byte [ebp + 1]
xor byte [ecx + 1], al
mov al, byte [ebp]
lea ebp, [ebp + 4]
xor byte [ecx], al
add ecx, esi
dec edx
jne 0x501b04
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
dec edx
inc ebx
cmp dword [esi + 0xe8], 0
mov dword [esp + 0x3c], edx
jne 0x501b3e
add edi, dword [esp + 0x14]
jmp 0x501b42
add edi, dword [esp + 0x24]
test edx, edx
jne 0x501ae2
pop edi
pop ebp
pop ebx
pop esi
pop ecx
pop ecx
ret 0x24

Function at 0x501e54
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
push ecx
imul edx, dword [esp + 0x28], 3
push ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 8], edx
test ebx, ebx
je 0x501f2e
imul eax, dword [esp + 0x1c], 3
mov ecx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x24]
neg ecx
push esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
imul eax, dword [esp + 0x30]
push edi
imul edi, dword [esp + 0x30], 3
mov dword [esp + 0x10], ecx
add eax, dword [esp + 0x20]
add edi, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x38], edi
mov esi, dword [eax + 0xcc]
imul esi, ebp
mov dword [esp + 0x34], edi
add esi, dword [eax + 0xc8]
add esi, dword [esp + 0x28]
test edx, edx
jle 0x501f04
mov ebp, dword [esp + 0x34]
mov ebx, 0xff
sub ebx, dword [esp + 0x40]
mov edi, edx
movzx eax, byte [esi]
movzx ecx, byte [ebp]
imul ecx, dword [esp + 0x40]
imul eax, ebx
add eax, ecx
mov ecx, 0xff
cdq
idiv ecx
inc ebp
mov byte [esi], al
inc esi
dec edi
jne 0x501ecc
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
dec ebx
inc ebp
cmp dword [eax + 0xe8], 0
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x2c], ebp
jne 0x501f1b
add edi, ecx
jmp 0x501f1f
add edi, dword [esp + 0x24]
mov dword [esp + 0x38], edi
test ebx, ebx
jne 0x501ea2
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 0x28
Function at 0x50254e
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
push esi
mov esi, dword [esp + 0x30]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0xd4]
mov dword [esp + 8], eax
test esi, esi
je 0x502603
imul eax, dword [esp + 0x20]
imul edx, dword [esp + 0x28], 3
push ebx
mov ebx, dword [esp + 0x28]
push ebp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
neg eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
imul eax, dword [esp + 0x34]
add eax, dword [esp + 0x20]
add edx, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [edi + 0xcc]
mov ebp, edx
imul ecx, ebx
add ecx, dword [edi + 0xc8]
add ecx, eax
cmp dword [esp + 0x38], 0
jle 0x5025e4
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x10]
mov al, byte [ebp + 2]
xor byte [ecx + 2], al
mov al, byte [ebp + 1]
xor byte [ecx + 1], al
mov al, byte [ebp]
lea ebp, [ebp + 3]
xor byte [ecx], al
add ecx, edi
dec esi
jne 0x5025bf
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
dec esi
inc ebx
cmp dword [edi + 0xe8], 0
mov dword [esp + 0x3c], esi
jne 0x5025f9
add edx, dword [esp + 0x14]
jmp 0x5025fd
add edx, dword [esp + 0x24]
test esi, esi
jne 0x50259d
pop ebp
pop ebx
pop edi
pop esi
pop ecx
pop ecx
ret 0x24
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43100c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403e6a
sub eax, reloc.winmm.dll_midiOutSetVolume
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219

Function at 0x4012b6
Capabilities:
Hide graphical window

Disassembly:
push ebp
push 0x10000
push 0x1000
push 1
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x403eb4], eax
push 0x64
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, 0x30
push eax
mov dword [eax], ecx
add eax, 0x4c
mov ebp, eax
mov eax, 0x400000
mov dword [0x403eb0], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], 0x401191
mov dword [ebp - 0x24], str.resiliency
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor eax, eax
push eax
push dword [0x403eb0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.abasement
push str.resiliency
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403eb8], eax
push eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401380
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401367
mov eax, dword [0x403eb4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
pop ebp
ret 0x10
Function at 0x404120
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 4], ecx
test eax, eax
je 0x404241
dec eax
shr eax, 2
push ebx
inc eax
push edi
mov dword [ebp + 8], eax
lea edi, [edx + 2]
mov bl, byte [ebp + 0xa]
mov dl, byte [edi - 2]
cmp dl, 0x2b
jne 0x404151
mov dl, 0x3e
jmp 0x40417a
cmp dl, 0x2f
jne 0x40415a
mov dl, 0x3f
jmp 0x40417a
cmp dl, 0x3d
jne 0x404163
mov dl, 0x40
jmp 0x40417a
cmp dl, 0x39
jg 0x40416d
add dl, 4
jmp 0x40417a
cmp dl, 0x5a
jg 0x404177
sub dl, 0x41
jmp 0x40417a
sub dl, 0x47
mov cl, byte [edi - 1]
cmp cl, 0x2b
jne 0x404186
mov cl, 0x3e
jmp 0x4041af
cmp cl, 0x2f
jne 0x40418f
mov cl, 0x3f
jmp 0x4041af
cmp cl, 0x3d
jne 0x404198
mov cl, 0x40
jmp 0x4041af
cmp cl, 0x39
jg 0x4041a2
add cl, 4
jmp 0x4041af
cmp cl, 0x5a
jg 0x4041ac
sub cl, 0x41
jmp 0x4041af
sub cl, 0x47
mov al, cl
shl dl, 2
shr al, 4
add al, dl
mov edx, dword [ebp - 4]
mov byte [esi + edx], al
inc esi
mov al, byte [edi]
cmp al, 0x3d
je 0x4041ff
mov bl, al
cmp bl, 0x2b
jne 0x4041d1
mov bl, 0x3e
jmp 0x4041f1
cmp bl, 0x2f
jne 0x4041da
mov bl, 0x3f
jmp 0x4041f1
cmp bl, 0x39
jg 0x4041e4
add bl, 4
jmp 0x4041f1
cmp bl, 0x5a
jg 0x4041ee
sub bl, 0x41
jmp 0x4041f1
sub bl, 0x47
mov al, bl
shl cl, 4
shr al, 2
add al, cl
mov byte [esi + edx], al
inc esi
mov al, byte [edi + 1]
cmp al, 0x3d
je 0x404233
cmp al, 0x2b
jne 0x40420e
mov al, 0x3e
jmp 0x404228
cmp al, 0x2f
jne 0x404216
mov al, 0x3f
jmp 0x404228
cmp al, 0x39
jg 0x40421e
add al, 4
jmp 0x404228
cmp al, 0x5a
jg 0x404226
sub al, 0x41
jmp 0x404228
sub al, 0x47
mov cl, bl
shl cl, 6
add cl, al
mov byte [esi + edx], cl
inc esi
add edi, 4
dec dword [ebp + 8]
jne 0x404145
pop edi
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x404250
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
xor esi, esi
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
push edi
mov edi, ecx
test ebx, ebx
je 0x404350
mov dl, byte [esi + edx]
inc esi
mov cl, dl
and dl, 3
shr cl, 2
movzx ecx, cl
shl dl, 4
mov cl, byte [ecx + 0x6984d8]
mov byte [eax + edi], cl
cmp esi, ebx
jae 0x40432e
mov ecx, dword [ebp - 4]
mov bl, byte [esi + ecx]
inc esi
mov cl, bl
and bl, 0xf
shr cl, 4
add dl, cl
movzx ecx, dl
mov cl, byte [ecx + 0x6984d8]
mov byte [eax + edi + 1], cl
cmp esi, dword [ebp + 8]
jae 0x40430b
mov ecx, dword [ebp - 4]
shl bl, 2
mov dl, byte [esi + ecx]
inc esi
mov cl, dl
and dl, 0x3f
shr cl, 6
add bl, cl
movzx ecx, bl
mov ebx, dword [ebp + 8]
movzx ecx, byte [ecx + 0x6984d8]
mov byte [eax + edi + 2], cl
movzx ecx, dl
mov edx, dword [ebp - 4]
movzx ecx, byte [ecx + 0x6984d8]
mov byte [eax + edi + 3], cl
add eax, 4
mov ecx, dword [ebp - 8]
add ecx, 3
mov dword [ebp - 8], ecx
cmp ecx, ebx
jb 0x404270
mov byte [eax + edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
shl bl, 2
movzx ecx, bl
mov cl, byte [ecx + 0x6984d8]
mov byte [eax + edi + 2], cl
mov byte [eax + edi + 3], 0x3d
add eax, 4
mov byte [eax + edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx ecx, dl
mov cl, byte [ecx + 0x6984d8]
mov byte [eax + edi + 1], cl
mov word [eax + edi + 2], 0x3d3d
add eax, 4
mov byte [eax + edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [eax + edi], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407170
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61d717
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x6d45e0]
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 edi, ecx
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x118], edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 4], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x38], 0xf
mov dword [edi + 0x34], 0
mov byte [edi + 0x24], 0
push 0x103
lea eax, [ebp - 0x113]
mov byte [ebp - 4], 2
push 0
push eax
mov byte [ebp - 0x114], 0
call fcn.004cf9d0
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
cmp dword [esi + 0x14], 0x10
jb 0x407219
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
cmp byte [ebp - 0x114], 0
jne 0x407234
xor ecx, ecx
jmp 0x407249
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407240
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
push eax
lea ecx, [edi + 0x24]
call fcn.00404a10
mov eax, edi
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.004c392d
mov esp, ebp
pop ebp
ret 4

Function at 0x409820
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push esi
mov esi, ecx
xor eax, eax
cmp dword [esi + 8], eax
push edi
lea edi, [esi + 8]
jne 0x409846
push edi
push 0x67904c
push 1
push eax
push 0x67903c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40988e
cmp dword [esi + 0xc], 0
push ebx
lea ebx, [esi + 0xc]
jne 0x40988d
mov ecx, dword [esi + 4]
mov edx, dword [edi]
test ecx, ecx
je 0x40985d
mov ecx, dword [ecx]
jmp 0x40985f
xor ecx, ecx
mov eax, dword [edx]
push ebx
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push edx
call dword [eax + 0xc]
test eax, eax
js 0x40988d
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebx]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
pop ebx
pop edi
pop esi
ret
Function at 0x409f10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61daca
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x6d45e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x18], esi
call fcn.0058cfda
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x409fb6
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.bad_locale_name
push eax
lea ecx, [ebp - 0x24]
call fcn.004c47e8
push 0x6d0188
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::runtime_error.0
push eax
call fcn.004cf17d
push edi
push esi
call fcn.0058ce16
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c392d
mov esp, ebp
pop ebp
ret 4

Function at 0x40a590
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x61d558
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x6d45e0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.00404890
push dword [ebp + 0xc]
lea eax, [esp + 0x28]
push dword [ebp + 8]
push eax
call fcn.0040a4c0
add esp, 0x24
mov dword [esp + 0x30], 0
cmp dword [eax + 0x14], 0x10
jb 0x40a601
mov eax, dword [eax]
mov dword [esp + 8], eax
mov ecx, esi
lea eax, [esp + 8]
push eax
call fcn.004c47e8
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x40a62a
push dword [esp + 0xc]
call fcn.004c41b0
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [esi], vtable.std::_System_error.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40ac20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x6d45e0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, edx
test ebx, ebx
je 0x40ad73
cmp dword [edi + 0x10], 0
je 0x40ad73
xorps xmm0, xmm0
mov dword [ebp - 0x150], 0
movdqu xmmword [ebp - 0x124], xmm0
push 0x104
movdqu xmmword [ebp - 0x134], xmm0
lea eax, [ebp - 0x114]
mov dword [ebp - 0x13c], 0
movdqu xmmword [ebp - 0x14c], xmm0
push 0
movdqu xmm0, xmmword [ebp - 0x150]
push eax
mov dword [ebp - 0x120], 0
movdqu xmmword [ebp - 0x138], xmm0
mov dword [ebp - 0x11c], 0
movq xmm0, qword [ebp - 0x140]
movq qword [ebp - 0x128], xmm0
mov dword [ebp - 0x118], 0
call fcn.004cf9d0
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x40acda
mov edi, dword [edi]
push edi
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.004c4d11
add esp, 0xc
cmp dword [esi + 0x10], 0
jne 0x40ad0e
push 0x698790
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.004c4d11
add esp, 0xc
push 0xffffffffffffffff
push 8
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x114]
push eax
push ebx
call fcn.005a8ac0
test eax, eax
jne 0x40ad73
cmp dword [esi + 0x10], eax
je 0x40adf8
cmp dword [esi + 0x14], 0x10
jb 0x40ad45
mov esi, dword [esi]
push 0x40
push 0x698794
push esi
call fcn.004c4972
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x40ad86
push str.Open_source_file_failed.
push 0x6eef78
call fcn.0040b800
push eax
call fcn.0040bac0
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004c392d
mov esp, ebp
pop ebp
ret
push 0x19000
call fcn.004c42fc
mov edi, eax
add esp, 4
test edi, edi
jne 0x40ada0
push str.new_buffer_failed.
jmp 0x40ad60
push esi
call fcn.004c4926
add esp, 4
test eax, eax
jne 0x40ade6
lea ecx, [ecx]
push esi
push 4
push 1
push edi
mov dword [edi], 0
call fcn.004c4c10
add esp, 0x10
push eax
push edi
push ebx
call fcn.005a8b00
push esi
call fcn.004c494c
add esp, 4
test eax, eax
jne 0x40ade6
push esi
call fcn.004c4926
add esp, 4
test eax, eax
je 0x40adb0
push edi
call fcn.004c440c
add esp, 4
push esi
call fcn.004c4de0
add esp, 4
push ebx
call fcn.005a7f20
mov ecx, dword [ebp - 8]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c392d
mov esp, ebp
pop ebp
ret
Function at 0x40b340
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, edx
xor bl, bl
push edi
mov edi, ecx
cmp dword [esi + 0x14], 0x10
jb 0x40b356
mov eax, dword [esi]
jmp 0x40b358
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x40b36f
cmp dword [esi + 0x14], 0x10
jb 0x40b36b
mov esi, dword [esi]
push 0
jmp 0x40b379
cmp dword [esi + 0x14], 0x10
jb 0x40b377
mov esi, dword [esi]
push 2
push esi
call fcn.005a8590
mov esi, eax
test esi, esi
jne 0x40b3a4
push str.create_zip_file_failed.
push 0x6eef78
call fcn.0040b800
push eax
call fcn.0040bac0
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret
push dword [ebp + 8]
mov edx, edi
mov ecx, esi
call fcn.0040ae20
add esp, 4
movzx ebx, bl
test al, al
mov ecx, 1
cmovne ebx, ecx
push 0
push esi
call fcn.005a7da0
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
ret
Function at 0x40f6e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x40f711
lea esp, [esp]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x40f700
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x412720
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x6d45e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x234], esi
cmp esi, 0xffffffff
jne 0x41275c
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c392d
mov esp, ebp
pop ebp
ret
push ebx
push 0x228
xor ebx, ebx
lea eax, [ebp - 0x22c]
push ebx
push eax
call fcn.004cf9d0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x41285f
push 0xc
call fcn.004c4200
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4127c8
xorps xmm0, xmm0
movq qword [ebx], xmm0
mov dword [ebx + 8], 0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
jmp 0x4127ca
xor ebx, ebx
push edi
jmp 0x4127d0
mov esi, dword [ebx + 4]
lea eax, [ebp - 0x230]
cmp eax, esi
jae 0x41281a
mov eax, dword [ebx]
lea ecx, [ebp - 0x230]
cmp eax, ecx
ja 0x41281a
sub ecx, eax
mov eax, 0x75ded953
imul ecx
sar edx, 8
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp esi, dword [ebx + 8]
jne 0x412809
push ecx
mov ecx, ebx
call fcn.00414f00
imul esi, edi, 0x22c
mov edi, dword [ebx + 4]
add esi, dword [ebx]
test edi, edi
je 0x41283b
jmp 0x412834
cmp esi, dword [ebx + 8]
jne 0x412827
push ecx
mov ecx, ebx
call fcn.00414f00
mov edi, dword [ebx + 4]
test edi, edi
je 0x41283b
lea esi, [ebp - 0x230]
mov ecx, 0x8b
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x234]
lea eax, [ebp - 0x230]
add dword [ebx + 4], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4127d0
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop ebx
xor ecx, ebp
pop esi
call fcn.004c392d
mov esp, ebp
pop ebp
ret