joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46f390
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x110
push ebx
push ebp
mov ebp, dword [esp + 0x11c]
push esi
xor esi, esi
push edi
cmp ebp, esi
mov ebx, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
jne 0x46f3c4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x110
ret 4
push ebp
mov ecx, ebx
call fcn.0046f2a0
test eax, eax
jne 0x46f3dd
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 4
push ebp
mov ecx, ebx
call fcn.0046f310
cmp eax, 1
je 0x46f56a
lea eax, [esp + 0x10]
push eax
push str.SYSTEMCurrentControlSetServicesWinSock2ParametersProtocol_Catalog9Catalog_Entries
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x46f416
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x110
ret 4
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea ecx, [esp + 0x1c]
push 0x104
push ecx
push esi
push edx
call edi
test eax, eax
jne 0x46f492
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x46f512
mov eax, dword [esp + 0x14]
push str.PackedCatalogItem
push eax
mov ecx, ebx
call fcn.0046f1d0
mov ecx, dword [esp + 0x14]
test eax, eax
push ecx
je 0x46f529
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
inc esi
push 0x104
push edx
push esi
push eax
mov dword [esp + 0x24], 0
call edi
test eax, eax
je 0x46f432
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
xor esi, esi
push 0x104
push edx
push esi
push eax
mov dword [esp + 0x28], esi
call edi
test eax, eax
jne 0x46f4e0
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push ebp
push edx
push eax
mov ecx, ebx
call fcn.0046ee80
test eax, eax
je 0x46f512
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
inc esi
push 0x104
push ecx
push esi
push edx
call edi
test eax, eax
je 0x46f4ae
cmp dword [esp + 0x18], 1
jb 0x46f512
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
push str.SYSTEMCurrentControlSetServicesWinSock2ESPI11
dec ecx
push closesocket
push ecx
push ebp
push str.FileName
mov ecx, ebx
call fcn.0046ed60
cmp eax, 1
je 0x46f55b
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x46f539
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x110
ret 4
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], 0
jmp 0x46f512
push ebp
mov ecx, ebx
call fcn.0046f580
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x110
ret 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x46f56a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x110
ret 4
Function at 0x46f580
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x10c
push ebp
mov ebp, dword [esp + 0x114]
push esi
xor esi, esi
push edi
cmp ebp, esi
mov edi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 1
jne 0x46f5b2
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x10c
ret 4
push esi
mov ecx, edi
call fcn.0046f310
test eax, eax
jne 0x46f5cf
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x10c
ret 4
lea eax, [esp + 0xc]
push eax
push str.SYSTEMCurrentControlSetServicesWinSock2ParametersProtocol_Catalog9Catalog_Entries
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x46f5f6
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x10c
ret 4
mov edx, dword [esp + 0xc]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea ecx, [esp + 0x18]
push 0x104
push ecx
push esi
push edx
call ebx
test eax, eax
jne 0x46f644
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push ebp
push eax
push ecx
mov ecx, edi
call fcn.0046f020
test eax, eax
jne 0x46f62d
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
inc esi
push 0x104
push edx
push esi
push eax
call ebx
test eax, eax
je 0x46f613
push 0
push str.SYSTEMCurrentControlSetServicesWinSock2ESPI11
push closesocket
mov ecx, edi
call fcn.0046edf0
mov eax, dword [esp + 0x10]
pop ebx
test eax, eax
je 0x46f667
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
add esp, 0x10c
ret 4

Function at 0x488df2
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x488e2a
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00486ea6
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00486e7e
jmp 0x488e36
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48a4e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x48a522
call fcn.0048ff99
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48a522
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48a519
xor eax, eax
jmp 0x48a52a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048a530
pop edi
pop esi
pop ebx
ret 4
Function at 0x4904c9
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4904f7
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x490515
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049042f
jmp 0x490515
mov eax, dword [esi + 0x14]
test eax, eax
je 0x490515
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049042f
test edi, edi
mov eax, edi
jne 0x4904ff
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x430004
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x86123ee
nop
nop
nop
nop
test eax, eax
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..rdata
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x74cb3979
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x10003cf0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret
Function at 0x10006f90
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100afa22
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp byte [edi + 4], bl
jne 0x1000707a
mov al, byte [esp + 0x4c]
mov esi, dword [str.FileCrypt_ERROR:_Encryption_Decryption_Object_not_Initialized_]
mov byte [esp + 0xc], al
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
push ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x14]
push ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x10007011
mov edi, dword [esp + 0x14]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], ebp
mov byte [eax + ebp], bl
lea ecx, [esp + 0x50]
mov dword [esp + 0x44], ebx
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x54], 0x100f029c
call dword [sym.imp.MSVCRT.dll_public:_void___thiscall_exception::constructor_char_const__const_const__]
mov dl, byte [esp + 0x10]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [esp + 0x2c], dl
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push ecx
push ebx
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x50], 1
call dword [sym.imp.MSVCP60.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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, dword [sym.imp.MSVCP60.dll_const_std::runtime_error::vftable]
lea ecx, [esp + 0x20]
push 0x100ccb48
push ecx
mov dword [esp + 0x28], eax
mov byte [esp + 0x4c], bl
call sub.MSVCRT.dll__CxxThrowException
pop ebp
mov eax, dword [edi + 8]
xor edx, edx
cmp eax, ebx
jle 0x1000709d
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov cl, byte [esi]
mov bl, byte [eax]
xor bl, cl
inc esi
mov byte [eax], bl
mov ecx, dword [edi + 8]
inc eax
inc edx
cmp edx, ecx
jl 0x1000708b
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x1000d2b0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x100afdc3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x24]
push edi
push eax
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x1c], esi
call fcn.10022bc0
xor ebp, ebp
lea ecx, [esi + 0x2604]
mov dword [esp + 0x1c], ebp
call fcn.100889e0
lea ecx, [esi + 0x2644]
mov byte [esp + 0x1c], 1
call dword [sym.imp.OOLAPLib.dll_public:_void___thiscall_CSimpleOLAP::constructor_void_]
push 0xa
lea ecx, [esi + 0x2690]
mov byte [esp + 0x20], 2
call fcn.100aea28
lea eax, [esp + 0x2c]
lea edi, [esi + 0x25fc]
push eax
push 0x20019
lea ebx, [esi + 0x2600]
push ebp
push str.SOFTWAREOpen_Executive_4
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x30], 3
mov dword [esi], 0x100c2930
mov dword [edi], 0x80001
mov dword [ebx], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000d42e
lea ecx, [esp + 0x28]
mov eax, 4
push ecx
lea edx, [esp + 0x28]
push edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
push edx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push str.OLAP_RunInTnx
push eax
call ebp
test eax, eax
jne 0x1000d3af
mov eax, dword [edi]
mov ecx, eax
and ecx, 0xffff
jl 0x1000d3a9
cmp ecx, 1
jg 0x1000d3a9
or eax, 0x10000
mov dword [edi], eax
jmp 0x1000d3af
mov dword [edi], 0x80001
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push ebx
push edx
push 0
push str.OLAP_FillDimRecursive
push eax
call ebp
test eax, eax
jne 0x1000d3d7
cmp dword [ebx], 0
jge 0x1000d3d7
mov dword [ebx], 0
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x28]
lea edi, [esi + 4]
push ecx
lea edx, [esp + 0x28]
push edi
push edx
push 0
push str.OLAP_PackageQueueSize
push eax
call ebp
test eax, eax
jne 0x1000d402
cmp dword [edi], 2
jge 0x1000d402
mov dword [edi], 2
lea ecx, [esp + 0x28]
lea edx, [esi + 0x146c]
push ecx
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x28]
push edx
push eax
push 0
push str.OLAP_GenMDXWithSlicerOnPages
push ecx
call ebp
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebp, ebp
mov dword [esi + 0x267c], ebp
mov dword [esi + 0x2680], ebp
mov dword [esi + 0x2684], ebp
mov dword [esi + 0x2688], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
call fcn.1009a4a0
push esi
push 0x100076b0
lea ecx, [esi + 0x18]
mov dword [esi + 0x268c], eax
call dword [sym.imp.OOLAPLib.dll_public:_void___thiscall_CMDXBuilder::SetCallback_int____cdecl___struct__MDXBuilderCallbackParam____unsigned_long_int_]
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x10025b70
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
push edi
test esi, esi
mov ebp, ecx
je 0x10025d02
mov eax, dword [ebp + 0x1180]
test eax, eax
je 0x10025d02
mov ecx, 8
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x1180]
mov ecx, dword [eax + 8]
mov dword [esi + 0x10], ecx
mov edx, dword [ebp + 0x1180]
mov eax, dword [edx + 0x20]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1434]
test eax, eax
je 0x10025bc4
pop edi
pop esi
xor eax, eax
pop ebp
ret 4
mov ecx, dword [ebp + 0x11e0]
mov dword [esi], ecx
mov edx, dword [ebp + 0x11e4]
mov dword [esi + 4], edx
mov eax, dword [ebp + 0x11c4]
mov edx, dword [esi + 0x14]
mov dword [esi + 8], eax
mov ecx, dword [ebp + 0x11b0]
mov eax, dword [esi + 0x10]
mov dword [esi + 0xc], ecx
add eax, edx
movsx ecx, word [ebp + 0x119c]
cmp eax, ecx
jg 0x10025d02
mov edi, dword [sym.imp.ole32.dll_CoTaskMemAlloc]
lea edx, [eax*4]
push ebx
push edx
call edi
mov ecx, dword [esi + 0x14]
mov ebx, dword [esi + 0x10]
mov dword [esi + 0x18], eax
add ecx, ebx
xor eax, eax
test ecx, ecx
jle 0x10025c47
xor edx, edx
mov ecx, dword [ebp + 0x1198]
add ecx, edx
add edx, 0x58
mov ebx, dword [ecx + 4]
sub ebx, dword [ecx + 8]
mov ecx, dword [esi + 0x18]
inc ebx
mov dword [ecx + eax*4], ebx
mov ecx, dword [esi + 0x14]
mov ebx, dword [esi + 0x10]
inc eax
add ecx, ebx
cmp eax, ecx
jl 0x10025c22
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
add edx, ecx
shl edx, 2
push edx
call edi
mov edi, dword [esi + 0x10]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x14]
xor ecx, ecx
add eax, edi
test eax, eax
jle 0x10025cf9
mov dword [esp + 0x14], ecx
mov eax, dword [ebp + 0x1198]
mov edx, dword [esp + 0x14]
add eax, edx
mov edx, dword [esi + 0x1c]
mov edi, dword [edx + ecx*4]
mov ebx, dword [eax + 8]
lea edx, [edx + ecx*4]
xor ebx, edi
and ebx, 0xff
xor ebx, edi
mov dword [edx], ebx
mov edx, dword [esi + 0x1c]
mov ebx, dword [edx + ecx*4]
lea edi, [edx + ecx*4]
xor edx, edx
and bh, 0
mov dh, byte [eax + 4]
or edx, ebx
mov dword [edi], edx
mov edx, dword [esi + 0x1c]
mov edi, dword [eax + 0x10]
mov ebx, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
and edi, 0xff
and ebx, 0xff00ffff
shl edi, 0x10
or edi, ebx
mov ebx, dword [esp + 0x14]
mov dword [edx], edi
mov edx, dword [esi + 0x1c]
mov eax, dword [eax + 0xc]
add ebx, 0x58
mov edi, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
shl eax, 0x18
and edi, 0xffffff
mov dword [esp + 0x14], ebx
or eax, edi
inc ecx
mov dword [edx], eax
mov edx, dword [esi + 0x14]
add edx, dword [esi + 0x10]
cmp ecx, edx
jl 0x10025c6e
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
ret 4
pop edi
pop esi
mov eax, 0x80004005
pop ebp
ret 4
Function at 0x10035940
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100b2738
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebp
push esi
mov ebp, dword [esp + 0x34]
xor esi, esi
cmp ebp, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 8], esi
jne 0x10035990
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], 0xffffffff
call fcn.100ae920
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
push ebx
mov ebx, dword [esp + 0x40]
mov byte [esp + 0x24], 0
mov dword [ebx], esi
mov eax, dword [ebp + 0x148]
cmp eax, esi
je 0x10035ac2
mov eax, dword [esp + 0x3c]
cmp dword [eax - 8], esi
jne 0x100359d3
cmp dword [ebp + 0x128], esi
jne 0x10035b0a
mov ecx, dword [ebp + 0x120]
cmp dword [ecx - 8], esi
jne 0x10035b0a
jmp 0x10035b02
push edi
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x18]
push 0x10
push edx
push esi
lea ecx, [esp + 0x4c]
mov byte [esp + 0x40], 1
call sub.MFC42.DLL_CString::GetBuffer
push eax
call fcn.10003c70
add esp, 0xc
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
call sub.MFC42.DLL_CString::CString_2
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 2
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 1
call fcn.100ae920
mov eax, dword [ebp + 0x124]
cmp eax, esi
je 0x10035a42
mov ecx, 4
lea edi, [esp + 0x18]
mov esi, eax
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x10035a65
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
test eax, eax
jne 0x10035a75
mov eax, dword [ebp + 0x11c]
push eax
mov eax, dword [esp + 0x40]
push eax
call ebx
add esp, 8
test eax, eax
jne 0x10035a75
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x10], 1
mov dword [ebx], 1
jmp 0x10035ab1
mov eax, dword [ebp + 0x128]
test eax, eax
je 0x10035a94
mov ecx, 4
lea edi, [esp + 0x18]
mov esi, eax
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x10035aa9
test eax, eax
jne 0x10035ab1
mov ebp, dword [ebp + 0x120]
mov eax, dword [esp + 0x3c]
push ebp
push eax
call ebx
add esp, 8
test eax, eax
jne 0x10035ab1
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 0
call fcn.100ae920
pop edi
jmp 0x10035b0a
mov eax, dword [ebp + 0x11c]
mov ecx, dword [esp + 0x3c]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push eax
push ecx
call esi
add esp, 8
test eax, eax
jne 0x10035aed
mov dword [esp + 0xc], 1
mov dword [ebx], 1
jmp 0x10035b0a
mov ebp, dword [ebp + 0x120]
mov edx, dword [esp + 0x3c]
push ebp
push edx
call esi
add esp, 8
test eax, eax
jne 0x10035b0a
mov dword [esp + 0xc], 1
lea ecx, [esp + 0x3c]
mov dword [esp + 0x30], 0xffffffff
call fcn.100ae920
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
pop ebx
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x10037cc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100b27c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp]
mov dword [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x14], 1
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x1c]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push edx
mov byte [esp + 0x20], 2
call fcn.10037c40
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
call fcn.10037bc0
add esp, 0x1c
lea ecx, [esp + 8]
mov byte [esp + 0x14], 1
call fcn.100ae920
lea ecx, [esp]
mov byte [esp + 0x14], 0
call fcn.100ae920
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.100ae920
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x100477f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
push edi
mov esi, ecx
call fcn.10046d40
lea eax, [esp + 8]
lea edi, [esi + 0x98]
push eax
push 1
push 0
push str.SoftwareOpen_Executive_4
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esi], 0x100c961c
mov dword [edi], 0x14
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1004786a
lea ecx, [esp + 0xc]
mov eax, 4
push ecx
lea edx, [esp + 0x14]
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
push edx
push 0
push str.Report_MultiPassComputeXCalcBatchSize
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1004785f
mov dword [edi], 0x14
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
add esp, 0xc
ret

Function at 0x10047c10
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100b380b
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x94]
test eax, eax
je 0x10047d44
mov al, byte [esi + 4]
lea edi, [esi + 4]
test al, al
je 0x10047d44
push fcn.100ae920
push sub.MFC42.DLL_CString::CString
push 2
lea eax, [esp + 0x1c]
push 4
push eax
mov dword [esp + 0x1c], 0x80004005
call fcn.100af098
push edi
lea ecx, [esp + 0x14]
push str.sessionid_s
push ecx
mov dword [esp + 0x2c], 0
call sub.MFC42.DLL_CString::Format
mov edx, dword [esi + 0x90]
add esp, 0xc
lea eax, [esp + 0x14]
push edx
push str.clientobjectid_ld
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 0
push ecx
mov ecx, dword [esi + 0x94]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0
push str.Disconnect
push ecx
mov byte [esp + 0x40], 1
call fcn.10056ff0
add esp, 0x20
test eax, eax
je 0x10047d04
mov eax, dword [esp + 0xc]
lea edx, [esp + 8]
push edx
push str._08X
push eax
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0xc
cmp eax, 1
je 0x10047d04
mov eax, dword [esp + 8]
test eax, eax
jl 0x10047d04
mov dword [esp + 8], 0x80004005
mov esi, dword [esp + 8]
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.100ae920
push fcn.100ae920
push 2
lea ecx, [esp + 0x18]
push 4
push ecx
mov dword [esp + 0x30], 0xffffffff
call fcn.100af11a
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov ecx, dword [esp + 0x18]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret