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

Disassembly:
sub esp, 0x74
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x6c], eax
push esi
mov esi, ecx
push edi
movzx eax, word [esi + 8]
dec eax
cmp eax, 0xf
ja case.0x4ef1d0.7
movzx eax, byte [eax + 0x4ef3ac]
jmp dword [eax*4 + 0x4ef38c]
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + edx*8 + 4]
lea edx, [eax + edx*8]
mov eax, dword [edx]
mov dword [esp + 0x10], 6
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], 1
mov dword [esp + 0x38], 8
mov dword [esp + 0x3c], str.__0x
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push 0
mov dword [esp + 0x54], eax
lea eax, [esp + 0x14]
push 4
push eax
mov dword [esp + 0x4c], 0x109
mov dword [esp + 0x60], ecx
mov byte [esp + 0x56], 0x10
mov dword [esp + 0x64], 1
mov dword [esp + 0x74], 2
mov dword [esp + 0x78], 0x604e10
call sym.SystemInformer.exe_Ordinal_1375
pop edi
pop esi
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00583f7f
add esp, 0x74
ret
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + edx*8 + 4]
lea edx, [eax + edx*8]
mov eax, dword [edx]
mov dword [esp + 0x10], 9
jmp 0x4ef1eb
mov eax, dword ds:[esi + 0x14]
movzx ecx, word [eax + edx*8]
lea eax, [eax + edx*8]
test cx, cx
jne 0x4ef29b
call sym.SystemInformer.exe_Ordinal_1430
pop edi
pop esi
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00583f7f
add esp, 0x74
ret
mov eax, dword [eax + 4]
mov dword [esp + 0xc], eax
mov eax, ecx
jmp 0x4ef367
mov ecx, dword [esi + 0x14]
shl edx, 4
add ecx, edx
push dword [ecx + 0xc]
movzx eax, word [ecx + 8]
shr eax, 1
push eax
push dword [ecx + 4]
push dword [ecx]
push str.Version__I64u:__.s
call sym.SystemInformer.exe_Ordinal_1378
add esp, 0x14
pop edi
pop esi
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00583f7f
add esp, 0x74
ret
mov eax, dword [esi + 0x14]
lea edi, [edx*8]
mov eax, dword [edi + eax]
test eax, eax
je 0x4ef318
cmp byte [eax], 1
jne 0x4ef318
cmp byte [eax + 1], 0xf
ja 0x4ef318
push 0
push 1
push eax
call sym.SystemInformer.exe_Ordinal_1860
test eax, eax
jne 0x4ef379
mov eax, dword [esi + 0x14]
push dword [eax + edi]
call sym.SystemInformer.exe_Ordinal_1867
test eax, eax
jne 0x4ef379
mov dword [esp + 0xc], str._Invalid_SID_
push str._Invalid_SID_
jmp 0x4ef360
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx + edx*8]
or eax, dword [ecx + edx*8 + 4]
mov eax, str.True
jne 0x4ef33d
mov eax, str.False
mov dword [esp + 0xc], eax
push eax
jmp 0x4ef360
mov dword [esp + 0xc], str._Octet_string_
push str._Octet_string_
jmp 0x4ef360
mov dword [esp + 0xc], str._Unknown_
push str._Unknown_
call sym.SystemInformer.exe_Ordinal_1322
add eax, eax
push 0
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push 0
push eax
call sym.SystemInformer.exe_Ordinal_1331
mov ecx, dword [esp + 0x74]
pop edi
pop esi
xor ecx, esp
call fcn.00583f7f
add esp, 0x74
ret
Function at 0x4f5400
Capabilities:
Enumerate pe sections
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x124], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
push edi
movups xmm0, xmmword [eax]
mov edi, dword [ebp + 0x10]
movd eax, xmm0
movaps xmmword [esp + 0x100], xmm0
bswap eax
mov dword [esp + 0x100], eax
movzx eax, word [esp + 0x104]
mov ch, al
mov cl, ah
movzx eax, word [esp + 0x106]
mov word [esp + 0x104], cx
mov ch, al
mov cl, ah
lea eax, [esi + 0x10]
push eax
push 4
push dword [0x633a74]
mov word [esp + 0x112], cx
mov dword [esp + 0x24], eax
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
movups xmm0, xmmword ds:[esp + 0x100]
push esi
push edi
lea ecx, [eax + 0x10]
mov dword [esp + 0x1c], eax
push ecx
movups xmmword [eax], xmm0
call fcn.00586310
add esp, 0xc
cmp byte [ebp + 0x18], 3
jne 0x4f5574
lea eax, [esi + 0x10]
mov dword [esp + 0x28], 0x67452301
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push eax
mov edx, esi
mov dword [esp + 0x30], 0xefcdab89
mov dword [esp + 0x34], 0x98badcfe
mov dword [esp + 0x38], 0x10325476
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call fcn.00572ac0
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x38]
shr eax, 3
mov edx, 0x3f
and eax, 0x3f
add ecx, eax
sub edx, eax
mov byte [ecx], 0x80
inc ecx
cmp edx, 8
jae 0x4f5539
push edx
push 0
push ecx
call fcn.005861b0
add esp, 0xc
lea edx, [esp + 0x38]
lea ecx, [esp + 0x28]
call fcn.00572c30
push 0x38
push 0
lea eax, [esp + 0x40]
push eax
jmp 0x4f5540
lea eax, [edx - 8]
push eax
push 0
push ecx
call fcn.005861b0
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x44]
add esp, 0xc
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
mov dword [esp + 0x74], eax
call fcn.00572c30
movups xmm0, xmmword [esp + 0x28]
movups xmmword [esp + 0x78], xmm0
jmp 0x4f55f7
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x88]
mov esi, dword [esp + 0x14]
mov edx, esi
push eax
mov dword [esp + 0xa4], 0x67452301
mov dword [esp + 0xa8], 0xefcdab89
mov dword [esp + 0xac], 0x98badcfe
mov dword [esp + 0xb0], 0x10325476
mov dword [esp + 0xb4], 0xc3d2e1f0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
call fcn.00575240
lea edx, [esp + 0x100]
lea ecx, [esp + 0x88]
call fcn.005752e0
movups xmm0, xmmword [esp + 0x100]
mov byte [ebp + 0x18], 5
push esi
push 0
push dword [0x633a74]
movups xmmword [esp + 0x10c], xmm0
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov edx, dword [esp + 0x1c]
movups xmm0, xmmword [esp + 0x100]
pop edi
pop esi
movups xmmword [edx], xmm0
mov eax, dword [edx]
bswap eax
mov dword [edx], eax
movzx eax, word [edx + 4]
mov ch, al
mov cl, ah
movzx eax, word [edx + 6]
mov word [edx + 4], cx
mov ch, al
mov al, byte [ebp + 0x18]
mov cl, ah
mov word [edx + 6], cx
shr ecx, 8
shl al, 4
and cl, 0xf
or cl, al
movzx eax, byte [edx + 8]
mov byte [edx + 7], cl
and al, 0x3f
mov ecx, dword [esp + 0x124]
or al, 0x80
xor ecx, esp
mov byte [edx + 8], al
call fcn.00583f7f
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4f6480
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
test byte [0x63080c], 1
push ebx
push esi
jne 0x4f6505
mov esi, 0x63080c
lock bts dword [esi], 0x1f
setb al
test al, al
je 0x4f64b9
test byte [0x63080c], 1
jne 0x4f6505
xor edx, edx
mov ecx, esi
call sym.SystemInformer.exe_Ordinal_1388
jmp 0x4f6505
push 4
push 0x635694
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4f64db
mov dword [0x635694], 0x2e
push 4
push 0x6356c8
push 0xf
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4f64fd
mov dword [0x6356c8], 0x2c
mov ecx, esi
call sym.SystemInformer.exe_Ordinal_1358
mov eax, dword [ebp + 0xc]
mov ecx, 3
mov dword [esp + 0x10], eax
xor eax, eax
cmp byte [ebp + 0x10], al
push 0
cmovne eax, ecx
mov dword [esp + 0x18], 0
push 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
push eax
push dword [ebp + 8]
mov dword [esp + 0x2c], 0x635694
push 0
push 0x400
mov dword [esp + 0x38], 0x6356c8
mov dword [esp + 0x3c], 1
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov esi, eax
mov dword [esp + 0xc], 0
push 0
push 0
lea eax, [esp + 0x10]
lea ecx, [esi + esi]
push eax
mov dword [esp + 0x14], ecx
call sym.SystemInformer.exe_Ordinal_1331
mov ebx, eax
lea eax, [esp + 0x10]
push esi
push dword [ebx + 4]
push eax
push dword [ebp + 8]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
test eax, eax
jne 0x4f65b2
lea ecx, ds:[ebx - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4f65a8
call fcn.004fe0c0
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push dword [ebx + 4]
call sym.SystemInformer.exe_Ordinal_1322
add eax, eax
mov dword [ebx], eax
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4f7f80
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 8], eax
mov ecx, dword [0x6356b0]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test ecx, ecx
je 0x4f7fc3
mov eax, dword [0x6356ac]
mov dword [edi], eax
mov dword [edi + 4], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.00583f7f
mov esp, ebp
pop ebp
ret 4
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
cmp dword [eax + 0x50], 0
je 0x4f7ff4
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x50]
cmp dword [eax], 0
je 0x4f7ff4
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov esi, dword [eax + 0x50]
add esi, 0x1e
jmp 0x4f7ff9
mov esi, 0x7ffe0030
push esi
call sym.SystemInformer.exe_Ordinal_1322
lea ecx, [eax + eax]
movzx eax, word [ecx + esi - 2]
mov edx, ecx
mov ebx, eax
cmp eax, 0x5c
jne 0x4f8013
lea edx, [ecx - 2]
lea eax, ds:[ecx - 2]
mov dword [edi], edx
cmp ebx, 0x5c
mov dword [edi + 4], esi
cmovne eax, ecx
xor ecx, ecx
mov dword [0x6356ac], eax
lea eax, [esp + 0x10]
lock or dword [eax], ecx
mov ecx, dword [esp + 0x14]
pop edi
mov dword [0x6356b0], esi
pop esi
pop ebx
xor ecx, esp
call fcn.00583f7f
mov esp, ebp
pop ebp
ret 4
Function at 0x4fb4a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [eax], ecx
cmp ecx, 3
ja case.default.0x4fb4b3
jmp dword [ecx*4 + 0x4fb550]
mov dword [eax + 0xc], 0x67452301
mov dword [eax + 0x10], 0xefcdab89
mov dword [eax + 0x14], 0x98badcfe
mov dword [eax + 0x18], 0x10325476
mov dword [eax + 4], 0
mov dword [eax + 8], 0
ret 8
lea ecx, [eax + 4]
call fcn.005751f0
ret 8
mov dword [eax + 4], 0
ret 8
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0x6a09e667
mov dword [eax + 0x10], 0xbb67ae85
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0xa54ff53a
mov dword [eax + 0x1c], 0x510e527f
mov dword [eax + 0x20], 0x9b05688c
mov dword [eax + 0x24], 0x1f83d9ab
mov dword [eax + 0x28], 0x5be0cd19
ret 8
push 0xc00000f0
call dword [sym.imp.ntdll.dll_RtlRaiseStatus]
mov edx, 0xe7004fb4
mov ah, 79
add dl, dh
mov ah, 0x4f
add ah, bh
mov ah, 0x4f
add byte [edi - 0x75], dl
push edi
invalid
jl 0x4fb588
or byte [ebx + 0x3f88307], cl
ja 0x4fb5e9
jmp dword [eax*4 + 0x4fb5f4]
add bh, bh
je 0x4fb5b0
adc byte [ebx - 0x72efdbac], cl
dec edi
add al, 0xe8
cmpsd dword [esi], dword es:[edi]
pushfd
pop es
add byte [edi - 0x3e], bl
or al, 0
mov edx, dword [esp + 0x10]
mov ecx, dword [edi + 4]
not ecx
push esi
mov esi, dword [esp + 0x10]
test edx, edx
je 0x4fb5ca
nop
movsx eax, byte [esi]
lea esi, [esi + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61f060]
sub edx, 1
jne 0x4fb5b0
not ecx
pop esi
mov dword [edi + 4], ecx
pop edi
ret 0xc
push 0xc000000d
call dword [sym.imp.ntdll.dll_RtlRaiseStatus]
jae 0x4fb5ab
dec edi
add byte [ecx - 0x62ffb04b], cl
mov ch, 0x4f
add ah, dl
mov ch, 0x4f
add ah, cl
int3
Function at 0x4fca80
Capabilities:
Create directory

Disassembly:
sub esp, 0xc8
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0xc0], eax
test byte [0x6307a4], 1
push ebx
push esi
push edi
jne 0x4fcbc5
mov edi, 0x6307a4
lock bts dword [edi], 0x1f
setb al
test al, al
jne 0x4fcabb
mov al, 1
jmp 0x4fcacf
test byte [0x6307a4], 1
jne 0x4fcacd
xor edx, edx
mov ecx, edi
call sym.SystemInformer.exe_Ordinal_1388
xor al, al
test al, al
je 0x4fcbc5
call fcn.00533380
mov esi, eax
lea eax, [esp + 0x30]
push 1
push eax
mov bl, byte [esi + 1]
call dword [sym.imp.ntdll.dll_RtlCreateSecurityDescriptor]
movzx ecx, bl
lea eax, [esp + 0x44]
push 2
lea ecx, [ecx*4 + 0x4c]
push ecx
push eax
call dword [sym.imp.ntdll.dll_RtlCreateAcl]
push 0x5d958c
push 0xf000f
push 2
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.ntdll.dll_RtlAddAccessAllowedAce]
push esi
push 0xf000f
push 2
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.ntdll.dll_RtlAddAccessAllowedAce]
push 0x5d9598
push 7
push 2
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.ntdll.dll_RtlAddAccessAllowedAce]
push 0
lea eax, [esp + 0x48]
push eax
push 1
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.ntdll.dll_RtlSetDaclSecurityDescriptor]
cmp dword [0x62db64], 0x64
mov dword [esp + 0x10], 0x420040
sbb eax, eax
mov dword [esp + 0x14], str.BaseNamedObjectsSystemInformer
and eax, 0xfffff000
mov dword [esp + 0x18], 0x18
add eax, 0x1080
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x18]
push eax
push 0x2000000
push 0x635690
mov dword [esp + 0x38], 0
call dword [sym.imp.ntdll.dll_NtCreateDirectoryObject]
mov ecx, edi
call sym.SystemInformer.exe_Ordinal_1358
mov ecx, dword [esp + 0xcc]
mov eax, dword [0x635690]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00583f7f
add esp, 0xc8
ret
Function at 0x4fccc0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x2020
call fcn.005a5410
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x201c], eax
mov eax, dword [esp + 0x2024]
push ebx
push ebp
push esi
push edi
mov edi, 0x2000
mov dword [esp + 0x18], edx
push edi
push 4
push dword [0x633a74]
mov ebp, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ebp
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
xor ebx, ebx
mov esi, eax
push ebx
push ebx
push 0x1000
lea eax, [esp + 0x34]
mov dword [esp + 0x1c], ebx
push eax
lea eax, [esp + 0x30]
push eax
push ebx
push ebx
push ebx
push ebp
call dword [sym.imp.ntdll.dll_NtReadFile]
mov ebp, eax
test ebp, ebp
js 0x4fcde8
lfence
nop word [eax + eax]
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x4fcdfa
mov ebp, dword [esp + 0x10]
lea eax, [ebx + ebp]
mov dword [esp + 0x10], eax
cmp edi, eax
jae 0x4fcd9c
add edi, edi
jne 0x4fcd76
nop
test esi, esi
je 0x4fcd72
push esi
push edi
push dword [0x633a74]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
xor esi, esi
jmp 0x4fcd9c
push edi
test esi, esi
je 0x4fcd8c
push esi
push 4
push dword [0x633a74]
call dword [sym.imp.ntdll.dll_RtlReAllocateHeap]
jmp 0x4fcd9a
push 4
push dword [0x633a74]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
push ebx
lea eax, [esp + 0x2c]
push eax
lea eax, [esi + ebp]
push eax
call fcn.00586310
add esp, 0xc
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x28]
mov dword [esp + 0x10], ebx
push 0
push 0
push 0x1000
push eax
lea eax, [esp + 0x30]
push eax
push 0
push 0
push 0
push dword [esp + 0x34]
call dword [sym.imp.ntdll.dll_NtReadFile]
mov ebp, eax
test ebp, ebp
jns 0x4fcd40
mov eax, ebp
mov ecx, esi
mov dword [esp + 0x14], eax
cmp ebp, 0xc0000011
jne 0x4fce2a
xor ebp, ebp
mov ebx, dword [esp + 0x10]
lea eax, [ebx + 1]
cmp edi, eax
jae 0x4fce8b
add edi, 1
jne 0x4fce62
test esi, esi
je 0x4fce26
push esi
push edi
lfence
push dword [0x633a74]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
xor esi, esi
jmp 0x4fce8b
mov dword [esp + 0x10], ebx
mov esi, ecx
mov ebp, eax
test eax, eax
jns 0x4fcdfa
push ecx
push 0
lfence
push dword [0x633a74]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [esp + 0x18]
mov dword [eax], 0
mov eax, dword [esp + 0x1c]
mov dword [eax], 0
mov eax, dword [esp + 0x14]
jmp 0x4fce9d
lfence
push edi
test esi, esi
je 0x4fce7b
push esi
push 4
push dword [0x633a74]
call dword [sym.imp.ntdll.dll_RtlReAllocateHeap]
jmp 0x4fce89
push 4
push dword [0x633a74]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
mov eax, dword [esp + 0x18]
mov byte [ebx + esi], 0
mov dword [eax], esi
mov eax, dword [esp + 0x1c]
mov dword [eax], ebx
mov eax, ebp
mov ecx, dword [esp + 0x202c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00583f7f
add esp, 0x2020
ret 4
Function at 0x4fe420
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x62db64], 0xffffffff
mov ecx, dword [0x6356f0]
push esi
push edi
jae 0x4fe448
cmp ecx, 0x40
jae 0x4fe448
lfence
mov eax, dword fs:[0x18]
mov esi, dword [eax + ecx*4 + 0xe10]
jmp 0x4fe451
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov edi, dword [esp + 0xc]
test edi, edi
jne 0x4fe463
pop edi
xor eax, eax
pop esi
ret 4
mov eax, dword [esi]
cmp eax, 0x40
jae 0x4fe477
mov dword [esi + eax*4 + 4], edi
mov eax, edi
inc dword [esi]
pop edi
pop esi
ret 4
mov ecx, dword [esi + 0x10c]
push ebx
mov ebx, dword [0x633a74]
test ecx, ecx
jne 0x4fe4ae
push 0x100
push 4
push ebx
mov dword [esi + 0x108], 0x40
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ecx, eax
mov dword [esi + 0x10c], ecx
mov eax, dword [esi + 0x108]
cmp dword [esi + 0x104], eax
jne 0x4fe501
add eax, eax
mov dword [esi + 0x108], eax
shl eax, 2
test eax, eax
jne 0x4fe4dc
test ecx, ecx
je 0x4fe4d8
push ecx
push eax
push ebx
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
xor ecx, ecx
jmp 0x4fe4fb
push eax
test ecx, ecx
je 0x4fe4f0
push ecx
push 4
push ebx
call dword [sym.imp.ntdll.dll_RtlReAllocateHeap]
jmp 0x4fe4f9
push 4
push ebx
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ecx, eax
mov dword [esi + 0x10c], ecx
mov eax, dword [esi + 0x104]
pop ebx
mov dword [ecx + eax*4], edi
mov eax, edi
inc dword [esi + 0x104]
pop edi
pop esi
ret 4

Function at 0x4fe820
Capabilities:
Create thread

Disassembly:
sub esp, 0x40
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
mov eax, dword [esp + 0x5c]
xorps xmm0, xmm0
push esi
mov edx, dword [esp + 0x5c]
lea esi, [esp + 0xc]
push edi
mov ebx, dword [esp + 0x68]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x3c], esi
lea esi, [esp + 0x30]
push esi
push dword [esp + 0x60]
movlpd qword [esp + 0x18], xmm0
push dword [esp + 0x60]
mov dword [esp + 0x24], 0x18
push 0
push dword [esp + 0x60]
mov dword [esp + 0x30], 0
push eax
push edx
push ecx
lea eax, [esp + 0x38]
mov dword [esp + 0x44], 0
push eax
push 0x1fffff
lea eax, [esp + 0x34]
mov dword [esp + 0x48], 0
push eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0x14
mov dword [esp + 0x60], 0x10003
mov dword [esp + 0x64], 8
mov dword [esp + 0x6c], 0
call dword [sym.imp.ntdll.dll_NtCreateThreadEx]
mov esi, eax
test esi, esi
js 0x4fe901
test ebx, ebx
je 0x4fe8df
mov ecx, dword [esp + 0xc]
mov dword [ebx], ecx
jmp 0x4fe8ee
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4fe8ee
push eax
call dword [sym.imp.ntdll.dll_NtClose]
test edi, edi
je 0x4fe8ff
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov eax, esi
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00583f7f
add esp, 0x40
ret 0x20

Function at 0x502d60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov edx, dword [esp + 8]
xor eax, eax
test edx, edx
jne 0x502d6d
ret 8
push esi
mov esi, dword [esp + 8]
movzx ecx, byte [esi]
lea esi, [esi + 1]
xor eax, ecx
imul eax, eax, 0x1000193
sub edx, 1
jne 0x502d72
pop esi
ret 8
Function at 0x502da0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
push edi
mov edi, dword [esp + 0xc]
xor ebx, ebx
mov eax, dword [edi]
test eax, eax
jne 0x502db3
pop edi
pop ebx
ret 8
mov edi, dword ds:[edi + 4]
push esi
mov esi, eax
shr esi, 1
cmp byte [esp + 0x14], bl
je 0x502df5
test esi, esi
je 0x502ded
nop word [eax + eax]
movzx eax, word [edi]
lea edi, [edi + 2]
push eax
call dword [sym.imp.ntdll.dll_RtlUpcaseUnicodeChar]
movzx eax, ax
xor eax, ebx
imul ebx, eax, 0x1000193
sub esi, 1
jne 0x502dd0
pop esi
pop edi
mov eax, ebx
pop ebx
ret 8
push eax
push edi
call sym.SystemInformer.exe_Ordinal_1392
pop esi
pop edi
pop ebx
ret 8

Function at 0x503a80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
mov eax, dword [ebp + 8]
push esi
push edi
mov byte [esp + 0xe], 0
mov ecx, dword [eax]
mov esi, ecx
mov edi, dword [eax + 4]
test ecx, ecx
je 0x503ab9
movzx eax, word [edi]
cmp eax, 0x2d
je 0x503aab
cmp eax, 0x2b
jne 0x503ab9
add edi, 2
lea esi, [ecx - 2]
cmp eax, 0x2d
sete byte [esp + 0xe]
movsd xmm2, qword [0x624518]
xor al, al
shr esi, 1
mov dl, 1
mov byte [esp + 0xd], al
xorps xmm0, xmm0
mov ecx, 0
je 0x503b79
movsd xmm3, qword [0x624520]
mov dword [esp + 0x10], 1
nop dword [eax]
mov byte [esp + 0xf], al
movzx eax, word [edi + ecx*2]
cmp eax, 0x2e
jne 0x503b27
cmp byte [esp + 0xd], 0
movzx eax, byte [esp + 0xd]
cmove eax, dword [esp + 0x10]
cmp byte [esp + 0xf], 0
movzx edx, dl
mov dword [esp + 0x14], 0
cmovne edx, dword [esp + 0x14]
mov byte [esp + 0xd], al
jmp 0x503b70
movzx eax, al
mov eax, dword [eax*4 + 0x61f500]
cmp eax, 0xa
jae 0x503b6a
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x624640]
mov al, byte [esp + 0xd]
test al, al
jne 0x503b5c
mulsd xmm0, xmm3
addsd xmm0, xmm1
jmp 0x503b70
divsd xmm2, xmm3
mulsd xmm1, xmm2
addsd xmm0, xmm1
jmp 0x503b70
mov al, byte [esp + 0xd]
xor dl, dl
inc ecx
cmp ecx, esi
jb 0x503af0
mov eax, dword ds:[ebp + 0x10]
test eax, eax
je 0x503b96
cmp byte [esp + 0xe], 0
je 0x503b92
xorps xmm0, xmmword [0x624660]
movsd qword [eax], xmm0
pop edi
mov al, dl
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x504840
Capabilities:
Allocate thread local storage

Disassembly:
cmp dword [0x62db64], 0xffffffff
push ebx
push esi
push edi
jae 0x50495f
mov esi, dword fs:[0x18]
mov eax, dword fs:[0x18]
mov ebx, dword [esi + 0x30]
mov eax, dword [eax + 0x30]
push dword [eax + 0x1c]
call dword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
push 0
push 1
push dword [ebx + 0x40]
call dword [sym.imp.ntdll.dll_RtlFindClearBitsAndSet]
mov edi, eax
cmp edi, 0xffffffff
jne 0x5048fc
nop word [eax + eax]
cmp dword [esi + 0xf94], 0
jne 0x50491f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 0x1c]
call dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
mov eax, dword fs:[0x18]
push 0x1000
push 8
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [esi + 0xf94], eax
test eax, eax
je 0x50495f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 0x1c]
call dword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
push 0
push 1
push dword [ebx + 0x40]
call dword [sym.imp.ntdll.dll_RtlFindClearBitsAndSet]
mov edi, eax
cmp edi, 0xffffffff
je 0x504890
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 0x1c]
call dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
mov dword [esi + edi*4 + 0xe10], 0
mov eax, edi
pop edi
pop esi
pop ebx
ret
push 0
push 1
push dword [ebx + 0x150]
call dword [sym.imp.ntdll.dll_RtlFindClearBitsAndSet]
mov ecx, dword fs:[0x18]
mov edi, eax
mov ecx, dword [ecx + 0x30]
push dword [ecx + 0x1c]
call dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
cmp edi, 0xffffffff
je 0x50495f
mov ecx, dword [esi + 0xf94]
lea eax, [edi + 0x40]
mov dword [ecx + edi*4], 0
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]