joyce8/EMBER2024-capa huggingface dataset:
Function at 0x484394
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp dword [esi + 0x14], 8
jb 0x4842a5
mov eax, dword [esi]
jmp 0x4842a7
mov eax, esi
lea ecx, [ebp + 0xc]
push ecx
push 0xf003f
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
je 0x4842fa
cmp edi, 2
jne 0x4842ee
cmp dword [esi + 0x14], 8
jb 0x4842cf
mov esi, dword [esi]
push 0
lea eax, [ebp + 0xc]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
test edi, edi
je 0x4842fa
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
test edx, edx
jns 0x48430a
or eax, 0xffffffff
sub eax, edx
jmp 0x48430c
mov eax, edx
cmp eax, 4
ja case.default.0x484315
jmp dword [eax*4 + 0x4843f8]
push ecx
call fcn.00424da0
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x484335
mov eax, dword [eax]
push 4
lea ecx, [ebp - 4]
push ecx
push 4
jmp 0x4843b3
push ecx
call fcn.004410d0
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x48435e
mov eax, dword [eax]
push 8
lea ecx, [ebp - 8]
push ecx
push 0xb
jmp 0x4843b3
push ecx
call fcn.00434760
mov ecx, eax
add esp, 4
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
jb 0x48437e
mov ecx, dword [ecx]
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0x14], 8
jb 0x484389
mov edx, dword [edx]
add eax, eax
push eax
push ecx
push 1
push 0
push edx
jmp 0x4843b6
push ecx
call fcn.004833f0
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 0x10]
add esp, 4
sub ecx, edx
cmp dword [eax + 0x14], 8
jb 0x4843af
mov eax, dword [eax]
push ecx
push edx
push 3
push 0
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xc], str._windows::registry__not_implemented
call fcn.00493bbb
push 0x543898
lea eax, [ebp - 0x18]
push eax
call fcn.00493d65
mov edi, edi
sbb al, 0x43
dec eax
add byte [edi], bh
inc ebx
dec eax
add byte [eax + 0x43], ch
dec eax
add ch, dl
inc ebx
dec eax
add byte [ebx + eax*2 - 0x3333ffb8], dl
int3
Function at 0x485150
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517193
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x56a8e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
call fcn.0044b370
mov eax, dword [ebp + 8]
lea edx, [ebx + 0x38]
mov dword [ebx], vtable.boost::asio::basic_streambuf_class_std::allocator_char__.0
mov dword [edx], eax
mov dword [ebp - 4], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
cmp dword [edx], 0x80
lea eax, [ebp + 8]
cmovbe eax, edx
mov dword [ebp + 8], 0x80
mov esi, dword [eax]
lea ecx, [ebp - 0x10]
lea eax, [ebp + 8]
cmp esi, 1
cmovae eax, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp + 8], 1
push dword [eax]
lea ecx, [ebx + 0x3c]
mov byte [ebp - 4], 1
call fcn.00478020
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x3c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
sub ecx, ecx
mov dword [eax], ecx
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x10]
lea edx, [ecx + esi]
mov dword [eax], ecx
mov eax, dword [ebx + 0x20]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x30]
mov dword [eax], edx
mov eax, ebx
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 0x4874d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [esi + 4], 0
mov edi, ecx
jne 0x4874eb
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 4], eax
jmp 0x4874fd
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 4], eax
je 0x4874fd
mov dword [esi + 4], 0xffffffff
mov eax, dword [edi]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp dword [esi], 0xffffffff
jne 0x487525
mov ecx, dword [edi]
push 0
push 0x2719
push dword [ebp + 0x18]
call fcn.004866f0
pop edi
pop esi
pop ebp
ret 0x14
mov ecx, dword [ebp + 0x14]
cmp dword [ecx + 4], 0
jne 0x487542
mov ecx, dword [edi]
push 0
push 0
push dword [ebp + 0x18]
call fcn.004866f0
pop edi
pop esi
pop ebp
ret 0x14
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x18]
push ebx
mov dword [ebx + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0xc], eax
lea eax, [ebp + 8]
push eax
push dword [ecx + 4]
mov dword [ebp + 8], 0
push dword [ecx]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x487598
cmp eax, 0x3e5
je 0x487598
cmp eax, 0xea
je 0x487598
push dword [ebp + 8]
mov ecx, dword [edi]
push eax
push ebx
call fcn.004866f0
pop ebx
pop edi
pop esi
pop ebp
ret 0x14
mov ecx, dword [edi]
push ebx
call fcn.00486770
pop ebx
pop edi
pop esi
pop ebp
ret 0x14
Function at 0x4875b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [esi + 4], 0
mov edi, ecx
jne 0x4875cb
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 4], eax
jmp 0x4875dd
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 4], eax
je 0x4875dd
mov dword [esi + 4], 0xffffffff
mov eax, dword [edi]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp dword [esi], 0xffffffff
jne 0x487605
mov ecx, dword [edi]
push 0
push 0x2719
push dword [ebp + 0x18]
call fcn.004866f0
pop edi
pop esi
pop ebp
ret 0x14
mov ecx, dword [ebp + 0x14]
cmp dword [ecx + 4], 0
jne 0x487622
mov ecx, dword [edi]
push 0
push 0
push dword [ebp + 0x18]
call fcn.004866f0
pop edi
pop esi
pop ebp
ret 0x14
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x18]
push ebx
mov dword [ebx + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0xc], eax
lea eax, [ebp + 8]
push eax
push dword [ecx + 4]
mov dword [ebp + 8], 0
push dword [ecx]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x487678
cmp eax, 0x3e5
je 0x487678
cmp eax, 0xea
je 0x487678
push dword [ebp + 8]
mov ecx, dword [edi]
push eax
push ebx
call fcn.004866f0
pop ebx
pop edi
pop esi
pop ebp
ret 0x14
mov ecx, dword [edi]
push ebx
call fcn.00486770
pop ebx
pop edi
pop esi
pop ebp
ret 0x14
Function at 0x487e40
Capabilities:
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x56a8e0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.004948b0
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
mov dword [ebp - 0x128], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x488023
xorps xmm0, xmm0
push str.GetNativeSystemInfo
push str.kernel32.dll
movdqa xmmword [ebp - 0x160], xmm0
movdqa xmmword [ebp - 0x150], xmm0
mov dword [ebp - 0x140], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x487ede
lea ecx, [ebp - 0x160]
push ecx
call eax
jmp 0x487eeb
lea eax, [ebp - 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x124]
sub eax, 5
je 0x487f67
dec eax
jne 0x488023
mov eax, dword [ebp - 0x120]
sub eax, 0
je 0x487f4a
dec eax
je 0x487f2d
dec eax
jne 0x488023
cmp byte [ebp - 0xe], 1
setne al
add eax, 0xa
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493d56
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
xor eax, eax
cmp byte [ebp - 0xe], 1
setne al
add eax, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493d56
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
xor eax, eax
cmp byte [ebp - 0xe], 1
setne al
add eax, 6
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493d56
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [ebp - 0x120]
sub eax, 0
je 0x488023
dec eax
je 0x48800d
dec eax
jne 0x488023
cmp byte [ebp - 0xe], 1
jne 0x487faa
cmp word [ebp - 0x160], 9
jne 0x487faa
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493d56
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x487fcc
mov eax, 3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493d56
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
test dword [ebp - 0x10], 0x8000
je 0x487feb
mov eax, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493d56
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x488023
mov eax, 5
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493d56
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00493d56
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.00493d56
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4898d0
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517951
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x56a8e0]
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 esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x18]
cmp dword [eax + 0x14], 8
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], ecx
jb 0x48991a
mov eax, dword [eax]
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [esi], eax
lea ecx, [esi + 4]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push edi
mov dword [ebp - 4], 0
mov word [ecx], ax
call fcn.0040c920
xor eax, eax
push 0xffffffffffffffff
lea ecx, [esi + 0x1c]
push eax
push dword [ebp - 0x5c]
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov byte [ebp - 4], 1
mov word [ecx], ax
call fcn.0040c920
cmp dword [esi], 0
mov byte [ebp - 4], 2
jne 0x4899ad
push 0x1e
push str.http_session_failed_with_error
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0040c820
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 3
call fcn.0048b030
push 0xea60
push 0xea60
push 0xea60
push 0xea60
mov ecx, esi
call fcn.0048afa0
cmp dword [ebx + 0x10], 0
je 0x489adc
mov edi, dword [ebp + 0x10]
test di, di
je 0x489adc
push 1
push 2
lea ecx, [ebp - 0xf8]
call fcn.004411a0
mov byte [ebp - 4], 4
call fcn.004b411c
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0xf8]
lea ecx, [ebp - 0xf8]
mov eax, dword [eax + 4]
add ecx, eax
call fcn.0045f260
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x489a29
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x489a29
mov eax, dword [ecx]
push 1
call dword [eax]
push edi
push 0x528a98
lea eax, [ebp - 0xf8]
push ebx
push eax
call fcn.00402310
add esp, 8
push eax
call fcn.00401fe0
add esp, 8
mov ecx, eax
call fcn.004799b0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xf8]
call fcn.00444210
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 0xc
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push 0x26
push dword [esi]
mov byte [ebp - 4], 5
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x14], 0x528a9c
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x489aac
push str.http_session_proxy_setting_error
lea ecx, [ebp - 0x58]
call fcn.00406260
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 6
call fcn.0048b030
lea ecx, [ebp - 0x40]
call fcn.0048cc70
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 2
call fcn.004416a0
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 0xa8], vtable.std::ios_base.0
call fcn.004b4219
add esp, 4
mov eax, esi
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.00493d56
mov esp, ebp
pop ebp
ret 0x14
Function at 0x48a430
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517a68
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x56a8e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xorps xmm0, xmm0
push 0x20
lea ecx, [ebp - 0x30]
movlpd qword [ebp - 0x24], xmm0
mov dword [ebp - 0x18], 0x20
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call fcn.004780a0
mov ebx, dword [ebp - 0x30]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push 0
push 5
push dword [esi]
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x48a4d7
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], ebx
call fcn.0048a520
add esp, 4
mov esi, eax
mov edi, edx
jmp 0x48a4dd
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
test ebx, ebx
je 0x48a4ea
push ebx
call fcn.00493278
add esp, 4
mov edx, edi
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
Function at 0x48aae0
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517b60
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x56a8e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor eax, eax
push 0xffffffffffffffff
push eax
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.0040c920
push 1
push 0
push 0x527e8c
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.0040dda0
cmp eax, 0xffffffff
je 0x48ab7c
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
push edi
mov ecx, esi
mov word [esi], ax
call fcn.0040c920
jmp 0x48ac3a
lea eax, [ebp - 0x1e8]
push eax
push 0x101
call sub.WS2_32.dll_WSAStartup
test eax, eax
jne 0x48ac2f
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.00478270
add esp, 8
cmp dword [eax + 0x14], 0x10
jb 0x48abaa
mov eax, dword [eax]
push eax
call sub.WS2_32.dll_gethostbyname
cmp dword [ebp - 0x2c], 0x10
mov edi, eax
jb 0x48abc3
push dword [ebp - 0x40]
call fcn.00493278
add esp, 4
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
test edi, edi
je 0x48ac2a
cmp word [edi + 8], 2
jne 0x48ac2a
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x48ac2a
push dword [eax]
call sub.WS2_32.dll_inet_ntoa
test eax, eax
je 0x48ac2a
push eax
lea ecx, [ebp - 0x40]
call fcn.00406260
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 1
call fcn.00478140
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.00414b90
lea ecx, [ebp - 0x58]
call fcn.0048cc70
lea ecx, [ebp - 0x40]
call fcn.004082d0
call sub.WS2_32.dll_WSACleanup
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.004062c0
cmp dword [ebp - 0x14], 8
jb 0x48ac4b
push dword [ebp - 0x28]
call fcn.00493278
add esp, 4
mov eax, esi
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.00493d56
mov esp, ebp
pop ebp
ret 8
Function at 0x48b1c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517c60
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x56a8e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x230]
push eax
push 0
push 0
push dword [ebp + 0xc]
mov dword [ebp - 0x234], 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x48b2aa
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
call fcn.004c6300
cmp word [ebp - 0x230], 0
jne 0x48b241
xor ecx, ecx
jmp 0x48b25f
lea ecx, [ebp - 0x230]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48b250
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040c4a0
xor eax, eax
push 0xffffffffffffffff
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
push eax
mov word [esi], ax
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.0040c920
cmp dword [ebp - 0x14], 8
jb 0x48b2bd
push dword [ebp - 0x28]
call fcn.00493278
add esp, 4
jmp 0x48b2bd
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00493d56
mov esp, ebp
pop ebp
ret
Function at 0x48ba80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517d90
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x56a8e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x14], eax
jb 0x48baca
mov esi, dword [edi]
jmp 0x48bacc
mov esi, edi
xor ecx, ecx
mov edx, 0x811c9dc5
add eax, eax
je 0x48baf1
movzx eax, byte [ecx + esi]
mov edi, dword [ebp - 0x14]
xor edx, eax
lea eax, [edi + edi]
imul edx, edx, 0x1000193
mov edi, dword [ebp + 0xc]
inc ecx
cmp ecx, eax
jb 0x48bad7
mov esi, dword [ebx + 0x14]
mov ecx, esi
and ecx, edx
cmp dword [ebx + 0x18], ecx
ja 0x48bb06
shr esi, 1
or eax, 0xffffffff
sub eax, esi
add ecx, eax
mov eax, dword [ebx + 8]
mov esi, dword [ebx]
shl ecx, 3
mov dword [ebp + 0xc], ecx
cmp dword [eax + ecx], esi
je 0x48bb20
mov esi, dword [eax + ecx + 4]
mov esi, dword [esi]
lea esp, [esp]
mov eax, dword [ebx + 8]
cmp esi, dword [ecx + eax]
je 0x48bb6e
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 8
mov ecx, dword [esi + 0x18]
lea eax, [esi + 8]
jb 0x48bb39
mov eax, dword [eax]
push ecx
push eax
push dword [edi + 0x10]
mov ecx, edi
push 0
call fcn.004158e0
mov ecx, dword [ebp + 0xc]
test eax, eax
jne 0x48bb20
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
lea ecx, [esi + 8]
jb 0x48bb5c
mov edi, dword [edi]
push eax
push edi
push dword [ecx + 0x10]
push 0
call fcn.004158e0
test eax, eax
je 0x48bbb8
mov esi, dword [esi]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi]
cmp esi, eax
je 0x48bb9f
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 8]
mov edx, dword [ebp + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x48bbfb
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [edx + eax + 4], edi
jmp 0x48bc1d
push dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
mov ecx, ebx
call fcn.0048d7b0
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 0
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
cmp eax, esi
jne 0x48bc03
mov dword [ecx], edi
jmp 0x48bc1d
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x48bc1d
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.0048d4f0
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
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 0x48bc50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517db0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x56a8e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x14], eax
jb 0x48bc9a
mov esi, dword [edi]
jmp 0x48bc9c
mov esi, edi
xor ecx, ecx
mov edx, 0x811c9dc5
add eax, eax
je 0x48bcc1
movzx eax, byte [ecx + esi]
mov edi, dword [ebp - 0x14]
xor edx, eax
lea eax, [edi + edi]
imul edx, edx, 0x1000193
mov edi, dword [ebp + 0xc]
inc ecx
cmp ecx, eax
jb 0x48bca7
mov esi, dword [ebx + 0x14]
mov ecx, esi
and ecx, edx
cmp dword [ebx + 0x18], ecx
ja 0x48bcd6
shr esi, 1
or eax, 0xffffffff
sub eax, esi
add ecx, eax
mov eax, dword [ebx + 8]
mov esi, dword [ebx]
shl ecx, 3
mov dword [ebp + 0xc], ecx
cmp dword [eax + ecx], esi
je 0x48bcf0
mov esi, dword [eax + ecx + 4]
mov esi, dword [esi]
lea esp, [esp]
mov eax, dword [ebx + 8]
cmp esi, dword [ecx + eax]
je 0x48bd3e
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 8
mov ecx, dword [esi + 0x18]
lea eax, [esi + 8]
jb 0x48bd09
mov eax, dword [eax]
push ecx
push eax
push dword [edi + 0x10]
mov ecx, edi
push 0
call fcn.004158e0
mov ecx, dword [ebp + 0xc]
test eax, eax
jne 0x48bcf0
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
lea ecx, [esi + 8]
jb 0x48bd2c
mov edi, dword [edi]
push eax
push edi
push dword [ecx + 0x10]
push 0
call fcn.004158e0
test eax, eax
je 0x48bd88
mov esi, dword [esi]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi]
cmp esi, eax
je 0x48bd6f
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 8]
mov edx, dword [ebp + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x48bdcb
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [edx + eax + 4], edi
jmp 0x48bded
push dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
mov ecx, ebx
call fcn.0048d830
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 0
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
cmp eax, esi
jne 0x48bdd3
mov dword [ecx], edi
jmp 0x48bded
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x48bded
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.0048d5b0
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
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