joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100033f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0xc], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x10003594
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.10002ac0
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x10003567
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xc]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xd]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xe]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xf]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [ebp - 4], edx
cmp ebx, esi
jne 0x100034d7
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x1000355a
mov edx, dword [edx + 4]
mov esi, dword [eax + 8]
mov edi, dword [eax + 0xc]
cmp esi, dword [edx + 8]
mov esi, dword [ebp + 8]
jne 0x1000351c
cmp edi, dword [edx + 0xc]
jne 0x1000351c
mov edx, dword [edx]
mov dword [ebp - 8], edx
cmp edx, eax
je 0x10003514
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 8]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
jmp 0x1000355a
cmp ebx, edx
je 0x10003537
mov edx, dword [edx + 4]
mov esi, dword [eax + 8]
cmp esi, dword [edx + 8]
mov esi, dword [ebp + 8]
jne 0x10003533
cmp edi, dword [edx + 0xc]
je 0x10003570
cmp ebx, edx
jne 0x10003520
mov ebx, dword [eax + 4]
mov dword [ebp - 8], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 4]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 0xc]
mov eax, ecx
cmp ecx, esi
jne 0x10003452
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 8], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x1000355a
push str.invalid_hash_bucket_count
call fcn.10003c21
int3
Function at 0x10003960
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10014755
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1001f040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x14]
call fcn.10002640
mov esi, eax
mov ecx, dword [esi]
push dword [ecx - 8]
mov ecx, 0x10029948
call fcn.100021b0
mov ecx, dword [esi]
mov eax, dword [ecx - 8]
add eax, eax
push eax
push ecx
push dword [0x10029948]
call fcn.10009ef0
mov eax, dword [ebp - 0x14]
add esp, 0xc
test eax, eax
je 0x100039cd
add eax, 0xfffffff8
push eax
call fcn.1000c557
add esp, 4
lea ecx, [ebp - 0x14]
call fcn.100024e0
mov esi, eax
mov ecx, dword [esi]
push dword [ecx - 8]
mov ecx, 0x10029980
call fcn.100021b0
mov ecx, dword [esi]
mov eax, dword [ecx - 8]
add eax, eax
push eax
push ecx
push dword [0x10029980]
call fcn.10009ef0
mov eax, dword [ebp - 0x14]
add esp, 0xc
test eax, eax
je 0x10003a10
add eax, 0xfffffff8
push eax
call fcn.1000c557
add esp, 4
push dword [0x10029948]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x1002989c], eax
lea eax, [ebp - 0x14]
push ecx
push eax
call fcn.10002440
push 1
mov dword [ebp - 4], 0
push 0xa
mov dword [ebp - 0x28], vtable.SFile.0
call fcn.1000bbdc
add eax, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], eax
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push dword [ebp - 0x14]
call fcn.100020c0
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 0x18]
xor edi, edi
add edi, eax
push 1
adc ecx, 0
push edi
mov dword [ebp - 0x18], ecx
call fcn.1000bbdc
add esp, 8
mov dword [0x10029940], eax
mov dword [ebp - 0x18], 0
test edi, edi
je 0x10003aab
push 0
lea ecx, [ebp - 0x18]
push ecx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10029940]
test esi, esi
je 0x10003ac0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x10029940]
xor esi, esi
mov dword [ebp - 0x24], esi
push edi
push eax
mov dword [0x10029944], edi
call fcn.100027a0
test esi, esi
je 0x10003ad8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10003aeb
add eax, 0xfffffff8
push eax
call fcn.1000c557
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10003b05
add eax, 0xfffffff8
push eax
call fcn.1000c557
add esp, 4
push str.GameAssembly.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
sub esp, 0xc
mov dword [0x10029898], eax
add eax, 0xe2f860
push eax
call fcn.10001cf0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10003c41
mov esp, ebp
pop ebp
ret
Function at 0x1000e3be
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10017ee0
push 0x10017ed8
push str.FlsAlloc
push 0x1e
call fcn.1000e2dc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000e3f2
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001511c]
call esi
jmp 0x1000e3f8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000e43c
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10017ef0
push 0x10017ee8
push str.FlsGetValue
push 0x20
call fcn.1000e2dc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000e473
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001511c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x10010153
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 0x100101f0
push ebx
push esi
call fcn.1001011c
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.10010065
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001019d
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100101ef
push edi
push eax
call fcn.1000dde9
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100101bd
call fcn.1000ddaf
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100101ee
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10010065
add esp, 0x20
test eax, eax
jne 0x100101dc
push edi
call fcn.1000ddaf
jmp 0x100101e4
push ebx
call fcn.1000ddaf
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 0x10014400
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001442d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001442d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x2e0140e6
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x2e0306ad
call fcn.2e001553
mov edi, ecx
mov dword [ebp - 0x18], edi
xor ebx, ebx
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov byte [edi], bl
push ebx
push ebx
push 6
mov dword [ebp - 4], ebx
call fcn.2e0152eb
add esp, 0xc
test al, al
je 0x2e0141a8
lea eax, [ebp - 0x10]
push eax
push str.softwaremicrosoftwindows_shell_associationsurlassociationshttpuserchoice
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e0141a8
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push str.progid
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e01419f
mov eax, dword [ebp - 0x14]
inc eax
push eax
call fcn.2e0152eb
mov esi, eax
pop ecx
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
push esi
push ebx
push ebx
push str.progid
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e014192
push esi
mov byte [ebp - 4], 2
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
push eax
push esi
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.2e010e73
push 1
push esi
mov byte [ebp - 4], bl
call fcn.2e0152eb
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.2e00159d
ret

Function at 0x2e014c09
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x28
mov eax, 0x2e030723
call fcn.2e02e506
mov esi, dword [ebp + 8]
xor bl, bl
cmp dword [ecx + 0x10], 0
mov edi, dword [ebp + 0xc]
jbe 0x2e014cf9
and dword [ebp - 0x18], 0
and dword [ebp - 0x14], 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.2e014b12
push esi
mov dword [ebp - 4], 1
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.2e010dd2
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e014cea
lea eax, [ebp - 0x30]
push eax
push 0
push 0x2e033925
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x2e014ce1
mov eax, dword [ebp - 0x30]
inc eax
push eax
call fcn.2e0152eb
mov esi, eax
pop ecx
mov dword [ebp - 0x34], esi
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 2
push eax
push esi
push 0
push 0
push 0x2e033925
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e014cd3
push esi
mov byte [ebp - 4], 3
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
push eax
push esi
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.2e010e73
inc bl
push 1
push esi
mov byte [ebp - 4], 0
call fcn.2e0152eb
pop ecx
pop ecx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 4
call fcn.2e0152eb
mov al, bl
call fcn.2e02e4e4
ret 8
Function at 0x2e014d3b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc
mov eax, 0x2e030750
call fcn.2e001553
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
push dword [ebp + 8]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x2e014d75
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e014dea
lea eax, [ebp - 0x14]
mov edi, 0x2e033925
push eax
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x2e014de1
mov eax, dword [ebp - 0x14]
test eax, eax
js 0x2e014de1
inc eax
push eax
call fcn.2e0152eb
mov esi, eax
pop ecx
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], ebx
push eax
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e014dd3
push esi
mov byte [ebp - 4], 1
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
mov ecx, dword [ebp + 0xc]
push eax
push esi
mov byte [ebp - 4], bl
call fcn.2e010e73
mov bl, 1
or dword [ebp - 4], 0xffffffff
push 1
push esi
call fcn.2e0152eb
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
call fcn.2e00159d
ret 8

Function at 0x2e0152eb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x2e0152fa
pop dword [ebp - 0x34]
mov eax, 0x9e8f6642
sub eax, 0x708e1348
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x61ba276d
sub dword [ebp - 0x44], 0x1367e222
mov dword [ebp - 0x40], 0x2b660c5a
add dword [ebp - 0x40], 0x6cd3feb
mov dword [ebp - 0x3c], 0x8a1b239f
sub dword [ebp - 0x3c], 0x3dcedf71
mov dword [ebp - 0x38], 0x40a6941a
sub dword [ebp - 0x38], 0x40a6941a
lea eax, [ebp - 0x44]
push eax
mov eax, 0x1297b4d7
add eax, 0x1b6b7bf1
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x901c3a1e
add dword [ebp - 0x44], 0xe4562f38
mov dword [ebp - 0x40], 0x5c6200b8
add dword [ebp - 0x40], 0xe50a60bd
mov dword [ebp - 0x3c], 0x1cf616b9
add dword [ebp - 0x3c], 0x467955b3
mov dword [ebp - 0x38], 0xee3c23fb
add dword [ebp - 0x38], 0x11c3dc05
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 0x40f5a
push 0
call eax
mov ecx, 0xda3f8257
sub ecx, 0xda3f3a50
mov ebx, eax
mov esi, 0xf5307e0e
sub esi, 0xc72aee0e
add esi, dword [ebp - 0x34]
mov edx, 0x46b5e430
sub edx, 0x55904136
xor dword [ebp - 0x24], 0x780e384f
mov edi, dword [esi]
sub dword [ebp - 0x20], 0x10ab3429
add edi, edx
mov dword [ebp - 4], 0xbe4d5d48
mov dword [ebx], edi
sub dword [ebp - 4], edx
add ebx, 0x150ca24e
add ebx, 0xeaf35db6
add esi, 0x517fe0e0
sub esi, 0x517fe0dc
loop 0x2e015417
add eax, 0x9e25b7f5
sub eax, 0x9e24a506
xor ebx, ebx
add ebx, eax
add eax, 0x26b5779a
sub eax, 0x26b57795
mov ecx, 0x2e000000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x2e01e38c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x28
mov eax, 0x2e030a2c
call fcn.2e02e506
lea eax, [ebp - 0x2c]
xor edi, edi
push eax
push str.softwaremicrosoftwindows_shell_associationsurlassociationshttpuserchoice
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e01e449
lea eax, [ebp - 0x30]
mov ebx, str.progid
push eax
push edi
push edi
push edi
push ebx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e01e440
mov eax, dword [ebp - 0x30]
inc eax
push eax
call fcn.2e0152eb
mov esi, eax
pop ecx
mov dword [ebp - 0x34], esi
lea eax, [ebp - 0x30]
mov dword [ebp - 4], edi
push eax
push esi
push edi
push edi
push ebx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor ebx, ebx
inc ebx
test eax, eax
jne 0x2e01e433
push esi
lea ecx, [ebp - 0x28]
call fcn.2e00d957
push str.IE.HTTP
lea ecx, [ebp - 0x28]
call fcn.2e0152eb
test al, al
jne 0x2e01e428
push edi
push str.AppX
lea ecx, [ebp - 0x28]
call fcn.2e0152eb
test eax, eax
cmove edi, ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.2e0152eb
or dword [ebp - 4], 0xffffffff
push ebx
push esi
call fcn.2e0152eb
pop ecx
pop ecx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, di
call fcn.2e02e4e4
ret
Function at 0x449400
Capabilities:
Allocate thread local storage

Disassembly:
push ebx
push edi
push esi
sub esp, 0x20
cmp dword [ecx + 4], 0
mov esi, ecx
je 0x449471
lea ebx, [esi + 0xc]
mov dword [esp + 4], 0
lea eax, [esp + 4]
push 0
push eax
push 0
push ebx
call dword [sym.imp.kernel32.dll_InitOnceBeginInitialize]
cmp eax, 1
mov dword [esp], eax
jne 0x4494a8
cmp dword [esp + 4], 0
je 0x44948f
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x4494bb
mov edi, eax
inc eax
mov dword [esi], eax
mov eax, dword [0x45fa9c]
nop dword [eax]
mov dword [esi + 8], eax
lock cmpxchg dword [0x45fa9c], esi
jne 0x449450
mov byte [0x45fa98], 1
push 0
push 0
push ebx
call dword [sym.imp.kernel32.dll_InitOnceComplete]
jmp 0x44949f
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esp], eax
je 0x4494fc
mov ecx, eax
xor eax, eax
inc ecx
lock cmpxchg dword [esi], ecx
jne 0x449493
mov edi, dword [esp]
jmp 0x44949f
mov edi, dword [esi]
jmp 0x44949e
mov edi, eax
push dword [esp]
call dword [sym.imp.kernel32.dll_TlsFree]
dec edi
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
ret
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0
call fcn.00449530
push 0
push 4
push ebx
call dword [sym.imp.kernel32.dll_InitOnceComplete]
lea ecx, [esp + 8]
mov edx, 0x455850
mov dword [esp + 8], 0x455818
mov dword [esp + 0xc], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0x456008
mov dword [esp + 0x14], 0
call fcn.00448780
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0x455818
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0x456008
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.00449560
int3

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x5580e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x101000]
push edi
jmp 0x5580fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x558101
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5580f0
mov eax, 1
add ebx, ebx
jne 0x558113
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x558124
jne 0x558143
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x558143
dec eax
add ebx, ebx
jne 0x558130
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x558108
add ebx, ebx
jne 0x55813f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x558195
xor ecx, ecx
sub eax, 3
jb 0x55815b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5581ca
sar eax, 1
mov ebp, eax
jmp 0x558166
add ebx, ebx
jne 0x558166
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x558134
inc ecx
add ebx, ebx
jne 0x558174
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x558134
add ebx, ebx
jne 0x558181
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x558176
jne 0x558192
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x558176
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5581b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5581a6
jmp 0x5580f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5581b4
add edi, ecx
jmp 0x5580f6
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5581d2
cmp byte [edi], 0x11
jne 0x5581d2
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 0x5581d7
lea edi, [esi + 0x151000]
mov eax, dword [edi]
or eax, eax
je 0x55824f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1d6f9c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1d7118]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x558204
mov ecx, edi
jns 0x558233
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 + 0x1d711c]
or eax, eax
je 0x558249
mov dword [ebx], eax
add ebx, 4
jmp 0x558221
call dword [esi + 0x1d712c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x558280
cmp al, 0xef
ja 0x558273
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x558255
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x558262
mov ebp, dword [esi + 0x1d7120]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x5582b4
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x4010b3
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], 0x4031b4
cmp dword [edi], ebx
je 0x401158
push str._mozilla.org_observer_service_1
mov edx, 0x403518
mov dword [ebp - 4], ebx
lea ecx, [ebp - 4]
call fcn.00401b03
mov eax, dword [ebp - 4]
test eax, eax
je 0x401138
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.00401bf0
mov eax, dword [ebp - 4]
test eax, eax
je 0x401158
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x40118f
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 0x40118f
push eax
push str.XPCOM_shutdown_failed_with_code_0x_x
call fcn.004017cc
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.004018b3
pop ecx
pop ecx
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x4011ab
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x4011b8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [edi]
test ecx, ecx
je 0x4011c4
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 0x4011d4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov esp, ebp
pop ebp
ret
Function at 0x401822
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
cmp dword [ebp + 8], 2
jge 0x401841
push str.Usage:_TestGetURL__url__n
call fcn.004018b3
pop ecx
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push edi
xor edi, edi
lea ecx, [ebp - 0x2c]
push edi
push str.XMLHttpRequest
call fcn.00401045
cmp dword [ebp - 0x20], edi
jne 0x401864
lea ecx, [ebp - 0x2c]
call fcn.004010b3
xor eax, eax
inc eax
jmp 0x4018ae
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [eax + 4]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.xul.dll_NS_CStringContainerInit]
push 0xffffffffffffffff
lea eax, [ebp - 0xc]
push esi
push eax
call dword [sym.imp.xul.dll_NS_CStringSetData]
lea eax, [ebp - 0xc]
push eax
call fcn.00401599
shr eax, 0x1f
test al, 1
push 1
pop eax
cmovne edi, eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.xul.dll_NS_CStringContainerFinish]
add esp, 0x18
lea ecx, [ebp - 0x2c]
call fcn.004010b3
mov eax, edi
pop esi
pop edi
mov esp, ebp
pop ebp
ret