joyce8/EMBER2024-capa huggingface dataset:
Function at 0x496f60
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
test ecx, ecx
je 0x496f74
lea esi, [ecx - 0x58]
mov dword [ebp - 4], esi
jmp 0x496f7e
mov dword [ebp - 4], 0
mov esi, dword [ebp - 4]
cmp dword [ebp + 0x14], 0
mov ecx, dword [esi + 4]
mov dword [ebp - 8], 1
je 0x497043
mov eax, dword [ebp + 8]
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, dword [ebp + 0xc]
mov esi, eax
mov eax, dword [ebx]
mov edx, 1
sub edx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or edx, eax
mov dword [ebp - 0xc], 0xffffffff
jge 0x496fce
push esi
mov ecx, ebx
call fcn.004018b0
mov eax, dword [ebx]
test esi, esi
js 0x497039
cmp esi, dword [eax - 8]
jg 0x497039
mov dword [eax - 0xc], esi
mov ecx, dword [ebx]
xor edx, edx
mov word [ecx + esi*2], dx
test eax, eax
je 0x497027
lea ecx, [esi + 1]
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [ebx]
mov dword [ebp - 0xc], eax
test edx, edx
jne 0x497001
xor eax, eax
jmp 0x497017
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x497006
sub eax, edi
sar eax, 1
js 0x497039
cmp eax, dword [edx - 8]
jg 0x497039
mov dword [edx - 0xc], eax
mov edx, dword [ebx]
xor ecx, ecx
mov word [edx + eax*2], cx
pop edi
cmp dword [ebp - 0xc], esi
jge 0x49708f
mov esi, dword [ebp - 4]
mov dword [ebp - 8], 0
jmp 0x49705b
push 0x80070057
call fcn.004013f0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov eax, dword [ebp + 8]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov dword [ebp - 8], eax
test eax, eax
jne 0x4970bd
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
add esi, 0x58
je 0x49706d
lea eax, [esi - 0x58]
jmp 0x49706f
xor eax, eax
mov edx, dword [ebp + 8]
mov eax, dword [eax + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp dword [ebp + 0x18], 0
je 0x4970bd
mov ecx, dword [ebx]
mov edx, dword [ecx - 0xc]
cmp edx, dword [ebp + 0x1c]
jle 0x4970bd
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp + 8]
push edx
add ecx, 0x58
push eax
call fcn.00496a10
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x498ac0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, dword [ebp + 8]
lea esi, [eax + 1]
mov eax, dword [ebx]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
sub edx, esi
or ecx, edx
jge 0x498af2
push esi
mov ecx, ebx
call fcn.004018b0
mov eax, dword [ebx]
push esi
push eax
mov eax, dword [edi]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, eax
cmp eax, 0xffffffff
jne 0x498b1f
mov ecx, dword [ebx]
test ecx, ecx
je 0x498b23
lea esi, [ecx + 2]
nop
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x498b10
sub ecx, esi
sar ecx, 1
test ecx, ecx
js 0x498b3c
mov edx, dword [ebx]
cmp ecx, dword [edx - 8]
jg 0x498b3c
mov dword [edx - 0xc], ecx
mov edx, dword [ebx]
xor esi, esi
pop edi
mov word [edx + ecx*2], si
pop esi
pop ebx
pop ebp
ret 4
push 0x80070057
call fcn.004013f0
int3

Function at 0x49a660
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
push eax
push 3
push 0
push str.SOFTWAREStaffCopAdminProtect
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x49a688
xor eax, eax
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, 4
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 8]
push edx
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.SIZE
push ecx
mov dword [ebp - 8], 0
call ebx
test eax, eax
je 0x49a6c5
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [ebp - 8]
test edi, edi
jne 0x49a6d5
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 1
push edi
call fcn.004f265c
mov esi, eax
add esp, 8
test esi, esi
je 0x49a728
push edi
push 0
push esi
call fcn.004f0550
mov edx, dword [ebp - 8]
add esp, 0xc
lea eax, [ebp - 4]
push eax
push esi
lea ecx, [ebp - 0xc]
push ecx
push 0
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x10]
push str.DATA
push edx
mov dword [ebp - 0xc], 3
call ebx
test eax, eax
jne 0x49a71f
cmp dword [ebp - 4], eax
jne 0x49a731
push esi
call fcn.004f1b71
add esp, 4
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
push ecx
push esi
push edx
call fcn.004f01e0
push esi
call fcn.004f1b71
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
add esp, 0x10
pop esi
pop edi
mov dword [eax], ecx
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49a770
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532f48
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x58c250]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x10]
push eax
push 3
push edi
push str.SOFTWAREStaffCopAdminProtect
push SysReAllocStringLen
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x49a82e
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
push edi
push str.SIZE
mov dword [ebp - 0x24], esi
mov ebx, 4
push esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x49a7f7
cmp dword [ebp - 0x18], ebx
je 0x49a849
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
je 0x49a809
push esi
call ebx
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0xffffffff
cmp esi, edi
je 0x49a81a
push esi
call ebx
mov dword [ebp - 0x24], edi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], edi
je 0x49a7fd
cmp esi, edi
je 0x49a860
push esi
call ebx
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0xffffffff
cmp esi, edi
je 0x49a871
push esi
call ebx
mov dword [ebp - 0x24], edi
mov eax, 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

Function at 0x49a890
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532f92
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x58c250]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x217]
mov dword [ebp - 0x220], ebx
push ebx
push eax
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x224], ebx
mov byte [ebp - 0x218], bl
call fcn.004f0550
push 0x103
lea ecx, [ebp - 0x113]
push ebx
push ecx
mov dword [ebp - 0x21c], ebx
mov byte [ebp - 0x114], bl
call fcn.004f0550
add esp, 0x18
push ebx
push ebx
lea edx, [ebp - 0x224]
push edx
push ebx
lea eax, [ebp - 0x21c]
push eax
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0x540cc4
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov edx, dword [ebp - 0x21c]
push edx
lea eax, [ebp - 0x114]
push str._8.8X
push eax
call fcn.004f4305
add esp, 0xc
lea ecx, [ebp - 0x114]
push ecx
mov ecx, esi
call fcn.00402dc0
mov dword [ebp - 4], ebx
mov dword [ebp - 0x220], 1
mov eax, esi
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.004f0194
mov esp, ebp
pop ebp
ret
Function at 0x49f6e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530088
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x58c250]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004856d0
xor ecx, ecx
mov dword [ebp - 4], ecx
lea edx, [esi + 0x18]
mov dword [esi + 0x20], edx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [esi + 0x50], cl
mov byte [esi + 0x4a], cl
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea edx, [esi + 0x28]
mov dword [esi + 0x30], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ecx
mov eax, dword [esi + 0x24]
mov dword [eax], ecx
mov edx, dword [esi + 0x34]
mov dword [edx], ecx
mov eax, dword [esi + 0x10]
mov dword [eax], ecx
mov edx, dword [esi + 0x20]
mov dword [edx], ecx
mov eax, dword [esi + 0x30]
mov edx, dword [ebp + 8]
mov dword [eax], ecx
mov dword [esi + 0x54], edx
mov eax, dword [0x58fd40]
mov dword [esi + 0x4c], eax
mov dword [esi + 0x44], ecx
mov dword [ebp - 4], 0xffffffff
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 0x4a0e10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x535168
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x58c250]
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 edi, ecx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x4a0f48
cmp byte [edi + 0x4a], bl
je 0x4a0f48
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffff
call edx
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x4a0eda
mov ecx, 0xf
mov dword [ebp - 0x18], ecx
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x4a0e8f
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x4a0ea7
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
mov edx, dword [esi + 0x18]
push eax
lea eax, [edi + 0x4c]
push eax
call edx
sub eax, 0
je 0x4a0ede
dec eax
je 0x4a0ee2
sub eax, 2
je 0x4a0f39
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0042e830
xor al, al
jmp 0x4a0f4a
mov byte [edi + 0x4a], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x4a0ef2
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x4a0f1b
cmp ebx, 0x10
jae 0x4a0f01
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.004f297b
add esp, 0x10
cmp esi, eax
jne 0x4a0ecb
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x4a], 0
je 0x4a0f39
test esi, esi
jne 0x4a0e9b
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00487c80
jmp 0x4a0e95
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0042e830
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.004f0194
mov esp, ebp
pop ebp
ret
Function at 0x4a1ea0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x533e61
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x58c250]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor ebx, ebx
mov dword [esi], vtable.CAgentListBase.0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [ebp - 4], ebx
push ebx
lea ecx, [esi + 0x28]
mov byte [esi + 0x24], bl
call fcn.004a7ef0
mov byte [ebp - 4], 1
push ebx
lea ecx, [esi + 0x2c]
call fcn.004a7ef0
mov byte [ebp - 4], 2
push str.E16BEF60_B9F4_4604_8624_735092A03F31
xor eax, eax
mov dword [esi + 0x30], ebx
push ebx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
push ebx
mov dword [esi + 0x1c], eax
push ebx
mov dword [esi + 0x20], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
mov dword [esi + 0x30], eax
call fcn.004f6793
push eax
call fcn.004f3a7d
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a6340
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
sete bl
test esi, esi
je 0x4a6375
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov al, bl
pop ebx
pop ebp
ret

Function at 0x4a6d80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
call fcn.004a6b70
test eax, eax
je 0x4a6d97
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
test eax, eax
je 0x4a6d90
lea edx, [esi + 0x10]
mov eax, edx
push edi
lea edi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a6db0
sub eax, edi
sar eax, 1
je 0x4a6dd4
push edx
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x210], eax
push esi
push 0
push 0x4a6bd0
call fcn.004f7d50
add esp, 0xc
cmp eax, 1
jne 0x4a6dfe
mov eax, dword [esi + 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, esi
mov dword [esi + 8], eax
call fcn.004a6b70
test eax, eax
jne 0x4a6e21
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xa
call edi
mov ecx, esi
call fcn.004a6b70
test eax, eax
je 0x4a6e12
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4a6e30
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
call fcn.004a6b70
test eax, eax
jne 0x4a6e45
mov dword [esi + 8], 0xffffffff
pop esi
ret
mov eax, dword [esi + 0x210]
test eax, eax
je 0x4a6e56
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 8]
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 8]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esi + 0x210]
test eax, eax
je 0x4a6e88
push eax
call edi
push 0
mov ecx, esi
call fcn.004a6ba0
pop edi
mov dword [esi + 8], 0xffffffff
mov eax, 1
pop esi
ret
Function at 0x4a9c30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x58c250]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, 1
sub edx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x104
or edx, eax
mov dword [ebp - 0x210], ecx
jge 0x4a9c6c
push 0x104
call fcn.004018b0
push ebx
push esi
push edi
push 1
push 0x1a
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
jmp 0x4a9c90
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4a9c90
mov ebx, dword [0x53bb00]
mov eax, 0x541ed0
mov dword [edi], ebx
mov edx, eax
jmp 0x4a9cb0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a9cb0
lea edi, [ebp - 0x20c]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4a9cc6
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
jmp 0x4a9cf0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4a9cf0
mov eax, str.filters.xml
mov dword [edi], ebx
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a9d05
lea edi, [ebp - 0x20c]
sub eax, edx
add edi, 0xfffffffe
jmp 0x4a9d20
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4a9d20
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
lea eax, [ebp - 0x20c]
pop esi
lea edx, [eax + 2]
pop ebx
jmp 0x4a9d50
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a9d50
mov ecx, dword [ebp - 0x210]
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x20c]
push edx
call fcn.00401e30
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
call fcn.004f0194
mov esp, ebp
pop ebp
ret 4
Function at 0x4ab860
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534dd4
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x58c250]
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 dword [ebp - 0x118], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edi, [esi + 0x10]
push eax
mov dword [ebp - 0x114], edi
call fcn.00401500
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 3
push 0xfe
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], bl
call fcn.004f0550
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push 0xff
lea ecx, [ebp - 0x110]
push ecx
push 0x1001
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea edx, [ebp - 0x110]
push edx
push ebx
call fcn.004f8c37
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ab934
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.004f0194
mov esp, ebp
pop ebp
ret 4
Function at 0x4ac3d0
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push 0
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], 0
call esi
test eax, eax
jne 0x4ac41f
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 8
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0
lea ecx, [ebp - 4]
push ecx
mov edi, eax
call esi
test eax, eax
jne 0x4ac41e
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push 0
push 0
push 0x8003
push eax
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop esi
push 0
test eax, eax
je 0x4ac4bb
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x4ac474
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 4]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 8]
push 0
lea ecx, [ebp - 0xc]
push ecx
push edx
push 2
push eax
mov dword [ebp - 0xc], 0x10
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x4ac4af
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov edx, dword [ebp - 4]
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov esp, ebp
pop ebp
ret
Function at 0x4b4070
Capabilities:
Create new key via cryptacquirecontext
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, dword [ebp + 8]
mov eax, edi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b4080
sub eax, edx
jne 0x4b4090
pop edi
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push 0
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0
lea eax, [ebp - 8]
push eax
call esi
test eax, eax
jne 0x4b40d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x4b40d2
push 8
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0
lea ecx, [ebp - 8]
push ecx
call esi
test eax, eax
je 0x4b41cd
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
push edx
push 0
push 0
push 0x8004
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x4b4179
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b40f6
push 0
sub eax, edx
mov edx, dword [ebp - 4]
push eax
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x4b416f
mov ecx, dword [ebp - 4]
mov edi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
xor eax, eax
push eax
lea edx, [ebp - 0xc]
push edx
mov word [ebp - 0xf], ax
mov byte [ebp - 0xd], al
lea eax, [ebp - 0x10]
push eax
push 4
push ecx
mov byte [ebp - 0x10], 0
mov dword [ebp - 0xc], 4
call edi
mov edx, dword [ebp - 4]
test eax, eax
jne 0x4b415e
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 8]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0
push 2
push edx
call edi
test eax, eax
jne 0x4b418d
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov ecx, dword [ebp - 8]
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0xc]
push edx
call fcn.004dbe65
mov ecx, dword [ebp - 4]
add esp, 4
push 0
mov esi, eax
lea eax, [ebp - 0xc]
push eax
push esi
push 2
push ecx
call edi
test eax, eax
jne 0x4b41d5
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 8]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push esi
call fcn.004f1ca3
add esp, 4
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0xc]
mov dword [ecx], esi
mov ecx, dword [ebp - 4]
push ecx
mov dword [edx], eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov edx, dword [ebp - 8]
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop esi
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret