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

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x4c
mov eax, dword [ebp + 8]
cdq
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
jmp 0x66416c73
jmp 0x66416d50
jmp 0x66416e2d
jmp 0x66416f0a
jmp 0x66416fe7
jmp 0x664170c4
jmp 0x664171a1
jmp 0x6641727e
jmp 0x6641735b
jmp 0x66417438
jmp 0x66417515
jmp 0x664175f2
jmp 0x664176cf
jmp 0x664177ac
jmp 0x66417889
jmp 0x66417966
jmp 0x66417a43
jmp 0x66417b20
jmp 0x66417bfd
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
jmp 0x66417ce0
jmp 0x66417dbd
jmp 0x66417e9a
jmp 0x66417f77
jmp 0x66418054
jmp 0x66418131
jmp 0x6641820e
jmp 0x664182eb
jmp 0x664183c8
jmp 0x664184a5
jmp 0x66418582
jmp 0x6641865f
jmp 0x6641873c
jmp 0x66418819
jmp 0x664188f6
jmp 0x664189d3
jmp 0x66418ab0
jmp 0x66418b8d
jmp 0x66418c6a
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x3c]
mov ecx, eax
mov ebx, eax
sar ebx, 0x1f
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, ecx
adc edx, ebx
mov dword [ebp - 0x20], eax
jmp 0x66418d61
jmp 0x66418e3e
jmp 0x66418f1b
jmp 0x66418ff8
jmp 0x664190d5
jmp 0x664191b2
jmp 0x6641928f
jmp 0x6641936c
jmp 0x66419449
jmp 0x66419526
jmp 0x66419603
jmp 0x664196e0
jmp 0x664197bd
jmp 0x6641989a
jmp 0x66419977
jmp 0x66419a54
jmp 0x66419b31
jmp 0x66419c0e
jmp 0x66419ceb
mov eax, dword [ebp - 0x20]
add eax, 0x78
mov dword [ebp - 0x24], eax
jmp 0x66419dd1
jmp 0x66419eae
jmp 0x66419f8b
jmp 0x6641a068
jmp 0x6641a145
jmp 0x6641a222
jmp 0x6641a2ff
jmp 0x6641a3dc
jmp 0x6641a4b9
jmp 0x6641a596
jmp 0x6641a673
jmp 0x6641a750
jmp 0x6641a82d
jmp 0x6641a90a
jmp 0x6641a9e7
jmp 0x6641aac4
jmp 0x6641aba1
jmp 0x6641ac7e
jmp 0x6641ad5b
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, eax
mov ebx, 0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, ecx
adc edx, ebx
mov dword [ebp - 0x28], eax
jmp 0x6641ae51
jmp 0x6641af2e
jmp 0x6641b00b
jmp 0x6641b0e8
jmp 0x6641b1c5
jmp 0x6641b2a2
jmp 0x6641b37f
jmp 0x6641b45c
jmp 0x6641b539
jmp 0x6641b616
jmp 0x6641b6f3
jmp 0x6641b7d0
jmp 0x6641b8ad
jmp 0x6641b98a
jmp 0x6641ba67
jmp 0x6641bb44
jmp 0x6641bc21
jmp 0x6641bcfe
jmp 0x6641bddb
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1c]
mov ecx, eax
mov ebx, 0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, ecx
adc edx, ebx
mov dword [ebp - 0x2c], eax
jmp 0x6641bed2
jmp 0x6641bfaf
jmp 0x6641c08c
jmp 0x6641c169
jmp 0x6641c246
jmp 0x6641c323
jmp 0x6641c400
jmp 0x6641c4dd
jmp 0x6641c5ba
jmp 0x6641c697
jmp 0x6641c774
jmp 0x6641c851
jmp 0x6641c92e
jmp 0x6641ca0b
jmp 0x6641cae8
jmp 0x6641cbc5
jmp 0x6641cca2
jmp 0x6641cd7f
jmp 0x6641ce5c
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x20]
mov ecx, eax
mov ebx, 0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, ecx
adc edx, ebx
mov dword [ebp - 0x30], eax
jmp 0x6641cf53
jmp 0x6641d030
jmp 0x6641d10d
jmp 0x6641d1ea
jmp 0x6641d2c7
jmp 0x6641d3a4
jmp 0x6641d481
jmp 0x6641d55e
jmp 0x6641d63b
jmp 0x6641d718
jmp 0x6641d7f5
jmp 0x6641d8d2
jmp 0x6641d9af
jmp 0x6641da8c
jmp 0x6641db69
Function at 0x6644633a
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x66c5f018]
movzx eax, word [eax + 0x14]
movzx eax, ax
mov edx, dword [0x66c5f018]
add eax, edx
add eax, 0x18
mov dword [ebp - 0xc], eax
jmp 0x66446437
jmp 0x66446514
jmp 0x664465f1
jmp 0x664466ce
jmp 0x664467ab
jmp 0x66446888
jmp 0x66446965
jmp 0x66446a42
jmp 0x66446b1f
jmp 0x66446bfc
jmp 0x66446cd9
jmp 0x66446db6
jmp 0x66446e93
jmp 0x66446f70
jmp 0x6644704d
jmp 0x6644712a
jmp 0x66447207
jmp 0x664472e4
jmp 0x664473c1
mov dword [ebp - 0x14], 0
jmp 0x664474a5
jmp 0x66447582
jmp 0x6644765f
jmp 0x6644773c
jmp 0x66447819
jmp 0x664478f6
jmp 0x664479d3
jmp 0x66447ab0
jmp 0x66447b8d
jmp 0x66447c6a
jmp 0x66447d47
jmp 0x66447e24
jmp 0x66447f01
jmp 0x66447fde
jmp 0x664480bb
jmp 0x66448198
jmp 0x66448275
jmp 0x66448352
jmp 0x6644842f
mov dword [ebp - 0x18], 0
jmp 0x66448513
jmp 0x664485f0
jmp 0x664486cd
jmp 0x664487aa
jmp 0x66448887
jmp 0x66448964
jmp 0x66448a41
jmp 0x66448b1e
jmp 0x66448bfb
jmp 0x66448cd8
jmp 0x66448db5
jmp 0x66448e92
jmp 0x66448f6f
jmp 0x6644904c
jmp 0x66449129
jmp 0x66449206
jmp 0x664492e3
jmp 0x664493c0
jmp 0x6644949d
mov dword [ebp - 0x10], 0
jmp 0x66449581
jmp 0x6644965e
jmp 0x6644973b
jmp 0x66449818
jmp 0x664498f5
jmp 0x664499d2
jmp 0x66449aaf
jmp 0x66449b8c
jmp 0x66449c69
jmp 0x66449d46
jmp 0x66449e23
jmp 0x66449f00
jmp 0x66449fdd
jmp 0x6644a0ba
jmp 0x6644a197
jmp 0x6644a274
jmp 0x6644a351
jmp 0x6644a42e
jmp 0x6644a50b
mov dword [ebp - 0x10], 0
jmp 0x6644f762
jmp 0x6644a5f4
jmp 0x6644a6d1
jmp 0x6644a7ae
jmp 0x6644a88b
jmp 0x6644a968
jmp 0x6644aa45
jmp 0x6644ab22
jmp 0x6644abff
jmp 0x6644acdc
jmp 0x6644adb9
jmp 0x6644ae96
jmp 0x6644af73
jmp 0x6644b050
jmp 0x6644b12d
jmp 0x6644b20a
jmp 0x6644b2e7
jmp 0x6644b3c4
jmp 0x6644b4a1
jmp 0x6644b57e
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [0x66c5f014]
add eax, edx
mov dword [ebp - 0x14], eax
jmp 0x6644b66c
jmp 0x6644b749
jmp 0x6644b826
jmp 0x6644b903
jmp 0x6644b9e0
jmp 0x6644babd
jmp 0x6644bb9a
jmp 0x6644bc77
jmp 0x6644bd54
jmp 0x6644be31
jmp 0x6644bf0e
jmp 0x6644bfeb
jmp 0x6644c0c8
jmp 0x6644c1a5
jmp 0x6644c282
jmp 0x6644c35f
jmp 0x6644c43c
jmp 0x6644c519
jmp 0x6644c5f6
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
mov edx, dword [0x66c5f01c]
add eax, edx
mov dword [ebp - 0x18], eax
jmp 0x6644c6e4
jmp 0x6644c7c1
jmp 0x6644c89e
jmp 0x6644c97b
jmp 0x6644ca58
jmp 0x6644cb35
jmp 0x6644cc12
jmp 0x6644ccef
jmp 0x6644cdcc
jmp 0x6644cea9
jmp 0x6644cf86
jmp 0x6644d063
jmp fcn.6644d140
mov eax, dword [0x66c5f018]
movzx eax, word [eax + 6]
movzx eax, ax
cmp eax, dword [ebp - 0x10]
ja 0x6644a517
nop
leave
ret
Function at 0x413797
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xf4
mov eax, 0x43796d
call fcn.00433ea9
mov ebx, ecx
cmp dword [ebx], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x44], eax
jne 0x4137bd
xor al, al
jmp 0x4138a7
and dword [ebp - 0x48], 0
push 0x802
mov dword [ebp - 0x4c], 0x400
call fcn.0041d46f
mov dword [esp], 0x802
mov edi, eax
push 0
push edi
call dword [sym.imp.MSVCR110.dll_memset]
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x4137f1
mov eax, dword [esi]
jmp 0x4137f3
mov eax, esi
lea ecx, [ebp - 0x4c]
push ecx
push edi
lea ecx, [ebp - 0x48]
push ecx
push 0
push eax
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cdq
test eax, eax
jne 0x413880
test edx, edx
jne 0x413880
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x48], 4
jne 0x413875
mov esi, dword [edi]
push ecx
push ecx
lea ecx, [ebp - 0x100]
call fcn.00413998
and dword [ebp - 4], 0
push esi
lea ecx, [ebp - 0xf0]
call dword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int_]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x100]
call fcn.00413a46
mov ecx, dword [ebp - 0x44]
push eax
call fcn.00407ea1
push 0
push ebx
lea ecx, [ebp - 0x28]
call fcn.00406ccf
lea ecx, [ebp - 0x98]
call fcn.00413a16
lea ecx, [ebp - 0x98]
call dword [sym.imp.MSVCP110.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
jmp 0x41389d
mov ecx, dword [ebp - 0x44]
push edi
call fcn.00408f3e
jmp 0x41389d
push esi
mov edx, str.Query_registry_value_with_key:
lea ecx, [ebp - 0x40]
call fcn.00410b18
pop ecx
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00406ccf
xor bl, bl
push edi
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void__]
pop ecx
mov al, bl
call fcn.00433e58
ret 8

Function at 0x419260
Capabilities:
Read file on windows

Disassembly:
cmp dword [esi + 0x3c], 0
jne 0x4192b6
cmp dword [esi + 4], 0
jne 0x4192bf
call dword [sym.imp.MSVCR110.dll__errno]
mov dword [eax], 0
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
push eax
push 0x4000
push 1
push ecx
call dword [sym.imp.MSVCR110.dll_fread]
add esp, 0x10
test eax, eax
mov dword [esi + 4], eax
jne 0x4192ba
mov edx, dword [esi + 0x40]
push edx
mov dword [esi + 0x3c], 1
call dword [sym.imp.MSVCR110.dll_ferror]
add esp, 4
test eax, eax
je 0x4192b6
mov dword [esi + 0x38], 0xffffffff
or eax, 0xffffffff
ret
mov eax, dword [esi + 0x44]
mov dword [esi], eax
mov eax, dword [esi]
add dword [esi + 4], 0xffffffff
mov cl, byte [eax]
add eax, 1
mov dword [esi], eax
movzx eax, cl
ret
Function at 0x14037810
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x140379d4
pushal
mov esi, section.UPX1
lea edi, [esi - 0x27000]
push edi
or ebp, 0xffffffff
jmp 0x1403783a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x14037841
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x14037830
mov eax, 1
add ebx, ebx
jne 0x14037853
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x14037848
jne 0x14037864
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x14037848
xor ecx, ecx
sub eax, 3
jb 0x14037878
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x140378ea
mov ebp, eax
add ebx, ebx
jne 0x14037883
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x14037890
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x140378b4
inc ecx
add ebx, ebx
jne 0x140378a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x14037895
jne 0x140378b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x14037895
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x140378d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x140378c5
jmp 0x14037836
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x140378d4
add edi, ecx
jmp 0x14037836
pop esi
mov edi, esi
mov ecx, 0x1d70
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x140378f2
cmp byte [edi], 6
jne 0x140378f2
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 0x140378f7
lea edi, [esi + 0x33000]
mov eax, dword [edi]
or eax, eax
je 0x14037966
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x370f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x371fc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x14037924
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x37200]
or eax, eax
je 0x14037960
mov dword [ebx], eax
add ebx, 4
jmp 0x14037941
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x14037997
cmp al, 0xef
ja 0x1403798a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1403796c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x14037979
mov ebp, dword [esi + 0x37204]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x140379cb
sub esp, 0xffffff80
jmp fcn.1402a2e8
Function at 0x407180
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

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

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x23064483
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x18174afa
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x40afe0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
mov dword [ebp - 0x20], ebx
cmp byte [ebx + 0x47], 0
je 0x40b174
movaps xmm5, xmmword [0x48f610]
lea ecx, [ebx + 8]
movaps xmm6, xmmword [0x48f640]
mov edx, 0x7e
movups xmm4, xmmword [0x48f6d0]
mov dword [ebp - 8], ecx
sub edx, ebx
push esi
mov ecx, 0x7c
mov dword [ebp - 4], 0x77
sub ecx, ebx
mov dword [ebp - 0x14], edx
push edi
mov dword [ebp - 0xc], ecx
mov edi, 0x7b
sub edi, ebx
mov esi, 0x7d
sub esi, ebx
mov dword [ebp - 0x10], edi
mov ecx, 0x73
mov dword [ebp - 0x18], esi
sub ecx, ebx
xor eax, eax
sub dword [ebp - 4], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
movd xmm0, eax
add ecx, ebx
pshufd xmm1, xmm0, 0
add edi, ebx
movd xmm0, dword [ebx - 8]
paddd xmm1, xmm6
punpcklbw xmm0, xmm0
add eax, 0x10
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm3, edi
xorps xmm1, xmm0
mov edi, dword [ebp - 0x10]
andps xmm1, xmm4
movd xmm0, ecx
mov ecx, dword [ebp - 4]
packuswb xmm1, xmm1
add ecx, ebx
packuswb xmm1, xmm1
movd dword [ebx - 8], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx - 4]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
movd xmm0, ecx
andps xmm1, xmm4
lea ecx, [edx + ebx]
packuswb xmm1, xmm1
lea edx, [esi + ebx]
mov esi, dword [ebp - 0xc]
packuswb xmm1, xmm1
add esi, ebx
movd dword [ebx - 4], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm2, ecx
xorps xmm1, xmm0
mov ecx, dword [ebp - 0x1c]
andps xmm1, xmm4
movd xmm0, edx
mov edx, dword [ebp - 0x14]
punpckldq xmm3, xmm0
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [ebx], xmm1
movd xmm0, dword [ebx + 4]
punpcklbw xmm0, xmm0
movd xmm1, esi
mov esi, dword [ebp - 0x18]
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [ebx + 4], xmm3
add ebx, 0x10
cmp eax, 0x40
jb 0x40b054
mov ebx, dword [ebp - 0x20]
pop edi
pop esi
cmp eax, 0x46
jae 0x40b170
lea edx, [ebx + eax]
lea ecx, [eax + 0x77]
inc eax
xor byte [edx], cl
cmp eax, 0x46
jb 0x40b162
mov byte [ebx + 0x47], 0
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b180
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47cd9d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x496400]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
cmp byte [esi + 7], 0
je 0x40b1d2
xor edx, edx
nop dword [eax]
lea ecx, [esi + edx]
lea eax, [edx + 0x77]
inc edx
xor byte [ecx], al
cmp edx, 6
jb 0x40b1c0
mov byte [esi + 7], 0
push ecx
lea eax, [esi + 6]
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.00416380
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 0xf
mov eax, dword [edi + 0x10]
jbe 0x40b1f2
mov edi, dword [edi]
push eax
push edi
push ecx
lea ecx, [ebp - 0x30]
call fcn.00418d10
mov esi, dword [ebp - 0x10]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x40b26b
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b261
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b261
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047af91
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40b360
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
cmp byte [edi + 9], 0
je 0x40b3d9
movups xmm4, xmmword [0x48f6d0]
mov esi, 0x7a
push ebx
lea ebx, [esi - 0x78]
nop
lea eax, [esi - 1]
movd xmm2, esi
lea edx, [esi - 3]
movd xmm0, eax
movd xmm3, edx
lea ecx, [esi - 2]
punpckldq xmm3, xmm0
movd xmm0, dword [edi + esi - 0x7a]
punpcklbw xmm0, xmm0
movd xmm1, ecx
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [edi + esi - 0x7a], xmm3
add esi, 4
sub ebx, 1
jne 0x40b380
pop ebx
mov byte [edi + 9], 0
push ecx
mov ecx, dword [ebp + 8]
lea eax, [edi + 8]
push eax
push edi
call fcn.00416380
mov eax, dword [ebp + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40b400
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47cd9d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x496400]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
cmp byte [esi + 0xa], 0
je 0x40b452
xor edx, edx
nop dword [eax]
lea ecx, [esi + edx]
lea eax, [edx + 0x77]
inc edx
xor byte [ecx], al
cmp edx, 9
jb 0x40b440
mov byte [esi + 0xa], 0
push ecx
lea eax, [esi + 9]
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.00416380
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 0xf
mov eax, dword [edi + 0x10]
jbe 0x40b472
mov edi, dword [edi]
push eax
push edi
push ecx
lea ecx, [ebp - 0x30]
call fcn.00418d10
mov esi, dword [ebp - 0x10]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x40b4eb
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b4e1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b4e1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0047af91
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40b500
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
mov dword [ebp - 0x20], ebx
cmp byte [ebx + 0x32], 0
je 0x40b694
movaps xmm5, xmmword [0x48f610]
lea ecx, [ebx + 8]
movaps xmm6, xmmword [0x48f640]
mov edx, 0x7e
movups xmm4, xmmword [0x48f6d0]
mov dword [ebp - 8], ecx
sub edx, ebx
push esi
mov ecx, 0x7c
mov dword [ebp - 4], 0x77
sub ecx, ebx
mov dword [ebp - 0x14], edx
push edi
mov dword [ebp - 0xc], ecx
mov edi, 0x7b
sub edi, ebx
mov esi, 0x7d
sub esi, ebx
mov dword [ebp - 0x10], edi
mov ecx, 0x73
mov dword [ebp - 0x18], esi
sub ecx, ebx
xor eax, eax
sub dword [ebp - 4], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
movd xmm0, eax
add ecx, ebx
pshufd xmm1, xmm0, 0
add edi, ebx
movd xmm0, dword [ebx - 8]
paddd xmm1, xmm6
punpcklbw xmm0, xmm0
add eax, 0x10
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm3, edi
xorps xmm1, xmm0
mov edi, dword [ebp - 0x10]
andps xmm1, xmm4
movd xmm0, ecx
mov ecx, dword [ebp - 4]
packuswb xmm1, xmm1
add ecx, ebx
packuswb xmm1, xmm1
movd dword [ebx - 8], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx - 4]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
movd xmm0, ecx
andps xmm1, xmm4
lea ecx, [edx + ebx]
packuswb xmm1, xmm1
lea edx, [esi + ebx]
mov esi, dword [ebp - 0xc]
packuswb xmm1, xmm1
add esi, ebx
movd dword [ebx - 4], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm2, ecx
xorps xmm1, xmm0
mov ecx, dword [ebp - 0x1c]
andps xmm1, xmm4
movd xmm0, edx
mov edx, dword [ebp - 0x14]
punpckldq xmm3, xmm0
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [ebx], xmm1
movd xmm0, dword [ebx + 4]
punpcklbw xmm0, xmm0
movd xmm1, esi
mov esi, dword [ebp - 0x18]
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [ebx + 4], xmm3
add ebx, 0x10
cmp eax, 0x30
jb 0x40b574
mov ebx, dword [ebp - 0x20]
pop edi
pop esi
cmp eax, 0x31
jae 0x40b690
lea edx, [ebx + eax]
lea ecx, [eax + 0x77]
inc eax
xor byte [edx], cl
cmp eax, 0x31
jb 0x40b682
mov byte [ebx + 0x32], 0
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b790
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x10], 0
je 0x40b81a
movups xmm4, xmmword [0x48f6d0]
push ebx
mov ebx, 0x7a
lea eax, [ebx - 0x6e]
nop
lea ecx, [ebx - 1]
movd xmm2, ebx
lea esi, [ebx - 3]
movd xmm0, ecx
movd xmm3, esi
lea edx, [ebx - 2]
punpckldq xmm3, xmm0
movd xmm0, dword [edi + ebx - 0x7a]
punpcklbw xmm0, xmm0
movd xmm1, edx
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [edi + ebx - 0x7a], xmm3
add ebx, 4
cmp ebx, 0x86
jb 0x40b7b0
pop ebx
lea edx, [edi + eax]
lea ecx, [eax + 0x77]
inc eax
xor byte [edx], cl
cmp eax, 0xf
jb 0x40b808
mov byte [edi + 0x10], 0
push ecx
mov ecx, dword [ebp + 8]
lea eax, [edi + 0xf]
push eax
push edi
call fcn.00416380
mov eax, dword [ebp + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4