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

Disassembly:
test eax, eax
jne 0x44c8e9
mov eax, str.undefined
push eax
push str.libpng_error:__s
call fcn.004b0c8a
add eax, 0x40
push eax
call fcn.004b0e3f
add esp, 0xc
push 0x50060c
call fcn.004b0c8a
add eax, 0x40
push eax
call fcn.004b0e3f
add esp, 8
test esi, esi
je 0x44c929
mov eax, dword [esi + 0x40]
test eax, eax
je 0x44c929
push 1
push esi
call eax
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x454960
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5176f0]
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.004b28e0
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.00404aa0
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.004ae123
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.004b7b90
mov eax, dword [0x5176f0]
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 0x454c6e
mov eax, dword [ebp - 0x100c]
cmp eax, 1
je 0x454c5e
cmp eax, 7
je 0x454c5e
cmp eax, 2
jne 0x454c48
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 0x454c32
cmp eax, 0x400
ja 0x454c32
lea eax, [ebp - 0x1004]
push eax
jmp 0x454c65
mov eax, 0xea
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ae123
mov esp, ebp
pop ebp
ret 4
mov eax, 0x3f4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ae123
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.004ae123
mov esp, ebp
pop ebp
ret 4

Function at 0x454c80
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 0x454c90
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 0x455a20
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
lea eax, [ebp - 8]
push eax
push 0x501dec
push 1
push 0
push 0x501ddc
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 0x455a61
push esi
push str.CoCreateInstance_failed:_0x_08lxn
jmp 0x455a96
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 0x455a7e
push esi
push str.get_LocalPolicy_failed:_0x_08lxn
jmp 0x455a96
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 0x455a9e
push esi
push str.get_CurrentProfile_failed:_0x_08lxn
call fcn.004b0f4b
add esp, 8
mov eax, dword [ebp - 4]
test eax, eax
je 0x455aad
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 8]
test eax, eax
je 0x455abc
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 0x456900
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x5176f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ecx + 0x10]
mov dword [ebp - 0x70], 0
call fcn.00414720
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.00456620
lea ecx, [ebp - 0x6c]
push ecx
lea esi, [ebp - 0x5c]
call fcn.00456730
lea edx, [ebp - 0x6c]
push edx
push edi
call fcn.00456840
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
mov eax, edi
pop esi
call fcn.004ae123
mov esp, ebp
pop ebp
ret
Function at 0x45a390
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9933
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5176f0]
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.0040af80
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.0040af80
lea ecx, [edi + 0x30]
call fcn.0040af80
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.00416920
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 0x45a990
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x45a9c9
cmp byte [esi + 0x44], bl
jne 0x45a9c2
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.00416920
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 0x45a9e2
mov ecx, edi
mov edx, dword [ecx]
mov eax, dword [edx]
mov edi, dword [edi + 0x40]
push 1
call eax
test edi, edi
jne 0x45a9d1
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.004b26ce
push ebx
call fcn.004b25df
mov ecx, dword [ebp + 8]
push 0
push 0
push ecx
mov ebx, eax
call fcn.004b26ce
add esp, 0x1c
test ebx, ebx
jg 0x45aa46
cmp byte [esi + 0x44], 0
jne 0x45aa3e
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.00416920
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.004ad653
mov ecx, dword [ebp + 8]
push ecx
push 1
mov edi, eax
push ebx
push edi
mov byte [edi], 0
call fcn.004b2192
add esp, 0x14
cmp eax, 1
je 0x45aaa3
push edi
call fcn.004aeb11
add esp, 4
cmp byte [esi + 0x44], 0
jne 0x45aa9b
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.00416920
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 0x45aacc
mov dl, byte [eax]
cmp dl, 0xd
jne 0x45aac3
mov byte [ecx], 0xa
inc eax
inc ecx
cmp byte [eax], 0xa
jne 0x45aac7
jmp 0x45aac6
mov byte [ecx], dl
inc ecx
inc eax
cmp byte [eax], 0
jne 0x45aab0
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.004aeb11
add esp, 4
xor eax, eax
cmp byte [esi + 0x44], al
pop edi
sete al
pop ebx
pop ebp
ret 4
Function at 0x45b7c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d79b8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5176f0]
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.00411de0
push 8
call fcn.004ae3b4
add esp, 4
cmp eax, ebx
je 0x45b8d6
push eax
push 8
mov dword [esi], eax
xor edi, edi
call fcn.004037c0
add esp, 8
cmp eax, ebx
je 0x45b82a
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.00411de0
push 8
call fcn.004ae3b4
add esp, 4
cmp eax, ebx
je 0x45b8bf
push eax
push 8
mov dword [edi], eax
call fcn.004037c0
add esp, 8
cmp eax, ebx
je 0x45b87f
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.0040af80
lea ecx, [esi + 0x60]
call fcn.0040af80
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.00404500
push 0x50dd6c
lea eax, [ebp - 0x20]
push eax
call fcn.004b7c29
push ebx
lea ecx, [ebp - 0x20]
call fcn.00404500
push 0x50dd6c
lea ecx, [ebp - 0x20]
push ecx
call fcn.004b7c29
int3

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6fbb
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x5176f0]
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.004adf20
push 4
mov dword [ebp - 4], 0
call fcn.004ae3b4
add esp, 4
test eax, eax
je 0x460fc2
mov ecx, eax
call fcn.00417530
jmp 0x460fc4
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 0x461190
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd088
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5176f0]
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.00461c50
add esp, 4
xor ebx, ebx
lea ecx, [ebp - 0x48]
lea esi, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.00461110
mov ecx, esi
call fcn.004042b0
mov ecx, esi
mov dword [ebp - 0x50], eax
call fcn.004169d0
push ebx
push 0x80
push 2
push ebx
push 2
push 0x40000000
mov ecx, edi
mov dword [ebp - 0x4c], eax
call fcn.00403360
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x46122f
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.0040b0a0
lea ecx, [ebp - 0x48]
call fcn.0040b0a0
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.004ae123
mov esp, ebp
pop ebp
ret

