joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b3d70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x72000]
mov dword [edi + 0x94744], 0x89064d0a
push edi
jmp 0x4b3d9a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b3da1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3d90
mov eax, 1
add ebx, ebx
jne 0x4b3db3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b3dc4
jne 0x4b3de3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3de3
dec eax
add ebx, ebx
jne 0x4b3dd0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b3da8
add ebx, ebx
jne 0x4b3ddf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b3e35
xor ecx, ecx
sub eax, 3
jb 0x4b3dfb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b3e6a
sar eax, 1
mov ebp, eax
jmp 0x4b3e06
add ebx, ebx
jne 0x4b3e06
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3dd4
inc ecx
add ebx, ebx
jne 0x4b3e14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3dd4
add ebx, ebx
jne 0x4b3e21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b3e16
jne 0x4b3e32
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b3e16
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b3e54
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b3e46
jmp 0x4b3d96
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b3e54
add edi, ecx
jmp 0x4b3d96
pop esi
mov edi, esi
mov ecx, 0x41ac
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b3e72
cmp byte [edi], 0x1b
jne 0x4b3e72
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4b3e77
lea edi, [esi + 0xb0000]
mov eax, dword [edi]
or eax, eax
je 0x4b3eef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb46f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb47ec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b3ea4
mov ecx, edi
jns 0x4b3ed3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb47f4]
or eax, eax
je 0x4b3ee9
mov dword [ebx], eax
add ebx, 4
jmp 0x4b3ec1
call dword [esi + 0xb47f0]
mov ebp, dword [esi + 0xb47f8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x31f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4b3f23
sub esp, 0xffffff80
jmp 0x401360
Function at 0x41c6c8
Capabilities:
Hide graphical window

Disassembly:
and dword [0x4475d0], 0
push 1
push dword [esp + 8]
mov byte [0x4475ca], 1
mov byte [0x4475cb], 1
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 2
push dword [esp + 0xc]
call fcn.00401294
cmp dword [0x4475d8], 0
jne 0x41c708
cmp byte [0x4475c8], 0
je 0x41c711
cmp dword [0x4475ec], 0
jne 0x41c724
push 0
push 1
push 0x111
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
ret 4

Function at 0x41c824
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0041d970
cmp byte [0x449600], 0
je 0x41c8b3
cmp word [0x449602], 0
je 0x41c8b3
push esi
push 0x800
lea eax, [ebp - 0x1008]
push eax
push 0x449602
call fcn.0041b4af
lea eax, [ebp - 8]
xor esi, esi
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41c8b2
push dword [ebp + 8]
call fcn.00422b63
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x1008]
push 1
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x41c8b9
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call fcn.0041d970
push esi
push dword [ebp + 8]
push str.sfxcmd
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x1000
lea eax, [ebp - 0x2000]
push eax
push dword [ebp + 8]
call fcn.0040f84c
mov esi, eax
test esi, esi
je 0x41c911
movzx ecx, word [esi]
push ecx
jmp 0x41c8fc
add esi, 2
movzx eax, word [esi]
push eax
call fcn.0040f963
test al, al
jne 0x41c8f5
push esi
push str.sfxpar
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40f197
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419794]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040a16b
mov dword [ebp - 0x14], eax
cmp dword [0x81407c], esi
jne 0x40f28a
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40f217
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40f36a
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40f36a
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40f36a
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x81407c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x814080], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x814084], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x81408c], eax
test eax, eax
je 0x40f287
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x814088], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40f2af
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40f2a2
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40f2c4
push 4
pop eax
jmp 0x40f36c
cmp dword [ebp - 0x14], esi
je 0x40f2c4
push dword [0x81407c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40f2a9
mov eax, dword [0x814088]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40f322
cmp dword [0x81408c], edi
je 0x40f322
push eax
call ebx
push dword [0x81408c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40f322
test eax, eax
je 0x40f322
call ecx
test eax, eax
je 0x40f317
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40f317
test byte [ebp - 8], 1
jne 0x40f322
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40f352
mov eax, dword [0x814080]
cmp eax, edi
je 0x40f34f
push eax
call ebx
test eax, eax
je 0x40f34f
call eax
mov esi, eax
test esi, esi
je 0x40f34f
mov eax, dword [0x814084]
cmp eax, edi
je 0x40f34f
push eax
call ebx
test eax, eax
je 0x40f34f
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x81407c]
call ebx
test eax, eax
je 0x40f36a
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40f36c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040482b
mov esp, ebp
pop ebp
ret
Function at 0x10001330
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x314
mov eax, dword [0x100250c8]
xor eax, esp
mov dword [esp + 0x310], eax
cmp dword [esp + 0x31c], 1
jne 0x10001503
mov al, byte [0x5b16fc]
cmp al, 0x84
je 0x10001385
cmp al, 0x33
je 0x10001385
push str.flplusplus:_Couldnt_detect_No_CD_EXE__not_installing
call fcn.100039f0
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x310]
xor ecx, esp
call fcn.1000492f
add esp, 0x314
ret 0xc
push esi
push str.common.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp byte [eax + 0x143dc0], 0x56
sete byte [esp + 4]
call fcn.100038f0
call fcn.10001e60
push 0x104
lea eax, [esp + 0x214]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea eax, [esp + 0x210]
push eax
lea eax, [esp + 0xc]
push 0x104
push eax
call fcn.10007940
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [esp + 0x14]
add esp, 0xc
push str.flplusplus.ini
push eax
call esi
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x10001421
lea eax, [esp + 8]
push eax
push str.opening_flplusplus.ini_at__s
call fcn.10003940
lea eax, [esp + 0x10]
push eax
call fcn.10001f80
add esp, 0xc
lea eax, [esp + 0x210]
push eax
push 0x104
push 0x10025c48
call fcn.10007940
add esp, 0xc
push 0x10025c48
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push str.DATA_
push 0x10025c48
call esi
push 0x10025c48
lea eax, [esp + 0x110]
push 0x104
push eax
call fcn.10007940
add esp, 0xc
lea eax, [esp + 0x10c]
push str.FONTS_fonts.ini
push eax
call esi
lea eax, [esp + 0x10c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
pop esi
test eax, eax
je 0x100014b0
lea eax, [esp + 0x108]
push eax
push str.opening_fonts.ini_at__s
call fcn.10003940
lea eax, [esp + 0x110]
push eax
call fcn.10002220
add esp, 0xc
call fcn.10001e50
cmp byte [eax + 0x26], 0
je 0x100014c0
call fcn.10004120
push str.flplusplus:_installing_patches
call fcn.100039f0
push dword [esp + 4]
call fcn.10001650
call fcn.100034a0
call fcn.100037d0
call fcn.10003a80
push 0x10025c48
call fcn.10003ab0
call fcn.10003ea0
call fcn.10004360
push str.flplusplus:_all_patched
call fcn.100039f0
add esp, 0x10
mov ecx, dword [esp + 0x310]
mov eax, 1
xor ecx, esp
call fcn.1000492f
add esp, 0x314
ret 0xc

Function at 0x10001560
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 4]
push edi
mov edi, dword [esp + 0x10]
push eax
push 0x40
push 5
push edi
mov dword [esp + 0x18], 0
call esi
mov eax, dword [edi]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov al, byte [edi + 4]
mov byte [ecx + 4], al
mov eax, dword [esp + 0x14]
sub eax, edi
mov byte [edi], 0xe9
sub eax, 5
mov dword [edi + 1], eax
lea eax, [esp + 8]
push eax
push dword [esp + 0xc]
push 5
push edi
call esi
pop edi
pop esi
pop ecx
ret
Function at 0x10001600
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0xc]
lea eax, [esp + 4]
push eax
push 0x40
push 5
push edi
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov dword [edi], eax
mov al, byte [ecx + 4]
mov byte [edi + 4], al
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ecx
ret

Function at 0x10003ab0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x108
mov eax, dword [0x100250c8]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
mov ebx, dword [esp + 0x110]
push esi
push edi
call fcn.10001e50
mov edi, dword [eax + 0x34]
mov esi, dword [eax + 0x30]
cmp esi, edi
je 0x10003b8b
push ebp
mov ebp, dword [sym.imp.GDI32.dll_AddFontResourceExA]
nop dword [eax + eax]
push ebx
lea eax, [esp + 0x14]
push 0x104
push eax
call fcn.10007940
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x10003b0d
mov eax, dword [esi]
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x10003b47
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x10003b32
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
push eax
push str.path_to_font__s_does_not_exist___s_
call fcn.10003940
add esp, 0xc
jmp 0x10003b7f
push 0
push 0x10
lea eax, [esp + 0x18]
push eax
call ebp
mov ecx, dword [esi + 0x14]
test eax, eax
mov eax, esi
je 0x10003b6a
cmp ecx, 0x10
jb 0x10003b62
mov eax, dword [esi]
push eax
push str.successfully_added_font__s
jmp 0x10003b77
cmp ecx, 0x10
jb 0x10003b71
mov eax, dword [esi]
push eax
push str.error_adding_font__s
call fcn.10003940
add esp, 8
add esi, 0x18
cmp esi, edi
jne 0x10003af0
pop ebp
mov ecx, dword [esp + 0x110]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000492f
add esp, 0x108
ret
Function at 0x1000c01a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000c059
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000c059
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000c059
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1000c059
cmp dword [ecx + 0x74], 0xe
jbe 0x1000c059
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x1001018e
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001e3e8
push 0x1001e3e0
push str.FlsAlloc
push 0x1f
call fcn.1001004d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100101c2
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001c1cc]
call esi
jmp 0x100101c8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1001020c
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001e3f8
push 0x1001e3f0
push str.FlsGetValue
push 0x21
call fcn.1001004d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10010243
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001c1cc]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1001024b
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001e400
push 0x1001e3f8
push str.FlsSetValue
push 0x22
call fcn.1001004d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10010285
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1001c1cc]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1001347f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001351c
push ebx
push esi
call fcn.10013448
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000eb61
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100134c9
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001351b
push edi
push eax
call fcn.1000e9c1
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100134e9
call fcn.1000e987
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001351a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000eb61
add esp, 0x20
test eax, eax
jne 0x10013508
push edi
call fcn.1000e987
jmp 0x10013510
push ebx
call fcn.1000e987
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1001351f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x10013530
pop esi
ret
push ebx
push edi
push esi
call fcn.10013448
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.1000e9c1
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x10013558
push ebx
push esi
push edi
call fcn.100053d0
add esp, 0xc
push 0
call fcn.1000e987
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x10013928
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1001356d
Function at 0x1001b4a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001b4cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001b4cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401bab
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea edi, [esi + 0x14]
mov dword [esi], 0x4052fc
cmp dword [edi], ebx
je 0x401c98
push str._mozilla.org_observer_service_1
mov edx, 0x40594c
mov dword [ebp - 4], ebx
lea ecx, [ebp - 4]
call fcn.00403999
mov eax, dword [ebp - 4]
test eax, eax
jne 0x401c2b
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push 0x67
pop edi
push edi
push str.c:_buildsmoz2_slavem_in_w32_000000000000000000000_build_srcobj_firefoxdistinclude_testingTestHarness.h
push 0x4053e8
push str.Assertion_failure:__s__at__s:_d_n
push 2
call esi
pop ecx
push eax
call fcn.0040355d
push 2
call esi
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
add esp, 0x1c
int3
mov ecx, dword [eax]
push ebx
push str.profile_change_net_teardown
push ebx
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push ebx
push str.profile_change_teardown
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push ebx
push str.profile_before_change
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push ebx
push str.profile_before_change_qm
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push ebx
push str.profile_before_change_telemetry
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [edi]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
xor edx, edx
mov ecx, edi
call fcn.00403a86
mov eax, dword [ebp - 4]
test eax, eax
je 0x401c98
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x401ccf
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push ebx
mov dword [esi + 0xc], ebx
call dword [sym.imp.xul.dll_NS_ShutdownXPCOM]
pop ecx
mov ecx, eax
shr ecx, 0x1f
test cl, 1
je 0x401ccf
push eax
push str.XPCOM_shutdown_failed_with_code_0x_x
call fcn.00402b05
pop ecx
pop ecx
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push dword [esi + 8]
push str.Finished_running__s_tests._n
call fcn.004035df
pop ecx
pop ecx
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x401ceb
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x401cf8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [edi]
test ecx, ecx
je 0x401d04
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x10]
pop edi
pop esi
pop ebx
test ecx, ecx
je 0x401d14
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov esp, ebp
pop ebp
ret

Function at 0x46d2a2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, 0x401000
call 0x46d2a2
lcall 0x5de5, 0x8b10c483
jmp loc.00a10198
Function at 0x10038c50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x10038c5f
pop dword [ebp - 0x34]
mov eax, 0x10038c5f
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x9e43d4b6
add dword [ebp - 0x44], 0xb00e7095
mov dword [ebp - 0x40], 0x22d6d377
add dword [ebp - 0x40], 0xf5c78ce
mov dword [ebp - 0x3c], 0x11a8eb9f
add dword [ebp - 0x3c], 0x3aa3588f
mov dword [ebp - 0x38], 0xfc7cc183
sub dword [ebp - 0x38], 0xfc7cc183
lea eax, [ebp - 0x44]
push eax
mov eax, 0x7b6934d2
sub eax, 0x6b64c40a
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x411e4b77
add dword [ebp - 0x44], 0x33541ddf
mov dword [ebp - 0x40], 0x5b0bbd9f
sub dword [ebp - 0x40], 0x199f5c2a
mov dword [ebp - 0x3c], 0x596f0a11
add dword [ebp - 0x3c], 0xa00625b
mov dword [ebp - 0x38], 0xe333147e
add dword [ebp - 0x38], 0x1ccceb82
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x417fe
push 0
call eax
mov ecx, 0x59a4e811
sub ecx, 0x59a4a3f0
mov edi, eax
mov esi, 0x20c46ead
sub esi, 0x10be3ead
add esi, dword [ebp - 0x34]
mov ebx, 0xcc760f08
add dword [ebp - 0xc], edx
mov edx, dword [esi]
xor dword [ebp - 0x30], edi
add edx, ebx
sub dword [ebp - 0x20], 0xd5ce452e
mov dword [edi], edx
mov dword [ebp - 0x30], 0x1a83da0f
add edi, 0x3434e48a
add edi, 0xcbcb1b7a
add esi, 4
loop 0x10038d71
add eax, 0x4aa9c8a8
add eax, 0xb5573aaf
xor ebx, ebx
add ebx, eax
add eax, 0x3c48b8d0
sub eax, 0x3c48b8cb
mov ecx, 0x10000000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x3d8203c
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov dword [esp + 4], ecx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0xc]
add ecx, 0xc
mov ecx, dword [ecx]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x3d820ae
mov dword [esp], eax
movzx esi, word [ecx + 0x2c]
test esi, esi
je 0x3d820a1
mov ebx, dword [ecx + 0x30]
xor ebp, ebp
mov edi, 0xa3161
mov dl, byte [ebx + ebp]
test dl, dl
jne 0x3d82082
inc ebp
cmp ebp, esi
jb 0x3d82074
jmp 0x3d820a6
mov dh, dl
add dh, 0xe0
cmp dl, 0x61
movzx eax, dl
movzx edx, dh
cmovb edx, eax
mov eax, edi
shl eax, 5
add eax, edi
movzx edi, dl
add edi, eax
jmp 0x3d8207b
mov edi, 0xa3161
cmp edi, dword [esp + 4]
jne 0x3d82056
jmp 0x3d820b5
mov dword [esp], 0
mov eax, dword [esp]
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [esp + 0x14], edx
mov eax, dword [ecx + 0x3c]
mov eax, dword [eax + ecx + 0x78]
mov edx, dword [eax + ecx + 0x20]
add edx, ecx
mov dword [esp + 0x10], edx
mov edx, dword [eax + ecx + 0x14]
mov dword [esp + 8], edx
mov edx, dword [eax + ecx + 0x18]
mov dword [esp + 0x18], edx
mov edx, dword [eax + ecx + 0x1c]
add edx, ecx
mov dword [esp], edx
mov eax, dword [eax + ecx + 0x24]
add eax, ecx
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], ecx
cmp eax, dword [esp + 0x18]
je 0x3d82167
mov edx, eax
mov eax, dword [esp + 0x10]
mov edi, dword [eax + edx*4]
add edi, ecx
mov esi, edi
mov eax, esi
inc esi
cmp byte [eax], 0
jne 0x3d82118
mov esi, 0xa3161
sub eax, edi
jne 0x3d82134
lea eax, [edx + 1]
cmp esi, dword [esp + 0x14]
jne 0x3d82105
jmp 0x3d8216b
xor ebp, ebp
mov bl, byte [edi + ebp]
test bl, bl
jne 0x3d82144
inc ebp
cmp ebp, eax
jb 0x3d82136
jmp 0x3d82129
mov bh, bl
add bh, 0xe0
cmp bl, 0x61
movzx ecx, bl
movzx ebx, bh
cmovb ebx, ecx
mov ecx, esi
shl ecx, 5
add ecx, esi
movzx esi, bl
add esi, ecx
mov ecx, dword [esp + 0xc]
jmp 0x3d8213d
xor eax, eax
jmp 0x3d82183
mov eax, dword [esp + 4]
movzx eax, word [eax + edx*2]
mov edx, dword [esp + 8]
cmp edx, eax
jbe 0x3d8218b
mov edx, dword [esp]
add ecx, dword [edx + eax*4]
mov eax, ecx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, eax
push 0x3dce86c
call fcn.03dcc2b0
int3