joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467870
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
mov dword [ebp - 8], ebx
mov eax, dword [ebx + 0x1c]
cmp eax, 1
jb 0x4678d1
push eax
push 0
push 0x100000
mov byte [ebp - 1], 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4678b8
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
neg ebx
push esi
sbb bl, bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and bl, byte [ebp - 1]
jne 0x4678ce
push 0x49a4dc
push str.TMainControl
call dword [sym.imp.USER32.dll_FindWindowW]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 8]
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x468130
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebx + 0x1c], 0
je 0x467925
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
cmp esi, edi
je 0x46792b
lea eax, [ebp - 8]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x46791e
mov eax, dword [ebp - 8]
cmp eax, dword [ebx + 0x1c]
je 0x467972
add esi, 4
cmp esi, edi
jne 0x467906
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
sub edi, esi
test edi, 0xfffffffc
je 0x467979
mov eax, esi
mov edi, dword [eax]
test esi, esi
je 0x467969
mov ecx, dword [ebp - 0xc]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x46795f
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4679b2
push ecx
push esi
call fcn.00441bd4
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
mov esi, dword [ebp - 0x14]
jmp 0x467937
test esi, esi
je 0x4679a9
mov ecx, dword [ebp - 0xc]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x46799f
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4679b2
push ecx
push esi
call fcn.00441bd4
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00449ddd
int3
Function at 0x468350
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
push ebx
mov esi, dword [edi + 0x14]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, esi
jne 0x4683f5
cmp esi, dword [edi + 0x2c]
mov edx, 2
cmovbe esi, dword [edi + 0x2c]
xor ecx, ecx
add esi, 5
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004424cc
add esp, 4
mov dword [ebp + 0xc], eax
push esi
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [ebp + 0xc]
lea ecx, [edi + 4]
call fcn.00467610
test eax, eax
jne 0x4683e9
push esi
mov esi, dword [ebp + 0xc]
push esi
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x4683ec
push esi
lea ecx, [edi + 0x1c]
call fcn.00467610
test eax, eax
jne 0x4683ec
mov ecx, dword [edi]
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x4683dd
mov dword [eax], ebx
add dword [ecx + 4], 4
jmp 0x4683ec
lea edx, [ebp + 8]
push edx
push eax
call fcn.00415360
jmp 0x4683ec
mov esi, dword [ebp + 0xc]
push esi
call fcn.00441630
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 8
Function at 0x469150
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4880cb
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x4ad06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x410]
push 0x400
push eax
push 0
mov dword [ebp - 0x42c], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x430]
mov dword [ebp - 0x430], 0
push eax
lea eax, [ebp - 0x410]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
cmp ebx, 1
jge 0x4691e5
mov dword [esi + 0x10], 0
xor eax, eax
push 7
mov dword [esi + 0x14], 7
mov ecx, esi
push 0x49a5c4
mov word [esi], ax
call fcn.00408d10
jmp 0x469309
push ebx
call fcn.0044e33e
mov edi, eax
add esp, 4
test edi, edi
je 0x4691bf
push edi
push ebx
push 0
lea eax, [ebp - 0x410]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x42c]
push eax
push 0x49a5d4
push edi
call sub.VERSION.dll_VerQueryValueA
cmp dword [ebp - 0x434], 0x34
jae 0x469240
push edi
call fcn.00449b06
add esp, 4
mov ecx, esi
push 0x49a5c4
call fcn.00407e70
jmp 0x469309
mov eax, dword [ebp - 0x42c]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
movzx eax, dx
push eax
shr edx, 0x10
lea eax, [ebp - 0x410]
push edx
push str.V_i._i._i._i
push eax
call fcn.00468570
push edi
call fcn.00449b06
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x418], 0
add esp, 0x1c
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4692a0
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.00409050
lea eax, [ebp - 0x428]
mov dword [ebp - 4], 0
push eax
push esi
call fcn.004262f0
mov edx, dword [ebp - 0x414]
add esp, 8
cmp edx, 0x10
jb 0x469309
mov ecx, dword [ebp - 0x428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4692ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x469327
push edx
push ecx
call fcn.00441bd4
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00441e56
mov esp, ebp
pop ebp
ret
call fcn.00449ddd
int3
Function at 0x46b1af
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x402170
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push eax
push 0x40205e
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
ret

Function at 0x403fb6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x403fd7
jl 0x403fce
test edi, edi
jne 0x403fd7
xor eax, eax
xor edx, edx
jmp 0x404098
cmp dword [ebx + 0x38], 0
je 0x403fec
push eax
push edi
push dword [ebp + 8]
call fcn.0040409e
jmp 0x404098
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x404033
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x404033
cmp eax, edi
jb 0x40400d
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.00405c70
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x404039
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x40408d
mov ecx, ebx
call fcn.0040384d
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x404078
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.0040b061
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x40408d
jmp 0x40404b
test edx, edx
je 0x40408d
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0040b061
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x405a53
Capabilities:
Parse pe header

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

Function at 0x4100b9
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x420310
push 0x420308
push str.FlsAlloc
push 0x1e
call fcn.0040ff26
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4100ed
push dword [ebp + 8]
mov ecx, esi
call dword [0x41d15c]
call esi
jmp 0x4100f3
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x410137
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x420320
push 0x420318
push str.FlsGetValue
push 0x20
call fcn.0040ff26
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41016e
push dword [ebp + 8]
mov ecx, esi
call dword [0x41d15c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x4116e3
Capabilities:
Read file on windows

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

Function at 0x411add
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00405bc0
mov eax, dword [0x427040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00410749
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x411b1f
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x411c7b
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0041b970
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x428978]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00412ad4
mov ecx, dword [esi*4 + 0x428978]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x411c74
cmp eax, dword [edi + ecx + 0x24]
jne 0x411c74
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x411c74
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00412ad4
add esp, 0x14
test edx, edx
jl 0x411c74
jg 0x411bea
test eax, eax
jb 0x411c74
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x411c74
jl 0x411c04
cmp dword [ebp - 0x1008], eax
ja 0x411c74
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x411c22
test ebx, ebx
je 0x411c5b
cmp ecx, edi
jae 0x411c5b
mov al, byte [ecx]
cmp al, 0xd
jne 0x411c3c
lea eax, [edi - 1]
cmp ecx, eax
jae 0x411c48
cmp byte [ecx + 1], 0xa
jne 0x411c48
inc ecx
jmp 0x411c48
movzx eax, al
movsx eax, byte [eax + 0x4272f8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x411c22
cmp edx, ebx
jne 0x411c22
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x411c79
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00404df3
leave
ret
Function at 0x40a197
Capabilities:
Encode data using xor

Disassembly:
inc ecx
pop esi
xor byte [esi + ecx + 7], cl
loop 0x40a19a
ljmp 0xc7b6:0xda8d5821

Function at 0x7c5058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.007c51a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x7c507e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7c506a
add dl, dl
jne 0x7c5089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7c50dc
xor eax, eax
add dl, dl
jne 0x7c5096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7c517d
add dl, dl
jne 0x7c50a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7c50b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7c50bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7c50c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x7c50d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x7c5075
mov eax, 1
add dl, dl
jne 0x7c50ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7c50f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7c50e1
sub eax, ebx
mov ebx, 1
jne 0x7c5128
mov ecx, 1
add dl, dl
jne 0x7c510e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x7c5119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7c5105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7c5075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x7c513f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x7c514a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7c5136
cmp eax, 0x7d00
jae 0x7c516d
cmp eax, 0x500
jb 0x7c5168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7c5075
cmp eax, 0x7f
ja 0x7c5170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7c5075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x7c519e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x7c5075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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 0x56c170
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x10f000]
push edi
jmp 0x56c18a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x56c191
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56c180
mov eax, 1
add ebx, ebx
jne 0x56c1a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x56c1b4
jne 0x56c1d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56c1d3
dec eax
add ebx, ebx
jne 0x56c1c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x56c198
add ebx, ebx
jne 0x56c1cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x56c225
xor ecx, ecx
sub eax, 3
jb 0x56c1eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x56c25a
sar eax, 1
mov ebp, eax
jmp 0x56c1f6
add ebx, ebx
jne 0x56c1f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56c1c4
inc ecx
add ebx, ebx
jne 0x56c204
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56c1c4
add ebx, ebx
jne 0x56c211
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x56c206
jne 0x56c222
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x56c206
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x56c244
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x56c236
jmp 0x56c186
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x56c244
add edi, ecx
jmp 0x56c186
pop esi
mov edi, esi
mov ecx, 0x3ee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x56c262
cmp byte [edi], 0x11
jne 0x56c262
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 0x56c267
lea edi, [esi + 0x165000]
mov eax, dword [edi]
or eax, eax
je 0x56c2df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1b22c8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1b2444]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x56c294
mov ecx, edi
jns 0x56c2c3
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 + 0x1b2448]
or eax, eax
je 0x56c2d9
mov dword [ebx], eax
add ebx, 4
jmp 0x56c2b1
call dword [esi + 0x1b2458]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x56c310
cmp al, 0xef
ja 0x56c303
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x56c2e5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x56c2f2
mov ebp, dword [esi + 0x1b244c]
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 0x56c344
sub esp, 0xffffff80
jmp 0x427f4a
Function at 0x40ab79
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 0x40abc3
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 0x40ab92
jmp 0x40abc3
movsx ecx, byte [esi + ebx]
rol edx, 5
xor edx, ecx
imul edx, edx, 0x9e3779b9
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x40abb3
pop esi
mov eax, edx
pop ebx
pop ebp
ret

Function at 0x40bae6
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
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 0x40bb1b
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, dword [ebp - 0x18]
jb 0x40bb45
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x18]
jb 0x40bb45
test edi, edi
je 0x40bb12
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40bb12
test edi, edi
je 0x40bb4d
mov eax, edi
jmp 0x40bb14
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x40bb14
mov esi, 0xc3
push esi
push str.c:_builds_moz2_slave_m_in_w32_d_0000000000000000000_build_src_mfbt_Poison.cpp
push str.no_usable_poison_region_identified
call fcn.0040f68b
add esp, 0xc
int3
Function at 0x40f6bf
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]
push eax
mov dword [sym.TestLinkedList.exe_gMozillaPoisonSize], eax
call fcn.0040bae6
pop ecx
mov ecx, dword [sym.TestLinkedList.exe_gMozillaPoisonSize]
mov dword [sym.TestLinkedList.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40f6f7
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestLinkedList.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret
Function at 0x10006da0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x10006daf
pop dword [ebp - 0x40]
mov eax, 0xe235ff5d
add eax, 0x2dca6e52
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xb7e068e6
sub dword [ebp - 0x50], 0x698e239b
mov dword [ebp - 0x4c], 0xca6d3276
add dword [ebp - 0x4c], 0x67c619cf
mov dword [ebp - 0x48], 0x2c26b7b7
sub dword [ebp - 0x48], 0xdfda7389
mov dword [ebp - 0x44], 0x114c94c0
sub dword [ebp - 0x44], 0x114c94c0
lea eax, [ebp - 0x50]
push eax
mov eax, 0x3911d74e
sub eax, 0x291096fe
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xa0fe5b0d
add dword [ebp - 0x50], 0xd3740e49
mov dword [ebp - 0x4c], 0x343e6404
add dword [ebp - 0x4c], 0xd2dfd71
mov dword [ebp - 0x48], 0xa6c6f40e
sub dword [ebp - 0x48], 0x435787a2
mov dword [ebp - 0x44], 0x44653b3f
add dword [ebp - 0x44], 0xbb9ac4c1
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0xddf935b6
add eax, 0x32080a9e
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3a6b9
push 0
call eax
mov ecx, 0x49c2
xor ebx, ebx
add ebx, eax
mov esi, 0x6e82f7e3
sub esi, 0x5e8115e3
add esi, dword [ebp - 0x40]
mov edi, 0xb0c7e456
sub edi, 0xd60a73af
sub dword [ebp - 0x30], 0x37bc009
mov edx, dword [esi]
sub edx, edi
xor dword [ebp - 0x10], 0xa777772f
mov dword [ebx], edx
add dword [ebp - 0x34], ebx
add ebx, 0x8ba87274
add ebx, 0x74578d90
add esi, 0x1dc1f6dc
sub esi, 0x1dc1f6d8
loop 0x10006ecd
add eax, 0xab0d3738
sub eax, 0xab0c1d5d
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x408937
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x4085d8
dec esi
call fcn.00408962
push esi
pop ecx
sub ecx, 1
xor dword [ebx], edx
sub ecx, 0xf3618eef
mov ecx, esi
inc ebx
mov ecx, ecx
add esi, 0x6f0972d1
cmp ebx, edi
jne fcn.00408937
ret

Function at 0x82e3b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2f9000]
push edi
jmp 0x82e3ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x82e3d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x82e3c0
mov eax, 1
add ebx, ebx
jne 0x82e3e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x82e3f4
jne 0x82e413
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x82e413
dec eax
add ebx, ebx
jne 0x82e400
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x82e3d8
add ebx, ebx
jne 0x82e40f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x82e465
xor ecx, ecx
sub eax, 3
jb 0x82e42b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x82e49a
sar eax, 1
mov ebp, eax
jmp 0x82e436
add ebx, ebx
jne 0x82e436
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x82e404
inc ecx
add ebx, ebx
jne 0x82e444
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x82e404
add ebx, ebx
jne 0x82e451
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x82e446
jne 0x82e462
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x82e446
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x82e484
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x82e476
jmp 0x82e3c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x82e484
add edi, ecx
jmp 0x82e3c6
pop esi
mov edi, esi
mov ecx, 0x879f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x82e4a2
cmp byte [edi], 0x38
jne 0x82e4a2
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 0x82e4a7
lea edi, [esi + 0x42a000]
mov eax, dword [edi]
or eax, eax
je 0x82e51f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x440078]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4401b8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x82e4d4
mov ecx, edi
jns 0x82e503
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 + 0x4401bc]
or eax, eax
je 0x82e519
mov dword [ebx], eax
add ebx, 4
jmp 0x82e4f1
call dword [esi + 0x4401cc]
mov ebp, dword [esi + 0x4401c0]
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 0x82e553
sub esp, 0xffffff80
jmp section.UPX0