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

Disassembly:
pushal
mov esi, section.SHA33_1
lea edi, [esi - 0x48000]
push edi
or ebp, 0xffffffff
jmp 0x47b142
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x47b149
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47b138
mov eax, 1
add ebx, ebx
jne 0x47b15b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x47b16c
jne 0x47b18b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47b18b
dec eax
add ebx, ebx
jne 0x47b178
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x47b150
add ebx, ebx
jne 0x47b187
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x47b1dd
xor ecx, ecx
sub eax, 3
jb 0x47b1a3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x47b212
sar eax, 1
mov ebp, eax
jmp 0x47b1ae
add ebx, ebx
jne 0x47b1ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47b17c
inc ecx
add ebx, ebx
jne 0x47b1bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47b17c
add ebx, ebx
jne 0x47b1c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x47b1be
jne 0x47b1da
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x47b1be
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x47b1fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x47b1ee
jmp 0x47b13e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x47b1fc
add edi, ecx
jmp 0x47b13e
pop esi
mov edi, esi
mov ecx, 0x1f3d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x47b21a
cmp byte [edi], 0x11
jne 0x47b21a
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 0x47b21f
lea edi, [esi + 0x76000]
mov eax, dword [edi]
or eax, eax
je 0x47b297
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7b1e4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7b434]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x47b24c
mov ecx, edi
jns 0x47b27b
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 + 0x7b43c]
or eax, eax
je 0x47b291
mov dword [ebx], eax
add ebx, 4
jmp 0x47b269
call dword [esi + 0x7b438]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x47b2c8
cmp al, 0xef
ja 0x47b2bb
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x47b29d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x47b2aa
mov ebp, dword [esi + 0x7b440]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x47b2fc
sub esp, 0xffffff80
jmp 0x40e404
Function at 0x59f470
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.SHA44_1
lea edi, [esi - 0xff000]
mov dword [edi + 0x18c554], 0x4c67a065
push edi
jmp 0x59f49a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x59f4a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59f490
mov eax, 1
add ebx, ebx
jne 0x59f4b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x59f4c4
jne 0x59f4e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59f4e3
dec eax
add ebx, ebx
jne 0x59f4d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x59f4a8
add ebx, ebx
jne 0x59f4df
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x59f535
xor ecx, ecx
sub eax, 3
jb 0x59f4fb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x59f56a
sar eax, 1
mov ebp, eax
jmp 0x59f506
add ebx, ebx
jne 0x59f506
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59f4d4
inc ecx
add ebx, ebx
jne 0x59f514
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59f4d4
add ebx, ebx
jne 0x59f521
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x59f516
jne 0x59f532
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x59f516
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x59f554
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x59f546
jmp 0x59f496
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x59f554
add edi, ecx
jmp 0x59f496
pop esi
mov edi, esi
mov ecx, 0x4c2c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x59f572
cmp byte [edi], 0x11
jne 0x59f572
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 0x59f577
lea edi, [esi + 0x197000]
mov eax, dword [edi]
or eax, eax
je 0x59f5ef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19f1e4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19f4d4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x59f5a4
mov ecx, edi
jns 0x59f5d3
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 + 0x19f4dc]
or eax, eax
je 0x59f5e9
mov dword [ebx], eax
add ebx, 4
jmp 0x59f5c1
call dword [esi + 0x19f4d8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x59f620
cmp al, 0xef
ja 0x59f613
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x59f5f5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x59f602
mov ebp, dword [esi + 0x19f4e0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x59f654
sub esp, 0xffffff80
jmp 0x48ab9e
Function at 0xe4b800
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xea19b2
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0xeb80c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x228], edi
xorps xmm0, xmm0
mov dword [ebp - 0x224], 0
xor eax, eax
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
push 0x104
push eax
mov dword [ebp - 0x224], 1
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0xe4ba25
mov edx, dword [edi + 0x14]
cmp eax, edx
ja 0xe4b8d4
mov dword [ebp - 0x220], edi
mov ecx, edi
cmp edx, 7
jbe 0xe4b8af
mov ecx, dword [edi]
mov dword [ebp - 0x220], ecx
lea esi, [eax + eax]
mov dword [edi + 0x10], eax
push esi
lea eax, [ebp - 0x21c]
push eax
push ecx
call fcn.00e7c080
mov eax, dword [ebp - 0x220]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax], cx
jmp 0xe4b8e9
lea ecx, [ebp - 0x21c]
push ecx
push dword [ebp - 0x228]
mov ecx, edi
push eax
call fcn.00e4c070
push 0xeb3604
lea ecx, [ebp - 0x258]
call fcn.00e46650
push 4
sub esp, 0xc
mov dword [ebp - 4], 1
mov ecx, eax
call fcn.00e4bed0
push eax
mov edx, edi
lea ecx, [ebp - 0x240]
call fcn.00e4c350
mov esi, eax
add esp, 4
cmp edi, esi
je 0xe4b98c
mov ecx, dword [edi + 0x14]
cmp ecx, 7
jbe 0xe4b95c
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0xe4b952
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xe4ba42
mov eax, edx
push ecx
push eax
call fcn.00e7a836
add esp, 8
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 7
mov word [edi], ax
movups xmm0, xmmword [esi]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x22c]
cmp ecx, 7
jbe 0xe4b9cc
mov edx, dword [ebp - 0x240]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0xe4b9c2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xe4ba42
push ecx
push edx
call fcn.00e7a836
add esp, 8
mov ecx, dword [ebp - 0x244]
xor eax, eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
cmp ecx, 7
jbe 0xe4ba25
mov edx, dword [ebp - 0x258]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0xe4ba1b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xe4ba42
push ecx
push edx
call fcn.00e7a836
add esp, 8
mov eax, edi
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.00e7a7f3
mov esp, ebp
pop ebp
ret
call fcn.00e7fb2f
int3
Function at 0xe5d700
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0xc
mov eax, dword [0xeb9314]
mov dword [esp + 4], 0x4020
mov dword [esp], 0
mov dword [esp + 8], 4
test eax, eax
jne 0xe5d751
push 3
push 2
push eax
push eax
push 6
call fcn.00e73180
add esp, 0x14
test al, al
je 0xe5d745
mov dword [0xeb9314], 2
add esp, 0xc
ret
mov dword [0xeb9314], 1
jmp 0xe5d756
cmp eax, 2
je 0xe5d79c
lea eax, [esp + 8]
push eax
lea eax, [esp + 4]
push eax
push 0x1001
push 0xffff
push dword [esp + 0x20]
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0xe5d781
mov eax, dword [esp]
cmp eax, dword [esp + 4]
jg 0xe5d79c
push 4
lea eax, [esp + 8]
push eax
push 0x1001
push 0xffff
push dword [esp + 0x20]
call dword [sym.imp.WS2_32.dll_setsockopt]
add esp, 0xc
ret
Function at 0xe5e3f0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x18
mov eax, dword [0xeb80c0]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov esi, dword [esp + 0x20]
xor eax, eax
push edi
mov edi, dword [esp + 0x28]
push 4
cmp byte [esi + 0x71b], al
setne al
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
push 8
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0xe5e450
push edi
push 0xea4480
push esi
call fcn.00e5c3c0
add esp, 0xc
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00e7a7f3
add esp, 0x18
ret
push dword [esi + 0x6b8]
mov dword [esp + 0x14], 1
call fcn.00e5e670
push dword [esi + 0x6bc]
imul eax, eax, 0x3e8
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
call fcn.00e5e670
add esp, 8
imul eax, eax, 0x3e8
push 0
push 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0xc
lea eax, [esp + 0x28]
push eax
push 0x98000004
push edi
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0xe5e4c7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push edi
push 0xea44a4
push esi
call fcn.00e5c3c0
add esp, 0x10
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
xor ecx, esp
call fcn.00e7a7f3
add esp, 0x18
ret

Function at 0xe5e4e0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x108
mov eax, dword [0xeb80c0]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
mov esi, dword [esp + 0x110]
lea eax, [esp + 4]
push 4
push eax
push 1
push 6
push dword [esp + 0x124]
mov dword [esp + 0x18], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0xe5e545
push 0x100
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.00e72380
push eax
push 0xea4734
push esi
call fcn.00e5c3c0
add esp, 0x18
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
call fcn.00e7a7f3
add esp, 0x108
ret
Function at 0x10001000
Capabilities:
Accept command line arguments

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
inc esi
cmp al, 0x22
jne 0x1000104f
call fcn.100010f0
test eax, eax
push 0x22
push esi
je 0x10001024
call fcn.100017a0
jmp 0x10001029
call fcn.100016e0
mov edx, eax
add esp, 8
test edx, edx
je 0x10001076
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 2
ja 0x1000104a
mov esi, 0x100084b0
jmp 0x10001076
lea esi, [edx + 2]
jmp 0x10001076
call fcn.100010f0
test eax, eax
push 0x20
push esi
je 0x10001062
call fcn.100017a0
jmp 0x10001067
call fcn.100016e0
add esp, 8
mov esi, 0x100084b4
test eax, eax
je 0x10001076
lea esi, [eax + 1]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 0
push 0x3e8
push ecx
push esi
push edx
push eax
call sub.PBVM90.dll_Ordinal_137
pop edi
pop esi
ret 0x10

Function at 0x10002590
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x10008754]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
cmp eax, 1
push esi
jne 0x100025af
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [0x10008750], 1
mov byte [0x1000874c], bl
jne 0x10002609
mov ecx, dword [0x100089a8]
test ecx, ecx
je 0x100025f7
mov esi, dword [0x100089a4]
sub esi, 4
cmp esi, ecx
jb 0x100025f7
mov eax, dword [esi]
test eax, eax
je 0x100025f0
call eax
mov ecx, dword [0x100089a8]
sub esi, 4
cmp esi, ecx
jae 0x100025e2
push 0x10006018
push 0x10006014
call fcn.10002640
add esp, 8
push 0x10006020
push 0x1000601c
call fcn.10002640
add esp, 8
test ebx, ebx
jne 0x10002630
push ebp
mov dword [0x10008754], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
pop ebp
pop ebx
ret
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 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 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
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0xe34160
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00e342b0
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 0xe34186
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe34172
add dl, dl
jne 0xe34191
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe341e4
xor eax, eax
add dl, dl
jne 0xe3419e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe34285
add dl, dl
jne 0xe341ad
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe341b8
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe341c3
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe341ce
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xe341da
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xe3417d
mov eax, 1
add dl, dl
jne 0xe341f2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe341fd
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe341e9
sub eax, ebx
mov ebx, 1
jne 0xe34230
mov ecx, 1
add dl, dl
jne 0xe34216
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xe34221
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe3420d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe3417d
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xe34247
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xe34252
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe3423e
cmp eax, 0x7d00
jae 0xe34275
cmp eax, 0x500
jb 0xe34270
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe3417d
cmp eax, 0x7f
ja 0xe34278
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe3417d
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xe342a6
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 0xe3417d
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4041a7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov edx, eax
push esi
mov esi, dword [ebp + 8]
and ecx, 0xfffffffc
jbe 0x4041eb
rol eax, 5
xor eax, dword [edx + esi]
add edx, 4
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, 4
imul eax, eax, 0x9e3779b9
cmp edx, ecx
jb 0x4041ba
jmp 0x4041eb
movsx ecx, byte [edx + esi]
rol eax, 5
xor eax, ecx
imul eax, eax, 0x9e3779b9
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x4041db
pop esi
pop ebp
ret

Function at 0x40424b
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [sym.TestMacroForEach.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 0x404283
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 0x4042ad
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x1c]
jb 0x4042ad
test edi, edi
je 0x40427a
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40427a
test edi, edi
je 0x4042b5
mov eax, edi
jmp 0x40427c
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x40427c
int3

