joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e4ac
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.00408aed
and dword [ebp - 4], 0
cmp dword [0x417328], 0
mov ebx, eax
jne 0x40e55d
push 0x4034dc
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40e60e
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x4034d0
push edi
call esi
test eax, eax
je 0x40e60e
push eax
call fcn.00408a7b
mov dword [esp], 0x4034c0
push edi
mov dword [0x417328], eax
call esi
push eax
call fcn.00408a7b
mov dword [esp], 0x4034ac
push edi
mov dword [0x41732c], eax
call esi
push eax
call fcn.00408a7b
mov dword [esp], 0x403490
push edi
mov dword [0x417330], eax
call esi
push eax
call fcn.00408a7b
pop ecx
mov dword [0x417338], eax
test eax, eax
je 0x40e55d
push 0x403478
push edi
call esi
push eax
call fcn.00408a7b
pop ecx
mov dword [0x417334], eax
mov eax, dword [0x417334]
cmp eax, ebx
je 0x40e5b5
cmp dword [0x417338], ebx
je 0x40e5b5
push eax
call fcn.00408af6
push dword [0x417338]
mov esi, eax
call fcn.00408af6
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40e5b5
test edi, edi
je 0x40e5b5
call esi
test eax, eax
je 0x40e5ac
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40e5ac
test byte [ebp - 0xc], 1
jne 0x40e5b5
or dword [ebp + 0x10], 0x200000
jmp 0x40e5ee
mov eax, dword [0x41732c]
cmp eax, ebx
je 0x40e5ee
push eax
call fcn.00408af6
pop ecx
test eax, eax
je 0x40e5ee
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40e5ee
mov eax, dword [0x417330]
cmp eax, ebx
je 0x40e5ee
push eax
call fcn.00408af6
pop ecx
test eax, eax
je 0x40e5ee
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x417328]
call fcn.00408af6
pop ecx
test eax, eax
je 0x40e60e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40e610
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x411af0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
push 0xa
push 0x44f
mov eax, dword [0x417350]
push eax
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x411b46
jmp 0x411bd9
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [0x417350]
push edx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x411b64
jmp 0x411bd9
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [0x417350]
push ecx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x411b82
jmp 0x411bd9
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x411b99
jmp 0x411bd9
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push 0
call dword [sym.imp.GDI32.dll_ExtCreateRegion]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x411bb6
jmp 0x411bd9
push 1
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [0x417430]
push eax
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x411bd5
jmp 0x411bd9
mov al, 1
jmp 0x411bdb
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x401140
Capabilities:
Load windows common language runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0x411d5c
call esi
push 0x411d70
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40116e
push 0x800
call eax
push 0x411d8c
call esi
push str.CLRCreateInstance
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 4], 0
test eax, eax
je 0x4011e8
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push 0x411e2c
push 0x411e3c
call eax
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x4011e0
mov eax, dword [ecx]
lea edx, [esp + 0x10]
push edx
push 0x411e4c
push str.v4.0.30319
push ecx
call dword [eax + 0xc]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4011e0
mov eax, dword [ecx]
lea edx, [esp + 4]
push edx
push 0x411dfc
push 0x411e1c
push ecx
call dword [eax + 0x24]
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x401207
lea eax, [esp + 4]
push eax
push 0x411dfc
push 0x411e1c
push 0
push 0
push 0
call dword [sym.imp.mscoree.dll_CorBindToRuntimeEx]
mov ecx, dword [esp + 4]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x28]
mov eax, dword [esp + 4]
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0xc]
push edx
push 0x411e0c
push eax
mov ecx, dword [eax]
call dword [ecx]
mov edx, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
push str._RESOLVER
call fcn.00401010
mov edx, dword [esp + 0x10]
add esp, 4
mov ecx, dword [ebp + 8]
push str._ENTRYPOINT
call fcn.00401010
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x401a94
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401ad3
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401ad3
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401ad3
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401ad3
cmp dword [ecx + 0x74], 0xe
jbe 0x401ad3
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40bf80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40bfad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40bfad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x40893a
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x4085d8
sub ecx, ecx
call fcn.00408958
and edx, ecx
xor dword [edi], esi
dec edx
inc edi
cmp edi, eax
jne fcn.0040893a
add ecx, 0x8c18558
inc ecx
ret
Function at 0x404690
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x410b2e
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
push edi
mov eax, dword [0x416040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x44], 0
cmp dword [edx + 0x14], 0xf
jbe 0x4046ce
mov edx, dword [edx]
push edx
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov edx, eax
add esp, 4
xorps xmm0, xmm0
test edx, edx
je 0x404715
mov ecx, edx
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4046f8
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00404840
lea ecx, [ebp - 0x40]
mov eax, 1
jmp 0x40473e
push 0
push 0x412499
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.00404840
lea ecx, [ebp - 0x28]
mov eax, 2
xorps xmm0, xmm0
or eax, 4
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [ecx]
movups xmmword [esi], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
test al, 2
je 0x4047b3
mov ecx, dword [ebp - 0x14]
and eax, 0xfffffffd
mov dword [ebp - 0x10], eax
cmp ecx, 0xf
jbe 0x4047b3
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4047a6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4047dd
push ecx
push edx
call fcn.0040fa62
mov eax, dword [ebp - 0x10]
add esp, 8
test al, 1
je 0x4047ed
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x4047ed
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4047e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4047e3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040fa62
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x405710
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x40573c
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 + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x405764
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x40576a
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x4057f4
jg 0x405781
test esi, esi
je 0x4057f4
test ecx, ecx
jl 0x4057d7
jg 0x40578b
test eax, eax
je 0x4057d7
cmp edi, ecx
jg 0x40579f
jl 0x405795
cmp esi, eax
jae 0x40579f
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 8]
add edx, ecx
sub esi, ecx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
test edi, edi
jl 0x4057f4
jg 0x4057da
test esi, esi
je 0x4057f4
jmp 0x4057da
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x4057f4
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 + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x405810
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], esi
test eax, eax
jg 0x40583c
jl 0x405830
test ecx, ecx
jne 0x40583c
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x405855
push eax
push ecx
push esi
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
push edi
mov edi, ecx
mov eax, dword [eax]
mov dword [ebp - 8], eax
test eax, eax
je 0x40589d
mov eax, dword [ebx + 0x2c]
lea edx, [ebx + 0x2c]
mov dword [ebp - 0xc], edx
mov eax, dword [eax]
test eax, eax
je 0x4058a3
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push dword [ebp - 8]
push dword [ebp - 4]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2c]
sub edi, esi
add dword [ebp - 4], esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [ebp - 4]
jmp 0x4058a3
lea eax, [ebx + 0x2c]
mov dword [ebp - 0xc], eax
cmp dword [ebx + 0x4c], 0
je 0x405916
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x4058cc
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 [ebp - 0xc]
mov eax, dword [eax]
mov dword [eax], edx
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp edi, 0xfff
jbe 0x405904
nop dword [eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call eax
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x405916
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x4058e0
test edi, edi
je 0x405916
push dword [ebx + 0x4c]
push edi
push 1
push esi
call eax
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 0x405c90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x416040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x405cc0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f7ce
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x405cfc
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x405cfc
lea ecx, [edi - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f7ce
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x405dd3
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x405d24
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x405d30
movsx eax, bl
jmp 0x405d68
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x405d92
sub eax, 1
je 0x405d92
sub eax, 2
jne 0x405dd3
movsx eax, byte [ebp - 0x25]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f7ce
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x405db0
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x405dd3
lea ecx, [ebp - 0x25]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [ebp - 0x30], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f7ce
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f7ce
mov esp, ebp
pop ebp
ret 4

Function at 0x405f70
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 0x405fa1
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x405f90
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x406280
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x416040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x40633c
cmp byte [esi + 0x3d], 0
je 0x40633c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x40632a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x4062f1
sub eax, 1
je 0x4062f5
sub eax, 2
jne 0x40632a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f7ce
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x406313
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x40632a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f7ce
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f7ce
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0040f7ce
mov esp, ebp
pop ebp
ret
Function at 0x40f060
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4114fc
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x416040]
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 ebx, edx
mov esi, dword [ebp + 0xc]
push 0x1c
call fcn.0040f7dc
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
push esi
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.00401860
mov dword [edi + 0x18], 0x404a40
mov dword [ebp - 0x14], edi
lea esi, [ebx + 4]
mov dword [ebp - 4], 1
push esi
push 0
push edi
push 0x40f170
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebx], eax
test eax, eax
jne 0x40f0e8
push 6
mov dword [esi], eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
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.0040f7ce
mov esp, ebp
pop ebp
ret

Function at 0x40f238
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x40f25f
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x40f262
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.0040f214
pop esi
leave
ret 8

Function at 0x4103ae
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4103ed
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4103ed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4103ed
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4103ed
cmp dword [ecx + 0x74], 0xe
jbe 0x4103ed
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0xb7d352
Capabilities:
Encode data using base64

Disassembly:
push 0x6db87d29
lea esp, [esp + 8]
call eax
mov ebx, 0x83863930
mov esi, ebx
mov ebp, dword [ebp - 4]
add si, 0x8c39
mov dword [ebp], eax
rol esi, 0xa
movsx ecx, bx
mov esi, ebp
shl ebx, 0x16

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

Disassembly:
mov dword [esp], 0x401cbb22
div ecx
mov dword [edi + 8], edx
call int.0143fdc7
mov esi, dword [esi + edx - 0x480888ab]
sub edx, edx
jp fcn.0142c7c7

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

Disassembly:
push 0x2c949f32
call fcn.014786a9

Function at 0xb92d3d
Capabilities:
Authenticate hmac

Disassembly:
lea esp, [esp + 0xc]
jne 0x156dbfb

Function at 0xb9761a
Capabilities:
Authenticate hmac
Encode data using base64
Encrypt data using chaskey
Encrypt data using rc4 ksa
Encrypt data using speck
Hash data using murmur3

