joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a6e0
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0xffffffffffffffff
push 0x4876c9
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push esi
mov eax, dword [0x4a9a08]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov esi, dword [esp + 0x58]
cmp dword [esi + 4], 0
jne 0x43a717
push 1
mov ecx, esi
call fcn.00439410
mov eax, dword [esp + 0x54]
push esi
push 0
push 0
push 0
push 0
push str.Acrobat_Credential
push eax
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
jne 0x43a771
push str.Unable_to_encrypt_data
lea ecx, [esp + 0xc]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x50], 0
mov dword [esp + 0x28], vtable.PRException.0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 0x49bcbc
lea edx, [esp + 0x28]
push edx
call sub.MSVCR80.dll__CxxThrowException
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x48
ret 8

Function at 0x43a790
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x487700
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x4a9a08]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x14]
call fcn.00439400
mov eax, dword [esp + 0x30]
lea ecx, [eax + 0x54]
push ecx
add eax, 0x38
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0
call fcn.004396b0
lea ecx, [esp + 8]
call fcn.00439400
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x18]
push eax
mov ecx, esi
mov byte [esp + 0x30], 1
call fcn.0043a6e0
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0x34]
add ecx, 2
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
add edx, edx
add edx, edx
push edx
mov ecx, esi
call fcn.004395e0
mov edx, dword [esi + 4]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push edx
push eax
push ecx
call sym.AdobeCollabSync.exe_PL_Base64Encode
add esp, 0xc
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.004395b0
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.004395b0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret 8
Function at 0x43a950
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x487758
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a9a08]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
push eax
push 0x20019
xor esi, esi
push esi
push str.SoftwareAdobeAdobe_Acrobat8.0Credentials
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43aa34
mov ebx, dword [esp + 0x2c]
cmp dword [ebx + 0x18], 0x10
lea edi, [ebx + 4]
jb 0x43a9ad
mov eax, dword [edi]
jmp 0x43a9af
mov eax, edi
mov edx, dword [esp + 0x18]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 0
push eax
push edx
call ebp
test eax, eax
jne 0x43aa29
mov eax, dword [esp + 0x14]
push eax
call fcn.0048016a
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
cmp dword [ebx + 0x18], 0x10
mov dword [esp + 0x24], 0
jb 0x43a9ef
mov edi, dword [edi]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
push esi
push 0
push 0
push edi
push edx
call ebp
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
add eax, 0xffffffff
push eax
push esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
mov dword [esp + 0x30], 1
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov esi, dword [esp + 0x30]
add esp, 4
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
Function at 0x43ae50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x487859
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x4a9a08]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x38]
push 0x48e780
mov ecx, esi
call dword [0x48b28c]
lea ecx, [edi + 0x28]
call fcn.00436960
push eax
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [edi + 0x48]
call fcn.00436960
push eax
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov eax, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, dword [eax]
push ecx
push 0
lea edx, [esp + 0x14]
push esi
push edx
call fcn.00438da0
add esp, 0x10
push eax
mov ecx, esi
mov dword [esp + 0x34], 0
call dword [0x48b250]
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 4
Function at 0x43d200
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x487cb4
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4a9a08]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
push 0x7c
xor edi, edi
push edi
call fcn.0043f1f0
mov dword [esi], vtable.CResourceAnalyzer.0
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esp + 0x1c], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov eax, dword [esp + 0x24]
lea ebx, [esi + 0x24]
mov ecx, ebx
mov byte [esp + 0x1c], 1
mov dword [esi + 0x20], eax
call fcn.0043c2d0
mov dword [ebx + 4], eax
mov dword [ebx + 8], edi
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], edx
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x40], vtable.COwnerVector_class_CResourceItem_.0
mov dword [esi + 0x54], edi
lea ecx, [esi + 0x60]
mov byte [esp + 0x1c], 4
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x10
Function at 0x441e90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x488951
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4a9a08]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
cmp dword [ecx + 4], 0
lea edi, [ecx + 4]
mov dword [esp + 0xc], edi
jne 0x441ecd
push 0
mov ecx, edi
call fcn.00441bc0
jmp 0x441ed1
add dword [edi + 4], 1
mov esi, dword [edi]
mov dword [esp + 0x10], esi
push str.delete_from_response_headers_where_rid_
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov byte [esp + 0x3c], 1
call edx
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x38], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x40]
mov eax, dword [esi]
mov edx, dword [eax + 8]
push ecx
push 0
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov ecx, edi
call fcn.00441880
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 4

Function at 0x4426d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x488951
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4a9a08]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
cmp dword [ecx + 4], 0
lea edi, [ecx + 4]
mov dword [esp + 0xc], edi
jne 0x44270d
push 0
mov ecx, edi
call fcn.00441bc0
jmp 0x442711
add dword [edi + 4], 1
mov esi, dword [edi]
mov dword [esp + 0x10], esi
push 0x48f720
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov byte [esp + 0x3c], 1
call edx
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x38], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x40]
mov eax, dword [esi]
mov edx, dword [eax + 8]
push ecx
push 0
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov ecx, edi
call fcn.00441880
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 4
Function at 0x443740
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x488951
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4a9a08]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
cmp dword [ecx + 4], 0
lea edi, [ecx + 4]
mov dword [esp + 0xc], edi
jne 0x44377d
push 0
mov ecx, edi
call fcn.00441bc0
jmp 0x443781
add dword [edi + 4], 1
mov esi, dword [edi]
mov dword [esp + 0x10], esi
push str.delete_from_resources_items_where_rid_
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov byte [esp + 0x3c], 1
call edx
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x38], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x40]
mov eax, dword [esi]
mov edx, dword [eax + 8]
push ecx
push 0
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov ecx, edi
call fcn.00441880
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 4
Function at 0x446960
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x489182
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a9a08]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
mov dword [esi], eax
mov cl, byte [edi + 4]
lea edx, [edi + 8]
mov byte [esi + 4], cl
push edx
lea ecx, [esi + 8]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov al, byte [edi + 0x24]
mov byte [esi + 0x24], al
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [edi + 0x2c]
mov dword [esi + 0x2c], edx
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x38]
mov dword [esi + 0x38], edx
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x40], ecx
mov edx, dword [edi + 0x44]
lea ecx, [edi + 0x4c]
mov dword [esi + 0x44], edx
mov eax, dword [edi + 0x48]
push ecx
lea ecx, [esi + 0x4c]
mov dword [esp + 0x1c], 0
mov dword [esi + 0x48], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea edx, [edi + 0x68]
push edx
lea ecx, [esi + 0x68]
mov byte [esp + 0x1c], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov eax, dword [edi + 0x84]
mov dword [esi + 0x84], eax
mov ecx, dword [edi + 0x88]
mov dword [esi + 0x88], ecx
mov edx, dword [edi + 0x8c]
lea eax, [edi + 0x90]
lea ecx, [esi + 0x90]
push eax
mov byte [esp + 0x1c], 2
mov dword [esi + 0x8c], edx
call fcn.00432de0
lea ecx, [edi + 0x9c]
push ecx
lea ecx, [esi + 0x9c]
mov byte [esp + 0x1c], 3
call fcn.00432de0
mov edx, dword [edi + 0xa8]
mov dword [esi + 0xa8], edx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x452e54
Capabilities:
Delete file

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
push ebp
call fcn.00452d99
and dword [esp + 0x14], 0
mov ebx, eax
test ebx, ebx
pop ecx
je 0x452e9e
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x452e8c
mov eax, dword [esp + 0x10]
inc dword [esp + 0x10]
cmp eax, 3
jge 0x452e95
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call edi
mov esi, eax
test esi, esi
je 0x452e77
push ebx
call fcn.004497fa
pop ecx
jmp 0x452ec4
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x452ebb
mov eax, dword [esp + 0x10]
inc dword [esp + 0x10]
cmp eax, 3
jge 0x452ec4
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebp
call edi
mov esi, eax
test esi, esi
je 0x452ea6
pop edi
mov eax, esi
neg eax
pop esi
sbb eax, eax
pop ebp
and eax, 0xa
pop ebx
pop ecx
ret

Function at 0x452ed3
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
call fcn.00452d99
mov esi, eax
test esi, esi
pop ecx
je 0x452eff
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
push esi
mov edi, ecx
call fcn.004497fa
pop ecx
jmp 0x452f13
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov edi, ecx
mov eax, edi
pop edi
pop esi
ret

Function at 0x452f18
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a8
mov eax, dword [0x4a9a08]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4aaaa0]
test eax, eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
je 0x452f56
push 0x118
push eax
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.MSVCR80.dll_strncpy]
add esp, 0xc
mov byte [ebp - 0x24], 0
jmp 0x452fb5
call fcn.00452d3c
test eax, eax
je 0x452fa3
lea eax, [ebp - 0x3a8]
push eax
mov esi, 0x118
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x3a8]
push eax
call fcn.00452df6
mov ebx, eax
test ebx, ebx
pop ecx
je 0x452fb5
push esi
lea eax, [ebp - 0x13c]
push ebx
push eax
call dword [sym.imp.MSVCR80.dll_strncpy]
push ebx
mov byte [ebp - 0x24], 0
call fcn.004497fa
add esp, 0x10
jmp 0x452fb5
lea eax, [ebp - 0x13c]
push eax
push 0x118
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x13c]
push eax
call sub.MSVCR80.dll_strlen
test eax, eax
pop ecx
jle 0x452fd8
lea ecx, [ebp - 0x13c]
dec ecx
cmp byte [ecx + eax], 0x5c
jne 0x452fd8
dec eax
test eax, eax
jg 0x452fcd
mov byte [ebp + eax - 0x13c], 0
lea eax, [ebp - 0x13c]
push eax
push str._s_sqlite_
push edi
call dword [sym.imp.MSVCR80.dll_sprintf]
push edi
call sub.MSVCR80.dll_strlen
mov esi, eax
lea eax, [edi + esi]
push eax
push 0xf
call fcn.004647e8
add esp, 0x18
push 0xf
pop ecx
movzx eax, byte [edi + esi]
xor edx, edx
push 0x3e
pop ebx
div ebx
mov al, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi], al
inc esi
dec ecx
jne 0x45300c
push edi
mov byte [edi + esi], 0
call fcn.00452ed3
test eax, eax
pop ecx
jne 0x452fe0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004801ca
leave
ret
Function at 0x45325e
Capabilities:
Get file attributes

Disassembly:
push edi
mov edi, dword [esp + 8]
test edi, edi
jne 0x45326b
xor eax, eax
pop edi
ret
call fcn.00452d3c
test eax, eax
jne 0x453282
push edi
call sub.MSVCR80.dll_strlen
cmp eax, 0x104
pop ecx
ja 0x453267
push ebx
push esi
push edi
call fcn.00452d99
mov esi, eax
test esi, esi
pop ecx
je 0x4532a3
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
mov ebx, eax
call fcn.004497fa
pop ecx
jmp 0x4532ac
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4532b5
xor eax, eax
jmp 0x4532c2
and bl, 0x10
sub bl, 0x10
neg bl
sbb ebx, ebx
inc ebx
mov eax, ebx
pop esi
pop ebx
pop edi
ret

Function at 0x453658
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
xor esi, esi
cmp dword [0x4aaab0], esi
jne 0x453698
call fcn.004535cb
cmp dword [0x4aaab0], esi
jne 0x453693
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x4aaa78], eax
jne 0x453689
call fcn.00453621
xor eax, eax
pop esi
ret
mov dword [0x4aaab0], 1
call fcn.00453621
push ebx
push dword [0x4aaa78]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [esp + 0xc], esi
mov ebx, eax
jle 0x4536db
cmp ebx, esi
jne 0x453710
push 0xc
call dword [sym.imp.MSVCR80.dll_malloc]
mov ebx, eax
cmp ebx, esi
pop ecx
je 0x453710
push edi
mov esi, 0x492574
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
push dword [0x4aaa78]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
jmp 0x453710
cmp ebx, esi
je 0x453710
cmp dword [esp + 0xc], esi
jge 0x453710
push 0xc
push 0x492574
push ebx
call sub.MSVCR80.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x453710
push ebx
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
push esi
push dword [0x4aaa78]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
xor ebx, ebx
mov eax, ebx
pop ebx
pop esi
ret
Function at 0x45a540
Capabilities:
Reference sql statements

Disassembly:
cmp edi, 2
jge 0x45a549
push 0x17
pop eax
ret
movzx eax, byte [ebx + edi - 1]
movzx eax, byte [eax + 0x491960]
movzx ecx, byte [ebx]
imul eax, eax, 3
movzx ecx, byte [ecx + 0x491960]
shl ecx, 2
xor eax, ecx
push esi
xor eax, edi
push 0x7f
cdq
pop ecx
idiv ecx
movzx esi, byte [edx + str.Pk_]
jmp 0x45a5a7
movzx eax, byte [esi + 0x492e98]
cmp eax, edi
jne 0x45a5a0
movzx eax, word [esi*2 + 0x492f10]
push edi
add eax, str.ABORTABLEFTEMPORARYADDATABASELECTHENDEFAULTRANSACTIONATURALTERAISEACHECKEYAFTEREFERENCESCAPELSEXCEPTRIGGEREGEXPLAINITIALLYANALYZEXCLUSIVEXISTSTATEMENTANDEFERRABLEATTACHAVINGLOBEFOREIGNOREINDEXAUTOINCREMENTBEGINNERENAMEBETWEENOTNULLIKEBYCASCADEFERREDELETECASECASTCOLLATECOLUMNCOMMITCONFLICTCONSTRAINTERSECTCREATECROSSCURRENT_DATECURRENT_TIMESTAMPLANDESCDETACHDISTINCTDROPRAGMATCHFAILIMITFROMFULLGROUPDATEIFIMMEDIATEINSERTINSTEADINTOFFSETISNULLJOINORDEREPLACEOUTERESTRICTPRIMARYQUERYRIGHTROLLBACKROWHENUNIONUNIQUEUSINGVACUUMVALUESVIEWHERE
push ebx
push eax
call fcn.0044996e
add esp, 0xc
test eax, eax
je 0x45a5af
movzx esi, byte [esi + 0x492e20]
dec esi
jns 0x45a579
push 0x17
pop eax
pop esi
ret
movzx eax, byte [esi + 0x492ff8]
pop esi
ret
Function at 0x46ba60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x489571
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x4a9a08]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
push str.CInterruptedException
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 0xc]
push eax
lea ecx, [esi + 4]
mov dword [esp + 0x34], 0
mov dword [esi], vtable.PRException.0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov dword [esi], vtable.CMessageException.0
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [esi], vtable.CInterruptedExeception.0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret
Function at 0x46d8b0
Capabilities:
Encode data using xor

Disassembly:
mov cl, byte [edx]
xor eax, eax
test cl, cl
je 0x46d8d4
jmp 0x46d8c0
imul eax, eax, 0xf4243
movzx ecx, cl
add edx, 1
xor eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x46d8c0
ret
Function at 0x4801ca
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a9a08]
jne 0x4801d4
repz ret
jmp fcn.00480a93