Function at 0x4042e4
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.TestMacroForEach.exe_gMozillaPoisonSize], eax
call fcn.0040424b
mov ecx, dword [sym.TestMacroForEach.exe_gMozillaPoisonSize]
mov dword [sym.TestMacroForEach.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40431a
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestMacroForEach.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret
Function at 0x1400980
Capabilities:
Parse pe header

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

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 0x438c37
Capabilities:
Encode data using xor

Disassembly:
jo 0x438c8e
or eax, dword [eax + edi*8]
retf
pop ss
xor byte [ebx + 0x287d382b], al
test bl, cl
mov bl, 0xbf
pop ds
mov al, byte [0x6d84a14b]
add dword [0x7e05e30], esp
invalid
Function at 0x469447
Capabilities:
Encode data using xor

Disassembly:
mov dh, byte [eax - 0x3e]
xor byte [ebx], bl
push ds
push esp
adc dl, dl
cmp dh, byte [edx]
ror byte [esi + 0x3a], 1
xor dl, byte [edx + 0x1a1e3a8e]
push ds
or byte [esi + 0x3cef7aff], 0x9a
adc byte [edx], bh
sti
sti
cld
jne 0x103fca6f
fucompi st(2)
push ss
cmp byte [edx + 0x3a949332], bh
xchg esp, eax
cmp dh, ch
xchg esp, eax
cmp dh, ch
sub ah, byte [ebx + 0x73]
xchg edx, eax
loop 0x469416
invalid

Function at 0x46ec87
Capabilities:
Encode data using xor

Disassembly:
xchg edi, eax
adc eax, 0x9252f89e
insb byte es:[edi], dx
lds eax, [eax - 0x180ac675]
test dword [esi], esi
cdq
cwde
std
dec ecx
push edi
mov byte [0xf4433047], al
inc edi
adc al, 0x43
xor byte [edi + 0x14], al
je 0x46ecdc
adc al, 0x43
xor al, 0x43
xchg byte [ebp - 0x602ae49e], al
jmp 0x46ec77
stosb byte es:[edi], al
jle 0x46ed2e
sub ebp, edi
mov ebp, 0x58c7eeb2
pop eax
stosd dword es:[edi], eax
cld
pop eax
mov ch, 0x34
sub eax, 0x492d1889
lds eax, [esi - 0x35]
imul byte [esi + 0x54]
lds ebx, [ecx + eax*8 - 0x35151a40]
ja 0x46ed58
retf
loop 0x46ed31
ret 0xc01e
mov byte [0x2b6fc53b], al
std
outsd dx, dword [esi]
sub edi, ebp
cmp dh, byte [eax]
inc ebx
mov bh, 0x67
adc al, 0x1f
xor byte [ecx + edx*8 + 0x10c2d070], bh
mov esp, 0x2f781bbf
daa
mov al, byte [0xaab5c16f]
xchg ebp, eax
sal esp, 1
dec edi
loope 0x46ed39
and al, 0x66
jo 0x46ed54
jo 0x46ed54
je 0x46ed0e
mov ch, 0xa6
cmpsb byte [esi], byte es:[edi]
inc edx
and ebx, dword [eax + 0x74]
xchg esi, eax
scasd eax, dword es:[edi]
inc ebx
aaa
pop ecx
ffree st(2)
cmp byte [ecx + ecx + 0x22], cl
push ebx
mov eax, dword [0x944a9582]
retf 0xbf95
Function at 0x492cd7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
movups xmm0, xmmword [edx]
push esi
mov esi, ecx
movups xmmword [esp + 0x1c], xmm0
inc esp
and al, 0x1c

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

Disassembly:
inc esp
and al, 0x1c
push edi
movups xmm0, xmmword [edx + 0x10]
inc edx
adc byte [ecx + 0x661c2474], cl
mov dword [esp + 0x20], 0x110f0203
inc esp
and al, 0x30