joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46435c
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.0046427c
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403c8c
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x4643c0
call fcn.00463b48
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x4643b2
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403c8c
pop esi
pop ebx
ret

Function at 0x46448c
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00404df8
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.004033c4
test ebx, ebx
je 0x4644db
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
movzx ecx, byte [edx]
mov byte [esp + 4], cl
movzx ecx, byte [edx + 1]
mov byte [esp + 5], cl
movzx ecx, byte [edx + 2]
mov byte [esp + 6], cl
movzx eax, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret

Function at 0x4645b8
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4645e9
mov ecx, dword [0x477e68]
mov dl, 1
mov eax, dword [0x462c2c]
call fcn.0040c3d0
call fcn.004042ec
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x464616
mov ecx, dword [0x477bfc]
mov dl, 1
mov eax, dword [0x462c2c]
call fcn.0040c3d0
call fcn.004042ec
xor eax, eax
push ebp
push 0x464697
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403c8c
cmp byte [ebp + 8], 0
je 0x464671
mov eax, dword [ebp + 0x14]
push eax
movzx eax, word [ebp + 0x10]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00464520
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004642dc
jmp 0x46468d
mov eax, dword [ebp + 0x14]
push eax
movzx eax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00463e38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4646b4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4646c0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4646f1
mov ecx, dword [0x477c74]
mov dl, 1
mov eax, dword [0x462c2c]
call fcn.0040c3d0
call fcn.004042ec
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x46471e
mov ecx, dword [0x477bfc]
mov dl, 1
mov eax, dword [0x462c2c]
call fcn.0040c3d0
call fcn.004042ec
xor eax, eax
push ebp
push 0x46479a
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403c8c
cmp byte [ebp + 8], 0
je 0x464776
mov eax, dword [ebp + 0x10]
push eax
movzx eax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00464520
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.0046435c
jmp 0x464790
mov eax, dword [ebp + 0x10]
push eax
movzx eax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00463e38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4647b7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46497c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00464100
xor eax, eax
push ebp
push 0x464aef
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x464ad9
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x4649c8
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4649d2
call fcn.00404398
jmp 0x464af6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00416868
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x464ace
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov edi, eax
cmp edi, 0xffffffff
jne 0x464a81
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x464a6e
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403c8c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.00464934
pop ecx
mov eax, dword [ebp - 4]
movzx edx, byte [0x464b04]
cmp dl, byte [eax + 0x28]
je 0x464ad5
call fcn.0040c2f4
jmp 0x464ad5
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00416888
jmp 0x464ad5
cmp edi, ebx
jge 0x464a9d
mov eax, dword [ebp - 0xc]
add eax, edi
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00416888
jmp 0x4649d2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00416868
cmp edx, dword [esp + 4]
jne 0x464abd
cmp eax, dword [esp]
pop edx
pop eax
jne 0x4649d2
push ebp
call fcn.00464934
pop ecx
jmp 0x464ad5
push ebp
call fcn.00464934
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464af6
mov eax, dword [ebp - 4]
call fcn.0046410c
ret
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x464b08
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x464c2a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00464100
xor eax, eax
push ebp
push 0x464c0d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x464b58
call fcn.00404398
jmp 0x464c14
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x464bf7
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x464bf7
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403c8c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x464bf7
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040badc
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x464c44
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x477d68]
mov dl, 1
mov eax, dword [0x462c2c]
call fcn.0040c40c
call fcn.004042ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464c14
mov eax, dword [ebp - 4]
call fcn.0046410c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464c31
lea eax, [ebp - 0x28]
call fcn.00404958
ret
Function at 0x464c90
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x464e01
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00464100
xor eax, eax
push ebp
push 0x464de4
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x464cf5
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x464cf5
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x464dce
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x464d08
call fcn.00404398
jmp 0x464deb
lea eax, [ebp - 0x10]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
test eax, eax
jne 0x464d2f
cmp dword [ebp - 0x10], 0
jle 0x464d2f
cmp ebx, dword [ebp - 0x10]
jle 0x464d2f
mov ebx, dword [ebp - 0x10]
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x464dce
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x464dce
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403c8c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x464dce
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.0040badc
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, 0x464e1c
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea eax, [ebp - 0x28]
push eax
push 2
mov ecx, dword [0x477d68]
mov dl, 1
mov eax, dword [0x462c2c]
call fcn.0040c40c
call fcn.004042ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464deb
mov eax, dword [ebp - 4]
call fcn.0046410c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464e08
lea eax, [ebp - 0x2c]
call fcn.00404958
ret
Function at 0x466bd8
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x466c4f
mov eax, dword [ebp - 4]
cmp byte [eax + 0xd], 1
jne 0x466c4f
mov dword [ebp - 0xc], 0x10000
mov dword [ebp - 0x10], 4
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x1002
push 0xffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_setsockopt
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x1001
push 0xffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_setsockopt
mov esp, ebp
pop ebp
ret

Function at 0x4682f8
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
mov ebx, ecx
test ebx, ebx
js 0x468310
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x468309
mov edx, esp
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp + 8], 0
jne 0x4683b9
cmp dword [ebp - 0x10], 0
jle 0x468348
mov ecx, 0x468484
mov dl, 1
mov eax, dword [0x407764]
call fcn.0040c314
call fcn.004042ec
jmp 0x4683af
mov eax, dword [ebp - 4]
cmp word [eax + 0xa3b], 0
jne 0x46836d
mov ecx, 0x468484
mov dl, 1
mov eax, dword [0x407764]
call fcn.0040c314
call fcn.004042ec
jmp 0x4683af
mov byte [ebp - 0x15], 0
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
lea edx, [ebp - 0x15]
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0xa3d]
call dword [ebx + 0xa39]
cmp byte [ebp - 0x15], 0
jne 0x4683ac
mov ecx, 0x468484
mov dl, 1
mov eax, dword [0x407764]
call fcn.0040c314
call fcn.004042ec
jmp 0x4683af
inc dword [ebp - 0x10]
cmp dword [ebp + 8], 0
je 0x46832a
mov eax, dword [ebp - 4]
mov byte [eax + 0x86a], 0
mov eax, dword [ebp - 4]
call fcn.00468134
mov eax, dword [ebp - 4]
cmp dword [eax + 0x845], 0
jne 0x4683ed
mov ecx, 0x46849c
mov dl, 1
mov eax, dword [0x467914]
call fcn.0040c314
call fcn.004042ec
mov ecx, 0x4684b8
mov dl, 2
mov eax, dword [ebp - 4]
call fcn.004686bc
mov eax, dword [ebp - 4]
mov word [eax + 0x841], 2
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x839]
push eax
call sub.wsock32.dll_htons
mov edx, dword [ebp - 4]
mov word [edx + 0x843], ax
mov dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
add eax, 0x841
push eax
push 0
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa45]
push eax
call sub.wsock32.dll_sendto
mov eax, dword [ebp - 4]
cmp word [eax + 0xa23], 0
je 0x46846e
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xa25]
call dword [ebx + 0xa21]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 4
Function at 0x4687f0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4688dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x10
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push 0x800
mov eax, dword [ebp - 4]
add eax, 0x30
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa45]
push eax
call sub.wsock32.dll_recvfrom
mov edx, dword [ebp - 4]
mov dword [edx + 0x831], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xa1b], 0
je 0x4688c7
lea eax, [ebp - 0xc]
push eax
xor eax, eax
mov al, byte [ebp - 0x1c]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
xor eax, eax
mov al, byte [ebp - 0x1b]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
xor eax, eax
mov al, byte [ebp - 0x1a]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
xor eax, eax
mov al, byte [ebp - 0x19]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
lea edx, [ebp - 0x40]
mov ecx, 3
mov eax, 0x4688f4
call fcn.00409794
mov ax, word [ebp - 0x1e]
push eax
call sub.wsock32.dll_ntohs
mov word [ebp - 0xe], ax
mov eax, dword [ebp - 0xc]
push eax
movzx eax, word [ebp - 0xe]
push eax
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x831]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xa1d]
call dword [ebx + 0xa19]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4688e4
lea eax, [ebp - 0xc]
call fcn.00404958
ret
Function at 0x40b2dd
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 0x40b321
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 0x40b2f0
jmp 0x40b321
movsx ecx, byte [edx + esi]
rol eax, 5
xor eax, ecx
imul eax, eax, 0x9e3779b9
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x40b311
pop esi
pop ebp
ret

Function at 0x40c0bb
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 0x40c0f0
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 0x40c11a
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x18]
jb 0x40c11a
test edi, edi
je 0x40c0e7
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40c0e7
test edi, edi
je 0x40c122
mov eax, edi
jmp 0x40c0e9
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x40c0e9
mov esi, 0xc3
push esi
push str.c:_builds_moz2_slave_autoland_w32_d_000000000000000_build_src_mfbt_Poison.cpp
push str.no_usable_poison_region_identified
call fcn.0040f546
add esp, 0xc
int3
Function at 0x40f57a
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.TestEnumSet.exe_gMozillaPoisonSize], eax
call fcn.0040c0bb
pop ecx
mov ecx, dword [sym.TestEnumSet.exe_gMozillaPoisonSize]
mov dword [sym.TestEnumSet.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40f5b2
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestEnumSet.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret
Function at 0x409f20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebp, esi
or al, 0x7f
aad 0x75
or byte [edi - 0x47], dl
sbb byte [eax], al
add byte [eax], al
xor eax, eax
test esi, edi
rep stosd dword es:[edi], eax
mov esi, dword [ebx - 0x462dccf0]
fild word [eax]
in eax, 0

Function at 0x40b750
Capabilities:
Terminate process

Disassembly:
jne 0x40b6fc
call 0xff620300
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
inc esp
push edi
xor edi, dword [edx + 0x1089448b]
or esi, esi
sub edx, dword [0xc245435]
neg eax
mul dword [edx]
fcomp qword [ecx + 0x244f8900]
das
mov dword [ebp + edi*4 - 0x5b], edx
mov ebp, dword [esi - 0x3ff456dc]
jge 0x40b716
adc byte [esp + 0x60], dl
neg eax
neg edx
dec esp
push 0
mov cl, 0x44
and al, 0x18
mov dword [esp + 0x14], edx
or eax, eax
movsd dword es:[edi], dword [esi]
sbb ecx, dword [ebx - 0x74fedbb4]
inc esp
and al, 0x10
xor edx, edx
div ecx
mov eax, dword [eax + edi*2 + 0xc]
div ecx
mov eax, edx
xor edx, edx
dec edi
jns 0x40b7f6
jmp 0x40b7fd
test dword [0x94cdd8f7], 0x85c35f00
adc byte [eax], al
int3
pop edi
ret
Function at 0x401750
Capabilities:
Terminate process

Disassembly:
adc byte [ebx], bl
adc dword [edx], edx
invalid
push ebp
mov ebp, esp
mov edi, dword [ebx]
or byte [ecx + 0x40c0c80d], bh
add byte [eax - 0x7d], dl
sar edi, 0x68
je 0x401735
inc eax
add byte [ecx - 1], dl
adc eax, 0xf940b380
push cs
add al, byte [ecx]
sub dword [esp + ecx - 0x7b], 0xffffffc0
les ecx, [edi]
push eax
push 0x40d259
call dword [0x8434c1f5]
add esp, 0x40
push 1
call dword [sym.imp.MSVCRT.dll_exit]
nop
push ebp
xor ebp, esp
xor dword [ebp + 0xb8], 0x416578a1
add byte [ebp + 0x404c35c0], al
inc ecx
add byte [esp + edx + 0x68], dh
inc eax
cmp al, 0x88
add byte [eax + 0x39], dl
sahf
inc eax
add byte [eax], al
mov bh, 0x8e
mov eax, dword [0x410274]
push esp
adc al, 0x8b
adc eax, 0x414000
push edx
push eax
call fcn.00405850
mov cx, word [0x41a99d]
dec byte [eax]
sbb byte [ecx], al
mov eax, dword [0x410288]
cwde
push esi
mov edi, eax
clc

Function at 0x411ab0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0xb000]
push edi
or ebp, 0xffffffff
jmp 0x411ad2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x411ad9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x411ac8
mov eax, 1
add ebx, ebx
jne 0x411aeb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x411ae0
jne 0x411afc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x411ae0
xor ecx, ecx
sub eax, 3
jb 0x411b10
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x411b82
mov ebp, eax
add ebx, ebx
jne 0x411b1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x411b28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x411b4c
inc ecx
add ebx, ebx
jne 0x411b38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x411b2d
jne 0x411b49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x411b2d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x411b6c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x411b5d
jmp 0x411ace
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x411b6c
add edi, ecx
jmp 0x411ace
pop esi
mov edi, esi
mov ecx, 0x203
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x411b8a
cmp byte [edi], 0xa
jne 0x411b8a
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 eax, ebx
loop 0x411b8f
lea edi, [esi + 0xf000]
mov eax, dword [edi]
or eax, eax
je 0x411bfe
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x113a4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x11408]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x411bbc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1140c]
or eax, eax
je 0x411bf8
mov dword [ebx], eax
add ebx, 4
jmp 0x411bd9
call dword [esi + 0x11410]
popal
jmp 0x403ae7
Function at 0x438ca0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x438a14
sub edi, esi
mov edi, 0x527f3078
or esi, edi
call fcn.00438ce3
sub edi, esi
xor dword [ebx], ecx
sub esp, 4
mov dword [esp], 0x830d3b63
pop esi
add ebx, 1
sub edi, 0x90747c27
sub esi, 0xfe715e1c
cmp ebx, eax
jne fcn.00438ca0
or esi, esi
sub esi, edi
ret
Function at 0x8a5058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.008a51a8
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 0x8a507e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8a506a
add dl, dl
jne 0x8a5089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8a50dc
xor eax, eax
add dl, dl
jne 0x8a5096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8a517d
add dl, dl
jne 0x8a50a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8a50b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8a50bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8a50c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8a50d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x8a5075
mov eax, 1
add dl, dl
jne 0x8a50ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8a50f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8a50e1
sub eax, ebx
mov ebx, 1
jne 0x8a5128
mov ecx, 1
add dl, dl
jne 0x8a510e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8a5119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8a5105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8a5075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x8a513f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8a514a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8a5136
cmp eax, 0x7d00
jae 0x8a516d
cmp eax, 0x500
jb 0x8a5168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8a5075
cmp eax, 0x7f
ja 0x8a5170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8a5075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x8a519e
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 0x8a5075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10