joyce8/EMBER2024-capa huggingface dataset:
Function at 0x465f3c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x465f53
add esp, 0xfffffff0
call fcn.004037dc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042628c
mov eax, dword [0x4afb90]
cmp word [eax + 2], 0
jne 0x465f7b
mov eax, dword [0x4afb90]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004676bc
mov eax, dword [0x4afcb8]
cmp word [eax + 2], 0
jne 0x465f95
mov eax, dword [0x4afcb8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004678b4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41aed0]
call fcn.00403448
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41aed0]
call fcn.00403448
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x428df0]
call fcn.0043030c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x46611c
mov eax, dword [0x4af9dc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004306dc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x467e64
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4af9dc]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d7f8
test eax, eax
je 0x46608a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409360
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d820
test eax, eax
je 0x46609e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.0040453c
mov eax, dword [0x4af7f0]
cmp byte [eax], 0
jne 0x4660d2
mov eax, ebx
call fcn.00466244
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00468040
mov eax, ebx
call fcn.00468a04
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x466112
call fcn.00403834
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4664c4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4b0be0]
cmp dword [eax + 0x30], 0
je 0x46656e
cmp dword [ebx + 0x94], 0
jne 0x466568
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x466454
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x466568
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x46652e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x466568
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041d840
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46653d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4670d0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x467105
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004043bc
jmp 0x467112
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404320
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46821c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46825d
mov eax, esi
call fcn.0044e40c
test al, al
je 0x46825d
mov eax, dword [ebx + 0x84]
call fcn.0044e108
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46825d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044e108
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x48c3a4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
mov byte [ebp - 5], cl
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040477c
xor eax, eax
push ebp
push 0x48c476
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 0x48c488
lea edi, [ebp - 0x2c]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.0040478c
mov esi, eax
inc esi
mov dword [ebp - 0xc], 1
xor edi, edi
jmp 0x48c457
mov dl, byte [esi]
cmp dl, 0x27
je 0x48c3fc
cmp dl, byte [ebp - 5]
jne 0x48c401
xor bl, 1
jmp 0x48c453
test bl, bl
jne 0x48c453
mov al, byte [esi]
and eax, 0xff
bt dword [ebp - 0x2c], eax
jae 0x48c453
cmp byte [ebp + 8], 0
je 0x48c42a
mov al, byte [esi]
sub al, 0x3a
je 0x48c453
add al, 0xfe
sub al, 3
jb 0x48c453
mov edi, dword [ebp - 0xc]
inc edi
jmp 0x48c453
cmp byte [esi], 0x3a
jne 0x48c449
mov al, byte [esi - 1]
sub al, 0x20
je 0x48c444
add al, 0xf8
sub al, 2
jb 0x48c444
sub al, 2
je 0x48c444
sub al, 0x11
jne 0x48c453
mov edi, dword [ebp - 0xc]
jmp 0x48c453
cmp byte [esi + 1], 0x3a
jne 0x48c453
mov edi, dword [ebp - 0xc]
inc edi
inc esi
inc dword [ebp - 0xc]
test edi, edi
jne 0x48c460
cmp byte [esi], 0
jne 0x48c3f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c47d
lea eax, [ebp - 4]
call fcn.004042cc
ret
Function at 0x4960d4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x496255
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4af63c], 0
jne 0x496232
push 0x4b0c60
call sub.kernel32.dll_EnterCriticalSection_1
xor eax, eax
push ebp
push 0x49622b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4af63c], 0
jne 0x496213
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404918
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
call fcn.0040478c
push eax
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00408570
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x49626c
call fcn.00409a1c
mov eax, dword [ebp - 0xc]
call fcn.0040478c
push eax
push 0x80000000
call sub.advapi32.dll_RegQueryValueA
test eax, eax
jne 0x496194
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404918
jmp 0x4961cb
lea eax, [ebp - 8]
mov edx, 0x49628c
call fcn.00404364
xor eax, eax
push ebp
push 0x4961c1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0046f72c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4961cb
mov eax, dword [ebp - 8]
call fcn.0040478c
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4af63c], eax
cmp dword [0x4af63c], 0
jne 0x4961fe
mov ecx, dword [0x4afb58]
mov dl, 1
mov eax, dword [0x4078f4]
call fcn.0040ca58
call fcn.00403d08
push 0x496298
mov eax, dword [0x4af63c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b0c78], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x496232
push 0x4b0c60
call sub.kernel32.dll_LeaveCriticalSection_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49625c
lea eax, [ebp - 0x18]
call fcn.004042cc
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004042f0
ret
Function at 0x4a1008
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, eax
cmp byte [ebx + 0x87], 0
je 0x4a1043
cmp dword [ebx + 0x5c], 0
je 0x4a1043
mov eax, dword [ebx + 0x5c]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb8]
mov edx, eax
mov eax, esi
call fcn.0049952c
xor eax, eax
mov dword [ebx + 0x5c], eax
mov byte [ebx + 0x87], 0
cmp dword [ebx + 0x5c], 0
jne 0x4a118e
cmp dword [ebx + 0x7c], 0
jne 0x4a1069
mov dl, 1
mov eax, dword [0x41af8c]
call fcn.00403448
mov dword [ebx + 0x7c], eax
cmp dword [ebx + 0xc], 0
je 0x4a1167
mov eax, dword [ebx + 0xc]
push eax
mov al, byte [0x4a1194]
push eax
mov al, byte [0x4a1198]
push eax
push 0
mov eax, dword [ebx + 0x7c]
push eax
mov eax, dword [0x4afb80]
push eax
mov ecx, dword [ebx + 0x68]
mov dl, 1
mov eax, dword [0x4864a4]
call fcn.00488c20
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x4a1160
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebx + 0x5c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, dword [ebx + 0x64]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
mov edx, eax
mov eax, esi
call fcn.0049952c
lea eax, [ebx + 0x10]
push eax
mov eax, dword [ebx + 0x5c]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc0]
mov edx, eax
mov eax, esi
call fcn.0049952c
mov eax, dword [ebx + 0x40]
push eax
lea eax, [ebx + 0x70]
mov ecx, 1
mov edx, dword [0x496de8]
call fcn.004057a4
add esp, 4
mov eax, dword [ebx + 0x30]
cmp eax, 0x1a
jge 0x4a1133
mov edx, dword [0x4afda8]
mov al, byte [edx + eax]
mov byte [ebx + 0x74], al
jmp 0x4a1144
cmp eax, 0x1007
jne 0x4a1140
mov byte [ebx + 0x74], 0x18
jmp 0x4a1144
mov byte [ebx + 0x74], 0
mov eax, dword [ebx + 0x40]
mov dword [ebx + 0x78], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a118e
mov eax, dword [ebp - 4]
call fcn.00403478
ret
lea eax, [ebx + 0x5c]
push eax
push 0
push 0
mov eax, dword [ebx + 0x64]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
mov edx, eax
mov eax, esi
call fcn.0049952c
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x1003c500
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
push ebx
test eax, eax
je 0x1003ca20
test edx, edx
je 0x1003ca20
call fcn.1003c517
mov eax, 0xffffffff
pop ebx
pop ebp
ret

Function at 0x1003ca60
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
call fcn.1003c500
mov edx, dword [esp + 0xc]
shl ecx, 4
test eax, eax
jne 0x1003cad1
lea eax, [edx + ecx + 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
movups xmmword [eax], xmm0
movups xmmword [edx], xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
aesimc xmm0, xmm0
aesimc xmm1, xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmmword [edx - 0x10], xmm1
cmp eax, edx
ja 0x1003ca96
movups xmm0, xmmword [edx]
aesimc xmm0, xmm0
movups xmmword [edx], xmm0
pxor xmm0, xmm0
pxor xmm1, xmm1
xor eax, eax
ret

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

Disassembly:
push ebp
push ebx
push esi
push edi
sub esp, 0x10
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
bswap eax
bswap ebx
bswap ecx
bswap edx
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
cmp ebp, 0x80
je 0x1003d464
mov eax, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
cmp ebp, 0xc0
je 0x1003d43c
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
jmp 0x1003d444
mov ecx, eax
mov edx, ebx
not ecx
not edx
bswap eax
bswap ebx
bswap ecx
bswap edx
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], edx
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
nop
call fcn.1003d469

Function at 0x10049630
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e2950
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10276bc4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], vtable.CryptoPP::FilterWithBufferedInput.0
mov dword [esi + 4], vtable.CryptoPP::FilterWithBufferedInput.1.0
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x30]
cmp eax, ecx
mov edx, dword [esi + 0x34]
mov edi, edx
cmovb ecx, eax
xor al, al
rep stosb byte es:[edi], al
push edx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov ecx, dword [esi + 0xc]
add esp, 4
test ecx, ecx
je 0x10049694
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x100496a5
push 0x48
push esi
call fcn.101df293
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 4
Function at 0x10049720
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e2930
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10276bc4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea edx, [esi + 0x48]
mov dword [esi], vtable.CryptoPP::StreamTransformationFilter.0
mov dword [esi + 4], vtable.CryptoPP::StreamTransformationFilter.1.0
mov dword [edx], vtable.CryptoPP::FilterPutSpaceHelper.0
mov dword [ebp - 4], 0
mov eax, dword [edx + 8]
cmp eax, dword [edx + 0xc]
sbb ecx, ecx
xor al, al
and ecx, 0xfffffffc
add ecx, 0xc
add ecx, edx
mov edx, dword [edx + 0x10]
mov edi, edx
push edx
mov ecx, dword [ecx]
rep stosb byte es:[edi], al
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov dword [esi], vtable.CryptoPP::FilterWithBufferedInput.0
mov dword [esi + 4], vtable.CryptoPP::FilterWithBufferedInput.1.0
mov dword [ebp - 4], 1
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x30]
cmp eax, ecx
mov edx, dword [esi + 0x34]
mov edi, edx
cmovb ecx, eax
xor al, al
rep stosb byte es:[edi], al
push edx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov ecx, dword [esi + 0xc]
add esp, 8
test ecx, ecx
je 0x100497c2
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10049af0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e29f1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x10276bc4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
push 0
mov dword [ebp - 0x10], 0
call fcn.10098920
mov dword [ebp - 4], 0
mov dword [esi], vtable.CryptoPP::BaseN_Decoder.0
mov dword [esi + 4], vtable.CryptoPP::BaseN_Decoder.1.0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
push dword [ebp + 0x10]
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.10099230
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.10093eb0
mov edi, eax
push 0x14
mov byte [ebp - 4], 3
call fcn.101dee34
mov ecx, dword [ebp + 8]
mov ebx, eax
add esp, 4
mov dword [ebp + 0x10], ebx
mov dword [ebp + 8], ebx
mov dword [ebx + 4], str.DecodingLookupArray
mov word [ebx + 8], 1
mov dword [ebx + 0xc], 0
mov dword [ebx], vtable.CryptoPP::AlgorithmParametersTemplate_int_const__.0
mov dword [ebx + 0x10], ecx
mov byte [ebp - 4], 4
mov eax, dword [edi + 4]
mov dword [edi + 4], 0
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0x10], eax
test ecx, ecx
je 0x10049bea
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0xc], eax
mov ecx, dword [edi + 4]
mov dword [ebp + 8], 0
test ecx, ecx
je 0x10049c01
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 4], ebx
mov byte [edi + 8], 1
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.10093e30
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10049c2d
mov eax, dword [ecx]
push 1
call dword [eax]
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 2
push eax
push str.Log2Base
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x20], vtable.CryptoPP::NameValuePairs.0
call fcn.10051220
push eax
mov ecx, esi
call fcn.100979e0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x10049c62
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10049c80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e2950
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10276bc4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
cmp eax, ecx
mov edx, dword [esi + 0x38]
mov edi, edx
cmovb ecx, eax
xor al, al
rep stosb byte es:[edi], al
push edx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov ecx, dword [esi + 0xc]
add esp, 4
test ecx, ecx
je 0x10049cd7
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x10049ce8
push 0x3c
push esi
call fcn.101df293
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 4
Function at 0x1004ba20
Capabilities:
Access peb ldr_data

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 0x101e2f09
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x128
mov eax, dword [0x10276bc4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x138]
push dword [ebx + 0x34]
call fcn.1004d0d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x134]
push dword [ebx + 0x10]
push dword [ebx + 0x14]
call fcn.100a73a0
mov eax, dword [ebp - 0x134]
lea ecx, [ebp - 0x134]
mov esi, dword [ebx + 0x24]
mov edi, dword [eax + 0x44]
mov eax, dword [eax + 0x20]
call eax
push eax
push esi
lea ecx, [ebp - 0x134]
call edi
test al, al
je 0x1004bb40
lea ecx, [ebp - 0x138]
call fcn.1004d170
mov byte [ebp - 4], 5
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
cmp eax, ecx
mov edx, dword [ebx + 0x14]
mov edi, edx
cmovb ecx, eax
xor al, al
rep stosb byte es:[edi], al
push edx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov byte [ebp - 4], 6
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
cmp eax, ecx
mov edx, dword [ebx + 0x24]
mov edi, edx
cmovb ecx, eax
xor al, al
rep stosb byte es:[edi], al
push edx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov dword [ebp - 4], 7
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x30]
cmp eax, ecx
mov edx, dword [ebx + 0x34]
mov edi, edx
cmovb ecx, eax
xor al, al
rep stosb byte es:[edi], al
push edx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 0xc
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.101dee0e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x30
push str.MAC_check_failed_
lea ecx, [ebp - 0x2c]
call fcn.1004edf0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x50]
call fcn.1004bf10
push 0x1026ef70
lea eax, [ebp - 0x50]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1004be10
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e2fd5
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x10276bc4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x30], 0x10
lea esi, [ecx + 0x1c]
mov edi, dword [esi + 0x10]
mov eax, esi
jb 0x1004be4a
mov eax, dword [esi]
push 3
push 0x1025c8e4
push edi
push eax
call fcn.100533a0
movzx eax, al
add esp, 0x10
shl eax, 4
add eax, 0x40
cmp dword [ebp + 8], eax
jb 0x1004bea9
cmp dword [esi + 0x14], 0x10
jb 0x1004be71
mov esi, dword [esi]
push 3
push 0x1025c8e4
push edi
push esi
call fcn.100533a0
add esp, 0x10
test al, al
je 0x1004be8c
test byte [ebp + 8], 0xf
jne 0x1004bed7
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.101dee0e
mov esp, ebp
pop ebp
ret 4
push str.Invalid_data_size_
lea ecx, [ebp - 0x28]
call fcn.1004edf0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x4c]
call fcn.1004bf10
push 0x1026ef70
lea eax, [ebp - 0x4c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.Invalid_data_size_
lea ecx, [ebp - 0x28]
call fcn.1004edf0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x70]
call fcn.1004bf10
push 0x1026ef70
lea eax, [ebp - 0x70]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x1004d800
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 0x1004d831
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x1004d820
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x1004dcd0
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 0x1004dcfc
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 0x1004dd24
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x1004dd2a
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 0x1004dd92
jg 0x1004dd41
test esi, esi
je 0x1004dd92
test ecx, ecx
jl 0x1004dd8d
jg 0x1004dd4b
test eax, eax
je 0x1004dd8d
cmp edi, ecx
jg 0x1004dd5f
jl 0x1004dd55
cmp esi, eax
jae 0x1004dd5f
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 edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x1004dd95
mov ecx, dword [ebp + 8]
jmp 0x1004dd9f
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x1004ddb9
jg 0x1004dd9f
test esi, esi
je 0x1004ddb9
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x1004ddb9
push eax
push esi
push 1
push ecx
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