joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18101a68
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, 0x270
cmp dword [esi], edi
jne 0x18101ab0
lea edx, [esi + 8]
mov ecx, dword [edx - 4]
xor ecx, dword [edx]
lea edx, [edx + 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x18101a78
jmp 0x18101abd
cmp dword [esi], 0x4e0
jb 0x18101abd
call fcn.18101af7
mov eax, dword [esi]
pop edi
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
pop esi
ret

Function at 0x18101af7
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, 0xe3
push edi
lea edi, [esi + 0x9c4]
mov eax, dword [edi]
lea edx, [edi + 4]
mov ecx, dword [edx]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi - 0x9c0], eax
lea edi, [edx]
mov eax, dword [edx]
sub ebx, 1
jne 0x18101b09
lea edi, [esi + 0xd50]
mov ebx, 0x18c
mov eax, dword [edi]
lea edx, [edi + 4]
mov ecx, dword [edx]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd4c]
xor eax, ecx
mov dword [edi - 0x9c0], eax
lea edi, [edx]
mov eax, dword [edx]
sub ebx, 1
jne 0x18101b4e
mov ecx, dword [esi + 0x1380]
xor ecx, dword [esi + 4]
and ecx, 0x7fffffff
xor ecx, dword [esi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
and dword [esi], 0
and eax, 0x9908b0df
shr ecx, 1
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
pop esi
pop ebx
ret
Function at 0x18101bf8
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push ebx
push esi
push edi
mov edi, ecx
xor ecx, ecx
mov dword [ebp - 0x20], edi
lea esi, [edi + 0x10]
movzx edx, byte [esi]
lea esi, [esi + 4]
movzx eax, byte [esi - 3]
shl eax, 0x10
shl edx, 0x18
or edx, eax
movzx eax, byte [esi - 2]
shl eax, 8
or edx, eax
movzx eax, byte [esi - 1]
or edx, eax
mov dword [ebp + ecx*4 - 0x124], edx
inc ecx
cmp ecx, 0x10
jl 0x18101c0e
push 0x40
pop eax
sub eax, ecx
lea ebx, [ebp + ecx*4 - 0x12c]
mov dword [ebp - 4], eax
mov edi, eax
mov ecx, dword [ebx - 0x34]
mov esi, ecx
mov edx, dword [ebx]
mov eax, ecx
rol esi, 0xe
lea ebx, [ebx + 4]
ror eax, 7
xor esi, eax
shr ecx, 3
xor esi, ecx
mov eax, edx
mov ecx, edx
rol eax, 0xd
rol ecx, 0xf
xor ecx, eax
shr edx, 0xa
xor ecx, edx
add esi, ecx
add esi, dword [ebx - 0x3c]
add esi, dword [ebx - 0x18]
mov dword [ebx + 4], esi
sub edi, 1
jne 0x18101c4d
mov edi, dword [ebp - 0x20]
mov eax, dword [edi + 0x50]
mov ebx, eax
mov edx, dword [edi + 0x54]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x58]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x5c]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x60]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x64]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x68]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x6c]
xor edi, edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov ecx, edx
mov esi, ebx
xor ecx, ebx
ror esi, 0xd
and ecx, dword [ebp - 0x10]
and edx, ebx
xor ecx, edx
mov eax, ebx
rol eax, 0xa
xor esi, eax
mov eax, ebx
ror eax, 2
xor esi, eax
add esi, ecx
mov ecx, dword [ebp - 8]
mov edx, ecx
mov eax, ecx
rol eax, 7
ror edx, 0xb
xor edx, eax
mov eax, ecx
ror eax, 6
not ecx
and ecx, dword [ebp - 0x18]
xor edx, eax
mov eax, dword [ebp - 0x14]
and eax, dword [ebp - 8]
xor ecx, eax
mov eax, dword [ebp - 0x18]
add edx, ecx
mov ecx, dword [ebp - 0x1c]
add edx, dword [edi + 0x18194190]
add edx, dword [ebp + edi - 0x124]
add edi, 4
add edx, dword [ebp - 4]
mov dword [ebp - 4], eax
add ecx, edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], ebx
lea ebx, [edx + esi]
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], eax
cmp edi, 0x100
jl 0x18101cbe
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
add eax, ebx
add dword [edi + 0x60], ecx
add dword [edi + 0x54], edx
mov ecx, dword [ebp - 0x14]
add dword [edi + 0x64], ecx
mov edx, dword [ebp - 0x10]
add dword [edi + 0x58], edx
mov ecx, dword [ebp - 0x18]
add dword [edi + 0x68], ecx
mov edx, dword [ebp - 0x1c]
add dword [edi + 0x5c], edx
mov ecx, dword [ebp - 4]
add dword [edi + 0x6c], ecx
mov dword [edi + 0x50], eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x18101d90
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 8], 0
and dword [eax + 0xc], 0
mov dword [eax], fcn.18101d90
mov dword [eax + 0x50], 0x6a09e667
mov dword [eax + 0x54], 0xbb67ae85
mov dword [eax + 0x58], 0x3c6ef372
mov dword [eax + 0x5c], 0xa54ff53a
mov dword [eax + 0x60], 0x510e527f
mov dword [eax + 0x64], 0x9b05688c
mov dword [eax + 0x68], 0x1f83d9ab
mov dword [eax + 0x6c], 0x5be0cd19
pop ebp
ret
Function at 0x1810405c
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x181ce00c]
xor eax, ebp
mov dword [ebp - 4], eax
movzx ecx, byte [0x181d4056]
push ebx
push esi
neg ecx
push edi
sbb ecx, ecx
push 7
pop edi
and ecx, 0x181d3f50
je 0x181040ab
xor eax, eax
mov dword [ebp - 0x38], ecx
inc eax
mov dword [ebp - 0x34], edi
push eax
push edi
mov dword [ebp - 0x30], eax
call fcn.18008b3f
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x38]
push str._StartService_
push eax
call fcn.18007210
pop ecx
pop ecx
push 0xf003f
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
mov dword [ebp - 0x28], esi
test esi, esi
jne 0x181040cf
call fcn.1801bb25
mov ebx, eax
jmp 0x18104155
lea ecx, [ebp - 8]
mov dword [ebp - 8], ebx
call fcn.18081b7f
push 0x14
push dword [ebp - 8]
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x181040f5
call fcn.1801bb25
mov ebx, eax
jmp 0x18104132
mov ecx, edi
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x18104119
cmp dword [ebp - 0x20], 4
je 0x18104132
cmp dword [ebp - 0x20], 2
je 0x18104132
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x18104132
call fcn.1801bb25
cmp eax, 0x80070420
jne 0x18104138
test esi, esi
je 0x18104141
jmp 0x1810413a
mov ebx, eax
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18006f52
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811aa48
leave
ret
Function at 0x181048e1
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x181ce00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
lea ecx, [ebp - 0x214]
push edi
xor edi, edi
call fcn.18015051
mov esi, dword [eax]
xor eax, eax
mov word [ebp - 0x210], ax
test esi, esi
je 0x18104933
cmp word [esi], di
je 0x18104933
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [ebp - 0x214]
lea ecx, [ecx - 0x10]
call fcn.18006f52
cmp byte [ebx], 0
je 0x1810495c
call fcn.1801fada
lea eax, [ebp - 0x218]
push eax
call fcn.180210f5
xor ebx, ebx
inc ebx
jmp 0x18104972
call fcn.1801fada
lea eax, [ebp - 0x214]
push eax
call fcn.1801fe16
push 2
mov ebx, edi
pop edi
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.1800a0ba
mov esi, eax
test edi, edi
je 0x18104990
mov ecx, dword [ebp - 0x214]
lea ecx, [ecx - 0x10]
call fcn.18006f52
test ebx, ebx
je 0x181049a2
mov ecx, dword [ebp - 0x218]
lea ecx, [ecx - 0x10]
call fcn.18006f52
lea ecx, [esi + 0x10]
call fcn.1800ce70
lea ecx, [esi]
call fcn.18006f52
cmp word [ebp - 0x210], 0
je 0x181049c8
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811aa48
leave
ret
Function at 0x1810dc3c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x181ce00c]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 8]
push esi
mov esi, dword [0x181d29a0]
push edi
push 0xf0
push eax
xor edi, edi
mov dword [ebp - 0x130], ecx
push esi
inc edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1810ddc1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1810ddc1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1810ddc1
push ebx
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x1810ddc0
mov ecx, dword [esi + 4]
mov ebx, eax
movzx eax, word [esi + 2]
add esi, 8
mov dword [ebp - 0x134], ecx
mov ecx, 0x403
cmp cx, ax
jne 0x1810dd39
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.1812f700
add esp, 0xc
lea eax, [ebp - 0x104]
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x108], eax
push 3
push esi
call fcn.1804bbdf
push dword [ebp - 0x108]
mov eax, dword [ebp - 0x130]
push 0
push 0x143
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
inc eax
neg eax
sbb eax, eax
and edi, eax
lea eax, [ebp - 0x104]
cmp dword [ebp - 0x108], eax
je 0x1810ddae
push dword [ebp - 0x108]
call fcn.18133613
pop ecx
jmp 0x1810ddae
mov ecx, 0x1234
cmp cx, ax
jne 0x1810ddae
or dword [ebp - 0x128], 0xffffffff
lea eax, [ebp - 0x234]
push 3
push esi
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x12c], 1
mov dword [ebp - 0x238], eax
call fcn.1804bbdf
mov eax, dword [ebp - 0x238]
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x124], eax
cmp eax, ecx
je 0x1810dd8b
push eax
call fcn.18133613
pop ecx
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp - 0x130]
push 0
push 0x40b
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp eax, 0xffffffff
je 0x1810ddbe
add esi, dword [ebp - 0x134]
test edi, edi
jne 0x1810dc9b
jmp 0x1810ddc0
xor edi, edi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.1811aa48
leave
ret 4
Function at 0x181100c2
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x181ce00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
call fcn.1810f1a7
lea esi, [edi + 0x1e4]
xor ecx, ecx
mov eax, dword [esi]
inc ecx
mov ebx, 0x100
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, ebx
or eax, ecx
jge 0x18110100
push ebx
mov ecx, esi
call fcn.1800771c
push ebx
push dword [esi]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.18009eb8
push 1
mov ecx, edi
call fcn.18111ea8
push 8
call fcn.1811b2f8
mov esi, eax
lea eax, [ebp - 0x10]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov eax, dword [edi + 0x1c4]
mov dword [edi + 0x1c4], esi
test eax, eax
je 0x18110157
push 8
push eax
call fcn.1811af76
pop ecx
pop ecx
push 0x7d9
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
xor esi, esi
push esi
push 1
push 0x40a
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
push 0x181c4b08
push 3
push esi
push 0x181b26a4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x181101bc
mov ecx, dword [edi + 0x1ec]
mov ebx, dword [ebp - 8]
mov dword [ebp - 8], esi
test ecx, ecx
je 0x181101b6
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x1815e3d4]
call esi
xor esi, esi
mov dword [edi + 0x1ec], ebx
mov ecx, edi
call fcn.18111327
mov dword [ebp - 0xc], esi
call fcn.18006f7b
push eax
lea ecx, [ebp - 0xc]
call fcn.1800768f
push 0xbdc
lea ecx, [ebp - 0xc]
call fcn.180076c8
lea eax, [ebp - 0xc]
mov ecx, edi
push eax
call fcn.18111f1a
mov ecx, edi
call fcn.18111e79
push 0x7db
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.18006f52
mov eax, dword [ebp - 8]
test eax, eax
je 0x1811022a
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x1815e3d4]
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811aa48
leave
ret 0x10

Function at 0x181113ff
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x181ce00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
call fcn.180270bd
test al, al
je 0x18111436
push 0x7dc
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1811146e
and dword [ebp - 8], 0
call fcn.18006f7b
push eax
lea ecx, [ebp - 8]
call fcn.1800768f
push dword [ebp + 0xc]
lea ecx, [ebp - 8]
call fcn.180076c8
lea eax, [ebp - 8]
mov ecx, esi
push eax
push 0x7dc
call fcn.18111233
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18006f52
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1811aa48
leave
ret 8
Function at 0x18114ae9
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x181ce00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
mov dword [eax], 1
mov ebx, ecx
lea eax, [ebp - 0x18]
xor edi, edi
push eax
mov dword [ebp - 0x18], edi
push dword [ebx + 4]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x48
lea eax, [ebp - 0x60]
push edi
push eax
call fcn.1812f700
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x58]
add esp, 0xc
mov dword [ebp - 0x5c], eax
push ecx
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0x28], 0
mov edx, eax
mov dword [ebp - 0x60], edx
je 0x18114b52
mov ecx, dword [ebx + 0x38]
jmp 0x18114b60
cmp byte [ebx + 0x27], 0
je 0x18114b5d
mov ecx, dword [ebx + 0x34]
jmp 0x18114b60
mov ecx, dword [ebx + 0x30]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0x44]
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_SelectObject]
push 2
push 2
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_RoundRect]
cmp byte [ebx + 0x29], 0
je 0x18114bac
lea esi, [ebp - 0x18]
lea edi, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_DrawFocusRect]
xor edi, edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
test esi, esi
je 0x18114c44
mov dword [ebp - 8], edi
call fcn.18006f7b
push eax
lea ecx, [ebp - 8]
call fcn.1800768f
inc esi
lea ecx, [ebp - 8]
push esi
call fcn.18007592
push esi
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call fcn.18009eb8
push dword [ebx + 0x2c]
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x27
mov eax, ebx
pop ecx
cmp byte [ecx + eax], 0
je 0x18114c0b
mov eax, dword [ebx + 0x40]
jmp 0x18114c0e
mov eax, dword [ebx + 0x3c]
push eax
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 1
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0x25
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push dword [eax - 0xc]
push eax
push dword [ebp - 0x60]
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18006f52
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x5c]
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811aa48
leave
ret 0x10
Function at 0x18114f80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x181ce00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
call fcn.18007526
and dword [ebp - 8], 0
call fcn.1801b9ec
test al, al
jne 0x18114fb8
lea ecx, [ebp - 8]
call fcn.1801c4ca
mov esi, eax
test esi, esi
js 0x18115099
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 0x5000
push 0x1816dc0c
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov esi, eax
test esi, esi
js 0x18115099
push ebx
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x18115086
push ebx
call fcn.18133750
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x18115086
mov eax, dword [edi]
mov edx, ebx
sub edx, eax
sar edx, 1
push ecx
mov esi, dword [eax - 0xc]
mov ecx, edi
mov dword [ebp - 0x14], edx
call fcn.18007592
mov edx, dword [ebp - 0x14]
mov ecx, eax
cmp edx, esi
mov esi, dword [ebp - 0x10]
ja 0x1811506b
mov eax, dword [edi]
lea ebx, [ecx + edx*2]
lea edx, [esi + esi]
mov eax, dword [eax - 8]
test edx, edx
je 0x1811507c
test ecx, ecx
jne 0x18115044
call fcn.181335df
mov dword [eax], 0x16
call fcn.181334d5
jmp 0x1811507c
test ebx, ebx
je 0x18115032
add eax, eax
cmp eax, edx
jae 0x1811505b
call fcn.181335df
mov dword [eax], 0x22
jmp 0x1811503d
push edx
push ebx
push ecx
lfence
call fcn.1812f180
add esp, 0xc
jmp 0x1811507c
lfence
mov edx, dword [edi]
push esi
push ebx
mov edx, dword [edx - 8]
call fcn.18007777
pop ecx
pop ecx
push esi
mov ecx, edi
call fcn.18007567
jmp 0x1811508d
mov ecx, edi
call fcn.18007526
push dword [ebp - 0xc]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor esi, esi
pop ebx
cmp dword [ebp - 8], 0
je 0x181150a8
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.1811aa48
leave
ret
Function at 0x1811a672
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push 4
pop edx
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x18199710]
sub edx, 1
jne 0x1811a675
mov eax, ecx
ret
Function at 0x1814ac7a
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1814a8f7

Function at 0x181519e4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1815185a

Function at 0x181563a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x181563cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x181563cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4041d2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, dword [ebp + 0xc]
and eax, 3
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, edx
sub ecx, eax
je 0x40421c
rol edx, 5
xor edx, dword [esi + ebx]
add esi, 4
imul eax, edx, 0x9e3779b9
rol eax, 5
xor eax, 4
imul edx, eax, 0x9e3779b9
cmp esi, ecx
jb 0x4041eb
jmp 0x40421c
movsx ecx, byte [esi + ebx]
rol edx, 5
xor edx, ecx
imul edx, edx, 0x9e3779b9
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x40420c
pop esi
mov eax, edx
pop ebx
pop ebp
ret

Function at 0x40427f
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [sym.TestCheckedInt.exe_gMozillaPoisonSize]
push esi
push edi
push 1
lea esi, [ebx - 1]
push 0x2000
not esi
push ebx
and esi, 0xf0deafff
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, esi
jne 0x4042b7
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, dword [ebp - 0x1c]
jb 0x4042e1
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x1c]
jb 0x4042e1
test edi, edi
je 0x4042ae
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x4042ae
test edi, edi
je 0x4042e9
mov eax, edi
jmp 0x4042b0
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x4042b0
int3

Function at 0x404318
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
mov dword [sym.TestCheckedInt.exe_gMozillaPoisonSize], eax
call fcn.0040427f
mov ecx, dword [sym.TestCheckedInt.exe_gMozillaPoisonSize]
mov dword [sym.TestCheckedInt.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40434e
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestCheckedInt.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret
Function at 0x40b7b0
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40b97e
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40b7db
mov eax, 0x7000000
jmp 0x40b7e3
test eax, eax
je 0x40b959
mov dword [esp + 0x14], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x94]
mov ebx, dword [ecx + 0x98]
mov dword [ecx + 0x94], ebx
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
mov dword [ecx + 0x98], ebp
lea ecx, [ebp + ebx]
shr ecx, 6
inc ecx
mov dword [esp], ecx
call fcn.0045fa40
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x2c]
mov ecx, eax
shr eax, 0x14
and eax, 0x7ff
mov edx, eax
add eax, 0xfffffc01
mov ebx, ecx
shr ecx, 0xf
and ecx, 0x1f
mov ebp, ecx
add ecx, 1
mov esi, 0
adc esi, 0
shl ebx, 5
mov edi, dword [esp + 0x28]
shr edi, 0x1b
or edi, ebx
lea ebx, [0x54c260]
movsd xmm0, qword [ebx + ebp*8]
test esi, esi
jne 0x40b971
cmp ecx, 0x21
jae 0x40b965
movsd qword [esp + 0x18], xmm0
mov dword [esp + 0x10], edi
add edx, 0xfffffc01
mov edx, 0xffffffff
adc edx, 0
movsd xmm0, qword [ebx + ecx*8]
movsd qword [esp + 0x20], xmm0
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045a5e0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
and eax, 0xfffff
mov dword [esp], eax
call fcn.0045a6b0
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x18]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x20]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x4d9ae8]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x4d9b58]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40b934
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x4d9bb0]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, ecx
mov ecx, 0x21
call fcn.0045fb20
mov eax, ecx
mov ecx, 0x21
call fcn.0045fbc0
nop
call fcn.0045e680
jmp fcn.0040b7b0