joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4671b0
Capabilities:
Identify system language via api

Disassembly:
mov eax, dword fs:[0x2c]
mov edx, dword [0x625fc4]
push edi
mov edi, ecx
mov edx, dword [eax + edx*4]
mov eax, dword [0x623d28]
cmp eax, dword [edx + 0x1018]
jg 0x4672ff
cmp byte [0x623d24], 0
jne 0x4671e0
mov al, 1
pop edi
ret
push esi
mov byte [0x623d24], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
and eax, 0x3ff
mov ecx, eax
or ecx, 0x800
xor esi, esi
nop dword [eax]
cmp ecx, dword [esi*4 + 0x41f2a8]
je 0x46727e
cmp ecx, dword [esi*4 + 0x41f2ac]
je 0x467238
cmp ecx, dword [esi*4 + 0x41f2b0]
je 0x467233
cmp ecx, dword [esi*4 + 0x41f2b4]
je 0x46722e
add esi, 4
cmp esi, 0x10
jb 0x467200
jmp 0x46723e
add esi, 3
jmp 0x467239
add esi, 2
jmp 0x467239
inc esi
cmp esi, 0x10
jb 0x46727e
xor esi, esi
cmp eax, dword [esi*4 + 0x41f2a8]
je 0x46727e
cmp eax, dword [esi*4 + 0x41f2ac]
je 0x467278
cmp eax, dword [esi*4 + 0x41f2b0]
je 0x467273
cmp eax, dword [esi*4 + 0x41f2b4]
je 0x46726e
add esi, 4
cmp esi, 0x10
jb 0x467240
jmp 0x46728c
add esi, 3
jmp 0x467279
add esi, 2
jmp 0x467279
inc esi
cmp esi, 0x10
jae 0x46728c
push dword [esi*4 + 0x60f008]
mov ecx, edi
call fcn.00467340
mov eax, dword [edi + 4]
test eax, eax
jne 0x4672a9
cmp esi, 0x10
jae 0x4672a9
push dword [esi*4 + 0x60f008]
mov ecx, edi
call fcn.00467500
mov eax, dword [edi + 4]
pop esi
test eax, eax
jne 0x4672fa
push dword [0x60f008]
mov ecx, edi
call fcn.00467340
mov eax, dword [edi + 4]
test eax, eax
jne 0x4672fa
push dword [0x60f008]
mov ecx, edi
call fcn.00467500
mov eax, dword [edi + 4]
test eax, eax
jne 0x4672fa
push 0x41ed20
mov ecx, edi
call fcn.00467340
mov eax, dword [edi + 4]
test eax, eax
jne 0x4672fa
push 0x41ed20
mov ecx, edi
call fcn.00467500
mov eax, dword [edi + 4]
test eax, eax
setne al
pop edi
ret
push 0x623d28
call fcn.005bc93a
add esp, 4
cmp dword [0x623d28], 0xffffffff
jne 0x4671d3
cmp dword [edi + 4], 0
push 0x623d28
sete byte [0x623d24]
call fcn.005bc8f0
add esp, 4
jmp 0x4671d3
Function at 0x470600
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d3828
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x616930]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov byte [edi], 0
mov byte [edi + 4], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [ebp - 4], 0
mov byte [edi + 0x34], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov byte [edi + 0x64], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
lea eax, [edi + 0x94]
mov dword [ebp - 0x10], eax
lea ecx, [eax + 0x408]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
push 0x1000
mov byte [ebp - 4], 3
call fcn.00474720
mov dword [edi + 0x4a8], 0
mov dword [edi + 0x4ac], 0
mov dword [edi + 0x4b0], 0
mov dword [edi + 0x4b4], 0
mov dword [edi + 0x4b8], 0
mov dword [edi + 0x4bc], 0
mov dword [edi + 0x4c0], 0
mov dword [edi + 0x4c4], 0
mov dword [edi + 0x4c8], 0
mov dword [edi + 0x4cc], 0
mov dword [edi + 0x4d0], 0
mov dword [edi + 0x4d4], 0
mov dword [edi + 0x4d8], 0
mov dword [edi + 0x4dc], 0
mov dword [edi + 0x4e0], 0
mov dword [edi + 0x4e4], 0
mov dword [edi + 0x4e8], 0
mov dword [edi + 0x4ec], 0
mov dword [edi + 0x4f0], 0
mov dword [edi + 0x4f4], 0
mov dword [edi + 0x4f8], 0
mov dword [edi + 0x4fc], 0
mov dword [edi + 0x500], 0
mov dword [edi + 0x504], 0
lea esi, [edi + 0x508]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x10], esi
push 0x2c
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005bc4c7
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
xor eax, eax
mov dword [edi + 0x524], 0
mov dword [edi + 0x528], 7
mov word [edi + 0x514], ax
mov dword [edi + 0x510], 0x41f154
mov dword [edi + 0x540], eax
mov dword [edi + 0x544], 7
mov word [edi + 0x530], ax
mov dword [edi + 0x52c], 0x41f154
lea esi, [edi + 0x548]
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x10], esi
push 0x14
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.005bc4c7
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea ecx, [edi + 0x550]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
push 0x400
mov byte [ebp - 4], 0x11
call fcn.00474720
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
Function at 0x477f40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d41f8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x616930]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov dword [edi], 0x41f618
push 0x24
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.005bc4c7
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 8], eax
push 0x24
mov dword [ebp - 4], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.005bc4c7
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x10], eax
push 0x24
mov byte [ebp - 4], 1
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
call fcn.005bc4c7
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x18], eax
push 0x24
mov byte [ebp - 4], 2
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
call fcn.005bc4c7
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x20], eax
push 0x4c
mov byte [ebp - 4], 3
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.005bc4c7
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x28], eax
push 0x4c
mov byte [ebp - 4], 4
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
call fcn.005bc4c7
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x30], eax
lea esi, [edi + 0x38]
mov byte [ebp - 4], 5
push 0x54
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005bc4c7
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x40]
mov byte [ebp - 4], 6
push 0x54
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005bc4c7
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x48]
mov byte [ebp - 4], 7
push 0x2c
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005bc4c7
add esp, 0x24
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.00477560
mov ecx, edi
mov byte [edi + 4], al
mov byte [edi + 5], 0
call fcn.00477630
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
Function at 0x47bba0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d468d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x616930]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
push 0x623d48
movlpd qword [ebp - 0x24], xmm0
call fcn.0049dd80
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
call fcn.0049ddb0
test byte [0x61b540], 1
jne 0x47bd1a
push fcn.0047bba0
call fcn.0049de10
mov ecx, eax
add esp, 4
mov dword [ebp - 0x28], ecx
test ecx, ecx
jne 0x47bc24
push 6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0x28]
mov esi, dword [0x61b570]
xor ebx, ebx
add esi, ecx
cmp dword [0x61b574], ebx
jbe 0x47bca4
mov edi, dword [esi]
lea eax, [ebp - 0x14]
push eax
push 0x40
add edi, ecx
mov dword [ebp - 0x14], 0
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x47bc63
push 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 5
lea eax, [esi + 4]
push eax
push edi
call fcn.005be280
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x47bc95
push 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0x28]
inc ebx
add esi, 9
cmp ebx, dword [0x61b574]
jb 0x47bc36
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x623d50], eax
push 1
push 0
push 1
mov byte [ebp - 4], 1
call fcn.0047a700
add esp, 0xc
lea ecx, [ebp - 0x24]
mov edi, eax
mov esi, edx
call fcn.0049ddf0
mov ecx, edi
or ecx, esi
je 0x47bd10
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
call fcn.005995d0
push 0
push 1
push dword [ebp - 0x28]
mov ecx, edi
mov byte [ebp - 4], 2
call dword [0x60d4d0]
call edi
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
call fcn.00599690
mov dword [0x623d50], 0
lea ecx, [ebp - 0x24]
call fcn.0049dd90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bca10
mov esp, ebp
pop ebp
ret
Function at 0x48bae0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d5c95
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x616930]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x20], esi
mov eax, dword [ecx + 4]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], ecx
cmp byte [eax + 0xd], bl
jne 0x48bb80
mov esi, eax
cmp dword [edi + 0x1c], 0x10
lea edx, [edi + 8]
mov dword [ebp - 0x18], esi
jb 0x48bb3f
mov edx, dword [edi + 8]
cmp dword [esi + 0x2c], 0x10
lea ecx, [esi + 0x18]
jb 0x48bb4b
mov ecx, dword [esi + 0x18]
push dword [edi + 0x18]
push edx
push dword [esi + 0x28]
push ecx
call fcn.0045c500
shr eax, 0x1f
add esp, 0x10
test al, al
je 0x48bb6a
mov esi, dword [esi + 8]
mov ecx, dword [ebp - 0x10]
jmp 0x48bb71
mov ecx, esi
mov esi, dword [esi]
mov dword [ebp - 0x10], ecx
movzx ebx, al
xor ebx, 1
cmp byte [esi + 0xd], 0
je 0x48bb30
mov esi, dword [ebp - 0x20]
cmp byte [ecx + 0xd], 0
jne 0x48bbd2
cmp dword [ecx + 0x2c], 0x10
lea eax, [edi + 8]
lea edx, [ecx + 0x18]
jb 0x48bb95
mov edx, dword [ecx + 0x18]
cmp dword [edi + 0x1c], 0x10
jb 0x48bb9d
mov eax, dword [eax]
push dword [ecx + 0x28]
push edx
push dword [edi + 0x18]
push eax
call fcn.0045c500
shr eax, 0x1f
add esp, 0x10
test al, al
jne 0x48bbd2
mov ecx, dword [ebp - 0x10]
mov byte [esi + 4], al
mov eax, esi
mov dword [esi], ecx
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
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 4], 0x4924924
je 0x48bc77
mov dword [ebp - 0x2c], eax
push 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 0
call fcn.005bc4c7
mov edi, eax
add esp, 4
mov dword [ebp - 0x28], edi
mov ecx, dword [ebp - 0x14]
lea esi, [edi + 0x14]
add ecx, 8
mov dword [ebp - 4], 1
push ecx
lea ecx, [esi + 4]
mov dword [edi + 0x10], 0x41f958
mov dword [ebp - 0x10], esi
call fcn.0044f9d0
mov ecx, dword [ebp - 0x14]
mov dword [esi], 0x41ee38
push edi
push ebx
mov eax, dword [ecx + 0x20]
push dword [ebp - 0x18]
mov dword [edi + 0x30], eax
mov eax, dword [ecx + 0x24]
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 0x34], eax
mov eax, dword [ebp - 0x24]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov word [edi + 0xc], 0
call fcn.004587a0
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, ecx
mov byte [ecx + 4], 1
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
call fcn.00459350
int3
Function at 0x49c9b0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6f8b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x616930]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
lea esi, [ebx + 0x14]
mov dword [ebx], 0x41f9c0
lea ecx, [esi + 4]
mov dword [ebp - 0x14], esi
mov al, byte [edi + 4]
mov byte [ebx + 4], al
mov eax, dword [edi + 8]
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x10], eax
lea eax, [edi + 0x18]
push eax
call fcn.0044f9d0
mov dword [esi], 0x41ee38
add ebx, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], ebx
add edi, 0x30
mov dword [ebx], fcn.00454bb0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov byte [ebx + 0x10], 1
mov dword [ebx + 0x14], 1
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov byte [ebp - 4], 1
cmp edi, ebx
je 0x49cb25
mov esi, dword [edi + 8]
test esi, esi
jne 0x49ca78
xor edi, edi
jmp 0x49ca7b
mov edi, dword [edi + 4]
mov eax, dword [ebx + 4]
test eax, eax
je 0x49caa2
cmp dword [ebx + 0x14], 1
jne 0x49ca99
push dword [ebx + 8]
push 0
push eax
call fcn.005be800
mov eax, dword [ebx + 4]
add esp, 0xc
push eax
call fcn.005bc50e
add esp, 4
mov dword [ebx + 4], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 8], 0
mov byte [ebx + 0x10], 1
test esi, esi
je 0x49caf1
push esi
call fcn.005bc505
add esp, 4
mov dword [ebx + 4], eax
mov dword [ebx + 0xc], esi
mov dword [ebx + 8], esi
test edi, edi
je 0x49cadf
push esi
push edi
push eax
call fcn.005be280
jmp 0x49caee
cmp dword [ebx + 0x14], 1
jne 0x49caf1
push esi
push 0
push eax
call fcn.005be800
add esp, 0xc
mov esi, dword [ebx + 0x18]
cmp esi, dword [ebx + 0x1c]
je 0x49cb25
nop dword [eax]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x49cb1d
mov eax, dword [eax]
push 1
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x60d4d0]
mov ecx, dword [ebp - 0x14]
call edi
add esi, 4
cmp esi, dword [ebx + 0x1c]
jne 0x49cb00
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0x41ee84
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x49e320
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d71fa
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x616930]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x14c], 0
call fcn.004566e0
push 0
push 2
mov esi, dword [eax + 0x224]
mov ecx, esi
call dword [0x60d4d0]
call esi
mov esi, eax
mov dword [ebp - 0x148], esi
test esi, esi
jne 0x49e399
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
jmp 0x49e4eb
lea eax, [ebp - 0x148]
mov dword [ebp - 0x158], eax
push 0x124
lea eax, [ebp - 0x140]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.005be800
add esp, 0xc
mov dword [ebp - 0x144], 0x128
lea eax, [ebp - 0x144]
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x49e3fb
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebp - 0x14c], 1
mov dword [ebp - 4], 2
jmp 0x49e4d0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 3
call fcn.00596c80
mov ebx, eax
nop word [eax + eax]
cmp dword [ebp - 0x12c], ebx
jne 0x49e485
mov edi, dword [ebp - 0x18]
cmp edi, dword [ebp - 0x14]
je 0x49e475
mov esi, dword [ebp - 0x13c]
mov dword [edi], esi
mov dword [edi + 4], 0
call fcn.004566e0
push esi
push 0
push 0x1fffff
mov esi, dword [eax + 0x238]
mov ecx, esi
call dword [0x60d4d0]
call esi
mov dword [edi + 4], eax
add dword [ebp - 0x18], 8
jmp 0x49e485
lea eax, [ebp - 0x13c]
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.0049dfe0
lea eax, [ebp - 0x144]
push eax
push dword [ebp - 0x148]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x49e430
mov ebx, dword [ebp - 0x150]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edx
mov dword [ebp - 0x14c], 1
mov dword [ebp - 4], 6
call fcn.004566e0
push dword [ebp - 0x148]
mov esi, dword [eax + 0x214]
mov ecx, esi
call dword [0x60d4d0]
call esi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bca10
mov esp, ebp
pop ebp
ret
Function at 0x4a1780
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x838]
sub esp, 0x838
push 0xffffffffffffffff
push 0x5d77f5
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x616930]
xor eax, ebp
mov dword [ebp + 0x834], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x840]
lea eax, [ebp + 0x1c]
mov ebx, dword [ebp + 0x848]
push eax
call fcn.004a0db0
cmp dword [ebp + 0x30], 8
lea eax, [ebp + 0x1c]
push 0x41fc04
cmovae eax, dword [ebp + 0x1c]
push eax
lea eax, [ebp]
mov dword [ebp - 4], 0
push eax
mov dword [ebp], 0
call fcn.004dbb05
mov esi, eax
add esp, 0x10
mov eax, dword [ebp]
test eax, eax
je 0x4a18c2
test esi, esi
jne 0x4a18c2
lea ecx, [ebp]
mov dword [ebp - 0x10], ecx
push eax
push dword [ebp + 0x844]
mov byte [ebp - 4], 7
push 1
push edi
call fcn.004dc2a3
push dword [ebp]
call fcn.004dc033
push dword [ebp]
cmp dword [ebp + 0x30], 8
lea eax, [ebp + 0x1c]
push 0x41fc44
cmovae eax, dword [ebp + 0x1c]
push eax
lea eax, [ebp]
push eax
call fcn.004dbc4b
mov edi, dword [ebx + 0x24]
add esp, 0x24
test edi, edi
je 0x4a195a
mov eax, dword [edi]
lea ecx, [ebp + 0x1c]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x60d4d0]
mov ecx, edi
call esi
mov eax, dword [ebp]
mov byte [ebp - 4], 8
test eax, eax
je 0x4a1883
push eax
call fcn.004dbce2
add esp, 4
mov eax, dword [ebp + 0x30]
mov dword [ebp - 4], 9
cmp eax, 8
jb 0x4a189f
inc eax
lea ecx, [ebp + 0x1c]
push eax
push dword [ebp + 0x1c]
call fcn.00459da0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x834]
xor ecx, ebp
call fcn.005bca10
lea esp, [ebp + 0x838]
pop ebp
ret
push 0x800
lea eax, [ebp + 0x34]
push 0
push eax
call fcn.005be800
push esi
lea eax, [ebp + 0x34]
push 0x800
push eax
call fcn.004dc3a1
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x4c]
push 0x41fc14
push eax
call fcn.004a0530
push 0x41fc0c
push eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 1
push eax
call fcn.004a04c0
lea ecx, [ebp + 0x34]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp + 4]
push eax
call fcn.004a04c0
add esp, 0x3c
lea ecx, [ebp - 0x34]
call fcn.0045cbb0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 5
call fcn.0045cbb0
lea eax, [ebp + 4]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.004a2530
add esp, 8
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.004517f0
push 0x5eed40
lea eax, [ebp - 0x1c]
push eax
call fcn.005bde57
call fcn.005a76da
int3
Function at 0x4a2a00
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d7965
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x616930]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
call fcn.00596c80
push eax
push 4
mov dword [ebp - 0x40], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x3c], eax
cmp eax, 0xffffffff
jne 0x4a2a65
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
jmp 0x4a2b17
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0
push ecx
push eax
mov dword [ebp - 0x38], 0x1c
call sub.KERNEL32.dll_Thread32First
test eax, eax
jne 0x4a2a98
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [ebp - 4], 1
jmp 0x4a2b0e
xor esi, esi
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
xor ebx, ebx
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
mov edi, dword [ebp - 0x40]
mov byte [ebp - 4], 2
nop
cmp dword [ebp - 0x2c], edi
jne 0x4a2ae9
cmp esi, ebx
je 0x4a2ad6
mov eax, dword [ebp - 0x30]
mov dword [esi], eax
add esi, 4
mov dword [ebp - 0x18], esi
jmp 0x4a2ae9
lea eax, [ebp - 0x30]
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.004a2650
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x3c]
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x4a2ac0
mov edi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x1c]
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ebx
mov dword [ebp - 4], 4
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bca10
mov esp, ebp
pop ebp
ret
Function at 0x4a9a10
Capabilities:
Create directory

Disassembly:
sub esp, 0x28
mov eax, dword [0x616930]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x10]
push 1
push eax
mov byte [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x4a9a6b
push 0
push 0
push 1
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x4a9a6b
lea eax, [esp + 0x10]
mov dword [esp + 4], 0xc
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov byte [esp + 0x24], 1
lea eax, [esp + 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [esp + 0x28]
test eax, eax
pop esi
setne al
xor ecx, esp
call fcn.005bca10
add esp, 0x28
ret
Function at 0x4aa390
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d864d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x616930]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x24], edx
lea edx, [ebp - 0x1c]
push edx
push dword [0x610080]
mov byte [ebp - 0x1d], 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4aa432
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], eax
mov eax, dword [edi]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x18]
mov dword [edi], 0
push eax
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
sete bl
test eax, eax
jne 0x4aa420
mov eax, dword [ebp - 0x14]
mov dword [edi], eax
push esi
mov dword [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
jmp 0x4aa435
mov al, byte [ebp - 0x1d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bca10
mov esp, ebp
pop ebp
ret