joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006b840
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov edi, edx
mov esi, ecx
mov eax, dword [0x1009a00c]
xor eax, ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0xc], ecx
call fcn.1005b7c0
mov ebx, dword [esi + 0x3c]
test ebx, ebx
je 0x1006b984
mov eax, dword [ebx]
mov dword [esp], edi
mov edi, dword [eax + 0x1c]
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
mov ebx, dword [esp]
push ebx
call edi
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.1005bac0
mov edi, dword [esi + 0x44]
test edi, edi
mov dword [esp + 4], esi
je 0x1006b98c
add esi, 0x44
lea eax, [esp + 0x10]
push 1
push eax
call sym.mozglue.dll_private:_static_class_mozilla::TimeStamp___cdecl_mozilla::TimeStamp::Now_bool_
add esp, 8
lea eax, [esp + 0x10]
movsd xmm0, qword [eax + 0x10]
movsd qword [edi + 0x30], xmm0
movups xmm0, xmmword [eax]
movups xmmword [edi + 0x20], xmm0
mov ecx, dword [ebx]
test ecx, ecx
mov edi, ebx
jne 0x1006b96c
mov ecx, dword [esi]
mov dword [esi], 0
mov dword [edi], ecx
mov ebx, dword [esp + 4]
lea eax, [ebx + 0x48]
test ecx, ecx
jne 0x1006b979
mov ecx, dword [eax]
mov dword [eax], 0
mov dword [edi], ecx
mov esi, dword [ebx + 0x3c]
mov eax, dword [esi]
mov edi, ebx
mov ebx, dword [eax + 0x20]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
call ebx
mov ebx, dword [edi + 0x50]
mov ecx, dword [edi + 0x54]
mov dword [edi + 0x64], ecx
mov dword [edi + 0x60], ebx
mov esi, dword [esp + 4]
mov eax, dword [esi + 0x58]
mov dword [esp + 8], eax
mov edi, dword [esi + 0x5c]
mov edx, edi
lock cmpxchg8b qword [esi + 0x58]
xor edx, edi
xor eax, dword [esp + 8]
or eax, edx
jne 0x1006b91e
mov esi, dword [esp + 0xc]
mov edi, dword [esp]
cmp byte [esi + 0x38], 0
je 0x1006b957
mov dword [esi + 0x30], 0
add esi, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, dword [esp + 0x28]
xor ecx, ebp
call fcn.100468e0
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push esi
call fcn.1005c090
mov ecx, dword [edi]
jmp 0x1006b8dd
push eax
call fcn.1005c090
jmp 0x1006b8f8
mov dword [edi], 0
jmp 0x1006b940
mov ecx, dword [ebx]
mov edi, ebx
mov ebx, esi
jmp 0x1006b8e3
Function at 0x1006fda0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x1009a00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 4
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionThemesPersonalize
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
jne 0x1006fe02
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
lea edi, [ebp - 0x1c]
push eax
push edi
push ebx
push 0x10
push str.AppsUseLightTheme
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
or eax, dword [edi]
sete bl
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100468e0
mov eax, ebx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10070680
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
mov ebx, dword [ebp + 0x10]
mov eax, ebx
and eax, 0x70000000
mov ecx, ebx
shl ecx, 4
xor esi, esi
neg eax
sbb esi, esi
mov dword [ebp - 0x10], ecx
or esi, ecx
push esi
call sym.mozglue.dll_moz_xmalloc
add esp, 4
mov edi, eax
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test ebx, ebx
jle 0x100706e8
mov eax, dword [ebp + 0xc]
mov ecx, 8
movsd xmm0, qword [eax + ecx - 8]
movsd qword [edi + ecx - 8], xmm0
movsd xmm0, qword [eax + ecx]
movsd qword [edi + ecx], xmm0
add ecx, 0x10
dec ebx
jne 0x100706cc
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 8
jb 0x100706f3
mov edx, dword [edx]
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push ecx
push edi
push 3
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1007072c
mov dword [esi], 8
mov al, 1
mov byte [esi + 4], al
push edi
call sym.mozglue.dll__aligned_free
add esp, 4
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x10070716

Function at 0x10070730
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp byte [0x1009b608], 0
je 0x1007076a
push 0x100909c8
push str.MOZ_SKELETON_UI_RESTARTING
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov eax, dword [0x1009a204]
cmp eax, 0xffffffff
je 0x10070761
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esi + 4], 0
mov eax, esi
pop esi
pop ebp
ret
mov byte [esi + 4], 1
mov dword [esi], 2
jmp 0x10070765

Function at 0x10070780
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [0x1009a00c]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], 4
cmp dword [eax + 0x14], 8
jb 0x100707ad
mov eax, dword [eax]
lea edi, [ebp - 0x18]
lea ebx, [ebp - 0x14]
push edi
push ebx
push ecx
push 0x10
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ecx, 8
test eax, eax
jne 0x100707cd
mov ecx, dword [ebp - 0x14]
setne byte [esi + 4]
mov dword [esi], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100468e0
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100707f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov ebx, edx
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x1009a00c]
xor eax, ebp
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x24], eax
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x1007081e
mov ecx, dword [edi]
lea edx, [esp + 0x24]
push edx
push eax
push eax
push eax
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10070851
mov byte [esi + 0xc], 1
mov dword [esi], 8
mov ecx, dword [esp + 0x28]
xor ecx, ebp
call fcn.100468e0
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x24]
test al, 0xf
je 0x10070865
mov byte [esi + 0xc], 1
mov dword [esi], 0xe
jmp 0x1007083c
lea ecx, [eax + eax]
xor edx, edx
dec edx
test eax, eax
cmovns edx, ecx
mov dword [esp], edx
push edx
call sym.mozglue.dll_malloc
add esp, 4
test eax, eax
je 0x100708d1
xor ecx, ecx
push dword [esp]
push ecx
mov dword [esp + 0xc], eax
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x1007089b
mov edi, dword [edi]
lea eax, [esp + 0x24]
push eax
push dword [esp + 8]
xor eax, eax
push eax
push 8
push edi
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x100708e0
mov byte [esi + 0xc], 1
mov dword [esi], 8
push dword [esp + 4]
call sym.mozglue.dll__aligned_free
add esp, 4
jmp 0x1007083c
mov byte [esi + 0xc], 1
mov dword [esi], 4
jmp 0x1007083c
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 0x10
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
cmp ecx, 0x10
jae 0x10070912
mov byte [esi + 0xc], 0
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi], 0x10
jmp 0x100708c0
mov ecx, 0x10
xor edi, edi
mov ebx, dword [esp + 4]
movsd xmm0, qword [ebx]
movsd xmm1, qword [ebx + 8]
cmp eax, dword [esp + 0x20]
je 0x10070953
shl eax, 4
movsd qword [ecx + eax], xmm0
movsd qword [ecx + eax + 8], xmm1
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
inc edi
mov edx, dword [esp]
shr edx, 4
add ebx, 0x10
cmp edi, edx
jb 0x1007091d
jmp 0x10070989
movsd qword [esp + 8], xmm1
movsd qword [esp + 0x10], xmm0
lea ecx, [esp + 0x18]
call fcn.10070f40
test al, al
je 0x100709a7
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov dword [esp], edx
movsd xmm0, qword [esp + 0x10]
movsd xmm1, qword [esp + 8]
jmp 0x1007092c
mov edx, dword [esp + 0x20]
mov byte [esi + 0xc], 0
mov dword [esi + 4], eax
mov dword [esi + 8], edx
cmp ecx, 0x10
je 0x1007090a
mov dword [esi], ecx
jmp 0x100708c0
mov byte [esi + 0xc], 1
mov dword [esi], 4
mov eax, dword [esp + 0x18]
cmp eax, 0x10
je 0x100708c0
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x100708c0
Function at 0x10070e40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x818
mov edi, dword [ebp + 8]
mov eax, dword [0x1009a00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10070eb7
lea edi, [ebp + 0xc]
mov dword [ebp - 0x824], edi
lea esi, [ebp - 0x820]
mov ecx, esi
call sym.mozglue.dll_protected:_void___thiscall_mozilla::PrintfTarget::constructor_void_
mov dword [esi], 0x100888cc
lea ebx, [ebp - 0x810]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], 0x800
mov ecx, esi
push edi
mov edi, dword [ebp + 8]
push edi
call sym.mozglue.dll_public:_bool___thiscall_mozilla::PrintfTarget::vprint_char_const___char__
mov eax, dword [esi + 4]
mov ecx, 0x7ff
cmp eax, ecx
cmovb ecx, eax
mov byte [ebp + ecx - 0x810], 0
push ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
add esp, 4
cmp eax, 0xfffffffe
je 0x10070f1d
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__dup]
add esp, 4
push 0x1008cb26
push eax
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll__fdopen]
add esp, 8
test eax, eax
je 0x10070f1d
mov esi, eax
mov ebx, edi
lea edi, [ebp + 0xc]
mov dword [ebp - 0x810], edi
call fcn.10004000
push edi
push 0
push ebx
push esi
push dword [eax + 4]
push dword [eax]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vfprintf]
add esp, 0x18
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100468e0
add esp, 0x818
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10072100
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1009b860]
mov ecx, dword [0x1009a3c8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x10072127
mov al, byte [0x1009b85e]
pop ebp
ret
push 0x1009b860
call fcn.10046148
add esp, 4
cmp dword [0x1009b860], 0xffffffff
jne 0x10072120
push str.MOZ_DISABLE_WALKTHESTACK
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x10072169
cmp byte [eax], 0
sete al
mov byte [0x1009b85e], al
push 0x1009b860
call fcn.100460fe
add esp, 4
jmp 0x10072120
mov al, 1
jmp 0x10072155
Function at 0x10075e50
Capabilities:
Get system information on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [0x1009a00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
movaps xmm0, xmmword [0x10089290]
movups xmmword [esp + 4], xmm0
mov dword [esp], ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
sub esp, 0x1c
cmp eax, 0xffffffff
je 0x10075f90
mov esi, eax
movaps xmm0, xmmword [0x100892a0]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
sub esp, 0x18
xor edi, edi
test eax, eax
je 0x10075f70
mov ebx, eax
lea eax, [ebp - 0x34]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
sub esp, 4
movaps xmm0, xmmword [0x100892b0]
movups xmmword [esp + 4], xmm0
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
sub esp, 0x14
test eax, eax
je 0x10075f94
mov dword [ebp - 0x3c], eax
mov edi, dword [eax + 0x3c]
lea eax, [ebp - 0x34]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
sub esp, 4
mov eax, edi
xor edx, edx
div dword [ebp - 0x18]
sub edi, edx
mov dword [ebp - 0x38], edx
lea eax, [edx + 0xf8]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
xor edi, edi
mov dword [esp], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 4
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
sub esp, 0x14
test eax, eax
je 0x10075f55
mov ecx, dword [ebp - 0x38]
mov edi, dword [eax + ecx + 8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
sub esp, 4
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
sub esp, 4
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100468e0
mov eax, edi
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
jmp 0x10075f7c
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10075f6d
Function at 0x10075fa0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov ebx, edx
mov esi, ecx
mov eax, dword [0x1009a00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x1007604d
mov edi, eax
mov dword [ebp - 0x20], esi
push eax
call sym.mozglue.dll_moz_xmalloc
add esp, 4
mov esi, eax
xor eax, eax
push edi
push eax
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x1c], esi
push esi
push edi
xor edi, edi
push edi
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1007606d
lea eax, [ebp - 0x18]
mov dword [eax], 0
lea ecx, [ebp - 0x14]
push ecx
push eax
push 0x10090926
mov esi, dword [ebp - 0x1c]
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
mov edx, esi
je 0x10076093
mov eax, dword [ebp - 0x18]
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov esi, dword [ebp - 0x20]
mov dword [esi], eax
mov dword [esi + 4], edi
mov dword [esi + 8], 0
push edx
call sym.mozglue.dll__aligned_free
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100468e0
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 8], ecx
jmp 0x10076039
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
xor eax, eax
mov esi, dword [ebp - 0x20]
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 8], ecx
mov edx, dword [ebp - 0x1c]
jmp 0x10076030
xor eax, eax
jmp 0x10076021

Function at 0x10076710
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov esi, ecx
mov eax, dword [0x1009a00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x1009ba58]
mov ecx, dword [0x1009a3c8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1007678a
mov eax, dword [esi + 8]
test eax, eax
je 0x10076771
mov ecx, dword [0x1009ba54]
mov dword [ebp - 0x38], ecx
mov ebx, dword [esi + 4]
lea edi, [ebx + eax*8]
lea eax, [ebp - 0x34]
push eax
push dword [ebx]
push dword [ebp - 0x38]
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
add ebx, 8
cmp ebx, edi
jne 0x10076758
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100468e0
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x1009ba58
call fcn.10046148
add esp, 4
cmp dword [0x1009ba58], 0xffffffff
jne 0x10076742
lea edi, [ebp - 0x34]
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [edi + 4]
mov dword [0x1009ba54], eax
push 0x1009ba58
call fcn.100460fe
add esp, 4
jmp 0x10076742
Function at 0x10076e60
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov ecx, dword [ecx + 0x34]
test ecx, ecx
je 0x10076ee6
mov edi, edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp + 8]
and ecx, 0xfffffffc
call fcn.1004b4a0
test al, al
je 0x10076ee6
mov dword [ebp - 0x10], ebx
push edi
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10076ee6
mov edi, eax
mov ecx, eax
call fcn.1004b4a0
test al, al
je 0x10076ee6
lea ecx, [esi + 0x18]
mov edx, edi
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.10014080
add esp, 8
mov ecx, eax
mov al, 1
test cl, cl
jne 0x10076ee8
cmp byte [esi + 0x14], 0
jne 0x10076ed6
mov dword [esi + 0x14], 1
mov dword [esi + 0x10], 0
mov ecx, esi
mov edx, edi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.1000d500
xor eax, eax
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x46539a
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x46544e
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0046532a
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x465427
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46545a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, ecx
mov ebp, edx
test edi, edi
je 0x465475
test ebp, ebp
je 0x465475
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x46547d
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
ja 0x4654bd
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x465519
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x465514
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4654ff
test dl, dl
je 0x4654fb
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4654ff
add ecx, 2
add eax, 2
test dl, dl
jne 0x4654df
xor eax, eax
jmp 0x465504
sbb eax, eax
or eax, 1
test eax, eax
je 0x465523
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x4654cc
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
Function at 0x46553a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push edi
mov edi, edx
mov ebx, ecx
call fcn.0046539a
test eax, eax
jne 0x465552
pop edi
pop ebx
add esp, 0x10
ret
push esi
lea edx, [esp + 0xc]
mov ecx, eax
mov dword [esp + 0xc], 0x74726956
mov dword [esp + 0x10], 0x416c6175
mov dword [esp + 0x14], 0x636f6c6c
mov byte [esp + 0x18], 0
call fcn.0046545a
mov esi, eax
test esi, esi
jne 0x465588
pop esi
pop edi
pop ebx
add esp, 0x10
ret
push 0x40
push 0x3000
push edi
push ebx
call esi
test eax, eax
jne 0x4655a2
push 0x40
push 0x3000
push edi
push eax
call esi
pop esi
pop edi
pop ebx
add esp, 0x10
ret
Function at 0x46569a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x44
push esi
push edi
mov dword [esp + 0x1c], edx
mov edi, ecx
call fcn.0046539a
mov esi, eax
test esi, esi
jne 0x4656b8
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x64616f4c
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x41797261
mov byte [esp + 0x44], 0
call fcn.0046545a
mov dword [esp + 0x18], eax
test eax, eax
je 0x4656b0
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x65657246
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x797261
call fcn.0046545a
mov dword [esp + 0x34], eax
test eax, eax
je 0x4656b0
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x50746547
mov dword [esp + 0x3c], 0x41636f72
mov dword [esp + 0x40], 0x65726464
mov word [esp + 0x44], 0x7373
mov byte [esp + 0x46], 0
call fcn.0046545a
mov dword [esp + 0x28], eax
test eax, eax
je 0x4656b0
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x4d746547
mov dword [esp + 0x3c], 0x6c75646f
mov dword [esp + 0x40], 0x6e614865
mov dword [esp + 0x44], 0x41656c64
mov byte [esp + 0x48], 0
call fcn.0046545a
mov dword [esp + 0x30], eax
test eax, eax
je 0x4656b0
mov eax, dword [edi + 0x3c]
push ebx
cmp dword [eax + edi + 0x84], 0
push ebp
je 0x46587f
mov ecx, dword [eax + edi + 0x80]
add ecx, edi
xor esi, esi
lea ebx, [ecx + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], esi
cmp dword [ebx], esi
je 0x46587f
mov eax, ebx
mov ebp, ecx
mov eax, dword [eax]
add eax, edi
push eax
mov dword [esp + 0x2c], eax
call dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4657e2
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
add eax, edi
mov dword [esp + 0x14], 0
cmp dword [eax], 0
je 0x465863
mov dword [esp + 0x18], 0
nop
mov eax, dword [eax]
test eax, eax
jns 0x465805
movzx esi, ax
jmp 0x46580a
lea esi, [edi + 2]
add esi, eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x465829
push dword [esp + 0x58]
and eax, 0x80000000
push eax
push esi
push dword [esp + 0x34]
call ecx
mov ecx, eax
test ecx, ecx
jne 0x465838
push esi
push dword [esp + 0x30]
call dword [esp + 0x38]
mov ecx, eax
test ecx, ecx
je 0x46588c
mov eax, dword [ebp + 0x10]
add eax, dword [esp + 0x18]
mov dword [eax + edi], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x14], ecx
shl ecx, 2
add eax, ecx
add eax, edi
mov dword [esp + 0x18], ecx
cmp dword [eax], 0
jne 0x4657fa
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
inc esi
mov dword [esp + 0x10], esi
lea eax, [esi + esi*4]
lea ebp, [ecx + eax*4]
cmp dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
jne 0x4657bf
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x44
ret
cmp dword [ebx], 0
je 0x4658b5
mov esi, dword [esp + 0x10]
xor ebp, ebp
lea ecx, [ecx]
cmp ebp, esi
ja 0x4658b5
mov eax, dword [ebx]
add eax, edi
push eax
call dword [esp + 0x3c]
push eax
call dword [esp + 0x40]
add ebx, 0x14
inc ebp
cmp dword [ebx], 0
jne 0x46589a
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret