joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437720
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov edi, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
test edi, edi
je 0x43790a
test esi, esi
je 0x43790a
test ecx, ecx
je 0x437810
cmp byte [esi + ecx - 1], 0
jne 0x437810
mov dword [esp + 0x20], ecx
mov dword [esp + 4], str._____BEGIN_CERTIFICATE_____
mov dword [esp], esi
call sub.msvcrt.dll_strstr
test eax, eax
mov ecx, dword [esp + 0x20]
je 0x437810
cmp ecx, 1
je 0x437900
mov dword [esp + 0x24], 0
xor eax, eax
mov dword [esp + 0x20], 0
lea ebp, [esp + 0x34]
mov ebx, eax
mov dword [esp + 0x28], edi
mov edi, ecx
mov dword [esp], ebp
call fcn.0044a090
lea eax, [esp + 0x30]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], str._____END_CERTIFICATE_____
mov dword [esp + 4], str._____BEGIN_CERTIFICATE_____
mov dword [esp], ebp
call fcn.0044a0c0
test eax, eax
je 0x437840
cmp eax, 0xffffeb80
je 0x437805
cmp eax, 0xffffef80
jne 0x4378d0
mov eax, ebx
mov edx, dword [esp + 0x20]
test edx, edx
jne 0x4378f0
test ebx, ebx
je 0x437900
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 1
mov edx, esi
mov eax, edi
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00436580
mov eax, dword [esp + 0x30]
sub edi, eax
add esi, eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 1
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
call fcn.00436580
mov dword [esp + 0x2c], eax
mov dword [esp], ebp
call fcn.0044a5d0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4378b0
cmp eax, 0xffffd780
je 0x437805
test ebx, ebx
jne 0x4378a0
mov ebx, eax
lea esi, [esi]
lea esi, [esi]
inc dword [esp + 0x24]
jmp 0x4378b8
mov dword [esp + 0x20], 1
cmp edi, 1
ja 0x43779d
jmp 0x4377ef
mov dword [esp + 0x2c], eax
mov dword [esp], ebp
call fcn.0044a5d0
mov edx, dword [esp + 0x30]
sub edi, edx
add esi, edx
test ebx, ebx
jne 0x4378a0
mov ebx, dword [esp + 0x2c]
jmp 0x4378a0
mov eax, dword [esp + 0x24]
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0xffffd880
jmp 0x437805
mov eax, 0xffffd800
jmp 0x437805
Function at 0x440340
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov esi, dword [esp + 0x28]
mov byte [esp + 0xf], 0
test esi, esi
je 0x440377
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
add esi, edx
lea esi, [esi]
mov al, byte [edx]
movzx edi, byte [ecx]
mov bl, byte [esp + 0xf]
xor eax, edi
or eax, ebx
mov byte [esp + 0xf], al
inc edx
inc ecx
cmp edx, esi
jne 0x440360
mov al, byte [esp + 0xf]
and eax, 0xff
add esp, 0x10
pop ebx
pop esi
pop edi
ret

Function at 0x440a40
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
cmp ebx, ebp
je 0x440b01
mov eax, dword [ebp + 4]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0043adc0
test eax, eax
je 0x440a80
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 4]
mov dword [esp + 4], eax
mov dword [esp], ebp
call fcn.0043adc0
test eax, eax
jne 0x440a6e
mov eax, dword [ebx]
inc eax
and esi, 0xff
lea ecx, [esi + esi]
mov edi, dword [ebp]
lea edx, [edi + 1]
xor edx, eax
and edx, ecx
xor edx, eax
dec edx
mov dword [ebx], edx
mov edi, dword [ebp]
lea edx, [edi + 1]
xor eax, edx
and eax, ecx
xor eax, edx
dec eax
mov dword [ebp], eax
mov eax, dword [ebx + 4]
test eax, eax
je 0x440b01
mov eax, esi
neg eax
or esi, eax
sar esi, 0x1f
mov edi, dword [ebx + 8]
mov ecx, dword [ebp + 8]
xor edx, edx
lea esi, [esi]
lea esi, [esi]
mov eax, dword [edi + edx*4]
mov ebp, dword [ecx + edx*4]
xor ebp, eax
and ebp, esi
xor ebp, eax
mov dword [edi + edx*4], ebp
mov ebp, dword [ecx + edx*4]
xor eax, ebp
and eax, esi
xor eax, ebp
mov dword [ecx + edx*4], eax
inc edx
cmp edx, dword [ebx + 4]
jb 0x440ae0
xor eax, eax
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x440b10
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x10
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 4]
cmp dword [ebx + 4], eax
jne 0x440bf3
mov eax, dword [ebx]
sar eax, 1
mov esi, eax
and esi, 1
mov dword [esp + 8], esi
mov ecx, dword [edx]
sar ecx, 1
xor ecx, eax
mov eax, ecx
and eax, 1
and ecx, esi
mov edi, dword [esp + 0x2c]
mov dword [edi], ecx
mov esi, dword [ebx + 4]
test esi, esi
je 0x440be9
mov edi, dword [ebx + 8]
mov ebp, dword [edx + 8]
mov edx, 1
mov ebx, dword [esp + 8]
sub edx, ebx
mov dword [esp + 0xc], edx
mov dword [esp], edi
mov edi, eax
mov eax, dword [esp]
mov edx, dword [eax + esi*4 - 4]
mov eax, dword [ebp + esi*4 - 4]
mov ebx, eax
sub ebx, edx
xor eax, edx
xor edx, ebx
and eax, edx
xor eax, ebx
shr eax, 0x1f
mov ebx, 1
mov edx, edi
sub ebx, edi
mov edi, dword [esp + 8]
and ebx, edi
and ebx, eax
or ebx, ecx
mov edi, dword [esp + 0x2c]
mov dword [edi], ebx
or edx, eax
mov edi, edx
mov ecx, dword [ebp + esi*4 - 4]
mov eax, dword [esp]
mov edx, dword [eax + esi*4 - 4]
mov eax, edx
sub eax, ecx
xor edx, ecx
xor ecx, eax
and edx, ecx
xor edx, eax
mov eax, edx
shr eax, 0x1f
mov ecx, 1
mov dword [esp + 4], edi
sub ecx, edi
mov edx, dword [esp + 0xc]
and edx, eax
and ecx, edx
or ecx, ebx
mov edi, dword [esp + 0x2c]
mov dword [edi], ecx
mov edx, dword [esp + 4]
or edx, eax
mov edi, edx
dec esi
jne 0x440b70
xor eax, eax
add esp, 0x10
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0xfffffffc
jmp 0x440beb
Function at 0x445290
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
mov ebp, dword [esp + 0x54]
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.004451c0
test eax, eax
je 0x4452d0
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.00444dc0
test eax, eax
jne 0x4452c7
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x445320
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x445330
mov dword [esp + 0x48], ebp
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], edi
mov ecx, esi
mov edx, dword [esp + 0x18]
mov eax, ebx
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.004437f0
mov eax, 0xffffb080
jmp 0x4452c7
mov dword [esp + 8], ebp
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
mov dword [esp], edi
mov ecx, esi
mov edx, dword [esp + 0x18]
mov eax, ebx
call fcn.00442270
test eax, eax
jne 0x4452c7
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x4452c7
mov edx, dword [ebx + 0x3c]
test edx, edx
jne 0x4452ee
jmp 0x4452c7
Function at 0x447cc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x6c]
mov ebp, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x78]
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x68]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00447720
test eax, eax
je 0x447d30
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], ebp
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.004479a0
test eax, eax
jne 0x447d1b
mov eax, dword [esp + 0x28]
mov dword [esp + 0x58], eax
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], ebx
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00447b40

Function at 0x447d70
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], ebp
call fcn.00447720
mov edx, eax
test eax, eax
je 0x447dd0
mov eax, edx
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x74]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
mov dword [esp], ebp
call fcn.004479a0
mov edx, eax
test eax, eax
jne 0x447db9
mov dword [esp + 8], ebx
lea edi, [esp + 0x20]
mov dword [esp + 4], edi
mov dword [esp], ebp
call fcn.00447b40
mov edx, eax
test eax, eax
jne 0x447db9
test ebx, ebx
je 0x447db9
xor ecx, ecx
lea esi, [esi]
lea esi, [esi]
mov al, byte [esi + ecx]
xor al, byte [edi + ecx]
and eax, 0xff
or edx, eax
inc ecx
cmp ebx, ecx
jne 0x447e20
test edx, edx
je 0x447db9
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.0042b3a0
mov edx, 0xffffffee
jmp 0x447db9
Function at 0x448270
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0x1c
mov edx, dword [esp + 0x20]
test edx, edx
je 0x4482d0
mov eax, dword [edx]
test eax, eax
je 0x4482d0
mov eax, dword [eax + 4]
cmp eax, 5
je 0x4482f0
ja 0x4482b0
cmp eax, 3
je 0x4482e0
cmp eax, 4
jne 0x4482d0
mov eax, dword [edx + 4]
mov dword [esp + 0x20], eax
add esp, 0x1c
jmp 0x44fdb0
cmp eax, 6
jne 0x4482d0
mov dword [esp + 4], 0
mov eax, dword [edx + 4]
mov dword [esp], eax
call fcn.0042b440
add esp, 0x1c
ret
mov eax, 0xffffaf00
add esp, 0x1c
ret
mov eax, dword [edx + 4]
mov dword [esp + 0x20], eax
add esp, 0x1c
jmp fcn.00448aa0
mov dword [esp + 4], 1
mov eax, dword [edx + 4]
mov dword [esp], eax
call fcn.0042b440
add esp, 0x1c
ret
mov eax, dword [esp + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
xor eax, eax
ret

Function at 0x448420
Capabilities:
Hash data using sha1

Disassembly:
push ebx
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test eax, eax
je 0x448480
mov eax, dword [eax + 4]
cmp eax, 5
je 0x4484b0
ja 0x448460
cmp eax, 3
je 0x448490
cmp eax, 4
jne 0x448480
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
pop ebx
jmp 0x451440
cmp eax, 6
jne 0x448480
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
pop ebx
jmp fcn.0042c6f0
mov eax, 0xffffaf00
pop ebx
ret
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
pop ebx
jmp 0x449650
mov dword [esp + 0x14], 1
jmp 0x44846d
push edi
push esi
sub esp, 0x84
lea esi, [esp + 0x28]
mov ecx, 0x16
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov dword [esp + 0x30], 0x67452301
mov dword [esp + 0x34], 0xefcdab89
mov dword [esp + 0x38], 0x98badcfe
mov dword [esp + 0x3c], 0x10325476
mov eax, dword [esp + 0x94]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.004492e0
test eax, eax
jne 0x4496bc
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.004494d0
mov dword [esp + 0x1c], eax
mov dword [esp + 4], 0x58
mov dword [esp], esi
call fcn.0042b3a0
mov eax, dword [esp + 0x1c]
add esp, 0x84
pop esi
pop edi
ret
push edi
push esi
sub esp, 0x84
lea esi, [esp + 0x24]
mov ecx, 0x17
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov dword [esp + 0x2c], 0x67452301
mov dword [esp + 0x30], 0xefcdab89
mov dword [esp + 0x34], 0x98badcfe
mov dword [esp + 0x38], 0x10325476
mov dword [esp + 0x3c], 0xc3d2e1f0
mov eax, dword [esp + 0x94]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.004510a0
test eax, eax
jne 0x4514b4
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00451290
mov dword [esp + 0x1c], eax
mov dword [esp + 4], 0x5c
mov dword [esp], esi
call fcn.0042b3a0
mov eax, dword [esp + 0x1c]
add esp, 0x84
pop esi
pop edi
ret
Function at 0x4484c0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
test ebp, ebp
je 0x4486b5
mov eax, dword [ebp]
test eax, eax
je 0x4486b5
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x4486b5
xor ecx, ecx
mov cl, byte [eax + 9]
cmp ecx, dword [esp + 0x68]
jb 0x4485a0
lea edi, [esp + 0x20]
mov dword [esp + 0x1c], edi
lea edx, [ebx + ecx]
cmp ecx, 4
jae 0x4485e0
test ecx, ecx
jne 0x448660
xor ecx, ecx
mov cl, byte [eax + 9]
cmp ecx, 4
jae 0x448615
test ecx, ecx
jne 0x448640
xor eax, eax
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x448551
mov edi, edx
mov ecx, dword [esp + 0x68]
nop
mov dl, byte [esi + eax]
xor byte [ebx + eax], dl
mov dl, byte [esi + eax]
xor byte [edi + eax], dl
inc eax
cmp ecx, eax
jne 0x448540
mov dword [esp], ebp
call fcn.00448270
test eax, eax
jne 0x448577
mov eax, dword [ebp]
xor ecx, ecx
mov cl, byte [eax + 9]
mov eax, ecx
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], ebp
call fcn.00448310
mov dword [esp + 0x18], eax
mov dword [esp + 4], 0x20
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.0042b3a0
mov eax, dword [esp + 0x18]
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebp
call fcn.00448270
test eax, eax
jne 0x4485c8
mov eax, dword [esp + 0x68]
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], ebp
call fcn.00448310
test eax, eax
je 0x448680
lea edi, [esp + 0x20]
mov dword [esp + 0x1c], edi
jmp 0x448577
mov dword [ebx], 0x36363636
mov dword [ebx + ecx - 4], 0x36363636
lea edi, [ebx + 4]
and edi, 0xfffffffc
mov eax, ebx
sub eax, edi
add ecx, eax
shr ecx, 2
mov eax, 0x36363636
rep stosd dword es:[edi], eax
mov eax, dword [ebp]
xor ecx, ecx
mov cl, byte [eax + 9]
cmp ecx, 4
jb 0x448526
mov dword [edx], 0x5c5c5c5c
mov dword [edx + ecx - 4], 0x5c5c5c5c
lea edi, [edx + 4]
and edi, 0xfffffffc
mov eax, edx
sub eax, edi
add ecx, eax
shr ecx, 2
mov eax, 0x5c5c5c5c
rep stosd dword es:[edi], eax
jmp 0x44852e
mov byte [edx], 0x5c
test cl, 2
je 0x44852e
mov word [edx + ecx - 2], 0x5c5c
jmp 0x44852e
mov byte [ebx], 0x36
test cl, 2
je 0x448604
mov word [ebx + ecx - 2], 0x3636
mov eax, dword [ebp]
jmp 0x448518
lea esi, [esp + 0x20]
mov dword [esp + 0x1c], esi
mov dword [esp + 4], esi
mov dword [esp], ebp
call fcn.004483a0
test eax, eax
jne 0x448577
mov eax, dword [ebp]
xor ebx, ebx
mov bl, byte [eax + 8]
mov dword [esp + 0x68], ebx
xor ecx, ecx
mov cl, byte [eax + 9]
mov ebx, dword [ebp + 8]
jmp 0x448504
mov eax, 0xffffaf00
jmp 0x448593

Function at 0x448aa0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
xor eax, eax
ret
Function at 0x4498f0
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov edi, dword [esp + 0x20]
test edi, edi
je 0x449950
mov esi, dword [edi + 4]
mov eax, 0x46c29c
mov ebx, 0x46c760
jmp 0x449919
add ebx, 0x18
mov eax, dword [ebx]
test eax, eax
je 0x449950
cmp dword [ebx + 4], esi
jne 0x449910
mov dword [esp + 8], esi
mov edx, dword [edi + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x449910
mov ecx, dword [ebx + 0x10]
mov edx, dword [esp + 0x24]
mov dword [edx], ecx
mov ecx, dword [ebx + 0x14]
mov edx, dword [esp + 0x28]
mov dword [edx], ecx
add esp, 0x10
pop ebx
pop esi
pop edi
ret
mov eax, 0xffffffd2
add esp, 0x10
pop ebx
pop esi
pop edi
ret

Function at 0x4499c0
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov edi, dword [esp + 0x20]
test edi, edi
je 0x449a20
mov esi, dword [edi + 4]
mov eax, 0x46c2a6
mov ebx, 0x46c5a0
jmp 0x4499e9
add ebx, 0x14
mov eax, dword [ebx]
test eax, eax
je 0x449a20
cmp dword [ebx + 4], esi
jne 0x4499e0
mov dword [esp + 8], esi
mov edx, dword [edi + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x4499e0
mov ecx, dword [ebx + 0x10]
mov edx, dword [esp + 0x24]
mov dword [edx], ecx
add esp, 0x10
pop ebx
pop esi
pop edi
ret
mov eax, 0xffffffd2
add esp, 0x10
pop ebx
pop esi
pop edi
ret
Function at 0x453456
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov edi, eax
mov ecx, dword [0x471484]
mov eax, dword [0x471488]
add eax, 0xc
xor ebx, ebx
cmp ecx, ebx
jle 0x45348f
mov edx, dword [eax]
cmp edi, edx
jb 0x453489
mov esi, dword [eax + 4]
add edx, dword [esi + 8]
cmp edi, edx
jb 0x45357c
inc ebx
add eax, 0x14
jmp 0x453471
mov dword [esp], edi
call fcn.00453c63
mov esi, eax
test eax, eax
jne 0x4534ad
mov dword [esp + 4], edi
mov dword [esp], str.Address__p_has_no_image_section
jmp 0x453571
imul ebx, ebx, 0x14
mov eax, dword [0x471488]
add eax, ebx
mov dword [eax + 0x10], esi
xor edx, edx
mov dword [eax], edx
call fcn.00453d13
add eax, dword [esi + 0xc]
mov edx, dword [0x471488]
mov dword [edx + ebx + 0xc], eax
mov dword [esp + 8], 0x1c
lea edx, [ebp - 0x34]
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
jne 0x45350f
mov eax, dword [0x471488]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [esi + 8]
mov dword [esp + 4], eax
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.0045340c
mov eax, dword [ebp - 0x20]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x453576
lea edx, [eax - 4]
and edx, 0xfffffffb
je 0x453576
cmp eax, 2
setne al
movzx eax, al
dec eax
and eax, 0xffffffc4
add eax, 0x40
add ebx, dword [0x471488]
mov edx, dword [ebp - 0x34]
mov dword [ebx + 4], edx
mov ecx, dword [ebp - 0x28]
mov dword [ebx + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x453576
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 4], eax
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
call fcn.0045340c
inc dword [0x471484]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x453b88
Capabilities:
Parse pe header

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

Function at 0x453bb1
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add edx, dword [edx + 0x3c]
movzx eax, word [edx + 0x14]
lea eax, [edx + eax + 0x18]
movzx esi, word [edx + 6]
xor ebx, ebx
cmp ebx, esi
jae 0x453be5
mov edx, dword [eax + 0xc]
cmp ecx, edx
jb 0x453bdf
add edx, dword [eax + 8]
cmp ecx, edx
jb 0x453be7
inc ebx
add eax, 0x28
jmp 0x453bcd
xor eax, eax
pop ebx
pop esi
pop ebp
ret
Function at 0x402461
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 4, 0
mov esi, eax
lea edx, [eax - 1]
mov ebx, eax
and edx, dword [0x404050]
mov eax, 0x404054
call fcn.0040238b
lea edx, [ebp - 4]
push edx
mov edx, esi
or dl, 0x40
mov edi, 0x402f8b
push edx
sub edi, fcn.00402735
push edi
xor eax, eax
push fcn.00402735
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp - 4], 0
je 0x4024cc
mov eax, fcn.00402735
mov ebx, esi
mov edx, edi
call fcn.0040238b
mov edx, 0x1c000
mov eax, 0x404054
mov ebx, esi
call fcn.004024ff
leave
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret

Function at 0x40894a
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x4085d8
call fcn.0040897d
sub ebx, ebx
push 0xff111c6b
pop edx
xor dword [eax], ecx
inc edx
or ebx, edx
inc eax
dec edx
cmp eax, edi
jne fcn.0040894a
add ebx, 0x765ec1ca
sub ebx, edx
ret
Function at 0x4013c5
Capabilities:
Encode data using xor

Disassembly:
jmp 0x4159d0
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x415b7a
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
sub byte [esi + ebx], 0x26
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 7
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
xor byte [esi + ebx], 0x40
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x56
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x10
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
add esp, 0x44
push eax
call fcn.0040616d
add byte [esi + ebx], 0x40
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xae
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x7c
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x93
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xad
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xb9
add esp, 0x40
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x29
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
xor byte [esi + ebx], 0x44
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x9b
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x6d
add esp, 0x30
inc esi
cmp esi, edi
jb 0x4159f0
pop ebx
pop edi
pop esi
ret

Function at 0x4035f3
Capabilities:
Terminate process

Disassembly:
jmp 0x453df9
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x453e0a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405948
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40371f
Capabilities:
Query environment variable

Disassembly:
jmp 0x49c842
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49c853
pop esi
ret
push ebx
push edi
push esi
call fcn.0049c729
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fe4
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49c87b
push ebx
push esi
push edi
call fcn.0040572c
add esp, 0xc
push 0
call fcn.004062b2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret