joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e1390
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5a2448
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
push ecx
xor ebx, ebx
mov ecx, esp
mov dword [esp + 0x2c], esp
lea eax, [edi + 5]
push eax
mov byte [esp + 0x18], bl
mov edx, dword [esp + 0x18]
push esi
push edx
push ecx
mov byte [esp + 0x28], bl
mov byte [esp + 0x2c], bl
mov byte [esp + 0x30], bl
mov byte [esp + 0x34], bl
mov byte [esp + 0x38], bl
call fcn.00490fa0
mov edx, dword [esp + 0x28]
add esp, 0xc
mov ecx, esp
mov dword [esp + 0x34], esp
lea eax, [edi + 4]
push eax
push esi
push edx
push ecx
mov dword [esp + 0x50], ebx
call fcn.00490fa0
mov edx, dword [esp + 0x30]
add esp, 0xc
mov ecx, esp
mov dword [esp + 0x20], esp
lea eax, [edi + 3]
push eax
push esi
push edx
push ecx
mov byte [esp + 0x54], 1
call fcn.00490fa0
mov edx, dword [esp + 0x38]
add esp, 0xc
mov ecx, esp
mov dword [esp + 0x28], esp
lea eax, [edi + 2]
push eax
push esi
push edx
push ecx
mov byte [esp + 0x58], 2
call fcn.00490fa0
mov edx, dword [esp + 0x40]
add esp, 0xc
mov ecx, esp
mov dword [esp + 0x30], esp
lea eax, [edi + 1]
push eax
push esi
push edx
push ecx
mov byte [esp + 0x5c], 3
call fcn.00490fa0
mov ecx, dword [esp + 0x48]
add esp, 0xc
mov eax, esp
mov dword [esp + 0x38], esp
push edi
push esi
push ecx
push eax
mov byte [esp + 0x60], 4
call fcn.00490fa0
add esp, 0x10
lea edx, [esp + 0x28]
push edx
mov ecx, dword [esp + 0x5c]
or edi, 0xffffffff
mov dword [esp + 0x54], edi
call dword [esp + 0x60]
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x3c], 5
call fcn.004971d0
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 7
call fcn.00497320
push ecx
lea eax, [esp + 0x50]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.004971d0
push esi
call fcn.0046e270
add esp, 8
lea ecx, [esp + 0x4c]
mov dword [esp + 0x38], edi
call fcn.00497320
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
jmp 0x4e1390

Function at 0x4e5390
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x54]
test ecx, ecx
je 0x4e53b0
mov edx, dword [esp + 8]
mov dword [ecx + 0x44], edx
mov eax, dword [eax + 0x54]
push 1
add eax, 4
push eax
call fcn.005614f0
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x30]
push eax
call edx
add esp, 4
push 1
call fcn.00560f29
int3
Function at 0x4e9ef0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x14]
mov ecx, ebp
shr ecx, 5
push esi
mov esi, dword [esp + 0x14]
add ecx, 1
cmp ebp, ecx
push edi
mov edi, ebp
mov dword [esp + 0x1c], ebp
mov edx, ebp
jb 0x4e9f2f
movzx eax, byte [esi + edx - 1]
mov ebx, edi
shl ebx, 5
add eax, ebx
mov ebx, edi
shr ebx, 2
add eax, ebx
sub edx, ecx
xor edi, eax
cmp edx, ecx
jae 0x4e9f10
mov dword [esp + 0x1c], edi
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0x10]
mov edx, dword [ecx + 8]
mov eax, dword [ecx]
sub edx, 1
and edx, edi
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4ea001
jmp 0x4e9f50
cmp byte [eax + 4], 4
jne 0x4e9ff7
cmp dword [eax + 0xc], ebp
jne 0x4e9ff7
cmp ebp, 4
mov ecx, ebp
lea edx, [eax + 0x10]
jb 0x4e9f84
lea ecx, [ecx]
mov ebx, dword [esi]
cmp ebx, dword [edx]
jne 0x4e9f88
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x4e9f70
test ecx, ecx
je 0x4e9fed
movzx ebx, byte [edx]
movzx edi, byte [esi]
sub edi, ebx
jne 0x4e9fd7
sub ecx, 1
add edx, 1
add esi, 1
test ecx, ecx
je 0x4e9fe9
movzx ebx, byte [edx]
movzx edi, byte [esi]
sub edi, ebx
jne 0x4e9fd7
sub ecx, 1
add edx, 1
add esi, 1
test ecx, ecx
je 0x4e9fe9
movzx ebx, byte [edx]
movzx edi, byte [esi]
sub edi, ebx
jne 0x4e9fd7
sub ecx, 1
add edx, 1
add esi, 1
test ecx, ecx
je 0x4e9fe9
movzx ecx, byte [edx]
movzx edi, byte [esi]
sub edi, ecx
je 0x4e9fe9
test edi, edi
mov edi, dword [esp + 0x1c]
mov ecx, 1
jg 0x4e9fef
or ecx, 0xffffffff
jmp 0x4e9fef
mov edi, dword [esp + 0x1c]
xor ecx, ecx
test ecx, ecx
je 0x4ea011
mov esi, dword [esp + 0x18]
mov eax, dword [eax]
test eax, eax
jne 0x4e9f50
mov ebx, dword [esp + 0x14]
push ebp
push esi
mov eax, edi
call fcn.004e9dd0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4ea020
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x14]
mov ecx, ebp
shr ecx, 5
push esi
add ecx, 1
cmp ebp, ecx
mov ebx, ebp
push edi
mov dword [esp + 0x1c], ebx
mov esi, ebp
jb 0x4ea068
mov eax, dword [esp + 0x18]
lea edi, [ecx + ecx]
lea edx, [eax + ebp*2 - 2]
mov eax, ebx
shr ebx, 2
shl eax, 5
add eax, ebx
movzx ebx, word [edx]
add eax, ebx
mov ebx, dword [esp + 0x1c]
xor ebx, eax
sub esi, ecx
sub edx, edi
cmp esi, ecx
mov dword [esp + 0x1c], ebx
jae 0x4ea047
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0x10]
mov edx, dword [ecx + 8]
mov eax, dword [ecx]
sub edx, 1
and edx, ebx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4ea130
cmp byte [eax + 4], 9
jne 0x4ea126
cmp dword [eax + 0xc], ebp
jne 0x4ea126
mov esi, dword [esp + 0x18]
lea ecx, [ebp + ebp]
cmp ecx, 4
lea edx, [eax + 0x10]
jb 0x4ea0bb
mov edi, dword [esi]
cmp edi, dword [edx]
jne 0x4ea0bf
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x4ea0a7
test ecx, ecx
je 0x4ea11c
movzx edi, byte [esi]
movzx ebx, byte [edx]
sub edi, ebx
jne 0x4ea10e
sub ecx, 1
add edx, 1
add esi, 1
test ecx, ecx
je 0x4ea11c
movzx edi, byte [esi]
movzx ebx, byte [edx]
sub edi, ebx
jne 0x4ea10e
sub ecx, 1
add edx, 1
add esi, 1
test ecx, ecx
je 0x4ea11c
movzx edi, byte [esi]
movzx ebx, byte [edx]
sub edi, ebx
jne 0x4ea10e
sub ecx, 1
add edx, 1
add esi, 1
test ecx, ecx
je 0x4ea11c
movzx edi, byte [esi]
movzx ecx, byte [edx]
sub edi, ecx
je 0x4ea11c
test edi, edi
mov ecx, 1
jg 0x4ea11e
or ecx, 0xffffffff
jmp 0x4ea11e
xor ecx, ecx
test ecx, ecx
je 0x4ea145
mov ebx, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
jne 0x4ea084
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ebp
push edx
push eax
mov eax, ebx
call fcn.004e9e50
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x500120
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5a36fb
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x60aecc]
xor eax, esp
mov dword [esp + 0x108], eax
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
mov esi, dword [esp + 0x128]
test esi, esi
je 0x500213
push 1
push 0
lea eax, [esp + 0x18]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x500213
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
call fcn.00500070
add esp, 8
mov edi, dword [esp + 0x12c]
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x124], 0
call fcn.00496ed0
push eax
push esi
call fcn.0055e0b0
mov eax, esi
add esp, 0xc
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x5001c0
sub eax, edx
test eax, eax
jle 0x5001df
cmp byte [esp + eax + 0xf], 0x5c
je 0x5001df
mov byte [esp + eax + 0x10], 0x5c
mov byte [esp + eax + 0x11], cl
lea eax, [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x5001e6
sub eax, edx
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x120], 0xffffffff
call fcn.00497320
cmp esi, edi
jle 0x50020f
mov eax, esi
jmp 0x500216
xor eax, eax
jmp 0x500216
or eax, 0xffffffff
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.0055d2d5
add esp, 0x118
ret
Function at 0x503470
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a3d38
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x1c]
call fcn.00502e80
mov eax, dword [esi + 0x30]
test eax, eax
mov dword [esp + 0x14], 0
je 0x503501
cmp dword [eax], 0
je 0x503501
cmp byte [esp + 0x1c], 0
je 0x503512
mov byte [esi + 0x51], 1
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x48]
push eax
call edx
mov edi, eax
test edi, edi
je 0x5034fd
cmp edi, 0x8876017c
jne 0x5034e0
call fcn.004988c0
mov ecx, eax
call fcn.004988b0
push 0x1dd
push str.._soundstream.cpp
push edi
push 0x5a8554
push 0x5c85f0
call fcn.004dfae0
add esp, 0x14
mov byte [esi + 0x52], 0
cmp byte [esp + 0x1c], 0
je 0x503522
lea ecx, [esi + 0x58]
call fcn.004d8f00
jmp 0x50352a
movzx eax, byte [esi + 0x3d]
push eax
mov ecx, esi
mov byte [esi + 0x51], 0
call fcn.005030d0
lea ecx, [esi + 0x58]
call fcn.004d8ed0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.00502ed0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x505450
Capabilities:
Create http request

Disassembly:
push 0xffffffffffffffff
push 0x5a40c0
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x6143d0], 0
jne 0x505495
mov eax, dword [str.pflib]
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [0x6143d0], eax
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00496da0
push eax
lea ecx, [esi + 4]
mov dword [esp + 0x14], 0
call fcn.00497360
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00497320
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x5054d2
mov eax, 0x5a8554
push eax
lea ecx, [esp + 0x24]
call fcn.00496da0
push eax
lea ecx, [esi + 0xc]
mov dword [esp + 0x14], 1
call fcn.00497360
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], 0xffffffff
call fcn.00497320
mov dl, byte [esp + 0x1c]
push 0x5a8554
lea ecx, [esi + 0x10]
mov byte [esi + 0x15], dl
call fcn.00497d30
mov ecx, dword [esi + 0x18]
test ecx, ecx
mov byte [esi + 0x14], 1
je 0x505529
call fcn.00505290
mov dword [esi + 0x18], 0
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 0xc
Function at 0x5067f0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x5a4368
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 2
call fcn.00496ed0
push eax
call fcn.0056f818
add esp, 4
lea ecx, [esp + 0x24]
mov dword [esi], eax
call fcn.00496ed0
push eax
call fcn.0056f818
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esi + 4], eax
call fcn.00496ed0
push eax
call fcn.0056f818
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
xor ebx, ebx
add esp, 4
mov dword [esi + 8], eax
mov al, byte [esp + 0x2c]
mov byte [esi + 0x25], al
lea eax, [esp + 0xc]
push eax
push ebx
push esi
push 0x5067e0
push ebx
push ebx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x20], ebx
mov byte [esi + 0x24], bl
mov dword [esi + 0x1c], edx
mov dword [esi + 0x28], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.kernel32.dll_CreateThread]
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 1
call fcn.00497320
lea ecx, [esp + 0x24]
mov byte [esp + 0x18], bl
call fcn.00497320
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.00497320
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 0x18
Function at 0x506d60
Capabilities:
Encode data using base64

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
mov esi, dword [0x60791c]
xor edx, edx
mov eax, ebx
div esi
mov ebp, dword [esp + 0x1c]
push edi
mov dword [esp + 0x14], ebp
mov byte [esp + 0x13], 0
test edx, edx
je 0x506db3
sub esi, edx
add esi, ebx
push esi
mov byte [esp + 0x17], 1
call fcn.0055ce46
push esi
mov edi, eax
push 0x3d
push edi
mov dword [esp + 0x24], edi
call fcn.0055da20
push ebx
push ebp
push edi
call fcn.0055e1e0
add esp, 0x1c
mov ebx, esi
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
xor edi, edi
cmp ebx, 1
mov ebp, ebx
jb 0x506e80
mov dl, byte [eax]
mov cl, byte [eax + 1]
add eax, 1
movzx ebx, byte [eax + 1]
mov byte [esp + 0x24], bl
add eax, 1
movzx ebx, byte [eax + 1]
mov byte [esp + 0x20], bl
movzx ebx, byte [esp + 0x24]
movzx ebx, byte [ebx + 0x607928]
sub ebp, dword [0x60791c]
add eax, 1
mov byte [esp + 0x24], bl
movzx ebx, byte [esp + 0x20]
movzx ebx, byte [ebx + 0x607928]
mov byte [esp + 0x20], bl
movzx ecx, cl
mov cl, byte [ecx + 0x607928]
movzx edx, dl
movzx edx, byte [edx + 0x607928]
mov bl, cl
shr bl, 4
and bl, 3
add dl, dl
add dl, dl
or dl, bl
mov byte [esi], dl
mov dl, byte [esp + 0x24]
mov bl, dl
shr bl, 2
shl cl, 4
and bl, 0xf
or bl, cl
movzx ecx, byte [esp + 0x20]
add esi, 1
mov byte [esi], bl
mov bl, dl
and cl, 0x3f
shl bl, 6
add esi, 1
or cl, bl
mov byte [esi], cl
add edi, dword [0x607920]
add eax, 1
add esi, 1
cmp byte [esp + 0x20], 0x40
jne 0x506e77
sub edi, 1
cmp dl, 0x40
jne 0x506e77
sub edi, 1
cmp ebp, 1
jae 0x506dc8
cmp byte [esp + 0x13], 0
je 0x506e94
mov edx, dword [esp + 0x14]
push edx
call fcn.0055f5cf
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

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

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push ebx
push ebp
mov ebp, ecx
mov ecx, dword [esp + 0x14]
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ecx]
xor esi, dword [ebx]
push edi
mov edi, dword [eax]
add ebx, 4
mov dword [esp + 0x10], 8
push esi
mov ecx, ebp
call fcn.00506f30
xor eax, dword [ebx]
mov ecx, ebp
xor edi, eax
push edi
call fcn.00506f30
xor eax, dword [ebx + 4]
add ebx, 8
xor esi, eax
sub dword [esp + 0x10], 1
jne 0x506f95
mov edx, dword [ebp + 0x10]
xor edi, dword [edx + 0x44]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [eax], esi
mov dword [ecx], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
Function at 0x506fe0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push ebx
push ebp
mov ebp, ecx
mov ebx, dword [ebp + 0x10]
mov ecx, dword [esp + 0x14]
push esi
mov esi, dword [ebx + 0x44]
xor esi, dword [ecx]
push edi
mov edi, dword [eax]
add ebx, 0x40
mov dword [esp + 0x10], 8
push esi
mov ecx, ebp
call fcn.00506f30
xor eax, dword [ebx]
mov ecx, ebp
xor edi, eax
push edi
call fcn.00506f30
xor eax, dword [ebx - 4]
sub ebx, 8
xor esi, eax
sub dword [esp + 0x10], 1
jne 0x507006
mov edx, dword [ebp + 0x10]
xor edi, dword [edx]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [eax], esi
mov dword [ecx], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8

Function at 0x507050
Capabilities:
Encode data using xor

Disassembly:
push ecx
cmp dword [esp + 0x14], 0
push ebp
mov ebp, ecx
mov dword [esp + 4], 0
jle 0x5070ce
push ebx
mov ebx, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, edi
mov edi, dword [ebp + 0x10]
xor esi, dword [edi]
add edi, 4
mov dword [esp + 0x1c], 8
push esi
mov ecx, ebp
call fcn.00506f30
xor eax, dword [edi]
mov ecx, ebp
xor ebx, eax
push ebx
call fcn.00506f30
xor eax, dword [edi + 4]
add edi, 8
xor esi, eax
sub dword [esp + 0x1c], 1
jne 0x507080
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 0x44]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
xor edx, ebx
mov dword [ecx + eax*4 + 4], esi
mov dword [ecx + eax*4], edx
add eax, 2
cmp eax, dword [esp + 0x24]
mov ebx, esi
mov esi, edx
mov dword [esp + 0x10], eax
jl 0x507070
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 0x10
Function at 0x5070e0
Capabilities:
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
push edi
mov edi, dword [ebx]
mov ecx, 0x100
mov esi, 0x5cb200
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebx + 4]
mov ecx, 0x100
mov esi, 0x5cb600
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebx + 8]
mov ecx, 0x100
mov esi, 0x5cba00
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebx + 0xc]
mov ecx, 0x100
mov esi, 0x5cbe00
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebx + 0x10]
mov ecx, 0x12
mov esi, 0x5cb1b8
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
xor eax, eax
xor ebp, ebp
lea esp, [esp]
movzx ecx, byte [eax + edi]
add eax, 1
cmp eax, esi
jl 0x50714d
xor eax, eax
movzx edx, byte [eax + edi]
shl ecx, 8
add eax, 1
or edx, ecx
cmp eax, esi
jl 0x50715f
xor eax, eax
movzx ecx, byte [eax + edi]
shl edx, 8
add eax, 1
or ecx, edx
cmp eax, esi
jl 0x507171
xor eax, eax
movzx edx, byte [eax + edi]
shl ecx, 8
add eax, 1
or edx, ecx
cmp eax, esi
jl 0x507183
xor eax, eax
mov ecx, dword [ebx + 0x10]
xor dword [ecx + ebp], edx
add ecx, ebp
add ebp, 4
cmp ebp, 0x48
jl 0x507140
mov edx, dword [ebx + 0x10]
push 0x12
push edx
push 0
push 0
mov ecx, ebx
call fcn.00507050
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx]
mov edx, dword [eax + 0x44]
mov eax, dword [eax + 0x40]
push 0x100
push ecx
push edx
push eax
mov ecx, ebx
call fcn.00507050
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [eax + 0x3fc]
mov eax, dword [eax + 0x3f8]
push 0x100
push ecx
push edx
push eax
mov ecx, ebx
call fcn.00507050
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
mov edx, dword [eax + 0x3fc]
mov eax, dword [eax + 0x3f8]
push 0x100
push ecx
push edx
push eax
mov ecx, ebx
call fcn.00507050
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov edx, dword [eax + 0x3fc]
mov eax, dword [eax + 0x3f8]
push 0x100
push ecx
push edx
push eax
mov ecx, ebx
call fcn.00507050
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x507e00
Capabilities:
Check os version

Disassembly:
cmp dword [0x6143e4], 0
jne 0x507e27
mov dword [0x6143e4], 1
call dword [sym.imp.kernel32.dll_GetVersion]
cmp al, 6
jb 0x507e27
mov dword [0x6143e4], 2
xor eax, eax
cmp dword [0x6143e4], 2
sete al
ret

Function at 0x507e40
Capabilities:
Check os version

Disassembly:
cmp dword [0x6143e8], 0
jne 0x507e7f
mov dword [0x6143e8], 1
call dword [sym.imp.kernel32.dll_GetVersion]
movzx ecx, al
cmp ecx, 5
jne 0x507e73
cmp ah, 1
jae 0x507e75
xor eax, eax
cmp dword [0x6143e8], 2
sete al
ret
jbe 0x507e7f
mov dword [0x6143e8], 2
xor eax, eax
cmp dword [0x6143e8], 2
sete al
ret
Function at 0x5094d0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, dword [ecx]
mov ecx, dword [eax + 0xc]
jmp 0x5094d0
push 0xffffffffffffffff
push 0x5a4518
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esi + 0x3f0]
push 0xffffffffffffffff
push ebp
mov dword [esp + 0x1c], ebp
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x24]
mov ebx, dword [esi + 0x28]
mov edi, dword [esi + 0x30]
mov dword [esp + 0x24], ecx
lea ecx, [esi + 0xc]
mov dword [esp + 0x34], 0
mov dword [esp + 0x1c], eax
call fcn.00523c70
cmp edi, dword [esi + 0x30]
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x28]
mov edx, dword [esi + 0x2c]
jne 0x509552
cmp ebx, eax
jne 0x509552
cmp dword [esp + 0x1c], ecx
jne 0x509552
cmp dword [esp + 0x24], edx
je 0x509560
mov ecx, esi
mov byte [esi + 0x380], 0
call fcn.00508840
cmp dword [esp + 0x18], 0
jne 0x50956e
push ebp
call dword [sym.imp.kernel32.dll_ReleaseMutex]
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x50bb20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a4849
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
mov dword [edi], vtable.TDXContext.0
mov eax, dword [edi + 0x3e4]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x20], 6
je 0x50bb72
push eax
call dword [sym.imp.USER32.dll_DestroyCursor]
mov dword [edi + 0x3e4], ebx
mov eax, dword [edi + 0x1e4]
cmp eax, ebx
je 0x50bb7f
mov dword [eax + 4], ebx
mov ecx, edi
call fcn.00508260
mov eax, dword [edi + 0x3f0]
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [edi + 0x3d4]
cmp eax, ebx
lea esi, [edi + 0x3d0]
je 0x50bbbf
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 8]
push edx
push esi
push ecx
push eax
call fcn.0050b490
mov eax, dword [esi + 4]
push eax
call fcn.0055d39b
add esp, 0x14
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [edi + 0x3c4]
cmp eax, ebx
lea esi, [edi + 0x3c0]
je 0x50bbf4
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 8]
push edx
push esi
push ecx
push eax
call fcn.0050b490
mov eax, dword [esi + 4]
push eax
call fcn.0055d39b
add esp, 0x14
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov esi, dword [edi + 0x3bc]
or ebp, 0xffffffff
cmp esi, ebx
mov byte [esp + 0x20], 3
je 0x50bc31
add dword [esi + 4], ebp
cmp dword [esi + 4], ebx
jne 0x50bc31
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
add dword [esi + 8], ebp
cmp dword [esi + 8], ebx
jne 0x50bc31
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov esi, dword [edi + 0x3b4]
cmp esi, ebx
mov byte [esp + 0x20], 2
je 0x50bc62
add dword [esi + 4], ebp
cmp dword [esi + 4], ebx
jne 0x50bc62
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
add dword [esi + 8], ebp
cmp dword [esi + 8], ebx
jne 0x50bc62
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push fcn.00523cf0
push 3
push 0x84
lea eax, [edi + 0x1f4]
push eax
mov byte [esp + 0x30], 1
call fcn.0055d958
lea ecx, [edi + 0xc]
mov byte [esp + 0x20], bl
call fcn.00523db0
lea ecx, [edi + 4]
mov dword [esp + 0x20], ebp
call fcn.00497320
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret