joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454390
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4eb690]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov dword [ebp - 0x210], 0
mov word [ebp - 0x20c], ax
call fcn.0048e940
add esp, 0xc
push 0
push 0x1a
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.00404a80
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.0048a346
mov esp, ebp
pop ebp
ret

Function at 0x454400
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4eb690]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov dword [ebp - 0x210], 0
mov word [ebp - 0x20c], ax
call fcn.0048e940
add esp, 0xc
push 0
push 0x1a
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.Avatder
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, esi
call fcn.00404a80
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.0048a346
mov esp, ebp
pop ebp
ret

Function at 0x454640
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.004a8620
mov eax, dword [0x4eb690]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push esi
lea edx, [ebp - 0x1008]
push edx
lea edx, [ebp - 0x804]
push edx
lea edx, [ebp - 0x100c]
push edx
push 0
push ecx
push eax
mov dword [ebp - 0x100c], 1
mov dword [ebp - 0x1008], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x45471e
mov eax, dword [ebp - 0x100c]
cmp eax, 1
je 0x45470e
cmp eax, 7
je 0x45470e
cmp eax, 2
jne 0x4546f8
push 0x400
lea ecx, [ebp - 0x1004]
push ecx
lea edx, [ebp - 0x804]
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1008], eax
test eax, eax
je 0x4546e2
cmp eax, 0x400
ja 0x4546e2
lea eax, [ebp - 0x1004]
push eax
jmp 0x454715
mov eax, 0xea
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048a346
mov esp, ebp
pop ebp
ret 4
mov eax, 0x3f4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048a346
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x804]
push ecx
mov ecx, edi
call fcn.004026c0
mov eax, esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0048a346
mov esp, ebp
pop ebp
ret 4

Function at 0x454730
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, edx
push esi
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x454740
mov ecx, dword [ebp + 0xc]
sub eax, esi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push 1
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
pop ebp
ret 8
Function at 0x4554d0
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
lea eax, [ebp - 8]
push eax
push 0x4d5884
push 1
push 0
push 0x4d5874
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [edi], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jns 0x455511
push esi
push str.CoCreateInstance_failed:_0x_08lxn
jmp 0x455546
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov esi, eax
test esi, esi
jns 0x45552e
push esi
push str.get_LocalPolicy_failed:_0x_08lxn
jmp 0x455546
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push edi
push eax
call edx
mov esi, eax
test esi, esi
jns 0x45554e
push esi
push str.get_CurrentProfile_failed:_0x_08lxn
call fcn.0048d15b
add esp, 8
mov eax, dword [ebp - 4]
test eax, eax
je 0x45555d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 8]
test eax, eax
je 0x45556c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4563b0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x4eb690]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ecx + 0x10]
mov dword [ebp - 0x70], 0
call fcn.00414150
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, esi
mov dword [ebp - 0x5c], 0x67452301
mov dword [ebp - 0x58], 0xefcdab89
mov dword [ebp - 0x54], 0x98badcfe
mov dword [ebp - 0x50], 0x10325476
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
call fcn.004560d0
lea ecx, [ebp - 0x6c]
push ecx
lea esi, [ebp - 0x5c]
call fcn.004561e0
lea edx, [ebp - 0x6c]
push edx
push edi
call fcn.004562f0
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
mov eax, edi
pop esi
call fcn.0048a346
mov esp, ebp
pop ebp
ret
Function at 0x459e40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3eb3
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4eb690]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
xor ebx, ebx
lea ecx, [esi + 0x20]
mov dword [esi + 0xc], ebx
mov dword [esi], vtable.TiXmlNode.0
call fcn.0040a8e0
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 1
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [ebp - 4], ebx
lea edi, [esi + 0x44]
mov dword [esi], vtable.TiXmlElement.0
or eax, 0xffffffff
mov dword [edi + 8], eax
mov dword [edi + 4], eax
lea ecx, [edi + 0x14]
mov dword [edi + 0xc], ebx
mov dword [edi], vtable.TiXmlAttribute.0
call fcn.0040a8e0
lea ecx, [edi + 0x30]
call fcn.0040a8e0
mov dword [edi + 0x10], ebx
mov dword [edi + 0x50], edi
mov dword [edi + 0x4c], edi
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 1
push eax
lea ecx, [esi + 0x20]
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebx
call fcn.00416390
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 8
Function at 0x45a440
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x45a479
cmp byte [esi + 0x44], bl
jne 0x45a472
mov byte [esi + 0x44], 1
mov dword [esi + 0x48], 2
mov eax, dword [str.Failed_to_open_file]
push eax
lea ecx, [esi + 0x4c]
call fcn.00416390
or eax, 0xffffffff
mov dword [esi + 0x70], eax
mov dword [esi + 0x6c], eax
xor al, al
pop ebx
pop ebp
ret 4
push edi
mov edi, dword [esi + 0x18]
test edi, edi
je 0x45a492
mov ecx, edi
mov edx, dword [ecx]
mov eax, dword [edx]
mov edi, dword [edi + 0x40]
push 1
call eax
test edi, edi
jne 0x45a481
xor eax, eax
push 2
push eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
or edi, 0xffffffff
push ebx
mov dword [esi + 8], edi
mov dword [esi + 4], edi
call fcn.0048e7ae
push ebx
call fcn.0048e6bf
mov ecx, dword [ebp + 8]
push 0
push 0
push ecx
mov ebx, eax
call fcn.0048e7ae
add esp, 0x1c
test ebx, ebx
jg 0x45a4f6
cmp byte [esi + 0x44], 0
jne 0x45a4ee
mov byte [esi + 0x44], 1
mov dword [esi + 0x48], 0xc
mov edx, dword [str.Error_document_empty.]
push edx
lea ecx, [esi + 0x4c]
call fcn.00416390
mov dword [esi + 0x70], edi
mov dword [esi + 0x6c], edi
pop edi
xor al, al
pop ebx
pop ebp
ret 4
lea eax, [ebx + 1]
push eax
call fcn.0048987a
mov ecx, dword [ebp + 8]
push ecx
push 1
mov edi, eax
push ebx
push edi
mov byte [edi], 0
call fcn.0048e2c2
add esp, 0x14
cmp eax, 1
je 0x45a553
push edi
call fcn.0048ad31
add esp, 4
cmp byte [esi + 0x44], 0
jne 0x45a54b
mov byte [esi + 0x44], 1
mov dword [esi + 0x48], 2
mov edx, dword [str.Failed_to_open_file]
push edx
lea ecx, [esi + 0x4c]
call fcn.00416390
or eax, 0xffffffff
mov dword [esi + 0x70], eax
mov dword [esi + 0x6c], eax
pop edi
xor al, al
pop ebx
pop ebp
ret 4
mov byte [edi + ebx], 0
cmp byte [edi], 0
mov eax, edi
mov ecx, edi
je 0x45a57c
mov dl, byte [eax]
cmp dl, 0xd
jne 0x45a573
mov byte [ecx], 0xa
inc eax
inc ecx
cmp byte [eax], 0xa
jne 0x45a577
jmp 0x45a576
mov byte [ecx], dl
inc ecx
inc eax
cmp byte [eax], 0
jne 0x45a560
push 0
mov byte [ecx], 0
mov eax, dword [esi]
mov edx, dword [eax + 8]
push 0
push edi
mov ecx, esi
call edx
push edi
call fcn.0048ad31
add esp, 4
xor eax, eax
cmp byte [esi + 0x44], al
pop edi
sete al
pop ebx
pop ebp
ret 4
Function at 0x45b270
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1f98
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4eb690]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esi], ebx
lea eax, [esi + 0x14]
push eax
lea ecx, [ebp - 0xd]
mov dword [ebp - 4], ebx
call fcn.00412240
push 8
call fcn.0048a5d7
add esp, 4
cmp eax, ebx
je 0x45b386
push eax
push 8
mov dword [esi], eax
xor edi, edi
call fcn.004037c0
add esp, 8
cmp eax, ebx
je 0x45b2da
xor ecx, ecx
mov dword [eax], edi
mov dword [eax + 4], ecx
mov ecx, dword [esi]
mov dword [ecx], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
lea edi, [esi + 0x18]
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], edi
mov dword [edi], ebx
lea edx, [edi + 0x14]
push edx
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 2
call fcn.00412240
push 8
call fcn.0048a5d7
add esp, 4
cmp eax, ebx
je 0x45b36f
push eax
push 8
mov dword [edi], eax
call fcn.004037c0
add esp, 8
cmp eax, ebx
je 0x45b32f
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov eax, dword [edi]
mov dword [eax], edi
lea ecx, [esi + 0x30]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
call fcn.0040a8e0
lea ecx, [esi + 0x60]
call fcn.0040a8e0
mov ecx, dword [ebp + 0xc]
mov dx, word [ecx]
mov word [esi + 0x7c], dx
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 8
push ebx
lea ecx, [ebp - 0x20]
call fcn.004044e0
push 0x4e16f4
lea eax, [ebp - 0x20]
push eax
call fcn.00492397
push ebx
lea ecx, [ebp - 0x20]
call fcn.004044e0
push 0x4e16f4
lea ecx, [ebp - 0x20]
push ecx
call fcn.00492397
int3

Function at 0x460a10
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b146b
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4eb690]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0048a143
push 4
mov dword [ebp - 4], 0
call fcn.0048a5d7
add esp, 4
test eax, eax
je 0x460a62
mov ecx, eax
call fcn.00416f90
jmp 0x460a64
xor eax, eax
mov dword [esi + 0x38], eax
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x460c30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b74a8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4eb690]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x48]
push eax
call fcn.00461770
add esp, 4
xor ebx, ebx
lea ecx, [ebp - 0x48]
lea esi, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.00460bb0
mov ecx, esi
call fcn.00404290
mov ecx, esi
mov dword [ebp - 0x50], eax
call fcn.00416440
push ebx
push 0x80
push 2
push ebx
push 2
push 0x40000000
mov ecx, edi
mov dword [ebp - 0x4c], eax
call fcn.0041abb0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x460ccf
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
push ebx
lea ecx, [ebp - 0x54]
push ecx
push edx
push eax
push esi
mov dword [ebp - 0x54], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x2c]
call fcn.0040aa00
lea ecx, [ebp - 0x48]
call fcn.0040aa00
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048a346
mov esp, ebp
pop ebp
ret

Function at 0x460e20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b71c8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x4eb690]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
mov esi, ecx
push 0x4d3263
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.00416390
mov ecx, esi
call fcn.0041abb0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x460e98
lea eax, [ebp - 0x5c]
push eax
mov ecx, esi
call fcn.00461770
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x5c]
jne 0x460eb8
call fcn.0040aa00
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048a346
mov esp, ebp
pop ebp
ret 4
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00461410
lea eax, [ebp - 0x78]
push eax
lea edi, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00461570
push eax
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.00407f20
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 2
call fcn.0040aa00
mov ecx, edi
test ecx, ecx
je 0x460f2f
lea ecx, [ebp - 0x3e]
mov edx, edi
call fcn.00460f70
test eax, eax
je 0x460f2f
mov esi, dword [ebp - 0x3a]
lea ecx, [ebp - 0x5c]
call fcn.00404290
cmp esi, eax
jne 0x460f2f
cmp dword [ebp - 0x4c], 0
je 0x460f2f
lea edx, [ebp - 0x33]
test edx, edx
je 0x460f2f
mov eax, edx
push eax
mov ecx, ebx
call fcn.00460ff0
test eax, eax
je 0x460f2f
mov esi, 1
jmp 0x460f31
xor esi, esi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x460f4f
push eax
call fcn.0048ad31
add esp, 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x5c]
call fcn.0040aa00
mov eax, esi
jmp 0x460e9a
Function at 0x461770
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4490
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4eb690]
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, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], 0
call fcn.0041abb0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46186c
lea eax, [ebp - 0x34]
push eax
push 0
mov ecx, esi
call fcn.0041abb0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x46186c
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x46186c
lea eax, [edi + 1]
push eax
call fcn.0048987a
mov esi, eax
add esp, 4
test esi, esi
je 0x46186c
lea eax, [edi + 1]
push eax
push 0
push esi
call fcn.0048e940
mov ecx, dword [ebp - 0x3c]
push edi
push esi
call fcn.004618a0
add esp, 0x10
mov ecx, esp
mov dword [ebp - 0x38], esp
call fcn.004114d0
lea ecx, [ebp - 0x2c]
call fcn.0040a8c0
push 0
push 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.0040a980
mov ecx, dword [ebp - 0x38]
push ecx
add edi, esi
push edi
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.004616d0
push esi
mov dword [ebp - 4], 1
call fcn.0048ad31
add esp, 4
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
call fcn.00434140
lea ecx, [ebp - 0x2c]
call fcn.0040aa00
jmp 0x461878
push 0x4d3263
mov ecx, ebx
call fcn.004163c0
mov eax, ebx
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.0048a346
mov esp, ebp
pop ebp
ret

Function at 0x4618a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
call fcn.0041abb0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4618eb
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push edi
lea eax, [ebp - 4]
push eax
push ecx
push edx
push esi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x461950
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5791
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x4eb690]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x80]
push str.NameValuePairs:_type_mismatch_for_
push eax
mov dword [ebp - 0xc0], esi
call fcn.0045ddc0
push eax
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, str.__stored_
mov dword [ebp - 4], 0
call fcn.0045dd20
add esp, 0x14
mov dword [ebp - 0xbc], eax
push 0x4eeeac
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0048a551
mov edx, dword [ebp - 0xbc]
push edx
lea ecx, [ebp - 0x9c]
push ecx
mov ecx, eax
call fcn.0045dd20
push eax
lea edx, [ebp - 0x48]
push edx
mov ecx, str.__trying_to_retrieve_
mov byte [ebp - 4], 2
call fcn.0045dd20
add esp, 0x10
mov dword [ebp - 0xbc], eax
push 0x4eeeac
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.0048a551
mov ecx, dword [ebp - 0xbc]
push ecx
lea edx, [ebp - 0x2c]
push edx
mov ecx, eax
call fcn.0045dd20
push eax
lea eax, [ebp - 0x64]
push eax
mov ecx, 0x4d5980
mov byte [ebp - 4], 4
call fcn.0045dd20
add esp, 0x10
mov dword [ebp - 0xbc], eax
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.0048a355
mov ecx, dword [ebp - 0xbc]
mov byte [ebp - 4], 6
push ecx
lea ecx, [esi + 0x10]
mov dword [esi], vtable.CryptoPP::Exception.0
mov dword [esi + 0xc], 1
call fcn.00410530
lea ecx, [ebp - 0x64]
mov dword [esi], vtable.CryptoPP::InvalidArgument.0
call fcn.0040aa00
lea ecx, [ebp - 0x2c]
call fcn.0040aa00
lea ecx, [ebp - 0x48]
call fcn.0040aa00
lea ecx, [ebp - 0x9c]
call fcn.0040aa00
lea ecx, [ebp - 0xb8]
call fcn.0040aa00
lea ecx, [ebp - 0x80]
call fcn.0040aa00
mov dword [esi], vtable.CryptoPP::NameValuePairs::ValueTypeMismatch.0
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048a346
mov esp, ebp
pop ebp
ret 8

Function at 0x462fb0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3d50
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4eb690]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0x58], 0x10
lea ecx, [eax + 0x10]
mov dword [ecx + 0x4c], ecx
mov dl, 1
mov byte [ecx + 0x41], dl
mov dword [eax + 0xa8], 0x10
mov byte [eax + 0xa1], dl
lea ecx, [eax + 0x60]
mov dword [ecx + 0x4c], ecx
mov ecx, dword [eax + 0xac]
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [eax], vtable.CryptoPP::SHA1.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048a346
mov esp, ebp
pop ebp
ret 4
Function at 0x465e30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2910
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4eb690]
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, dword [ebp + 8]
cmp dword [ebx + 0x44], 0
je 0x465fc5
cmp byte [ebx + 0x49], 0
je 0x465fc5
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, ebx
call edx
cmp eax, 0xffffffff
je 0x465fb9
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
call fcn.004114d0
lea ecx, [ebp - 0x2c]
call fcn.0040a8c0
push 0
push 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.0040a980
push 0
push 8
lea ecx, [ebp - 0x2c]
call fcn.0040a5f0
test al, al
je 0x465ed4
push 0
push 8
push 0
lea ecx, [ebp - 0x2c]
call fcn.00416240
push 8
lea ecx, [ebp - 0x2c]
call fcn.0040a940
mov dword [ebp - 4], 1
jmp 0x465ee0
lea ecx, [ebp - 0x2c]
call fcn.0040a690
mov esi, eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00403300
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x40], esi
call fcn.0040a690
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x38]
mov edi, eax
call fcn.00403300
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x38], edi
call fcn.00404290
mov ecx, dword [ebx + 0x44]
mov edx, dword [ecx]
add eax, esi
lea esi, [ebp - 0x3c]
push esi
push eax
push edi
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [edx + 0x18]
call eax
sub eax, 0
je 0x465f42
dec eax
je 0x465f46
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x465fb4
jmp 0x465fc0
mov byte [ebx + 0x49], 0
lea ecx, [ebp - 0x2c]
call fcn.0040a690
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x34]
mov edi, eax
call fcn.00403300
mov esi, dword [ebp - 0x3c]
sub esi, edi
mov dword [ebp - 0x34], edi
je 0x465f93
lea ecx, [ebp - 0x2c]
call fcn.0040a690
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x30]
mov edi, eax
call fcn.00403300
mov eax, dword [ebx + 0x54]
push eax
push esi
push 1
push edi
mov dword [ebp - 0x30], edi
call fcn.00491a95
add esp, 0x10
cmp esi, eax
jne 0x465fb1
cmp byte [ebx + 0x49], 0
je 0x465fbd
test esi, esi
jne 0x465ee0
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.004148a0
jmp 0x465ee0
lea ecx, [ebp - 0x2c]
call fcn.0040aa00
xor al, al
jmp 0x465fc7
lea ecx, [ebp - 0x2c]
call fcn.0040aa00
mov al, 1
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.0048a346
mov esp, ebp
pop ebp
ret 4
Function at 0x469670
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b5f5b
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4eb690]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push edi
mov eax, dword [0x4eb690]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x94]
lea edi, [esp + 0x64]
mov dword [esp + 0xc], esi
call fcn.00469520
mov edi, eax
push 0x4d6238
lea eax, [esp + 0x30]
push ebx
push eax
mov dword [esp + 0x98], 0
call fcn.00467e70
lea ecx, [esp + 0x1c]
push edi
push ecx
mov ebx, 1
mov ecx, eax
mov byte [esp + 0xa0], bl
call fcn.00469390
push eax
lea edx, [esp + 0x60]
push edx
mov ecx, str._is_not_a_valid_key_length
mov byte [esp + 0xa8], 2
call fcn.0045dd20
add esp, 0x1c
mov edi, eax
mov ecx, esi
mov byte [esp + 0x8c], 3
call fcn.0048a355
mov byte [esp + 0x8c], 4
push edi
lea ecx, [esi + 0x10]
mov dword [esi], vtable.CryptoPP::Exception.0
mov dword [esi + 0xc], ebx
call fcn.00410530
lea ecx, [esp + 0x48]
mov dword [esi], vtable.CryptoPP::InvalidArgument.0
call fcn.0040aa00
lea ecx, [esp + 0x10]
call fcn.0040aa00
lea ecx, [esp + 0x2c]
call fcn.0040aa00
lea ecx, [esp + 0x64]
call fcn.0040aa00
mov dword [esi], vtable.CryptoPP::InvalidKeyLength.0
mov eax, esi
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0048a346
add esp, 0x84
ret 4