joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c3f80
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x573bc3
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x59b000]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
push esi
push edi
mov eax, dword [0x59b000]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 0
mov edi, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
mov dword [esi + 0x1c], 0xffffffff
jne 0x4c3fde
xor al, al
jmp 0x4c4129
call fcn.004bc590
test al, al
je 0x4c3fd7
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
call fcn.004bbf80
mov dword [esp + 0xa8], 0
test edi, edi
je 0x4c4007
lea eax, [edi + 4]
jmp 0x4c4009
xor eax, eax
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
call fcn.004658c0
mov dword [esp + 0x20], 0x4442f8
cmp dword [esp + 0x34], 0
mov byte [esp + 0xa8], 1
jne 0x4c4047
xor edi, edi
jmp 0x4c4055
cmp dword [esp + 0x38], 0x10
lea edi, [esp + 0x24]
cmovae edi, dword [esp + 0x24]
push 0x40
lea eax, [esp + 0x60]
mov dword [esp + 0x5c], 0x44
push 0
push eax
call fcn.0054b440
add esp, 0xc
xorps xmm0, xmm0
cmp dword [ebx + 0x14], 0
movdqu xmmword [esp + 0x10], xmm0
jne 0x4c408d
cmp dword [esp + 0x54], 0x10
lea eax, [esp + 0x40]
cmovae eax, dword [esp + 0x40]
jmp 0x4c4098
cmp dword [ebx + 0x18], 0x10
lea eax, [ebx + 4]
jb 0x4c4098
mov eax, dword [eax]
cmp dword [esi + 0x18], 0x10
lea ecx, [esi + 4]
jb 0x4c40a3
mov ecx, dword [ecx]
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x5c]
push edx
push eax
push 0
push 8
push 0
push 0
push 0
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4c40c8
xor bl, bl
jmp 0x4c40e3
mov eax, dword [esp + 0x18]
push dword [esp + 0x10]
mov dword [esi + 0x1c], eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x14]
call esi
mov bl, 1
cmp dword [esp + 0x38], 0x10
mov dword [esp + 0x20], 0x4442f8
jb 0x4c40fe
push dword [esp + 0x24]
call fcn.00549eaf
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
mov dword [esp + 0xa8], 0xffffffff
call fcn.0045fd40
mov al, bl
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.0054a992
add esp, 0x9c
ret 8
Function at 0x4c44c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x573cac
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x59b000]
xor eax, esp
mov dword [esp + 0x1a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x59b000]
xor eax, esp
push eax
lea eax, [esp + 0x1b8]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x14], 0
mov byte [esp + 0x17], 0
jne 0x4c450f
xor al, al
jmp 0x4c46d1
mov eax, dword [edi + 0x20]
cmp dword [eax + 4], 0
je 0x4c4508
mov eax, dword [eax + 0x18]
push 0
push 2
call eax
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4c4508
mov dword [esp + 0x8c], 0x128
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
lea ecx, [esp + 0x8c]
mov eax, dword [edi + 0x20]
push ecx
push ebp
mov dword [esp + 0x20], ebx
mov eax, dword [eax + 0x1c]
call eax
test eax, eax
je 0x4c46c6
push 1
lea eax, [esp + 0x74]
mov ecx, edi
push eax
call fcn.004bc350
mov ecx, dword [esp + 0x84]
mov esi, dword [sym.imp.USER32.dll_CharUpperBuffA]
mov dword [esp + 0x1c0], 0
test ecx, ecx
je 0x4c45a0
cmp dword [esp + 0x88], 0x10
lea eax, [esp + 0x74]
push ecx
cmovae eax, dword [esp + 0x78]
push eax
call esi
jmp 0x4c45a0
cmp ebx, dword [esp + 0x94]
je 0x4c4683
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x58]
call fcn.004bbb30
mov ecx, dword [esp + 0x68]
mov byte [esp + 0x1c0], 1
test ecx, ecx
je 0x4c45e0
cmp dword [esp + 0x6c], 0x10
lea eax, [esp + 0x58]
push ecx
cmovae eax, dword [esp + 0x5c]
push eax
call esi
push 1
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x78]
call fcn.004bc350
mov byte [esp + 0x1c0], 2
test eax, eax
je 0x4c4601
lea esi, [eax + 4]
jmp 0x4c4603
xor esi, esi
push 1
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x5c]
call fcn.004bc350
mov byte [esp + 0x1c0], 3
test eax, eax
je 0x4c4624
lea ecx, [eax + 4]
jmp 0x4c4626
xor ecx, ecx
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
jb 0x4c4631
mov esi, dword [esi]
push eax
push esi
push dword [ecx + 0x10]
push 0
call fcn.0046b3e0
test eax, eax
mov byte [esp + 0x1c0], 2
lea ecx, [esp + 0x38]
sete bl
call fcn.0045fd40
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c0], 1
call fcn.0045fd40
mov byte [esp + 0x1c0], 0
lea ecx, [esp + 0x54]
test bl, bl
jne 0x4c469e
call fcn.0045fd40
mov ebx, dword [esp + 0x18]
mov esi, dword [sym.imp.USER32.dll_CharUpperBuffA]
mov eax, dword [edi + 0x20]
lea ecx, [esp + 0x8c]
push ecx
push ebp
mov eax, dword [eax + 0x20]
call eax
test eax, eax
jne 0x4c45a0
jmp 0x4c46b2
mov eax, dword [esp + 0x94]
mov dword [edi + 0x1c], eax
mov byte [esp + 0x17], 1
call fcn.0045fd40
lea ecx, [esp + 0x70]
mov dword [esp + 0x1c0], 0xffffffff
call fcn.0045fd40
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x1b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
call fcn.0054a992
add esp, 0x1b0
ret
Function at 0x4c4720
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x573ce8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x59b000]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x59b000]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 0
mov edi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x80]
mov dword [esi + 0x1c], 0xffffffff
jne 0x4c4772
xor al, al
jmp 0x4c4852
call fcn.004bc590
test al, al
je 0x4c476b
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
call fcn.004bbf80
cmp dword [edi + 0x14], 0
mov dword [esp + 0x74], 0
jne 0x4c4799
xor edi, edi
jmp 0x4c47a4
add edi, 4
cmp dword [edi + 0x14], 0x10
jb 0x4c47a4
mov edi, dword [edi]
push 0x38
lea eax, [esp + 0x18]
push 0
push eax
call fcn.0054b440
lea eax, [esi + 4]
mov dword [esp + 0x1c], 0x3c
add esp, 0xc
mov dword [esp + 0x18], 0
cmp dword [eax + 0x14], 0x10
mov dword [esp + 0x14], 0x440
jb 0x4c47d8
mov eax, dword [eax]
cmp dword [ebx + 0x14], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edi
jne 0x4c47f6
cmp dword [esp + 0x64], 0x10
lea eax, [esp + 0x50]
cmovae eax, dword [esp + 0x50]
jmp 0x4c4801
cmp dword [ebx + 0x18], 0x10
lea eax, [ebx + 4]
jb 0x4c4801
mov eax, dword [eax]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x30], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x4c4820
xor bl, bl
jmp 0x4c483f
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x4c4833
push dword [esp + 0x48]
call eax
mov dword [esi + 0x1c], eax
push dword [esp + 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
lea ecx, [esp + 0x4c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0045fd40
mov al, bl
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0054a992
add esp, 0x68
ret 8
Function at 0x4c6400
Capabilities:
Delete file

Disassembly:
add ecx, 8
cmp dword [ecx + 0x14], 0x10
jb 0x4c640b
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
ret

Function at 0x4c7e10
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x57432b
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x59b000]
xor eax, esp
mov dword [esp + 0x194], eax
mov eax, dword [0x59b000]
xor eax, esp
push eax
lea eax, [esp + 0x19c]
mov dword fs:[0], eax
push 0x5a2090
lea ecx, [esp + 8]
mov dword [esp + 8], 0
call fcn.004c5cc0
cmp dword [0x598530], 0xffffffff
mov dword [esp + 0x1a4], 0
jne 0x4c7e83
lea eax, [esp + 8]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [0x598530], eax
lea ecx, [esp + 4]
mov dword [esp + 0x1a4], 0xffffffff
call fcn.004c5d00
mov eax, 0x598530
mov ecx, dword [esp + 0x19c]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.0054a992
add esp, 0x1a4
ret
Function at 0x4cd460
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x57449b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x59b000]
xor eax, esp
mov dword [esp + 8], eax
push esi
push edi
mov eax, dword [0x59b000]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0xe9c], 0
lea esi, [edi + 0xe9c]
jne 0x4cd572
mov dword [esp + 0x10], 0
call fcn.004ce070
push eax
lea ecx, [esp + 0x14]
call fcn.004c5cc0
cmp byte [esi], 0
mov dword [esp + 0x20], 0
jne 0x4cd561
cmp dword [edi + 0xea0], 0
jne 0x4cd504
push 4
call fcn.00549e5e
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x20], 1
test eax, eax
je 0x4cd4fc
mov ecx, eax
mov dword [eax], 0
call fcn.004c5ca0
jmp 0x4cd4fe
xor eax, eax
mov dword [edi + 0xea0], eax
mov dword [esp + 0xc], esi
mov ecx, edi
mov byte [esp + 0x20], 2
call fcn.004e1af0
test al, al
jne 0x4cd530
lea ecx, [esp + 0x10]
mov byte [esi], 1
mov dword [esp + 0x20], 0xffffffff
call fcn.004c5d00
xor al, al
jmp 0x4cd574
mov ecx, edi
mov dword [esp + 0x20], 2
call fcn.004cd6e0
call fcn.004ec090
test al, al
jne 0x4cd550
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
call fcn.004eb010
mov ecx, eax
call fcn.004ebfa0
mov byte [esi], 1
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.004c5d00
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.0054a992
add esp, 0x18
ret

Function at 0x4dc4b0
Capabilities:
Read file via mapping

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, ecx
push dword [esp + 0xc]
call fcn.004dc4f0
mov ecx, dword [esi + 0x18]
cmp ecx, 0xffffffff
je 0x4dc4e6
push 0
push 0
push 0
push 6
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
jne 0x4dc4e1
xor al, al
pop esi
ret 8
mov dword [esi + 0x14], eax
mov al, 1
pop esi
ret 8
Function at 0x4dceb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x576147
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x59b000]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov dword [edi], 0x44d2e8
mov esi, dword [edi + 0x74]
mov dword [esp + 0x18], 4
cmp esi, dword [edi + 0x78]
je 0x4dcf04
nop
mov ecx, dword [esi]
test ecx, ecx
je 0x4dcefc
mov eax, dword [ecx]
push 1
call dword [eax]
add esi, 4
cmp esi, dword [edi + 0x78]
jne 0x4dcef0
mov eax, dword [edi + 0x74]
mov dword [edi + 0x78], eax
test eax, eax
je 0x4dcf2c
push eax
call fcn.00549eaf
add esp, 4
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x58], 0x4442f8
cmp dword [edi + 0x70], 0x10
jb 0x4dcf44
push dword [edi + 0x5c]
call fcn.00549eaf
add esp, 4
mov dword [edi + 0x70], 0xf
mov dword [edi + 0x6c], 0
mov byte [edi + 0x5c], 0
mov dword [edi + 0x3c], 0x4442f8
cmp dword [edi + 0x54], 0x10
jb 0x4dcf6e
push dword [edi + 0x40]
call fcn.00549eaf
add esp, 4
mov dword [edi + 0x54], 0xf
mov dword [edi + 0x50], 0
mov byte [edi + 0x40], 0
mov dword [edi + 0x20], 0x4442f8
cmp dword [edi + 0x38], 0x10
jb 0x4dcf98
push dword [edi + 0x24]
call fcn.00549eaf
add esp, 4
mov dword [edi + 0x38], 0xf
lea ecx, [edi + 4]
mov dword [edi + 0x34], 0
mov byte [edi + 0x24], 0
mov dword [esp + 0x18], 0xffffffff
call fcn.0045fd40
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x4dcfd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov dword [esi + 0xa0], 0x4442f8
cmp dword [esi + 0xb8], 0x10
jb 0x4dcff4
push dword [esi + 0xa4]
call fcn.00549eaf
add esp, 4
mov dword [esi + 0xb8], 0xf
mov dword [esi + 0xb4], 0
mov byte [esi + 0xa4], 0
mov dword [esi + 0x84], 0x4442f8
cmp dword [esi + 0x9c], 0x10
jb 0x4dd030
push dword [esi + 0x88]
call fcn.00549eaf
add esp, 4
mov dword [esi + 0x9c], 0xf
mov ecx, esi
mov dword [esi + 0x98], 0
mov byte [esi + 0x88], 0
pop esi
jmp fcn.004dceb0
Function at 0x4e04c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x578d98
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x59b000]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x38]
lea ecx, [esp + 0xc]
push edi
call fcn.004bbaf0
lea eax, [esp + 0xc]
mov dword [esp + 0x30], 0
push eax
lea ecx, [esi + 0x18]
call fcn.004bbc00
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.0045fd40
cmp dword [esi + 8], 0
jne 0x4e057c
cmp dword [esi + 4], 0
jne 0x4e057c
push dword [esi + 0xc]
mov dword [esi + 0x10], 2
call fcn.004e16b0
add esp, 4
mov dword [esi + 8], eax
mov ecx, eax
mov edx, dword [eax]
push 2
call dword [edx + 0x78]
mov eax, dword [esi + 0xc]
cmp eax, 2
jl 0x4e057c
cmp eax, 3
jle 0x4e0557
cmp eax, 6
jne 0x4e057c
mov eax, dword [esi + 0x10]
dec eax
je 0x4e0568
dec eax
je 0x4e0572
dec eax
jne 0x4e057c
mov ecx, dword [esi + 4]
jmp 0x4e0575
mov ecx, dword [esi + 4]
push 2
mov eax, dword [ecx]
call dword [eax + 0x78]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
push 2
call dword [eax + 0x78]
mov eax, dword [esi + 0x10]
dec eax
je 0x4e058d
dec eax
je 0x4e0599
dec eax
jne 0x4e05a5
mov ecx, dword [esi + 4]
jmp 0x4e059c
mov ecx, dword [esi + 4]
push edi
mov eax, dword [ecx]
call dword [eax + 0x90]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
push edi
call dword [eax + 0x90]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 4

Function at 0x4e2ec0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x576963
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x59b000]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0
mov byte [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x1c], 0
mov byte [esi + 0x20], 0
mov dword [esi], 0x44d89c
xorps xmm0, xmm0
mov byte [esi + 0x24], 0x20
movq qword [esi + 0x28], xmm0
mov dword [esi + 0x30], 0
push 0x24
mov dword [esp + 0x1c], 0
movq qword [esi + 0x34], xmm0
call fcn.00549e5e
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x18], 1
test eax, eax
je 0x4e2f8d
xorps xmm0, xmm0
mov ecx, eax
movdqu xmmword [eax], xmm0
push 0
movdqu xmmword [eax + 0x10], xmm0
push 1
mov dword [eax + 0x20], 0
call fcn.00484bc0
mov dword [esi + 0x3c], eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
mov dword [esi + 0x3c], 0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x4e33d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x576963
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x59b000]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0
mov byte [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x1c], 0
mov byte [esi + 0x20], 0
mov dword [esi], 0x44d8c4
xorps xmm0, xmm0
mov byte [esi + 0x24], 0x21
movq qword [esi + 0x28], xmm0
mov dword [esi + 0x30], 0
push 0x24
mov dword [esp + 0x1c], 0
movq qword [esi + 0x34], xmm0
call fcn.00549e5e
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x18], 1
test eax, eax
je 0x4e349d
xorps xmm0, xmm0
mov ecx, eax
movdqu xmmword [eax], xmm0
push 0
movdqu xmmword [eax + 0x10], xmm0
push 1
mov dword [eax + 0x20], 0
call fcn.00484bc0
mov dword [esi + 0x3c], eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
mov dword [esi + 0x3c], 0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x4e5a40
Capabilities:
Get hostname
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x576b6b
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x59b000]
xor eax, esp
mov dword [esp + 0x2f8], eax
push ebx
push esi
push edi
mov eax, dword [0x59b000]
xor eax, esp
push eax
lea eax, [esp + 0x30c]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [esp + 0x320]
lea eax, [esp + 0x18]
push 0x2f0
push 0
push eax
call fcn.0054b440
push 0x2c4
lea eax, [esp + 0x50]
mov dword [esp + 0x2c], 0xffffffff
push 0
push eax
mov dword [esp + 0x38], 0
mov byte [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x4c], 0
mov byte [esp + 0x50], 0
mov dword [esp + 0x30], 0x44d70c
mov byte [esp + 0x54], 0x64
call fcn.0054b440
add esp, 0x18
mov dword [esp + 0x304], 0
mov dword [esp + 0x314], 0
call fcn.004c41d0
mov ecx, eax
call fcn.004c42d0
mov dword [esi + 0x1d0], eax
call fcn.005120a0
mov ecx, eax
call fcn.00512e70
test al, al
je 0x4e5b31
mov dword [esi + 0x1d0], 0
push esi
mov ecx, ebx
call fcn.004e5d30
push esi
mov ecx, ebx
call fcn.004e5c40
lea edi, [esi + 0x134]
mov byte [esi + 0x1b3], 0
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e5b53
sub ecx, edx
jne 0x4e5b67
push 0x7f
push edi
call dword [sym.imp.WS2_32.dll_gethostname]
lea ecx, [edi + 1]
lea ebx, [ebx]
mov al, byte [edi]
inc edi
test al, al
jne 0x4e5b70
sub edi, ecx
mov eax, 0x80
sub eax, edi
push eax
lea eax, [esi + 0x134]
add eax, edi
push 0
push eax
call fcn.0054b440
mov eax, dword [esp + 0x328]
lea edi, [esp + 0x50]
and eax, 0x13
mov ecx, 0xb0
or eax, 0x10000000
add esp, 0xc
mov dword [esp + 0x40], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.004e65f0
push 1
movzx eax, al
lea ecx, [ebx + 0x14]
push 8
mov dword [esp + 0x220], eax
lea eax, [esp + 0x20]
push 0x2c8
push eax
call fcn.00511860
test al, al
jne 0x4e5be1
xor esi, esi
jmp 0x4e5bf0
mov esi, dword [esp + 0x304]
mov dword [esp + 0x14], 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x314], 0xffffffff
mov dword [esp + 0x18], 0x44d70c
call fcn.0050bda0
mov eax, esi
mov ecx, dword [esp + 0x30c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2f8]
xor ecx, esp
call fcn.0054a992
add esp, 0x308
ret 8
Function at 0x4e5c40
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x576bb0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x59b000]
xor eax, esp
mov dword [esp + 0x2c], eax
push esi
mov eax, dword [0x59b000]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, dword [esp + 0x48]
lea eax, [esp + 0x24]
push 0xf
add esi, 0x2ac
xorps xmm0, xmm0
push eax
push 0x44de80
movdqu xmmword [esp + 0x30], xmm0
movdqu xmmword [esi], xmm0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x4e5d04
cmp eax, 0x10
jae 0x4e5d04
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x44], 0
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x4442f8
call fcn.004ba720
push 0x10
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x48], 1
call fcn.004bb6c0
cmp dword [esp + 0x20], 0x10
mov dword [esp + 8], 0x4442f8
jb 0x4e5d04
push dword [esp + 0xc]
call fcn.00549eaf
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0054a992
add esp, 0x3c
ret 4

Function at 0x4e5d30
Capabilities:
Access peb ldr_data
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x576bf6
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x59b000]
xor eax, esp
mov dword [esp + 0xa0], eax
push esi
push edi
mov eax, dword [0x59b000]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov esi, dword [esp + 0xc0]
lea eax, [esp + 0x2d]
push 0x7f
xorps xmm0, xmm0
mov byte [esp + 0x30], 0
lea edi, [esi + 0x270]
push 0
movdqu xmmword [edi], xmm0
push eax
movdqu xmmword [edi + 0x10], xmm0
call fcn.0054b440
add esp, 0xc
mov dword [esp + 0xc], 0x80
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x4e5e22
mov eax, dword [esp + 0xc]
dec eax
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0xbc], 0
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0x4442f8
call fcn.004ba720
push 0x20
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0xc0], 1
call fcn.004bb6c0
cmp dword [esp + 0x28], 0x10
mov dword [esp + 0x10], 0x4442f8
jb 0x4e5e22
push dword [esp + 0x14]
call fcn.00549eaf
add esp, 4
mov byte [esi + 0x28f], 0
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0054a992
add esp, 0xb0
ret 4
Function at 0x4e65f0
Capabilities:
Encode data using xor
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x59b000]
xor eax, esp
mov dword [esp + 0x104], eax
push edi
mov edi, ecx
mov al, byte [edi + 0x1b8]
test al, al
jne 0x4e67cb
push ebx
push esi
push 0x100
xor ebx, ebx
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.0054b440
add esp, 0xc
lea eax, [esp + 0x10]
push 0x100
push eax
push 0x44e1f0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xcb
je 0x4e67c7
test esi, esi
je 0x4e67c7
cmp esi, 0x20
jae 0x4e67c7
mov ecx, 0x44e1fc
lea eax, [esp + 0x10]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e6690
test dl, dl
je 0x4e668c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e6690
add eax, 2
add ecx, 2
test dl, dl
jne 0x4e6670
xor eax, eax
jmp 0x4e6695
sbb eax, eax
or eax, 1
test eax, eax
je 0x4e67c7
mov ecx, 0x44e204
lea eax, [esp + 0x10]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e66c6
test dl, dl
je 0x4e66c2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e66c6
add eax, 2
add ecx, 2
test dl, dl
jne 0x4e66a6
xor eax, eax
jmp 0x4e66cb
sbb eax, eax
or eax, 1
test eax, eax
je 0x4e67c7
mov ecx, 0x44e20c
lea eax, [esp + 0x10]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e6700
test dl, dl
je 0x4e66fc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e6700
add eax, 2
add ecx, 2
test dl, dl
jne 0x4e66e0
xor eax, eax
jmp 0x4e6705
sbb eax, eax
or eax, 1
test eax, eax
je 0x4e67c7
push 8
lea eax, [esp + 0x14]
push 0x44e214
push eax
call fcn.0054caf0
add esp, 0xc
test eax, eax
jne 0x4e677f
lea eax, [esp + 0xc]
mov dword [esp + 0xc], ebx
push eax
lea eax, [esp + 0x14]
push 0x44e220
push eax
call fcn.0054fb9d
add esp, 0xc
cmp eax, 1
jne 0x4e6761
mov eax, dword [esp + 0xc]
inc eax
and eax, 0x800000ff
jns 0x4e6758
dec eax
or eax, 0xffffff00
inc eax
movzx ebx, byte [eax + 0x44dd80]
jmp 0x4e679b
xor edx, edx
test esi, esi
je 0x4e67a2
movsx ecx, byte [esp + edx + 0x10]
inc edx
movzx eax, bx
xor ecx, eax
movzx ebx, byte [ecx + 0x44dd80]
cmp edx, esi
jb 0x4e6767
jmp 0x4e679b
xor edx, edx
test esi, esi
je 0x4e67a2
movsx ecx, byte [esp + edx + 0x10]
inc edx
movzx eax, bx
xor ecx, eax
movzx ebx, byte [ecx + 0x44dd80]
cmp edx, esi
jb 0x4e6785
xor eax, eax
cmp ax, bx
jne 0x4e67a7
mov ebx, 0xff
pop esi
mov byte [edi + 0x1b8], bl
mov al, bl
pop ebx
pop edi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0054a992
add esp, 0x108
ret
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x108]
pop edi
xor ecx, esp
call fcn.0054a992
add esp, 0x108
ret