Function at 0x461380
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dcd78
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x5176f0]
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 0x4fdad8
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.00416920
mov ecx, esi
call fcn.00403360
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4613f8
lea eax, [ebp - 0x5c]
push eax
mov ecx, esi
call fcn.00461c50
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x5c]
jne 0x461418
call fcn.0040b0a0
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.004ae123
mov esp, ebp
pop ebp
ret 4
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.004618f0
lea eax, [ebp - 0x78]
push eax
lea edi, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00461a50
push eax
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.00408610
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 2
call fcn.0040b0a0
mov ecx, edi
test ecx, ecx
je 0x46148f
lea ecx, [ebp - 0x3e]
mov edx, edi
call fcn.004614d0
test eax, eax
je 0x46148f
mov esi, dword [ebp - 0x3a]
lea ecx, [ebp - 0x5c]
call fcn.004042b0
cmp esi, eax
jne 0x46148f
cmp dword [ebp - 0x4c], 0
je 0x46148f
lea edx, [ebp - 0x33]
test edx, edx
je 0x46148f
mov eax, edx
push eax
mov ecx, ebx
call fcn.00461550
test eax, eax
je 0x46148f
mov esi, 1
jmp 0x461491
xor esi, esi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4614af
push eax
call fcn.004aeb11
add esp, 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x5c]
call fcn.0040b0a0
mov eax, esi
jmp 0x4613fa
Function at 0x461c50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da000
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5176f0]
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.00403360
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x461d4c
lea eax, [ebp - 0x34]
push eax
push 0
mov ecx, esi
call fcn.00403360
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x461d4c
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x461d4c
lea eax, [edi + 1]
push eax
call fcn.004ad653
mov esi, eax
add esp, 4
test esi, esi
je 0x461d4c
lea eax, [edi + 1]
push eax
push 0
push esi
call fcn.004b28e0
mov ecx, dword [ebp - 0x3c]
push edi
push esi
call fcn.00461d80
add esp, 0x10
mov ecx, esp
mov dword [ebp - 0x38], esp
call fcn.00407190
lea ecx, [ebp - 0x2c]
call fcn.0040af60
push 0
push 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.0040b020
mov ecx, dword [ebp - 0x38]
push ecx
add edi, esi
push edi
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.00461bb0
push esi
mov dword [ebp - 4], 1
call fcn.004aeb11
add esp, 4
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
call fcn.004346f0
lea ecx, [ebp - 0x2c]
call fcn.0040b0a0
jmp 0x461d58
push 0x4fdad8
mov ecx, ebx
call fcn.00416950
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.004ae123
mov esp, ebp
pop ebp
ret

Function at 0x461d80
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 bind
call fcn.00403360
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x461dcb
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 0x461e30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db301
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x5176f0]
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.0045e310
push eax
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, str.__stored_
mov dword [ebp - 4], 0
call fcn.0045e270
add esp, 0x14
mov dword [ebp - 0xbc], eax
push 0x51b03c
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.004ae32e
mov edx, dword [ebp - 0xbc]
push edx
lea ecx, [ebp - 0x9c]
push ecx
mov ecx, eax
call fcn.0045e270
push eax
lea edx, [ebp - 0x48]
push edx
mov ecx, str.__trying_to_retrieve_
mov byte [ebp - 4], 2
call fcn.0045e270
add esp, 0x10
mov dword [ebp - 0xbc], eax
push 0x51b03c
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.004ae32e
mov ecx, dword [ebp - 0xbc]
push ecx
lea edx, [ebp - 0x2c]
push edx
mov ecx, eax
call fcn.0045e270
push eax
lea eax, [ebp - 0x64]
push eax
mov ecx, 0x501ee8
mov byte [ebp - 4], 4
call fcn.0045e270
add esp, 0x10
mov dword [ebp - 0xbc], eax
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.004ae132
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.00410a90
lea ecx, [ebp - 0x64]
mov dword [esi], vtable.CryptoPP::InvalidArgument.0
call fcn.0040b0a0
lea ecx, [ebp - 0x2c]
call fcn.0040b0a0
lea ecx, [ebp - 0x48]
call fcn.0040b0a0
lea ecx, [ebp - 0x9c]
call fcn.0040b0a0
lea ecx, [ebp - 0xb8]
call fcn.0040b0a0
lea ecx, [ebp - 0x80]
call fcn.0040b0a0
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.004ae123
mov esp, ebp
pop ebp
ret 8

Function at 0x463490
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d97d0
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x5176f0]
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.004ae123
mov esp, ebp
pop ebp
ret 4
Function at 0x4662f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8450
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5176f0]
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 0x466485
cmp byte [ebx + 0x49], 0
je 0x466485
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, ebx
call edx
cmp eax, 0xffffffff
je 0x466479
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
call fcn.00407190
lea ecx, [ebp - 0x2c]
call fcn.0040af60
push 0
push 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.0040b020
push 0
push 8
lea ecx, [ebp - 0x2c]
call fcn.0040acc0
test al, al
je 0x466394
push 0
push 8
push 0
lea ecx, [ebp - 0x2c]
call fcn.004167d0
push 8
lea ecx, [ebp - 0x2c]
call fcn.0040afe0
mov dword [ebp - 4], 1
jmp 0x4663a0
lea ecx, [ebp - 0x2c]
call fcn.0040b0c0
mov esi, eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040d8c0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x40], esi
call fcn.0040b0c0
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x38]
mov edi, eax
call fcn.0040d8c0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x38], edi
call fcn.004042b0
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 0x466402
dec eax
je 0x466406
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x466474
jmp 0x466480
mov byte [ebx + 0x49], 0
lea ecx, [ebp - 0x2c]
call fcn.0040b0c0
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x34]
mov edi, eax
call fcn.0040d8c0
mov esi, dword [ebp - 0x3c]
sub esi, edi
mov dword [ebp - 0x34], edi
je 0x466453
lea ecx, [ebp - 0x2c]
call fcn.0040b0c0
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x30]
mov edi, eax
call fcn.0040d8c0
mov eax, dword [ebx + 0x54]
push eax
push esi
push 1
push edi
mov dword [ebp - 0x30], edi
call fcn.004b5a35
add esp, 0x10
cmp esi, eax
jne 0x466471
cmp byte [ebx + 0x49], 0
je 0x46647d
test esi, esi
jne 0x4663a0
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00414e90
jmp 0x4663a0
lea ecx, [ebp - 0x2c]
call fcn.0040b0a0
xor al, al
jmp 0x466487
lea ecx, [ebp - 0x2c]
call fcn.0040b0a0
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.004ae123
mov esp, ebp
pop ebp
ret 4