joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53c640
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push esi
push edi
push str.Picasa3
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
cmp eax, esi
mov dword [esp + 0x14], eax
jne 0x53c66a
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 4]
cmp eax, esi
mov dword [esp + 0xc], esi
je 0x53c689
lea ecx, [eax + 4]
cmp ecx, esi
je 0x53c689
cmp eax, esi
je 0x53c685
lea edi, [eax + 4]
jmp 0x53c68e
xor edi, edi
jmp 0x53c68e
mov edi, 0x67b348
mov eax, dword [ebx + 0x24]
cmp eax, esi
je 0x53c6a5
lea ecx, [eax + 4]
cmp ecx, esi
je 0x53c6a5
cmp eax, esi
je 0x53c6aa
lea esi, [eax + 4]
jmp 0x53c6aa
mov esi, 0x67b348
mov eax, str._s_has_crashed.__A_crash_dump_has_been_generated:__s_n
mov ecx, str.CrashReporter::ErrorLog1
call fcn.0046ed20
mov eax, dword [eax]
test eax, eax
je 0x53c6c4
add eax, 4
jmp 0x53c6c6
xor eax, eax
push edi
push esi
push eax
lea esi, [esp + 0x18]
call fcn.00407380
mov eax, dword [ebx + 0x28]
add esp, 0xc
test eax, eax
je 0x53c731
test dword [eax], 0xffffff00
je 0x53c731
cmp byte [eax + 4], 0
je 0x53c731
test eax, eax
je 0x53c702
lea ecx, [eax + 4]
test ecx, ecx
je 0x53c702
test eax, eax
je 0x53c6fe
lea esi, [eax + 4]
jmp 0x53c707
xor esi, esi
jmp 0x53c707
mov esi, 0x67b348
mov eax, str.Crash_ID___s.
mov ecx, str.CrashReporter::ErrorLog2
call fcn.0046ed20
mov eax, dword [eax]
test eax, eax
je 0x53c721
add eax, 4
jmp 0x53c723
xor eax, eax
push esi
push eax
lea eax, [esp + 0x14]
call fcn.00407360
add esp, 8
lea eax, [esp + 0xc]
call fcn.00459380
mov eax, dword [esp + 0xc]
test eax, eax
je 0x53c74b
add eax, 4
mov dword [esp + 0x10], eax
jmp 0x53c753
mov dword [esp + 0x10], 0
mov esi, dword [esp + 0x14]
push 0
lea eax, [esp + 0x14]
push eax
push 0
push 1
push 0
push 0xc0000001
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
lea edi, [esp + 0xc]
call fcn.00401700
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x542c60
Capabilities:
Encrypt or decrypt via wincrypt
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0x24
push ebp
mov ebp, dword [esp + 0x2c]
push esi
push edi
mov edi, eax
mov eax, ebp
call fcn.0046ea00
test al, al
jne 0x542e24
mov eax, dword [edi]
test eax, eax
je 0x542e24
test dword [eax], 0xffffff00
je 0x542e24
cmp byte [eax + 4], 0
je 0x542e24
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push 0xf0000000
push 1
push 0
push 0
lea eax, [esp + 0x24]
push eax
call esi
test eax, eax
jne 0x542ce2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x542e24
push 0xf0000008
push 1
push 0
push 0
lea ecx, [esp + 0x24]
push ecx
call esi
test eax, eax
je 0x542e24
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0x8004
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov edx, dword [edi]
test edx, edx
je 0x542d22
test dword [edx], 0xffffff00
je 0x542d22
cmp byte [edx + 4], 0
je 0x542d22
lea eax, [edx + 4]
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x542d15
sub eax, esi
jmp 0x542d24
xor eax, eax
test edx, edx
je 0x542d2d
lea ecx, [edx + 4]
jmp 0x542d2f
xor ecx, ecx
push 0
push eax
push ecx
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
push 0
push eax
push 0x6602
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
mov eax, ebp
call fcn.0046ea20
mov esi, dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
push 0
lea edx, [esp + 0x14]
push edx
push 0
push 0
add eax, 1
push 1
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
push 0
push eax
call esi
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x28]
call fcn.00487150
mov ecx, dword [esp + 0x10]
push ecx
mov eax, ebp
call fcn.0046e9f0
mov edi, dword [esp + 0x30]
push eax
push edi
call fcn.0061a890
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
add esp, 0xc
push edx
lea eax, [esp + 0x28]
push eax
push edi
push 0
push 1
push 0
push ecx
call esi
mov edx, dword [esp + 0x14]
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x1c], 0
call fcn.00607b80
mov eax, dword [esp + 0x1c]
add esp, 4
test eax, eax
mov dword [ebx], eax
je 0x542e09
movzx ecx, byte [eax]
cmp ecx, 0x80
jae 0x542e09
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea edi, [esp + 0x18]
call fcn.00401700
lea esi, [esp + 0x28]
call fcn.00487190
mov eax, ebx
pop edi
pop esi
pop ebp
add esp, 0x24
ret
xor eax, eax
mov edi, 0x67b348
mov ecx, ebx
mov dword [ebx], 0
call fcn.00459750
pop edi
pop esi
mov eax, ebx
pop ebp
add esp, 0x24
ret
Function at 0x542e50
Capabilities:
Create new key via cryptacquirecontext
Encrypt or decrypt via wincrypt
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0x20
push esi
mov esi, eax
mov eax, dword [esi]
test eax, eax
push edi
je 0x542e6b
test dword [eax], 0xffffff00
je 0x542e6b
cmp byte [eax + 4], 0
jne 0x542e7a
mov esi, ebx
call fcn.0046e960
mov eax, ebx
pop edi
pop esi
add esp, 0x20
ret
test dword [eax], 0xffffff00
je 0x542e9d
cmp byte [eax + 4], 0
je 0x542e9d
add eax, 4
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x542e90
sub eax, edx
jmp 0x542e9f
xor eax, eax
shr eax, 1
mov dword [esp + 0x10], eax
mov edi, eax
lea eax, [esp + 0x18]
call fcn.00487150
mov edi, esi
lea eax, [esp + 0x18]
call fcn.00607a60
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push 0
push 1
push 0
push 0
lea eax, [esp + 0x18]
push eax
call esi
test eax, eax
jne 0x542efc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x542ffd
push 8
push 1
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
call esi
test eax, eax
je 0x542ffd
mov eax, dword [esp + 8]
lea edx, [esp + 0xc]
push edx
push 0
push 0
push 0x8004
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
test edx, edx
je 0x542f40
test dword [edx], 0xffffff00
je 0x542f40
cmp byte [edx + 4], 0
je 0x542f40
lea eax, [edx + 4]
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x542f33
sub eax, esi
jmp 0x542f42
xor eax, eax
test edx, edx
je 0x542f4b
lea ecx, [edx + 4]
jmp 0x542f4d
xor ecx, ecx
mov edx, dword [esp + 0xc]
push 0
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp + 0x14]
push eax
push 0
push ecx
push 0x6602
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push edi
push 0
push 1
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
mov edx, dword [esp + 8]
push 0
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test esi, esi
je 0x542ffd
mov eax, edi
lea edx, [eax + 1]
jmp 0x542fb0
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x542fb0
sub eax, edx
cmp eax, dword [esp + 0x10]
ja 0x542ffd
lea esi, [esp + 0x20]
call fcn.0046e960
mov eax, esi
call fcn.0046e980
mov ecx, dword [esp + 0x18]
mov eax, edi
call fcn.00499310
mov edi, esi
mov eax, ebx
call fcn.0046b010
mov eax, esi
call fcn.0046e970
lea esi, [esp + 0x18]
call fcn.00487190
mov eax, ebx
pop edi
pop esi
add esp, 0x20
ret
mov esi, ebx
call fcn.0046e960
lea esi, [esp + 0x18]
call fcn.00487190
pop edi
mov eax, ebx
pop esi
add esp, 0x20
ret
Function at 0x543a00
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1a54
call fcn.00618800
mov eax, dword [0x6d7160]
xor eax, esp
mov dword [esp + 0x1a50], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
je 0x543a35
lea ebx, [eax + 4]
jmp 0x543a37
xor ebx, ebx
lea eax, [esp + 0x18]
call fcn.004d39b0
xor ebx, ebx
lea eax, [esp + 0x158]
mov dword [esp + 0xc], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x543a50
sub eax, edx
lea edi, [esp + 0x158]
lea ecx, [esp + 0xc]
call fcn.00459750
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x543b06
test dword [eax], 0xffffff00
je 0x543b06
add eax, 4
cmp byte [eax], bl
je 0x543b06
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
je 0x543b06
cmp word [eax + 8], 2
jne 0x543b06
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
je 0x543b06
cmp word [eax + 0xa], 4
jne 0x543b06
mov ecx, dword [ecx]
cmp ecx, ebx
je 0x543b06
mov eax, dword [eax]
movzx edx, byte [ecx + 3]
push eax
movzx eax, byte [ecx + 2]
push edx
movzx edx, byte [ecx + 1]
push eax
movzx eax, byte [ecx]
push edx
push eax
push str._d._d._d._d___s_
lea esi, [esp + 0x28]
mov dword [esp + 0x28], ebx
call fcn.00407380
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
add esp, 0x18
cmp eax, ebx
mov dword [esi], eax
je 0x543afb
movzx ecx, byte [eax]
cmp ecx, 0x80
jae 0x543afb
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea edi, [esp + 0x10]
call fcn.00401700
jmp 0x543b16
xor eax, eax
mov edi, 0x67b348
mov ecx, esi
mov dword [esi], ebx
call fcn.00459750
lea edi, [esp + 0xc]
call fcn.00401700
lea edi, [esp + 0x18]
call fcn.00401700
mov ecx, dword [esp + 0x1a5c]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.00607d6d
mov esp, ebp
pop ebp
ret
Function at 0x5443f0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x130
mov eax, dword [0x6d7160]
xor eax, esp
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x134]
mov eax, dword [eax]
test eax, eax
push esi
push edi
je 0x544418
add eax, 4
jmp 0x54441a
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x104
lea ecx, [esp + 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x544449
mov edi, 0x67b348
mov ecx, ebx
mov dword [ebx], eax
call fcn.00459750
jmp 0x544539
lea edi, [esp + 0x28]
lea eax, [esp + 0xc]
call fcn.0045b460
mov esi, dword [esp + 0xc]
test esi, esi
mov dword [esp + 0x20], 0
je 0x54446b
lea eax, [esi + 4]
jmp 0x54446d
xor eax, eax
lea edx, [esp + 0x20]
push edx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
lea eax, [esp + 0x14]
call fcn.00487150
test esi, esi
je 0x54448c
lea eax, [esi + 4]
jmp 0x54448e
xor eax, eax
mov esi, dword [esp + 0x18]
push esi
push edi
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x5444b6
xor eax, eax
mov edi, 0x67b348
mov ecx, ebx
mov dword [ebx], 0
call fcn.00459750
jmp 0x544527
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0x6a8b4c
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x5444a0
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
movzx edx, ax
push edx
shr eax, 0x10
push eax
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
push str._d._d._d._d
lea esi, [esp + 0x24]
mov dword [esp + 0x24], 0
call fcn.00407380
mov eax, dword [esp + 0x24]
add esp, 0x14
test eax, eax
mov dword [ebx], eax
je 0x54451e
movzx ecx, byte [eax]
cmp ecx, 0x80
jae 0x54451e
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea edi, [esp + 0x10]
call fcn.00401700
lea esi, [esp + 0x14]
call fcn.00487190
lea edi, [esp + 0xc]
call fcn.00401700
mov ecx, dword [esp + 0x134]
pop edi
pop esi
xor ecx, esp
mov eax, ebx
call fcn.00607d6d
add esp, 0x130
ret
Function at 0x545f10
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
mov ebx, ecx
je 0x545f5d
lea eax, [ebx + 0x10]
push eax
call fcn.00495ac0
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x78]
lea ecx, [esp + 0x14]
push ecx
push edi
lea ecx, [esi + edx]
push ecx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x545f68
mov eax, dword [esp + 0x14]
add esi, eax
sub edi, eax
jne 0x545f27
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebx + 4]
mov edx, dword [eax + 8]
lea ecx, [eax + 8]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x545f8c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x48]
call eax
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x64]
call eax
test al, al
je 0x545fa8
mov eax, 0xf4242
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp esi, 0x2eff
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x10]
jne 0x545fec
mov eax, 0x24
mov edi, str.InternetWriteFile__connection_reset_
call fcn.00459750
lea ecx, [esp + 0x10]
push ecx
call fcn.00547010
lea edi, [esp + 0x10]
call fcn.00401700
mov eax, 0x7d2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp esi, 0x2efe
jne 0x546024
mov eax, 0x26
mov edi, str.InternetWriteFile__connection_aborted_
call fcn.00459750
lea edx, [esp + 0x10]
push edx
call fcn.00547010
lea edi, [esp + 0x10]
call fcn.00401700
mov eax, 0x7d2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, 0x11
mov edi, 0x6b2a8c
call fcn.00459750
cmp esi, 0x2ee2
jne 0x54605c
lea eax, [esp + 0x10]
push eax
call fcn.00547010
lea edi, [esp + 0x10]
call fcn.00401700
mov eax, 0x7d2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebx + 4]
push esi
mov esi, dword [ebx + 8]
lea ecx, [esp + 0x14]
push ecx
call fcn.00543f20
lea edi, [esp + 0x10]
call fcn.00401700
pop edi
pop esi
mov eax, 0x7d2
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x558080
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6700c9
mov eax, dword fs:[0]
push eax
sub esp, 0x120
push ebx
push esi
push edi
mov eax, dword [0x6d7160]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
lea esi, [esp + 0x90]
call fcn.00557f90
mov edx, dword [edi + 0x10]
mov esi, dword [edi + 0x1c]
mov edi, dword [edi + 0x24]
mov ecx, 0x400
lea eax, [esp + 0x48]
mov ebx, 0x2c
mov dword [esp + 0x14], 1
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
call fcn.0055f2b0
mov ecx, 0x400
lea eax, [esp + 0x6c]
mov dword [esp + 0x138], 0
call fcn.0055f2b0
mov ecx, 0x400
lea eax, [esp + 0x24]
call fcn.0055f2b0
test edx, edx
mov byte [esp + 0x138], 2
je 0x55814b
push edx
lea esi, [esp + 0x4c]
call fcn.0055f410
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x18]
add ebx, 0x2c
mov dword [esp + 0x14], 2
mov byte [esp + 0xb9], 1
test esi, esi
je 0x55816a
push esi
lea esi, [esp + 0x70]
call fcn.0055f410
add ebx, dword [esp + 0x74]
add dword [esp + 0x14], 1
mov byte [esp + 0xb9], 1
test edi, edi
je 0x558189
push edi
lea esi, [esp + 0x28]
call fcn.0055f410
add ebx, dword [esp + 0x2c]
add dword [esp + 0x14], 1
mov byte [esp + 0xb9], 1
mov eax, dword [esp + 0x14]
lea eax, [ebx + eax*8 + 0xc]
cmp eax, 0x6c
ja 0x55819f
lea eax, [esp + 0xc0]
jmp 0x5581a4
call fcn.0055b9b0
mov dword [esp + 0xbc], eax
lea esi, [eax + 4]
mov byte [esp + 0x138], 3
mov ebx, eax
mov dword [esi], 0xc
mov eax, dword [esi]
add eax, ebx
mov dword [ebx + 8], 0
push 0x2c
lea ecx, [esp + 0x94]
mov dword [eax], 0x73726563
mov dword [eax + 4], 0x2c
push ecx
add eax, 8
push eax
mov dword [esp + 0x20], esi
call fcn.0060d1b0
add dword [ebx + 8], 1
add dword [esi], 0x34
add esp, 0xc
cmp dword [esp + 0x20], 0
je 0x558216
lea esi, [esp + 0x48]
mov edi, 0x70746865
mov eax, ebx
call fcn.00557ec0
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], 0
je 0x558235
lea esi, [esp + 0x6c]
mov edi, 0x6d736b66
mov eax, ebx
call fcn.00557ec0
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
test edi, edi
je 0x55824d
lea esi, [esp + 0x24]
mov edi, 0x72617374
mov eax, ebx
call fcn.00557ec0
mov esi, dword [esp + 0x14]
mov eax, esi
mov esi, dword [esi]
add esi, ebx
xor ecx, ecx
rol ecx, 1
xor ecx, dword [eax]
add eax, 4
cmp eax, esi
jb 0x558255
mov edx, dword [ebp + 0x10]
push edx
push ebx
mov dword [ebx], ecx
call dword [ebp + 0xc]
mov byte [esp + 0x140], 2
mov eax, dword [esp + 0xc4]
lea ecx, [esp + 0xc8]
add esp, 8
cmp eax, ecx
je 0x55828c
call fcn.0055b9e0
lea ecx, [esp + 0x24]
mov byte [esp + 0x138], 1
call fcn.0055f300
lea ecx, [esp + 0x6c]
mov byte [esp + 0x138], 0
call fcn.0055f300
lea ecx, [esp + 0x48]
mov dword [esp + 0x138], 0xffffffff
call fcn.0055f300
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5586f0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x6708b0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
mov eax, dword [0x6d7160]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x84]
mov ebx, ecx
lea ecx, [esp + 0x48]
call fcn.005519d0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x7c], 0
call fcn.005519d0
mov byte [esp + 0x7c], 1
mov eax, dword [edi + 0x38]
mov edx, dword [edi + 0x30]
shr eax, 0xf
and eax, 3
mov ecx, eax
sub ecx, 0
mov esi, ebx
mov dword [esp + 0x84], edx
je 0x558763
sub ecx, 2
jne 0x55876d
test edx, edx
jne 0x55876d
or edx, 0xffffffff
mov dword [esp + 0x84], edx
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x5587d8
cmp eax, 2
jne 0x558784
mov dword [esp + 0x84], 0xffffffff
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x84]
push edx
push ebx
lea edx, [esp + 0x50]
push edx
call eax
test al, al
je 0x5587a1
lea esi, [esp + 0x48]
mov ecx, dword [edi + 0x38]
mov edx, dword [esp + 0x84]
and ecx, 0x18000
cmp ecx, 0x10000
jne 0x5587d8
test edx, edx
jge 0x5587da
mov edx, dword [edi + 0x30]
test edx, edx
mov dword [esp + 0x84], edx
jne 0x5587da
mov dword [esp + 0x84], 0xffffffff
jmp 0x558802
test edx, edx
jle 0x558802
mov ecx, esi
call fcn.00551b90
test al, al
jne 0x558802
mov ecx, edi
lea eax, [esp + 0x10]
call fcn.00562f80
lea edx, [esp + 0x1c]
push edx
push esi
push eax
call fcn.00563070
lea esi, [esp + 0x1c]
cmp esi, ebx
jne 0x55880f
mov esi, ebp
call fcn.00551a50
jmp 0x558818
mov eax, esi
mov ecx, ebp
call fcn.00551aa0
cmp dword [esp + 0x84], 0
lea ecx, [esp + 0x1c]
setne bl
mov byte [esp + 0x7c], 0
call fcn.005519f0
lea ecx, [esp + 0x48]
mov dword [esp + 0x7c], 0xffffffff
call fcn.005519f0
mov al, bl
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 4

Function at 0x55adc0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, eax
test edi, edi
jne 0x55adcb
mov eax, ebx
pop edi
ret
mov al, byte [edi]
test al, al
push esi
mov esi, 0x12345678
je 0x55adfc
movsx eax, al
push eax
call fcn.00617f0c
mov ecx, esi
shl ecx, 5
mov edx, esi
add eax, ecx
shr edx, 2
add eax, edx
add edi, 1
xor esi, eax
mov al, byte [edi]
add esp, 4
test al, al
jne 0x55add7
mov eax, esi
rol eax, 3
pop esi
xor eax, ebx
pop edi
ret
Function at 0x55b720
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x66fc38
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x6d7160]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0055af30
mov eax, 0x84
call fcn.0055b9b0
mov dword [esp + 0x1c], eax
xor ecx, ecx
mov dword [esp + 0x98], ecx
lea esi, [eax + 4]
mov edi, eax
mov dword [esi], 0xc
mov eax, dword [esi]
add eax, edi
cmp ebx, ecx
mov dword [edi + 8], ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
mov dword [eax], 0x73726563
mov dword [eax + 4], 0x2c
je 0x55b7aa
push 0x2c
add eax, 8
push ebx
push eax
call fcn.0060d1b0
add esp, 0xc
add dword [edi + 8], 1
add dword [esi], 0x34
call fcn.0055af30
mov edi, 0x6fa290
call fcn.0055afa0
mov edx, edi
call fcn.0055ae10
mov ebx, eax
mov eax, 0x6fa2ac
call fcn.0055adc0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [ecx + 8], eax
mov eax, esi
mov esi, dword [esi]
add esi, edx
xor ecx, ecx
rol ecx, 1
xor ecx, dword [eax]
add eax, 4
cmp eax, esi
jb 0x55b7e6
push edx
mov dword [edx], ecx
call fcn.0055b6b0
mov esi, eax
mov dword [esp + 0x9c], 0xffffffff
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
add esp, 4
cmp eax, edx
je 0x55b81a
call fcn.0055b9e0
mov eax, esi
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x569760
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x66fff0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebp
push esi
push edi
mov eax, dword [0x6d7160]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
lea edx, [esp + 0x14]
call fcn.00569750
mov edi, eax
mov eax, dword [esp + 0x14]
lea eax, [eax + edi*4]
push 3
call fcn.0055b9f0
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x74]
push ebx
push esi
lea ecx, [esi + edi*4]
push ebp
mov dword [esp + 0x78], 0
call fcn.00569580
add esp, 0xc
test eax, eax
je 0x56989a
lea ecx, [esp + 0x14]
push ecx
mov edi, eax
call fcn.00569700
mov edi, dword [esp + 0x84]
xor edx, edx
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x38], edx
mov word [esp + 0x44], 0x8001
mov dword [esp + 0x3c], SysReAllocString
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], edx
mov word [esp + 0x5c], 0x7fff
mov dword [eax], ecx
mov ecx, ebx
add esp, 4
shl edi, cl
cmp ebp, edx
je 0x569832
mov ebp, dword [ebp + 0xc]
cmp edi, ebp
jle 0x569832
mov edi, ebp
mov dword [esp + 0x1c], vtable.InverseBlitter.0
mov edx, dword [esp + 0x74]
mov byte [esp + 0x6c], 1
mov dl, byte [edx + 0x29]
xor eax, eax
test dl, 2
je 0x56987a
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x84]
mov ebp, dword [eax]
mov eax, dword [eax + 8]
mov ecx, ebx
shl ebp, cl
shl eax, cl
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], eax
mov eax, 0x569540
jmp 0x56987e
mov ecx, dword [esp + 0x7c]
push eax
push edi
push ecx
lea ecx, [esp + 0x3c]
movzx edx, dl
push ecx
call fcn.00569390
add esp, 0x10
lea ecx, [esp + 0x1c]
call fcn.00569dc0
mov eax, esi
mov dword [esp + 0x6c], 0xffffffff
call fcn.0055b9e0
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x60
ret

Function at 0x56ef90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x66dd18
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6d7160]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.MaskSuperBlitter.0
mov dword [esp + 0x14], 0
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
lea edx, [esi + 0x30]
push edx
lea edx, [esi + 0x18]
push edx
call eax
mov ecx, esi
call fcn.00569dc0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret