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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002d59e
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x10048070]
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 esi, ecx
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov dword [ebp - 0x250], esi
mov word [esi], ax
push edi
lea ecx, [esi + 0x18]
mov dword [ebp - 4], eax
call fcn.100184d0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
test edi, edi
je 0x1001533d
mov eax, dword [edi + 4]
jmp 0x1001533f
xor eax, eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
xor eax, eax
push 0x206
mov byte [ebp - 4], 4
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
cmp word [ebp - 0x21c], ax
jne 0x100153b8
xor ecx, ecx
jmp 0x100153d0
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100153c1
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.10001320
push str.Elex_techYAC
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x24c]
push eax
mov byte [ebp - 4], 5
call dword [sym.imp.iImportLib.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_elex::filepath::pathcombine_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov ebx, eax
add esp, 0xc
cmp esi, ebx
je 0x10015437
cmp dword [esi + 0x14], 8
jb 0x1001541c
push dword [esi]
call edi
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
push ebx
mov ecx, esi
mov word [esi], ax
call fcn.10003aa0
cmp dword [ebp - 0x238], 8
jb 0x1001544b
push dword [ebp - 0x24c]
call edi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x220], 8
mov dword [ebp - 0x238], 7
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
jb 0x1001547c
push dword [ebp - 0x234]
call edi
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 - 0x14]
xor ecx, ebp
call fcn.10029016
mov esp, ebp
pop ebp
ret 4
Function at 0x100191e0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10048070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
movzx edx, byte [esi]
movzx eax, byte [esi + 1]
xor edx, 0x811c9dc5
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 3]
imul edx, edx, 0x1000193
xor edx, eax
imul edx, edx, 0x1000193
push edi
mov edi, dword [ebx + 0x14]
mov ecx, edi
and ecx, edx
mov dword [ebp - 8], ebx
cmp dword [ebx + 0x18], ecx
ja 0x10019243
shr edi, 1
or eax, 0xffffffff
sub eax, edi
add ecx, eax
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 8]
mov edi, dword [eax + ecx*8]
mov edx, dword [edx]
lea ebx, [eax + ecx*8]
mov eax, edi
cmp edi, edx
jne 0x1001925b
mov ecx, edx
jmp 0x10019260
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x10019299
mov ecx, dword [eax + 8]
cmp ecx, dword [esi]
je 0x1001926f
mov eax, dword [eax]
jmp 0x10019253
mov ecx, dword [esi]
cmp ecx, dword [eax + 8]
lea ecx, [ebp - 8]
mov dword [ebp - 8], edx
jne 0x1001927f
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ecx]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10029016
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov dword [eax], edx
pop ebx
call fcn.10029016
mov esp, ebp
pop ebp
ret 8
Function at 0x100192c0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10048070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
movzx edx, byte [ebx]
movzx eax, byte [ebx + 1]
xor edx, 0x811c9dc5
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul edx, edx, 0x1000193
xor edx, eax
imul edx, edx, 0x1000193
push edi
mov edi, ecx
mov dword [ebp - 8], edi
mov esi, dword [edi + 0x14]
mov ecx, esi
and ecx, edx
cmp dword [edi + 0x18], ecx
ja 0x10019323
shr esi, 1
or eax, 0xffffffff
sub eax, esi
add ecx, eax
mov eax, dword [edi + 8]
mov edi, dword [eax + ecx*8]
lea edx, [eax + ecx*8]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
mov ecx, dword [ecx]
mov eax, edi
cmp edi, ecx
jne 0x1001933e
mov edx, ecx
jmp 0x10019343
mov edx, dword [edx + 4]
mov edx, dword [edx]
cmp eax, edx
je 0x1001939e
mov edx, dword [eax + 8]
cmp edx, dword [ebx]
je 0x10019355
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
jmp 0x10019336
mov edx, dword [ebx]
mov ebx, dword [ebp - 0xc]
mov esi, eax
mov dword [ebp - 8], edx
nop
cmp edi, ecx
jne 0x10019368
mov edx, ecx
jmp 0x1001936d
mov edx, dword [ebx + 4]
mov edx, dword [edx]
cmp eax, edx
je 0x1001937d
mov edx, dword [ebp - 8]
cmp edx, dword [eax + 8]
jne 0x1001937d
mov eax, dword [eax]
jmp 0x10019360
cmp esi, eax
je 0x1001939e
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov dword [ecx], esi
mov eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10029016
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10029016
mov esp, ebp
pop ebp
ret 8
Function at 0x100194b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10048070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
cmp dword [ebx + 0x14], 8
push edi
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edi
jb 0x100194d9
mov esi, dword [ebx]
jmp 0x100194db
mov esi, ebx
xor ecx, ecx
mov edx, 0x811c9dc5
add edi, edi
je 0x100194f7
movzx eax, byte [esi + ecx]
xor edx, eax
inc ecx
imul edx, edx, 0x1000193
cmp ecx, edi
jb 0x100194e6
mov edi, dword [ebp - 0x10]
mov esi, dword [edi + 0x14]
mov ecx, esi
and ecx, edx
cmp dword [edi + 0x18], ecx
ja 0x1001950f
shr esi, 1
or eax, 0xffffffff
sub eax, esi
add ecx, eax
mov eax, dword [edi + 8]
lea edx, [eax + ecx*8]
mov ecx, dword [edi]
mov eax, dword [edx]
mov dword [ebp - 8], edx
mov dword [ebp - 0x18], eax
mov esi, eax
mov dword [ebp - 0x14], ecx
cmp eax, ecx
jne 0x1001952c
mov eax, ecx
jmp 0x10019531
mov eax, dword [edx + 4]
mov eax, dword [eax]
cmp esi, eax
je 0x100195ce
cmp dword [ebx + 0x14], 8
lea eax, [esi + 8]
jb 0x10019546
mov edx, dword [ebx]
jmp 0x10019548
mov edx, ebx
cmp dword [eax + 0x14], 8
mov ebx, dword [eax + 0x10]
jb 0x10019553
mov eax, dword [eax]
mov edi, dword [ebp - 0xc]
cmp ebx, edi
cmovb edi, ebx
test edi, edi
jne 0x10019585
xor eax, eax
mov edx, dword [ebp - 0xc]
test eax, eax
jne 0x10019575
cmp ebx, edx
jb 0x10019575
cmp ebx, edx
setne al
test eax, eax
je 0x1001959e
mov esi, dword [esi]
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
jmp 0x10019524
mov cx, word [eax]
cmp cx, word [edx]
jne 0x10019596
add eax, 2
add edx, 2
dec edi
jmp 0x1001955d
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x10019561
cmp dword [esi + 0x1c], 8
mov ecx, dword [esi + 0x18]
lea eax, [esi + 8]
jb 0x100195ac
mov eax, dword [eax]
push ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.10011d60
test eax, eax
je 0x100195c6
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov dword [ebp - 8], eax
jmp 0x100195c9
mov dword [ebp - 8], esi
lea ecx, [ebp - 8]
mov ecx, dword [ecx]
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], ecx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10029016
mov esp, ebp
pop ebp
ret 8
Function at 0x10019980
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x10048070]
xor eax, esp
mov dword [esp + 0x10], eax
mov edx, dword [ebp + 0xc]
push ebx
movzx eax, byte [edx + 1]
mov ebx, ecx
movzx ecx, byte [edx]
xor ecx, 0x811c9dc5
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul ecx, ecx, 0x1000193
push esi
mov esi, dword [ebx + 0x14]
mov dword [esp + 0x10], edx
mov edx, esi
push edi
mov edi, dword [ebp + 8]
and edx, ecx
mov dword [esp + 0x18], edi
cmp dword [ebx + 0x18], edx
ja 0x100199ef
shr esi, 1
or eax, 0xffffffff
sub eax, esi
add edx, eax
mov ecx, dword [ebx]
lea eax, [edx*8]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 8]
lea esi, [eax + edx*8]
mov eax, dword [esi]
cmp eax, ecx
jne 0x10019a0c
mov esi, ecx
jmp 0x10019a11
mov esi, dword [esi + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x10019a2c
mov edx, dword [esp + 0x14]
mov edx, dword [edx]
jmp 0x10019a20
mov esi, dword [esi + 4]
cmp dword [esi + 8], edx
je 0x10019a70
cmp esi, eax
jne 0x10019a20
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x10019a56
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 [esp + 0x10]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x10019aaf
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [eax + edx + 4], edi
jmp 0x10019acf
mov edx, dword [ebp + 0x10]
cmp edx, ecx
je 0x10019a93
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
push edx
mov dword [ecx + 4], eax
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
dec dword [ebx + 4]
mov dword [edi], esi
mov byte [edi + 4], 0
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.10029016
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x10019ab7
mov dword [ecx], edi
jmp 0x10019acf
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x10019acf
add edx, dword [ebx + 8]
mov eax, dword [edx + 4]
mov eax, dword [eax + 4]
mov dword [edx + 4], eax
mov ecx, ebx
call fcn.10019d00
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [eax], edi
pop edi
pop esi
pop ebx
xor ecx, esp
mov byte [eax + 4], 1
call fcn.10029016
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1001bd90
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002db5e
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x10048070]
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 + 8]
mov esi, dword [ebp + 0x14]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x1001be61
test esi, esi
jne 0x1001be37
mov eax, dword [0x1004ac8c]
test al, 1
jne 0x1001be24
or eax, 1
mov dword [0x1004ac8c], eax
mov dword [ebp - 4], esi
call fcn.100230f0
push 0x1002f560
call fcn.10029157
add esp, 4
cmp dword [0x1004ac88], 8
mov esi, 0x1004ac74
cmovae esi, dword [0x1004ac74]
push esi
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001be5d
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1001be61
mov al, 1
jmp 0x1001be63
xor al, al
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.10029016
mov esp, ebp
pop ebp
ret 0x10

Function at 0x1001bec0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10048070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 0xc]
lea esi, [ecx + 4]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001bef8
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10029016
mov esp, ebp
pop ebp
ret 0xc
push dword [ebp + 0x10]
xor eax, eax
xorps xmm0, xmm0
push 0x10031d10
mov word [ebp - 0x2c], ax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x2c]
push 0x28
push eax
movq qword [ebp - 0x2a], xmm0
movq qword [ebp - 0x22], xmm0
movq qword [ebp - 0x1a], xmm0
movq qword [ebp - 0x12], xmm0
call fcn.10001030
add esp, 0x10
lea eax, [ebp - 0x2c]
push esi
push eax
push edi
push 0x100311d4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10029016
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1001ee30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002de0c
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x10048070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1004ac8c]
mov esi, 0x409
mov dword [ebp - 0x7c], 0
test al, 1
jne 0x1001ee9a
or eax, 1
mov dword [0x1004ac8c], eax
mov dword [ebp - 4], 0
call fcn.100230f0
push 0x1002f560
call fcn.10029157
add esp, 4
mov dword [ebp - 4], 0xffffffff
push ecx
lea eax, [ebp - 0x78]
push eax
mov ecx, 0x1004ac5c
call fcn.1001edc0
cmp dword [eax + 0x14], 8
jb 0x1001eeb1
mov eax, dword [eax]
lea ecx, [ebp - 0x7c]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp dword [ebp - 0x64], 8
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jb 0x1001eed5
push dword [ebp - 0x78]
call edi
add esp, 4
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x1001ef82
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x80]
push ecx
push 0
push str.language
push eax
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x80], 4
mov dword [ebp - 0x84], 4
call edi
test eax, eax
jne 0x1001ef2c
mov esi, dword [ebp - 0x88]
jmp 0x1001f030
xor eax, eax
push 0x4e
push eax
mov word [ebp - 0x60], ax
lea eax, [ebp - 0x5e]
push eax
mov dword [ebp - 0x84], 0x28
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push str.language
push dword [ebp - 0x7c]
call edi
test eax, eax
jne 0x1001f030
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.MSVCR110.dll__wtoi]
add esp, 4
mov esi, eax
jmp 0x1001f030
mov eax, dword [0x1004ac8c]
test al, 1
jne 0x1001efb3
or eax, 1
mov dword [0x1004ac8c], eax
mov dword [ebp - 4], 1
call fcn.100230f0
push 0x1002f560
call fcn.10029157
add esp, 4
mov dword [ebp - 4], 0xffffffff
push ecx
lea eax, [ebp - 0x78]
push eax
mov ecx, 0x1004ac5c
call fcn.1001edc0
cmp dword [eax + 0x14], 8
jb 0x1001efca
mov eax, dword [eax]
lea ecx, [ebp - 0x7c]
push ecx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp dword [ebp - 0x64], 8
jb 0x1001efe8
push dword [ebp - 0x78]
call edi
add esp, 4
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x1001f039
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x84]
push ecx
push 0
push str.language
push eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x84], 4
mov dword [ebp - 0x88], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
cmove esi, dword [ebp - 0x80]
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.10029016
mov esp, ebp
pop ebp
ret
Function at 0x1001f060
Capabilities:
Reference sql statements
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp esi, 0xffffffff
jne 0x1001f075
call fcn.1001ee30
mov esi, eax
mov edi, 0x10034adc
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
movzx ebx, ax
xor eax, eax
mov ecx, 0x10034ad8
lea ebx, [ebx]
mov edx, dword [ecx]
cmp edx, ebx
jne 0x1001f099
lea edi, [ecx + 4]
cmp edx, esi
je 0x1001f0b2
add ecx, 0x54
inc eax
cmp ecx, 0x10038f18
jl 0x1001f090
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
imul eax, eax, 0x54
pop edi
pop esi
add eax, 0x10034adc
pop ebx
pop ebp
ret 4

Function at 0x1001f3b0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002e158
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10048070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
push esi
mov ecx, edi
call fcn.1001f300
mov edx, dword [edi + 0x20]
mov ecx, edx
mov eax, dword [edx + 4]
cmp byte [eax + 0xd], 0
jne 0x1001f416
cmp dword [eax + 0x10], esi
jae 0x1001f40c
mov eax, dword [eax + 8]
jmp 0x1001f410
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x1001f402
cmp ecx, edx
je 0x1001f422
mov dword [ebp + 8], ecx
cmp esi, dword [ecx + 0x10]
jae 0x1001f425
mov dword [ebp + 8], edx
lea esi, [ebp + 8]
mov esi, dword [esi]
cmp esi, edx
je 0x1001f44f
push 0
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [edi + 0x20]
call fcn.1001fc70
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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

Function at 0x1001f630
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1002e0f8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push edi
mov eax, dword [0x10048070]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
push ebx
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0xc]
push eax
push 4
push dword [ebp + 8]
mov dword [esp + 0x2c], 0
push 0x1001f570
push 0
push 0
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push dword [ebp + 8]
lea ecx, [ebx + 0x20]
mov edi, eax
call fcn.1001fbe0
push edi
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100215d0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10021601
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [esp + 8], esi
call fcn.1002a990
mov dword [esp + 0xc], eax
test esi, esi
jne 0x10021609
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, 0x100390cc
lea ecx, [esp + 8]
call fcn.10021470
int3

Function at 0x10021840
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002e420
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10048070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.MSVCR110.dll_public:_void___thiscall_std::exception::constructor_class_std::exception_const__]
mov dword [ebp - 4], 0
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x14]
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10001560
mov dword [ebp - 4], 1
mov dword [esi + 0x2c], vtable.boost::exception.0
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x30], ecx
test ecx, ecx
je 0x100218cb
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.1.0
mov dword [esi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10022610
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002e448
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10048070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.MSVCR110.dll_public:_void___thiscall_std::exception::constructor_class_std::exception_const__]
mov dword [ebp - 4], 0
mov dword [edi], vtable.boost::system::system_error.0
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
lea ecx, [edi + 0x14]
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10001560
mov dword [edi + 0x2c], vtable.boost::exception.0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.1.0
mov dword [edi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4