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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d981d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5021c0]
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, ecx
push 0xfffe
call fcn.004ad065
push 0xfffe
mov edi, eax
push 0
push edi
call fcn.004affe0
add esp, 0x10
mov dword [ebp - 0x2c], edi
push 0x7fff
push edi
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp byte [0x507a10], 0
lea esi, [ebx + 0x2c]
je 0x41c593
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c496
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, esi
call fcn.00403a40
cmp dword [esi + 0x14], 7
mov ecx, esi
mov edx, dword [esi + 0x10]
jbe 0x41c4bb
mov ecx, dword [esi]
test edx, edx
je 0x41c4e7
lea eax, [edx - 1]
cmp eax, 0xffffffff
jb 0x41c4ca
or eax, 0xffffffff
cmp word [ecx + eax*2], 0x5c
lea eax, [ecx + eax*2]
je 0x41c4e1
cmp eax, ecx
je 0x41c4e7
sub eax, 2
cmp word [eax], 0x5c
jne 0x41c4d4
sub eax, ecx
sar eax, 1
jmp 0x41c4ea
or eax, 0xffffffff
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
cmp edx, eax
jb 0x41c504
mov edx, eax
cmp dword [esi + 0x14], 7
jbe 0x41c50c
mov esi, dword [esi]
push edx
push esi
lea ecx, [ebp - 0x28]
call fcn.00403450
lea esi, [ebx + 0x2c]
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x41c557
mov ecx, esi
call fcn.004027a0
mov eax, dword [ebp - 0x28]
mov ecx, 7
mov dword [esi], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x14], eax
xor eax, eax
mov word [ebp - 0x28], ax
jmp 0x41c55a
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x41c5cb
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41c587
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c611
push ecx
push edx
call fcn.004accfd
add esp, 8
jmp 0x41c5cb
push edi
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x41c5a7
sub edx, ecx
mov ecx, esi
sar edx, 1
push edx
push edi
call fcn.00403a40
push 0x4ec1c0
mov ecx, esi
call fcn.00405930
cmp dword [ebx + 0x40], 7
lea eax, [ebx + 0x2c]
jbe 0x41c5d6
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebx + 0x2c]
push str._bookmarks
call fcn.00405930
push edi
call fcn.004ad06e
add esp, 4
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.004accbf
mov esp, ebp
pop ebp
ret
call fcn.004b306f
int3
Function at 0x41df90
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
push ebx
push ebp
mov ebp, ecx
push esi
push edi
test eax, eax
je 0x41e0a2
cmp word [eax], 0
je 0x41e0a2
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x41e0a2
cmp esi, 0xffffffff
je 0x41e0a2
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
je 0x41e08a
cmp dword [esp + 0x1c], 0
jne 0x41e08a
lea ecx, [edi + 1]
push 0x4e28d4
push ecx
call fcn.004ad0c8
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x41e032
push esi
lea edi, [eax - 2]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
push 0
lea eax, [esp + 0x18]
mov byte [ebx + edi], 0
push eax
push edi
push ebx
push esi
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41e081
mov eax, dword [esp + 0x14]
cmp eax, edi
jne 0x41e081
push eax
push ebx
mov ecx, ebp
call fcn.0041e280
push ebx
mov edi, eax
call fcn.004ad06e
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
push ebx
call fcn.004ad06e
add esp, 4
push esi
mov edi, 0xfffffffd
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
pop edi
pop esi
pop ebp
mov eax, 0xfffffffd
pop ebx
add esp, 8
ret 4

Function at 0x41e1c0
Capabilities:
Write file on windows

Disassembly:
push ecx
mov edx, dword [esp + 8]
mov eax, edx
push esi
push edi
mov esi, ecx
mov dword [esp + 8], 0
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41e1d6
push 0
lea ecx, [esp + 0xc]
sub eax, edi
push ecx
push eax
push edx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ecx
ret 4
Function at 0x41fdd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9a48
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5021c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov word [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x1c], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x2c], eax
xor eax, eax
mov dword [esi], vtable.CBookmarksDlg.0
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], 7
mov word [esi + 0x30], ax
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 1
call fcn.0041c330
xor eax, eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], eax
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa8], 7
mov word [esi + 0x94], ax
mov dword [esi + 0xac], eax
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], eax
mov dword [esi + 0xc0], 7
mov word [esi + 0xac], ax
mov dword [esi + 0xc4], eax
mov dword [esi + 0xc8], eax
mov dword [esi + 0xcc], eax
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd4], eax
mov dword [esi + 0xd8], 7
mov word [esi + 0xc4], ax
mov dword [esi + 0xdc], eax
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe4], eax
mov byte [esi + 0xe8], al
mov dword [esi + 0xec], eax
mov dword [esi + 0xf0], eax
mov dword [esi + 0xf4], eax
mov dword [esi + 0xf8], eax
mov dword [esi + 0xfc], eax
mov dword [esi + 0x100], 7
mov word [esi + 0xec], ax
mov dword [esi + 0x104], eax
mov dword [esi + 0x108], eax
mov dword [esi + 0x10c], eax
mov dword [esi + 0x110], eax
mov dword [esi + 0x114], eax
mov dword [esi + 0x118], 7
mov word [esi + 0x104], ax
mov byte [esi + 0x11c], al
mov dword [esi + 0x120], eax
mov dword [esi + 0x128], eax
mov dword [esi + 0x12c], eax
mov dword [esi + 0x130], eax
mov dword [esi + 0x134], eax
mov dword [esi + 0x138], eax
mov dword [esi + 0x13c], eax
mov dword [esi + 0x124], eax
mov dword [esi + 0x15c], eax
mov byte [esi + 0x160], 1
mov dword [esi + 0x140], eax
mov dword [esi + 0x144], eax
mov dword [esi + 0x148], eax
mov dword [esi + 0x14c], eax
mov dword [esi + 0x150], eax
mov dword [esi + 0x154], eax
mov dword [esi + 0x158], eax
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 0x4266e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], 4
cmp dword [esi + 0x1c], 7
lea eax, [esi + 8]
mov dword [esp + 8], 0
jbe 0x426701
mov eax, dword [eax]
lea ecx, [esp + 4]
push ecx
push dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push 0
push eax
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [esi + 0x38], eax
pop esi
add esp, 8
ret 8
Function at 0x427730
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xf4
mov eax, dword [0x5021c0]
xor eax, esp
mov dword [esp + 0xf0], eax
mov dword [esp], 0x4ebc79
mov dword [esp + 4], 0x4ecf00
mov dword [esp + 8], 0x4ecf04
mov dword [esp + 0xc], 0x4ecf08
mov dword [esp + 0x10], 0x4ecf0c
mov dword [esp + 0x14], 0x4ebce0
mov dword [esp + 0x18], str.C_____
mov dword [esp + 0x1c], 0x4ecf10
mov dword [esp + 0x20], 0x4ecf14
mov dword [esp + 0x24], 0x4ec3dc
mov dword [esp + 0x28], 0x4ec3e0
mov dword [esp + 0x2c], 0x4ecf18
mov dword [esp + 0x30], 0x4ecf1c
mov dword [esp + 0x34], 0x4ecf20
mov dword [esp + 0x38], 0x4ecf24
mov dword [esp + 0x3c], 0x4ecf28
mov dword [esp + 0x40], 0x4ecf2c
mov dword [esp + 0x44], 0x4ecf30
mov dword [esp + 0x48], str.bB___n_afnrtvxc:eEQXZG_pPNKR
mov dword [esp + 0x4c], 0x4ecf40
mov dword [esp + 0x50], 0x4ecf44
mov dword [esp + 0x54], 0x4ecf48
mov dword [esp + 0x58], 0x4ebc79
mov dword [esp + 0x5c], 0x4ebc79
mov dword [esp + 0x60], 0x4ecf4c
mov dword [esp + 0x64], 0x4ecf50
mov dword [esp + 0x68], 0x4ecf54
mov dword [esp + 0x6c], 0x4ecf58
mov dword [esp + 0x70], 0x4ecf5c
mov dword [esp + 0x74], 0x4ecf60
mov dword [esp + 0x78], 0x4ecf64
mov dword [esp + 0x7c], 0x4ecf68
mov dword [esp + 0x80], 0x4ecf6c
mov dword [esp + 0x84], 0x4ecf70
mov dword [esp + 0x88], 0x4ecf74
mov dword [esp + 0x8c], 0x4ecf78
mov dword [esp + 0x90], 0x4ecf7c
mov dword [esp + 0x94], 0x4ec3e8
mov dword [esp + 0x98], 0x4ecf80
mov dword [esp + 0x9c], 0x4ebc79
mov dword [esp + 0xa0], 0x4ebc79
mov dword [esp + 0xa4], 0x4ebc79
mov dword [esp + 0xa8], 0x4ebc79
mov dword [esp + 0xac], 0x4ebc79
mov dword [esp + 0xb0], 0x4ebc79
mov dword [esp + 0xb4], 0x4ebc79
mov dword [esp + 0xb8], 0x4ebc79
mov dword [esp + 0xbc], 0x4ecf84
mov dword [esp + 0xc0], 0x4ecf88
mov dword [esp + 0xc4], 0x4ecf8c
mov dword [esp + 0xc8], 0x4ecefc
mov dword [esp + 0xcc], 0x4ecf90
mov dword [esp + 0xd0], 0x4ecf94
mov dword [esp + 0xd4], 0x4ecf98
mov dword [esp + 0xd8], 0x4ecf9c
mov dword [esp + 0xdc], 0x4ecfa0
mov dword [esp + 0xe0], 0x4ecfa4
mov dword [esp + 0xe4], 0x4ecfa8
mov dword [esp + 0xe8], 0x4ecfac
mov dword [esp + 0xec], 0x4ecfb0
cmp cl, 0x3c
jb 0x427996
mov eax, 0x4ebc79
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.004accbf
add esp, 0xf4
ret
movzx eax, cl
mov ecx, dword [esp + 0xf0]
xor ecx, esp
mov eax, dword [esp + eax*4]
call fcn.004accbf
add esp, 0xf4
ret
Function at 0x4279c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x9c
mov eax, dword [0x5021c0]
xor eax, esp
mov dword [esp + 0x98], eax
mov edx, 0x361
mov dword [esp], 0x3610300
mov dword [esp + 4], 0x4860483
lea eax, [esp + 2]
mov dword [esp + 8], 0x9030903
mov dword [esp + 0xc], 0x940093e
mov dword [esp + 0x10], 0x94c0949
mov dword [esp + 0x14], 0x9830982
mov dword [esp + 0x18], 0x9c009be
mov dword [esp + 0x1c], 0x9cc09c7
mov dword [esp + 0x20], 0x9d709d7
mov dword [esp + 0x24], 0xa400a3e
mov dword [esp + 0x28], 0xa830a83
mov dword [esp + 0x2c], 0xac00abe
mov dword [esp + 0x30], 0xacc0ac9
mov dword [esp + 0x34], 0xb030b02
mov dword [esp + 0x38], 0xb3e0b3e
mov dword [esp + 0x3c], 0xb400b40
mov dword [esp + 0x40], 0xb4c0b47
mov dword [esp + 0x44], 0xb570b57
mov dword [esp + 0x48], 0xb830b83
mov dword [esp + 0x4c], 0xbbf0bbe
mov dword [esp + 0x50], 0xbcc0bc1
mov dword [esp + 0x54], 0xbd70bd7
mov dword [esp + 0x58], 0xc030c01
mov dword [esp + 0x5c], 0xc440c41
mov dword [esp + 0x60], 0xc830c82
mov dword [esp + 0x64], 0xcbe0cbe
mov dword [esp + 0x68], 0xcc40cc0
mov dword [esp + 0x6c], 0xccb0cc7
mov dword [esp + 0x70], 0xcd60cd5
mov dword [esp + 0x74], 0xd030d02
mov dword [esp + 0x78], 0xd400d3e
mov dword [esp + 0x7c], 0xd4c0d46
mov dword [esp + 0x80], 0xd570d57
mov dword [esp + 0x84], 0xf7f0f7f
mov dword [esp + 0x88], 0x20e120d0
mov dword [esp + 0x8c], 0x309a3099
mov dword [esp + 0x90], 0xfe23fe20
mov dword [esp + 0x94], 0xffffffff
cmp dx, cx
jae 0x427b2b
add eax, 4
cmp word [eax], cx
jb 0x427b23
cmp cx, word [eax - 2]
jb 0x427b4c
cmp cx, word [eax]
setbe al
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.004accbf
add esp, 0x9c
ret
mov ecx, dword [esp + 0x98]
xor al, al
xor ecx, esp
call fcn.004accbf
add esp, 0x9c
ret
Function at 0x42bde0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da38c
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x5021c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 8
mov dword [ebp - 4], 0
call fcn.004acccd
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov ecx, dword fs:[0x2c]
mov dword [ebp - 0x10], eax
mov edx, dword [ecx]
mov ecx, dword [0x507c60]
cmp ecx, dword [edx + 4]
jle 0x42bee4
push 0x507c60
call fcn.004acdaf
add esp, 4
cmp dword [0x507c60], 0xffffffff
jne 0x42bee4
xor eax, eax
mov dword [0x507c30], 0
push 2
push 0x507c30
mov dword [0x507c34], 0
mov dword [0x507c38], 0
mov dword [0x507c3c], eax
mov dword [0x507c40], eax
mov dword [0x507c44], eax
mov dword [0x507c48], eax
mov dword [0x507c4c], eax
mov dword [0x507c50], eax
mov dword [0x507c54], eax
mov dword [0x507c58], eax
mov dword [0x507c5c], eax
call fcn.00495b7b
push 0x4e1b90
call fcn.004ad050
push 0x507c60
call fcn.004acd5e
add esp, 0x10
push 0x507c30
mov dword [ebp - 0x1c], 0x507c30
call fcn.00495b97
add esp, 4
test eax, eax
jne 0x42bffa
mov eax, dword [0x507c5c]
cmp eax, 0x7fffffff
je 0x42c001
push ecx
lea edx, [ebp - 0x10]
mov byte [ebp - 4], 2
mov ecx, edi
call fcn.00432c00
push 0x507c30
call fcn.00495bbc
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [ebp - 0x1c], edi
push 0x10
mov byte [ebp - 4], 3
call fcn.004acccd
mov dword [ebp - 0x1c], eax
xor ecx, ecx
push 0x100
push ecx
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_struct_boost::regex_traits_wrapper_struct_boost::regex_traits_wchar_t__class_boost::w32_regex_traits_wchar_t____.0
mov dword [eax + 0xc], edi
mov dword [esi + 0x10], eax
lea eax, [esi + 0x30]
mov dword [esi + 0xc], edi
push eax
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], ecx
call fcn.004affe0
mov dword [esi + 0x130], 0
add esp, 0x18
mov dword [esi + 0x13c], 0
mov eax, esi
mov dword [esi + 0x138], 0
mov dword [esi + 0x134], 0
mov dword [esi + 0x140], 0
mov dword [esi + 0x144], 0
mov dword [esi + 0x148], 0
mov dword [esi + 0x14c], 0
mov word [esi + 0x150], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 5
call fcn.00495b16
dec eax
push 6
mov dword [0x507c5c], eax
call fcn.00495b16
int3
Function at 0x42ce60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da515
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5021c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0x40
call fcn.004acccd
mov ecx, dword [ebp + 0x10]
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov byte [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov byte [edi + 0x28], 1
mov dword [edi + 0x2c], 0
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov eax, dword [ecx + 4]
test eax, eax
je 0x42cf0b
lock inc dword [eax + 4]
mov eax, dword [ecx]
mov dword [edi + 0x34], eax
mov eax, dword [ecx + 4]
mov dword [edi + 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x3c], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp + 0x10], edi
push 0x10
mov dword [ebp - 4], 0
call fcn.004acccd
mov dword [ebp + 0x10], eax
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_class_boost::regex_iterator_implementation_class_std::_String_const_iterator_class_std::_String_val_struct_std::_Simple_types_wchar_t_____wchar_t__struct_boost::regex_traits_wchar_t__class_boost::w32_regex_traits_wchar_t____.0
mov dword [eax + 0xc], edi
mov dword [esi], edi
mov dword [esi + 4], eax
mov dword [ebp - 4], 1
lea edx, [edi + 0x34]
mov eax, dword [ebp + 8]
mov ecx, edi
mov dword [edi + 0x2c], eax
mov eax, dword [ebp + 8]
push eax
push dword [edi + 0x3c]
push dword [edi + 0x30]
push eax
call fcn.0042c040
add esp, 0x14
test al, al
jne 0x42cfb7
mov edi, dword [esi + 4]
mov dword [esi], 0
mov dword [esi + 4], 0
test edi, edi
je 0x42cfb7
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x42cfb7
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x42cfb7
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
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 0x10

Function at 0x42eb60
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
cmp ecx, edx
je 0x42eb88
push edi
mov edi, esi
mov eax, esi
shr eax, 2
shl edi, 6
add edi, eax
movzx eax, word [ecx]
add eax, 0x9e3779b9
add ecx, 2
add eax, edi
xor esi, eax
cmp ecx, edx
jne 0x42eb68
pop edi
mov eax, 3
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1e
imul eax, eax, 0x7fffffff
sub esi, eax
or esi, 0x40000000
mov eax, esi
pop esi
ret
Function at 0x441be0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x804
mov eax, dword [0x5021c0]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
mov esi, dword [esp + 0x80c]
cmp byte [esi + 8], 0
je 0x441c48
lea eax, [esp + 0x814]
mov edx, 0x400
push eax
push ecx
push dword [esp + 0x818]
lea ecx, [esp + 0x10]
push 0x400
call fcn.00419a40
add esp, 0x10
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x441c48
push eax
lea eax, [esp + 8]
push eax
call fcn.004c0984
add esp, 8
mov ecx, dword [esp + 0x804]
pop esi
xor ecx, esp
call fcn.004accbf
add esp, 0x804
ret
Function at 0x45ff60
Capabilities:
Hash data using fnv

Disassembly:
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [eax + 8]
push ebp
lea ebp, [eax + 8]
movzx edx, bl
xor edx, 0x811c9dc5
push esi
imul edx, edx, 0x1000193
push edi
mov edi, ecx
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
xor edx, ecx
mov ecx, ebx
imul edx, edx, 0x1000193
shr ecx, 0x10
movzx ecx, cl
shr ebx, 0x18
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [edi + 0x18]
xor ecx, ebx
imul ecx, ecx, 0x1000193
and edx, ecx
mov ecx, dword [edi + 0xc]
mov esi, dword [ecx + edx*8]
cmp dword [ecx + edx*8 + 4], eax
jne 0x45ffd4
cmp esi, eax
jne 0x45ffcb
mov eax, dword [edi + 4]
mov dword [ecx + edx*8], eax
mov dword [ecx + edx*8 + 4], eax
jmp 0x45ffdd
mov eax, dword [eax + 4]
mov dword [ecx + edx*8 + 4], eax
jmp 0x45ffdd
cmp esi, eax
jne 0x45ffe1
mov eax, dword [eax]
mov dword [ecx + edx*8], eax
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
mov edx, ebp
dec dword [edi + 8]
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
call fcn.00467350
push 0x18
push dword [esp + 0x1c]
call fcn.004accfd
mov eax, dword [esp + 0x1c]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x461390
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ddb0d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5021c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
cmp dword [eax + 0x14], 0xf
jbe 0x4613ea
mov eax, dword [eax]
push 0
push 0x8000000
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4614d3
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
push 0
push 2
push 0
push ebx
mov dword [edi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
test esi, esi
jne 0x46143d
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4614d3
push 0
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp + 8], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x461461
call esi
push ebx
call esi
jmp 0x4614d3
call esi
push ebx
call esi
push dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x14]
push ebx
mov dword [ebp - 0x18], ebx
call fcn.0046ab20
push ebx
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0040b240
mov eax, dword [edi]
add esp, 0xc
mov ecx, dword [ebp - 0x18]
mov esi, dword [edi + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [edi], ecx
mov dword [edi + 4], eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x4614ce
or ebx, 0xffffffff
lea eax, [esi + 4]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x4614ce
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
cmp ebx, 1
jne 0x4614ce
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov eax, dword [edi]
mov dword [edi + 0xc], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4