joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433ded
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x433e2a
cmp dword [ebp + 0x14], edi
je 0x433e2a
cmp ecx, edi
jne 0x433e31
call fcn.004353be
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.00437fe2
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x433e45
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x433e66
cmp ebx, 0xffffffff
je 0x433e55
push ebx
push edi
push ecx
call fcn.00432e00
add esp, 0xc
cmp esi, edi
je 0x433e12
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x433e12
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x433e82
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x433e89
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x433f7a
test word [esi + 0xc], 0x10c
je 0x433edd
mov eax, dword [esi + 4]
test eax, eax
je 0x433edd
jl 0x433fdb
cmp ebx, eax
mov edi, ebx
jb 0x433eae
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x433f82
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00431d1a
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x433f72
cmp ebx, dword [ebp - 0xc]
jb 0x433f4a
cmp dword [ebp - 0xc], 0
je 0x433f07
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x433efc
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x433f03
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x433f12
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x433f12
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x433fae
push eax
push dword [ebp - 8]
push esi
call fcn.00433a1b
pop ecx
push eax
call fcn.0043fa7e
add esp, 0xc
test eax, eax
je 0x433fed
cmp eax, 0xffffffff
je 0x433fdb
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x433f72
push esi
call fcn.0043f39d
cmp eax, 0xffffffff
pop ecx
je 0x433fdf
cmp dword [ebp - 4], 0
je 0x433fae
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x433e91
mov eax, dword [ebp + 0x14]
jmp 0x433e2c
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x433f99
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00432e00
add esp, 0xc
call fcn.004353be
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x433e22
cmp dword [ebp + 0xc], 0xffffffff
je 0x433fc4
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00432e00
add esp, 0xc
call fcn.004353be
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x433e22
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x433e2c
or dword [esi + 0xc], 0x10
jmp 0x433fdf
Function at 0x43a134
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x463c48]
je 0x43a14f
inc edi
cmp edi, 0x17
jb 0x43a140
cmp edi, 0x17
jae 0x43a2cf
push ebp
push 3
call fcn.004420fa
cmp eax, 1
pop ecx
je 0x43a29b
push 3
call fcn.004420fa
test eax, eax
pop ecx
jne 0x43a183
cmp dword [0x4630c4], 1
je 0x43a29b
cmp ebx, 0xfc
je 0x43a2ce
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4675d0
push ebp
call fcn.00441269
add esp, 0xc
test eax, eax
je 0x43a1b9
push esi
push esi
push esi
push esi
push esi
call fcn.00437ee6
add esp, 0x14
push 0x104
mov esi, 0x4675e9
push esi
push 0
mov byte [0x4676ed], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x43a1fd
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00441269
add esp, 0xc
test eax, eax
je 0x43a1fd
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00437ee6
add esp, 0x14
push esi
call fcn.00440d90
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x43a242
push esi
call fcn.00440d90
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4678e4
push 0x454a84
sub ecx, eax
push ecx
push eax
call fcn.00441bc6
add esp, 0x14
test eax, eax
je 0x43a242
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00437ee6
add esp, 0x14
jmp 0x43a244
xor esi, esi
push 0x454a80
push ebx
push ebp
call fcn.00441b04
add esp, 0xc
test eax, eax
je 0x43a264
push esi
push esi
push esi
push esi
push esi
call fcn.00437ee6
add esp, 0x14
push dword [edi*8 + 0x463c4c]
push ebx
push ebp
call fcn.00441b04
add esp, 0xc
test eax, eax
je 0x43a286
push esi
push esi
push esi
push esi
push esi
call fcn.00437ee6
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00441f3d
add esp, 0xc
jmp 0x43a2ce
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x43a2ce
cmp ebp, 0xffffffff
je 0x43a2ce
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x463c4c]
push dword [esi]
call fcn.00440d90
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x441f3d
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00438df5
xor ebx, ebx
cmp dword [0x467c40], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x442013
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4420f3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x4420f3
push eax
call fcn.00438d87
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x467c40], eax
call esi
push eax
call fcn.00438d87
mov dword [esp], 0x455ca0
push edi
mov dword [0x467c44], eax
call esi
push eax
call fcn.00438d87
mov dword [0x467c48], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00436fb9
test eax, eax
pop ecx
pop ecx
je 0x441fe1
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00437ee6
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x442013
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00438d87
cmp eax, ebx
pop ecx
mov dword [0x467c50], eax
je 0x442013
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00438d87
pop ecx
mov dword [0x467c4c], eax
mov eax, dword [0x467c4c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x442098
cmp dword [0x467c50], ecx
je 0x442098
push eax
call fcn.00438dfe
push dword [0x467c50]
mov esi, eax
call fcn.00438dfe
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x442098
cmp edi, ebx
je 0x442098
call esi
cmp eax, ebx
je 0x442065
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x442065
test byte [ebp - 0x18], 1
jne 0x442098
lea eax, [ebp - 0x10]
push eax
call fcn.00436ff0
test eax, eax
pop ecx
je 0x442080
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00437ee6
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x44208f
or dword [ebp + 0x10], 0x200000
jmp 0x4420d3
or dword [ebp + 0x10], 0x40000
jmp 0x4420d3
mov eax, dword [0x467c44]
cmp eax, dword [ebp - 8]
je 0x4420d3
push eax
call fcn.00438dfe
cmp eax, ebx
pop ecx
je 0x4420d3
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4420d3
mov eax, dword [0x467c48]
cmp eax, dword [ebp - 8]
je 0x4420d3
push eax
call fcn.00438dfe
cmp eax, ebx
pop ecx
je 0x4420d3
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x467c40]
call fcn.00438dfe
cmp eax, ebx
pop ecx
je 0x4420f3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4420f5
xor eax, eax
pop edi
pop esi
pop ebx
leave
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 0x408790
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b9bf5
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x72b01c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x60502
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x34]
call fcn.004b2710
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov dword [ebp - 0x18], eax
push 0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 0x5c5b
mov word [ebp - 0x14], ax
movsx ecx, word [ebp - 0x14]
cmp ecx, 0x4db4e
jne 0x408804
mov edx, 0x23e
mov word [ebp - 0x14], dx
movsx eax, word [ebp - 0x14]
cmp eax, 0xb889
jne 0x408818
mov ecx, 0xfffffdfc
mov word [ebp - 0x14], cx
movsx edx, word [ebp - 0x14]
cmp edx, 0x2e783
jne 0x40882d
mov eax, 0xcb
mov word [ebp - 0x14], ax
movsx ecx, word [ebp - 0x14]
cmp ecx, 0x31a57
jne 0x408842
mov edx, 0xfffffccb
mov word [ebp - 0x14], dx
lea ecx, [ebp - 0x64]
call fcn.00408970
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.00402b40
mov eax, 0x6bdf
mov word [ebp - 0x10], ax
movzx ecx, word [ebp - 0x10]
cmp ecx, 0x36e82
jne 0x408874
mov edx, 0xfc78
mov word [ebp - 0x10], dx
movzx eax, word [ebp - 0x10]
cmp eax, 0x4774
jne 0x408888
mov ecx, 0x140
mov word [ebp - 0x10], cx
movzx edx, word [ebp - 0x10]
cmp edx, 0x9e80
jne 0x40889d
mov eax, 0xfdb6
mov word [ebp - 0x10], ax
movzx ecx, word [ebp - 0x10]
cmp ecx, 0x42209
jne 0x4088b2
mov edx, 0x1f4
mov word [ebp - 0x10], dx
movzx eax, word [ebp - 0x10]
cmp eax, 0x47c2
jne 0x4088c6
mov ecx, 0xfcde
mov word [ebp - 0x10], cx
push 1
call fcn.00599f08
add esp, 4
mov dword [ebp - 0x1c], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 3
call fcn.00401880
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00498220
mov byte [ebp - 4], 2
push str.Game_ended_in_the_following_state:_n
lea ecx, [ebp - 0x2c]
call fcn.00498cb0
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x64]
call fcn.00403d30
lea ecx, [ebp - 0x44]
call fcn.00413850
mov byte [ebp - 4], 3
call fcn.004b4b60
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.004089e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00498730
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.004089c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004b2c00
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x483640
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bbb5f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x72b01c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0x40
call fcn.0059506c
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.QObjectData.0
mov dword [ebp - 4], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], 0
call fcn.004c5fd0
mov dword [esi], vtable.QObjectPrivate.0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov eax, dword [esi + 0x18]
and eax, 0xfffffff0
mov dword [ebp - 0x10], 0
or eax, 0x30
mov dword [esi + 4], 0
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 8], 0
nop
nop
push dword [ebp + 8]
mov dword [esi + 0x1c], eax
mov ecx, edi
and dword [esi + 0x18], 0xfffff83f
push esi
mov dword [esi + 0x2c], eax
mov dword [esi + 0x20], eax
mov dword [ebp - 4], 0xffffffff
call fcn.00483470
mov dword [edi], vtable.QObject.0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x483740
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bbb90
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x72b01c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.QObjectData.0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
lea ecx, [esi + 0x24]
mov dword [ebp - 4], 0
mov dword [esi + 0x1c], 0
call fcn.004c5fd0
mov ecx, dword [ebp + 8]
mov dword [esi], vtable.QObjectPrivate.0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
cmp ecx, 0x60502
je 0x483806
movaps xmm0, xmmword [0x5e0c10]
push 2
push 5
push 6
movzx eax, cl
push eax
mov eax, ecx
mov dword [ebp - 0x14], 0x5cd218
sar eax, 8
movzx eax, al
push eax
sar ecx, 0x10
movzx eax, cl
push eax
lea eax, [ebp - 0x24]
push str.Cannot_mix_incompatible_Qt_library___d._d._d__with_this_library___d._d._d_
push eax
movups xmmword [ebp - 0x24], xmm0
call fcn.0049ef00
add esp, 0x20
mov eax, dword [esi + 0x18]
and eax, 0xfffffff0
mov dword [ebp - 0x10], 0
or eax, 0x30
mov dword [esi + 4], 0
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 8], 0
nop
nop
mov dword [esi + 0x1c], eax
and dword [esi + 0x18], 0xfffff83f
mov dword [esi + 0x2c], eax
mov dword [esi + 0x20], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4a05b0
Capabilities:
Terminate process

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.004a05e0
push dword [esp + 0x10]
call fcn.0049f020
add esp, 0x10
test al, al
jne fcn.004fdd50
ret

Function at 0x4a1cf0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bbdad
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x72b01c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0x72ced0
mov ecx, 1
mov esi, 0x72ced0
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
je 0x4a1d3a
mov ecx, esi
call fcn.004f7360
mov byte [ebp - 0x14], 1
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], 0
cmp dword [ecx + 8], 0x7ffe
jg 0x4a1d62
call fcn.00496d70
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4a1e29
push 0xfffe
call fcn.0059509c
mov edx, dword [ebp + 8]
add esp, 4
xor edi, edi
mov ebx, eax
mov ecx, dword [edx + 8]
test ecx, ecx
jle 0x4a1e20
mov edx, dword [edx + 4]
mov eax, ecx
sub eax, edi
mov dword [ebp - 0x14], edx
mov esi, 0x7ffe
mov edx, edi
cmp eax, esi
mov dword [ebp - 0x10], edx
cmovl esi, eax
cmp edi, ecx
jg 0x4a1de4
test edi, edi
jns 0x4a1dc6
test esi, esi
js 0x4a1dba
add esi, edi
cmp esi, ecx
jge 0x4a1dba
test esi, esi
jle 0x4a1de4
mov eax, dword [ebp - 0x14]
xor edx, edx
lea ecx, [eax + edx*2]
jmp 0x4a1de8
mov eax, dword [ebp - 0x14]
xor edx, edx
mov esi, ecx
lea ecx, [eax + edx*2]
jmp 0x4a1de8
mov eax, ecx
sub eax, edi
cmp esi, eax
cmova esi, eax
mov eax, esi
test edi, edi
jne 0x4a1ddc
mov edx, dword [ebp - 0x10]
cmp eax, ecx
jne 0x4a1ddc
mov eax, dword [ebp - 0x14]
lea ecx, [eax + edx*2]
jmp 0x4a1de8
xor esi, esi
xor ecx, ecx
test ecx, ecx
je 0x4a1dfa
lea eax, [esi + esi]
push eax
push ecx
push ebx
call fcn.00597bd0
add esp, 0xc
xor eax, eax
push ebx
mov word [ebx + esi*2], ax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp + 8]
add edi, 0x7ffe
mov ecx, dword [edx + 8]
cmp edi, ecx
jl 0x4a1d81
mov esi, 0x72ced0
push ebx
call fcn.00595835
add esp, 4
xor edx, edx
mov eax, 1
lock cmpxchg dword [esi], edx
cmp eax, 1
je 0x4a1e40
mov ecx, esi
call fcn.004f7500
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b18e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
cmp eax, 0x270
jne 0x4b1930
lea edx, [edi + 8]
mov esi, eax
mov ecx, dword [edx - 4]
lea edx, [edx + 4]
xor ecx, dword [edx - 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x4b18f2
mov eax, dword [edi]
jmp 0x4b1a17
cmp eax, 0x4e0
jb 0x4b1a17
mov eax, dword [edi + 0x9c4]
push ebx
lea ebx, [edi + 0x9c4]
push ebp
mov ebp, 0xe3
nop
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub ebp, 1
jne 0x4b1950
mov eax, dword [edi + 0xd50]
lea ebx, [edi + 0xd50]
mov ebp, 0x18c
nop word [eax + eax]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub ebp, 1
jne 0x4b19a0
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop ebp
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
xor eax, eax
mov dword [edi], 0
pop ebx
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
ret
Function at 0x4b1b10
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bed80
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x72b01c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movq xmm0, qword [0x72e620]
xor ebx, ebx
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
sub edi, edx
movq qword [ebp - 0x14], xmm0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
and ecx, 0x800
sar edi, 2
or ecx, ebx
mov dword [ebp - 0x10], eax
je 0x4b1b74
push edi
push edx
call fcn.005152d0
mov edx, dword [ebp + 8]
add esp, 8
mov ebx, eax
cmp ebx, edi
je 0x4b1bd8
mov esi, edi
sub esi, ebx
shl esi, 2
push esi
lea eax, [edx + ebx*4]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.ADVAPI32.dll_SystemFunction036]
xor ecx, ecx
test al, al
cmovne ecx, esi
mov eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
add ebx, eax
cmp ebx, edi
je 0x4b1bd8
mov eax, dword [ebp + 8]
sub edi, ebx
lea esi, [eax + ebx*4]
lea edi, [esi + edi*4]
cmp esi, edi
je 0x4b1bd8
nop dword [eax + eax]
lea eax, [ebp - 0x10]
push eax
call fcn.0059e16f
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [esi], eax
add esi, 4
cmp esi, edi
jne 0x4b1bc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4b1c60
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5beda0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x72b01c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, 0x10
nop
push 0x10
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.ADVAPI32.dll_SystemFunction036]
mov dword [ebp - 4], 0xffffffff
test al, al
jne 0x4b1cd7
sub esi, 1
jne 0x4b1c90
lea esi, [ebp - 0x20]
lea eax, [ebp - 0x34]
push eax
call fcn.0059e16f
mov eax, dword [ebp - 0x34]
add esp, 4
mov dword [esi], eax
add esi, 4
lea eax, [ebp - 0x10]
cmp esi, eax
jne 0x4b1cb6
movups xmm0, xmmword [ebp - 0x20]
jmp 0x4b1cdb
movups xmm0, xmmword [ebp - 0x30]
mov eax, dword [ebp + 8]
movups xmmword [eax], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00594d69
mov esp, ebp
pop ebp
ret
Function at 0x4b1d00
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub esp, 0x9c4
mov eax, dword [0x72b01c]
xor eax, esp
mov dword [esp + 0x9c0], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x9d4]
mov edx, 0x1571
mov ecx, 1
mov dword [edi], 1
lea esi, [edi + 0xc]
mov dword [edi + 0x1388], 0xffffffff
mov dword [edi + 8], 0x1571
mov eax, edx
lea esi, [esi + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
inc ecx
mov dword [esi - 4], edx
cmp ecx, 0x270
jb 0x4b1d42
push ebx
lea eax, [esp + 0x9d0]
mov dword [edi + 4], 0x270
push eax
lea eax, [esp + 0x14]
mov ecx, 0x72cf48
push eax
call fcn.004b1b10
xor edx, edx
lea ebx, [edi + 8]
xor esi, esi
mov eax, dword [esp + esi*4 + 0x10]
lea ebx, [ebx + 4]
mov ecx, eax
mov dword [ebx - 4], eax
or ecx, edx
mov edx, eax
shr edx, 0x1f
test esi, esi
cmovne edx, ecx
inc esi
cmp esi, 0x270
jb 0x4b1d86
pop ebx
test edx, edx
jne 0x4b1db3
mov dword [edi + 8], 0xffffffff
mov ecx, dword [esp + 0x9cc]
mov dword [edi + 4], 0x270
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00594d69
add esp, 0x9c4
ret
Function at 0x4b81f0
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 0xc]
movd xmm0, dword [esp + 0x10]
mov ecx, dword [esp + 4]
pshufd xmm4, xmm0, 0
movd xmm0, eax
cwde
push esi
mov esi, dword [esp + 0xc]
pinsrw xmm0, eax, 4
pshufhw xmm1, xmm0, 0
lea edx, [ecx + esi]
pxor xmm1, xmm4
aesenc xmm1, xmm1
cmp esi, 0x10
jae 0x4b8277
test esi, esi
je 0x4b8360
test ecx, 0x800
jne 0x4b824b
movups xmm0, xmmword [ecx]
mov eax, 0x62a18f
sub eax, esi
movups xmm2, xmmword [eax]
pand xmm2, xmm0
jmp 0x4b825e
movups xmm2, xmmword [edx - 0x10]
mov eax, 0x62a1af
sub eax, esi
movups xmm0, xmmword [eax]
pshufb xmm2, xmm0
pxor xmm1, xmm2
aesenc xmm1, xmm1
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd eax, xmm1
pop esi
ret
cmp esi, 0x20
ja 0x4b82ce
lea eax, [ecx + 0x10]
movaps xmm3, xmm1
aesenc xmm3, xmm4
cmp eax, edx
jae 0x4b82a6
movups xmm0, xmmword [edx - 0x10]
movups xmm2, xmmword [ecx]
pxor xmm3, xmm0
aesenc xmm3, xmm3
pxor xmm2, xmm1
aesenc xmm3, xmm3
jmp 0x4b82ba
movaps xmm2, xmm1
cmp ecx, edx
je 0x4b82c4
movups xmm2, xmmword [edx - 0x10]
pxor xmm2, xmm1
aesenc xmm2, xmm2
aesenc xmm2, xmm2
aesenc xmm2, xmm2
pxor xmm2, xmm3
movd eax, xmm2
pop esi
ret
lea eax, [ecx + 0x20]
movaps xmm2, xmm1
aesenc xmm2, xmm4
cmp eax, edx
jae 0x4b830d
nop dword [eax]
movups xmm0, xmmword [ecx]
add ecx, 0x20
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x10]
add eax, 0x20
aesenc xmm1, xmm1
pxor xmm2, xmm0
aesenc xmm2, xmm2
aesenc xmm1, xmm1
aesenc xmm2, xmm2
cmp eax, edx
jb 0x4b82e0
lea eax, [ecx + 0x10]
cmp eax, edx
jae 0x4b8341
movups xmm0, xmmword [ecx]
pop esi
pxor xmm1, xmm0
movups xmm0, xmmword [edx - 0x10]
aesenc xmm1, xmm1
aesenc xmm1, xmm1
pxor xmm2, xmm0
aesenc xmm2, xmm2
aesenc xmm2, xmm2
pxor xmm1, xmm2
movd eax, xmm1
ret
cmp ecx, edx
je 0x4b835c
movups xmm0, xmmword [edx - 0x10]
pxor xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
aesenc xmm1, xmm1
pxor xmm1, xmm2
movd eax, xmm1
pop esi
ret