Disassembly:
xor ax, bx
btc dx, 0x8b
shl dx, 0x66
adc byte [esp + edx*2 - 0x197b], 0x86
neg ax
neg edx
sub dx, 0xb5a5
xor ax, 0x28a6
pop edx
mov edx, 0xe2b7491d
push edx
sub ax, 0x9e9a
add ecx, edx
lea edx, [ecx*4 + 0x25131e98]
xor ax, 0x78b6
xchg dx, cx
ror cx, 0xcd
ror ax, 1
xor dword [esp + ecx - 0xfcd9d61], 0x311fb0aa
neg dx
inc ax
xadd byte [esp + ecx - 0xfcd9d62], cl
jo 0x136cd94
sal edx, 0x4e
neg ax
not ax
neg ax
shl dword [esp + ecx*8 - 0x7e6cedb7], cl
adc ecx, edx
or dword [esp + edx - 0x58aebffd], 0x428634ba
inc ax
bt edx, 0x96
xor bx, ax
dec cx
mov word [ecx + edi - 0x687c5db5], ax
jne 0x14a667b
jle 0x15474da
inc bp
xor esp, edi
cwd
push eax
inc cx
ror esp, 1
inc cx
not esp
inc cx
neg esp
dec esp
lea ebp, [edx*2 - 0x72611567]
inc ebp
sub ch, ch
inc esp
movsx eax, ax
inc cx
not esp
inc word [esp + eax - 0xa]
inc ecx
idiv al
jmp 0x12bbdfe
inc bp
xor edi, esp
dec edx
lea ebp, [ebp*2 - 0x12f9ba51]
dec ecx
mul eax
movzx ecx, dl
dec esi
lea esp, [esp + 0x10]
inc cx
bts ebp, 0xe
inc esp
movzx ecx, word [esp + eax*8 - 0x66]
dec ebp
mov dword [esp + eax - 0xd], ebx
ror byte [esp + eax - 3], 0x42
mov ebx, dword [esi + edx - 6]
cbw
dec eax
xchg ebp, eax
dec eax
lea esi, [esi + edx - 6]
inc ecx
xor ebx, edi
bswap ebx
rol ebx, 3
mul word [esp + edx]
bswap ebx
sub ebx, edx
dec esi
lea edx, [ecx*4 + 0x1481b1bd]
mul ecx
not dl
rol ebx, 2
inc bp
add ecx, edx
sar word [esp + eax + 4], 0x6d
sub word [esp + eax + 4], 0x91b6
dec esp
mov dword [esp + eax*2 + 8], edi
call fcn.01315659
mov edx, 0x5c038288
movsx eax, dl
movzx eax, byte [edx + esi - 0x5c038289]
sar dl, 0xa5
xor al, bl
movsx ecx, dx
shl cx, 0x41
not edx
neg al
ror al, 1
ror dx, 0x8b
neg al
add al, 0x9d
jmp 0x1583a77
btc dx, 0xba
lea edi, [ecx + edi - 0x687c5db5]
mov dword [esp + edx - 0x58aec400], ebp
ret 4

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

Disassembly:
xor ecx, ebx
call fcn.015417db
clc
cmp dl, al