joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x118
mov eax, dword [0x4c7480]
add byte [ecx + 0x5604244c], cl
push edi
test al, 1
je 0x40b536
mov edi, dword [ebp + 0x10]
xor eax, eax
or eax, 1
mov dword [0x4c7488], 0
push 0x43b83c
mov dword [0x4c7480], eax
mov dword [0x4c7490], 0
mov dword [0x4c7494], 1
call fcn.00422f80
add esp, 4
jmp 0x40a01f

Function at 0x40a010
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x118
mov eax, dword [0x4c7480]
add byte [ecx + 0x5604244c], cl
push edi
test al, 1
je 0x40b536
mov edi, dword [ebp + 0x10]
xor eax, eax
or eax, 1
mov dword [0x4c7488], 0
push 0x43b83c
mov dword [0x4c7480], eax
mov dword [0x4c7490], 0
mov dword [0x4c7494], 1
call fcn.00422f80
add esp, 4
jmp 0x40a01f
Function at 0x415e58
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov edx, dword [eax + 4]
mov edi, dword [eax]
add edx, edx
mov eax, 0x1505
test edx, edx
jle 0x415e80
movzx ecx, byte [esi + edi]
imul eax, eax, 0x21
add eax, ecx
inc esi
cmp esi, edx
jl 0x415e72
pop edi
pop esi
pop ebp
ret 4

Function at 0x41710e
Capabilities:
Encode data using base64
Encrypt data using speck

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
mov eax, edx
mov dword [ebp - 0x120], ecx
mov ecx, dword [ecx]
mov dword [ebp - 0x140], eax
push ebx
mov edx, dword [eax]
mov eax, ecx
shr eax, 0xb
and eax, 1
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x3c], eax
mov eax, ecx
shr eax, 9
push esi
mov esi, dword [ebp + 8]
and eax, 1
mov dword [ebp - 0xdc], eax
xor eax, 1
push edi
xor edi, edi
mov dword [ebp - 0xe8], eax
mov esi, dword [esi]
mov ebx, edi
push 0xfffffffffffffffe
pop eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x2c], eax
movsx eax, cl
and eax, dword [ebp - 0xc]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0x84], edi
mov dword [ebp - 8], edx
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x98], edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0xb4], 0xff
mov dword [ebp - 0x12c], 0xfc00
mov dword [ebp - 0x148], 0xdc00
mov dword [ebp - 0x158], 0x2b
mov dword [ebp - 0x128], 0x7b
mov dword [ebp - 0xe4], 0x30
mov dword [ebp - 0x118], 0x29
mov dword [ebp - 0x90], 0x39
mov dword [ebp - 0x110], 0x3c
mov dword [ebp - 0x144], 0x52
mov dword [ebp - 0xe0], 0x27
mov dword [ebp - 0x154], 0x2d
mov dword [ebp - 0x100], 0x10
mov dword [ebp - 0x114], 0x17
mov dword [ebp - 0x14c], 0x20
mov dword [ebp - 0x104], 0x1d
mov dword [ebp - 0x134], 0x1e
mov dword [ebp - 0x10c], 0x1f
mov dword [ebp - 0x13c], 0x6e
mov dword [ebp - 0x11c], 0x6f
mov dword [ebp - 0x150], 0x70
mov dword [ebp - 0x124], 0x71
mov dword [ebp - 0xfc], 0x73
mov dword [ebp - 0x108], 0xf
Function at 0x411c32
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x423a28
call fcn.004143e4
xor esi, esi
cmp dword [0x42a1b8], esi
jne 0x411aea
push esi
push esi
push 1
push esi
call dword [sym.imp.kernel32.dll_HeapSetInformation]
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x411afd
mov dword [ebp - 0x1c], esi
jmp 0x411b33
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x411af8
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x411af8
cmp dword [eax + 0x400074], 0xe
jbe 0x411af8
xor ecx, ecx
cmp dword [eax + 0x4000e8], esi
setne cl
mov dword [ebp - 0x1c], ecx
call fcn.004143c6
test eax, eax
jne 0x411b44
push 0x1c
call fcn.0041ddd1
pop ecx
call fcn.0041424b
test eax, eax
jne 0x411b55
push 0x10
call fcn.0041ddd1
pop ecx
call fcn.00413f00
mov dword [ebp - 4], esi
call fcn.0041ddd1
test eax, eax
jns 0x411b70
push 0x1b
call fcn.0041ddd1
jmp 0x411b6f
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x42a1b4], eax
call fcn.0041ddd1
mov dword [0x4283d0], eax
call fcn.0041ddd1
test eax, eax
jns 0x411b98
push 8
call fcn.0041ddd1
jmp 0x411b97
pop ecx
call fcn.004138f3
test eax, eax
jns 0x411bab
push 9
call fcn.0041ddd1
jmp 0x411baa
pop ecx
push 1
call fcn.0041ddd1
pop ecx
cmp eax, esi
je 0x411bc0
push eax
call fcn.0041ddd1
jmp 0x411bbf
pop ecx
mov eax, dword [0x4283ec]
mov dword [0x4283f0], eax
push eax
push dword [0x4283e8]
push dword [0x4283e4]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], esi
jne 0x411bed
push eax
call fcn.0041ddd1
call fcn.0041355f
jmp 0x411c22
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.00414429
ret
call fcn.0041ddd1
jmp 0x411ac9

Function at 0x4122f2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x426fa0]
jne 0x414d44
repz ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x428c58], eax
mov dword [0x428c54], ecx
mov dword [0x428c50], edx
mov dword [0x428c4c], ebx
mov dword [0x428c48], esi
mov dword [0x428c44], edi
mov word [0x428c70], ss
mov word [0x428c64], cs
mov word [0x428c40], ds
mov word [0x428c3c], es
mov word [0x428c38], fs
mov word [0x428c34], gs
pushfd
pop dword [0x428c68]
mov eax, dword [ebp]
mov dword [0x428c5c], eax
mov eax, dword [ebp + 4]
mov dword [0x428c60], eax
lea eax, [ebp + 8]
mov dword [0x428c6c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x428ba8], 0x10001
mov eax, dword [0x428c60]
mov dword [0x428b5c], eax
mov dword [0x428b50], 0xc0000409
mov dword [0x428b54], 1
mov eax, dword [0x426fa0]
mov dword [ebp - 0x328], eax
mov eax, dword [0x426fa4]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x428ba0], eax
push 1
call fcn.00416f22
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x405c7c
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x428ba0], 0
jne 0x414e30
push 1
call fcn.00416f22
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x41d692
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
push 0x4072c8
xor ebx, ebx
push ebx
push 0x100000
call dword [sym.imp.kernel32.dll_OpenMutexW]
mov esi, eax
test esi, esi
jne 0x41d6b8
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 5
jne 0x41d6c5
mov bl, 1
test esi, esi
je 0x41d6c5
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
pop esi
mov al, bl
pop ebx
ret

Function at 0x41ddd1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x41dde0
pop dword [ebp - 0x34]
mov eax, 0x41dde0
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x9f4e8f7d
sub dword [ebp - 0x44], 0x50fc4a32
mov dword [ebp - 0x40], 0x6a11cc2
add dword [ebp - 0x40], 0x2b922f83
mov dword [ebp - 0x3c], 0xff8a9726
sub dword [ebp - 0x3c], 0xb33e52f8
mov dword [ebp - 0x38], 0x765cd264
add dword [ebp - 0x38], 0x89a32d9c
lea eax, [ebp - 0x44]
push eax
mov eax, 0x8246c04f
add eax, 0x7df95165
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x9ebf4def
sub dword [ebp - 0x44], 0x2a4ce499
mov dword [ebp - 0x40], 0x39f975e6
sub dword [ebp - 0x40], 0xf88d1471
mov dword [ebp - 0x3c], 0x58332c42
add dword [ebp - 0x3c], 0xb3c402a
mov dword [ebp - 0x38], 0x30c9238c
sub dword [ebp - 0x38], 0x30c9238c
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0xb87bb898
sub eax, 0xb83ba790
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x42ccd
push 0
call eax
mov ecx, 0x5c27
xor edx, edx
add edx, eax
mov edi, 0x455c00
add edi, dword [ebp - 0x34]
mov esi, 0x78df4870
add esi, 0x946484bb
mov dword [ebp - 0x24], 0x64e50aef
mov ebx, dword [edi]
sub dword [ebp - 8], 0x62f260eb
xor ebx, esi
mov dword [edx], ebx
add dword [ebp - 0x14], edi
add edx, 4
add edi, 0xde492686
add edi, 0x21b6d97e
loop 0x41def3
add eax, 0x1636f
mov ebx, eax
add eax, 0x401754ed
sub eax, 0x401754e8
mov ecx, 0x400000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x67641620
Capabilities:
Contain obfuscated stackstrings
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x120]
push ebx
lea ebx, [ebp - 0x11c]
sub esp, 0x13c
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x120], 0x104
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.shlwapi.dll_PathCreateFromUrlA]
sub esp, 0x10
mov edi, eax
test byte [0x67643048], 8
jne 0x676416b0
mov eax, dword [ebp + 0x14]
test edi, edi
mov dword [esp + 0x10], 0
cmove esi, ebx
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.shell32.dll_ShellExecuteA]
sub esp, 0x18
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, esi
call sym._wine_dbgstr_an.constprop.0
mov edx, dword [ebp + 0x14]
mov dword [esp + 0xc], str.__p___s___d__n
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.FileProtocolHandlerA
mov dword [esp + 4], 0x67643048
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x6764166c

Function at 0x67641700
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test byte [0x67643048], 1
jne 0x67641710
xor eax, eax
ret 4
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], str.__08lx_:_stub__n
mov dword [esp + 8], str.InetIsOffline
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x67643048
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
xor eax, eax
leave
ret 4

Function at 0x67641750
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test byte [0x67643048], 1
jne 0x67641760
ret 0x10
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 0x10]
call sym._wine_dbgstr_an.constprop.0
mov edx, dword [ebp + 0x14]
mov dword [esp + 0xc], str.__p___p___s___d_:_stub__n
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], str.OpenURLA
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x67643048
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
leave
ret 0x10
Function at 0x67642180
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x676421d8
cmp byte [esi + ebx - 1], 0xa
je 0x676421ac
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x67643118], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x5bf66b0
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c4c2c0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
mov eax, dword [0x5c61080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0
mov eax, 0x7fffffff
mov edx, dword [ebx + 0x18]
sub eax, edx
cmp eax, 1
jb 0x5bf6821
cmp dword [ebx + 0x1c], 0xf
lea eax, [ebx + 8]
push 1
cmova eax, dword [ebx + 8]
push 0x5c5888c
push edx
push eax
push ecx
push dword [ebp - 0x20]
lea ecx, [ebp - 0x38]
call fcn.05bfc2b0
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0xf
jbe 0x5bf675f
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5bf6755
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5bf6826
push ecx
push edx
call fcn.05c28149
add esp, 8
movups xmm1, xmmword [ebp - 0x38]
lea esi, [ebx + 8]
movq xmm0, qword [ebp - 0x28]
movq qword [ebx + 0x18], xmm0
mov edi, dword [ebx + 0x1c]
cmp edi, 0xf
movd edx, xmm1
movups xmmword [ebx + 8], xmm1
cmova esi, edx
mov ecx, esi
lea eax, [ecx + 1]
mov dword [ebp - 0x1c], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5bf6790
sub ecx, dword [ebp - 0x1c]
je 0x5bf67d7
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5bf67a7
push 0
lea eax, [ebp - 0x18]
sub ecx, edx
push eax
push ecx
push esi
push dword [ebp - 0x20]
call edi
test eax, eax
jne 0x5bf67d1
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5bf67c6
sub eax, edx
jne 0x5bf67a2
mov edi, dword [ebx + 0x1c]
mov edx, dword [ebx + 8]
cmp edi, 0xf
jbe 0x5bf6803
lea ecx, [edi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x5bf67f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5bf6826
push ecx
push edx
call fcn.05c28149
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.05c2813b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.05bf1270
call fcn.05c2cefa
int3
Function at 0x5bf7410
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x5bf7442
jl 0x5bf7435
test ecx, ecx
jne 0x5bf7442
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x5bf7502
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.05bf9ed0
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x5bf74ae
jg 0x5bf746d
test esi, esi
je 0x5bf74ae
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x5bf7485
mov eax, dword [esp + 0x10]
jl 0x5bf747f
cmp eax, esi
jae 0x5bf7485
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.05c297b0
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x5bf74cf
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x5bf74eb
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x5bf7454
jl 0x5bf74eb
test ecx, ecx
jne 0x5bf7454
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x5bf7546
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x5bf7546
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.05c297b0
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x5bf75b7
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x5bf756c
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x5bf75a2
nop dword [eax + eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.05c2e652
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x5bf75b7
cmp edi, eax
ja 0x5bf7580
test edi, edi
je 0x5bf75b7
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.05c2e652
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5bfa910
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c4bd80
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5c61080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.05c2817a
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.05c130b6
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.05bfa460
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x5bfcdb0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x5c61080]
xor eax, esp
mov dword [esp + 0x130], eax
push esi
push 0x5c58c68
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x5bfce07
test esi, esi
je 0x5bfcdf4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x134]
pop esi
xor ecx, esp
call fcn.05c2813b
mov esp, ebp
pop ebp
ret
mov eax, dword fs:[0x2c]
mov ecx, dword [0x5c639ac]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x5c641a4]
cmp eax, dword [ecx + 4]
jle 0x5bfce62
push 0x5c641a4
call fcn.05c28200
add esp, 4
cmp dword [0x5c641a4], 0xffffffff
jne 0x5bfce62
push 0x5c587ac
mov ecx, 0x5c641a8
call fcn.05bf9450
push 0x5c4f470
call fcn.05c28569
add esp, 4
push 0x5c641a4
call fcn.05c281af
add esp, 4
push 0x104
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.05c29d30
add esp, 0xc
lea eax, [esp + 0x28]
push 0x104
push eax
push dword [0x5c64180]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x5bfceb2
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
call fcn.05bf9450
push eax
mov ecx, 0x5c641a8
call fcn.05bf9380
lea ecx, [esp + 0x10]
call fcn.05bf9330
lea eax, [esp + 0xc]
mov ecx, 0x5c641a8
push eax
call fcn.05bf9250
mov esi, eax
mov ecx, 0x5c641a8
lea eax, [esp + 8]
push eax
call fcn.05bf9270
push ecx
push dword [esi]
lea ecx, [esp + 0x18]
push dword [eax]
call fcn.05bfac70
sub esp, 0x18
lea eax, [esp + 0x28]
mov ecx, esp
push eax
call fcn.05bf90e0
call fcn.05bf2b10
int3
Function at 0x5c096b0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c4d5df
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x10
push esi
push edi
mov eax, dword [0x5c61080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea esi, [eax + 0x18]
mov dword [ebp - 4], 0
lea eax, [ecx + 0x18]
push esi
mov ecx, eax
mov dword [ebp - 0x18], eax
call fcn.05bf94c0
push 0x10
mov byte [ebp - 4], 1
call fcn.05c2817a
mov edi, eax
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 2
mov esi, dword [esi + 0x18]
push 0x48
call fcn.05c2817a
add esp, 8
mov dword [edi + 4], eax
mov byte [ebp - 4], 3
mov ecx, edi
push esi
mov dword [edi + 0xc], 0
call fcn.05c0cfb0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x30], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x5c19ebb
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], edx
jbe 0x5c19ede
movzx eax, byte [esi + edx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [ebp + 0x10]
jb 0x5c19ecc
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x5c27c28
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.05c34d7e
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x5c27c67
sub eax, 1
je 0x5c27c62
sub eax, 1
je 0x5c27c5e
xor eax, eax
leave
ret
push 3
jmp 0x5c27c69
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x5c37d9e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x5c37ddd
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x5c37ddd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x5c37ddd
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x5c37ddd
cmp dword [ecx + 0x74], 0xe
jbe 0x5c37ddd
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x5c3c6ee
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.05c29110
mov eax, dword [0x5c61080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.05c3aa96
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x5c3c730
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x5c3c88c
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.05c4b5f0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x5c63d28]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.05c3c277
mov ecx, dword [esi*4 + 0x5c63d28]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x5c3c885
cmp eax, dword [ecx + edi + 0x24]
jne 0x5c3c885
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x5c3c885
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.05c3c277
add esp, 0x14
test edx, edx
jl 0x5c3c885
jg 0x5c3c7fb
test eax, eax
jb 0x5c3c885
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x5c3c885
jl 0x5c3c815
cmp dword [ebp - 0x1008], eax
ja 0x5c3c885
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x5c3c833
test ebx, ebx
je 0x5c3c86c
cmp ecx, edi
jae 0x5c3c86c
mov al, byte [ecx]
cmp al, 0xd
jne 0x5c3c84d
lea eax, [edi - 1]
cmp ecx, eax
jae 0x5c3c859
cmp byte [ecx + 1], 0xa
jne 0x5c3c859
inc ecx
jmp 0x5c3c859
movzx eax, al
movsx eax, byte [eax + 0x5c61328]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x5c3c833
cmp edx, ebx
jne 0x5c3c833
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x5c3c88a
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.05c2813b
leave
ret