joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1010c4ff
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.1010c47b
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1010c66e
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1010c66e
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1010c623
jg 0x1010c55b
test eax, eax
je 0x1010c619
push 1
push 0x1000
call fcn.100febf1
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1010c57e
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1010c610
push 0x8000
push ebx
call fcn.1010c3ac
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1010c5a7
jg 0x1010c5a2
cmp ecx, 0x1000
jb 0x1010c5a7
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10103d5a
add esp, 0x10
cmp eax, 0xffffffff
je 0x1010c5ec
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x1010c5a2
jl 0x1010c5d3
test ecx, ecx
jne 0x1010c594
push dword [ebp - 0xc]
push ebx
call fcn.1010c3ac
push esi
call fcn.100fa03d
add esp, 0xc
xor ebx, ebx
jmp 0x1010c67c
cmp byte [edi + 0x24], 0
je 0x1010c603
cmp dword [edi + 0x20], 5
jne 0x1010c603
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1010c60e
mov ebx, dword [edi + 0x18]
jmp 0x1010c610
xor ebx, ebx
push esi
call fcn.100fa03d
pop ecx
jmp 0x1010c67c
test ecx, ecx
jg 0x1010c5e5
jl 0x1010c623
test eax, eax
jae 0x1010c5e5
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10104a04
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1010c643
cmp byte [edi + 0x1c], 0
je 0x1010c5e5
jmp 0x1010c674
push ebx
call fcn.1010765e
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1010c5e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1010c67c
cmp byte [edi + 0x1c], 0
je 0x1010c679
mov ebx, dword [edi + 0x18]
jmp 0x1010c67c
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.10104a04
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1010ed60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1010ed8d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1010ed8d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x42211b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42215a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42215a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42215a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42215a
cmp dword [ecx + 0x74], 0xe
jbe 0x42215a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4347a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4347cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4347cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x414e60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
jmp 0x414e7a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414e81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414e70
mov eax, 1
add ebx, ebx
jne 0x414e93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x414e88
jne 0x414ea4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414e88
xor ecx, ecx
sub eax, 3
jb 0x414eb8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x414f2a
mov ebp, eax
add ebx, ebx
jne 0x414ec3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x414ed0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x414ef4
inc ecx
add ebx, ebx
jne 0x414ee0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x414ed5
jne 0x414ef1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414ed5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x414f14
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x414f05
jmp 0x414e76
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x414f14
add edi, ecx
jmp 0x414e76
pop esi
mov edi, esi
mov ecx, 0x5a7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x414f32
cmp byte [edi], 5
jne 0x414f32
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x414f37
lea edi, [esi + 0x12000]
mov eax, dword [edi]
or eax, eax
je 0x414fa6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x15454]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1551c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x414f64
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x15520]
or eax, eax
je 0x414fa0
mov dword [ebx], eax
add ebx, 4
jmp 0x414f81
call dword [esi + 0x15530]
mov ebp, dword [esi + 0x15524]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x414fda
sub esp, 0xffffff80
jmp 0x40a764
Function at 0x40171b
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
mov eax, 0x433864
call fcn.00415514
sub esp, 0x45c
push ebx
push esi
push edi
push 0x44
pop esi
xor ebx, ebx
push esi
lea eax, [ebp - 0x68]
push ebx
mov edi, ecx
push eax
call fcn.00415930
add esp, 0xc
mov dword [ebp - 0x68], esi
lea eax, [ebp - 0x468]
mov esi, 0x200
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x268]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [ebp - 0x268]
push eax
call esi
lea eax, [ebp - 0x268]
lea ecx, [ebp - 0x14]
push eax
call fcn.0042b8c4
mov eax, dword [edi + 0x94]
push str.Windows_NT
add eax, 0x2a50
mov dword [ebp - 4], ebx
mov eax, dword [eax]
push eax
call fcn.00415875
pop ecx
test eax, eax
pop ecx
jne 0x4017ad
push str.system32
jmp 0x4017b2
push 0x4440f8
call esi
push str.control.exe_joy.cpl
lea ecx, [ebp - 0x10]
call fcn.0042b8c4
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x268]
push eax
push ebx
push 8
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 0x468]
push eax
call esi
lea ecx, [ebp - 0x10]
call fcn.0042b856
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0042b856
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x401e9b
Capabilities:
Create process on windows
Create process suspended
Get common file path
Set current directory

Disassembly:
mov eax, 0x433ad4
call fcn.00415514
sub esp, 0x460
push ebx
push esi
push edi
mov edi, ecx
push 0x44
xor ebx, ebx
pop esi
lea eax, [ebp - 0x6c]
push esi
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00415930
add esp, 0xc
mov dword [ebp - 0x6c], esi
lea eax, [ebp - 0x46c]
mov esi, 0x200
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x26c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [ebp - 0x26c]
push eax
call esi
lea eax, [ebp - 0x26c]
lea ecx, [ebp - 0x18]
push eax
call fcn.0042b8c4
cmp byte [edi + 0x98], bl
mov byte [ebp - 4], 1
je 0x401f1b
push str.system32
jmp 0x401f20
push 0x4440f8
call esi
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x14]
push str.control.exe
push eax
call fcn.0042bb13
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.0042b943
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0042b856
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x26c]
push eax
push ebx
push 8
push ebx
push ebx
push ebx
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
setne byte [ebp - 0xd]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 0x46c]
push eax
call esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.0042b856
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0042b856
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x403325
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
mov eax, 0x433ddc
call fcn.00415514
sub esp, 0x45c
push ebx
push esi
push edi
push 0x44
pop esi
xor ebx, ebx
push esi
lea eax, [ebp - 0x68]
push ebx
mov edi, ecx
push eax
call fcn.00415930
add esp, 0xc
mov dword [ebp - 0x68], esi
lea eax, [ebp - 0x468]
mov esi, 0x200
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x268]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [ebp - 0x268]
push eax
call esi
lea eax, [ebp - 0x268]
lea ecx, [ebp - 0x14]
push eax
call fcn.0042b8c4
mov eax, dword [edi + 0x94]
push str.Windows_NT
add eax, 0x2a50
mov dword [ebp - 4], ebx
mov eax, dword [eax]
push eax
call fcn.00415875
pop ecx
test eax, eax
pop ecx
jne 0x4033b7
push str.system32
jmp 0x4033bc
push 0x4440f8
call esi
push str.control.exe_desk.cpl
lea ecx, [ebp - 0x10]
call fcn.0042b8c4
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x268]
push eax
push ebx
push 8
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 0x468]
push eax
call esi
lea ecx, [ebp - 0x10]
call fcn.0042b856
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0042b856
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x404d98
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
mov eax, 0x4341d4
call fcn.00415514
sub esp, 0x45c
push ebx
push esi
push edi
push 0x44
pop esi
xor ebx, ebx
push esi
lea eax, [ebp - 0x68]
push ebx
mov edi, ecx
push eax
call fcn.00415930
add esp, 0xc
mov dword [ebp - 0x68], esi
lea eax, [ebp - 0x468]
mov esi, 0x200
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x268]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [ebp - 0x268]
push eax
call esi
lea eax, [ebp - 0x268]
lea ecx, [ebp - 0x14]
push eax
call fcn.0042b8c4
mov eax, dword [edi + 0x94]
push str.Windows_NT
add eax, 0x2a50
mov dword [ebp - 4], ebx
mov eax, dword [eax]
push eax
call fcn.00415875
pop ecx
test eax, eax
pop ecx
jne 0x404e2a
push str.system32
jmp 0x404e2f
push 0x4440f8
call esi
push str.control.exe_mmsys.cpl
lea ecx, [ebp - 0x10]
call fcn.0042b8c4
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x268]
push eax
push ebx
push 8
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 0x468]
push eax
call esi
lea ecx, [ebp - 0x10]
call fcn.0042b856
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0042b856
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4056cd
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
mov eax, 0x4342f0
call fcn.00415514
sub esp, 0x45c
push ebx
push esi
push edi
push 0x44
pop esi
xor ebx, ebx
push esi
lea eax, [ebp - 0x68]
push ebx
mov edi, ecx
push eax
call fcn.00415930
add esp, 0xc
mov dword [ebp - 0x68], esi
lea eax, [ebp - 0x468]
mov esi, 0x200
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x268]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [ebp - 0x268]
push eax
call esi
lea eax, [ebp - 0x268]
lea ecx, [ebp - 0x14]
push eax
call fcn.0042b8c4
mov eax, dword [edi + 0x94]
push str.Windows_NT
add eax, 0x2a50
mov dword [ebp - 4], ebx
mov eax, dword [eax]
push eax
call fcn.00415875
pop ecx
test eax, eax
pop ecx
jne 0x40575f
push str.system32
jmp 0x405764
push 0x4440f8
call esi
push str.control.exe_netcpl.cpl
lea ecx, [ebp - 0x10]
call fcn.0042b8c4
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x268]
push eax
push ebx
push 8
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 0x468]
push eax
call esi
lea ecx, [ebp - 0x10]
call fcn.0042b856
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0042b856
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40b69c
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x435377
call fcn.00415514
sub esp, 0x118
and dword [ebp - 0x1c], 0
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea ecx, [ebp - 0x14]
call fcn.0042b8c4
push 1
lea ecx, [ebp - 0x10]
pop ebx
push str.C:WindowsDesktop
mov dword [ebp - 4], ebx
call fcn.0042b8c4
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push 0x20019
push 0
push dword [ebp - 0x14]
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40b72b
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x100
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x24]
push eax
push 0
push str.Common_Desktop
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40b72b
lea eax, [ebp - 0x124]
lea ecx, [ebp - 0x10]
push eax
call fcn.0042b993
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0042b5cb
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0042b856
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0042b856
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x40b761
Capabilities:
Get socket status

Disassembly:
mov eax, 0x4353a4
call fcn.00415514
mov eax, 0x2130
call fcn.004169c0
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x2c]
call fcn.00433032
xor ebx, ebx
push ebx
mov dword [ebp - 4], ebx
call fcn.0043290d
push ebx
push 0x3f
push 1
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00432a3b
test eax, eax
je 0x40b89b
push 0x50
push str.10.14.20.110
lea ecx, [ebp - 0x2c]
call fcn.00432b93
test eax, eax
je 0x40b893
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.0040b8b5
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
push eax
mov ecx, dword [eax - 8]
lea eax, [ebp - 0x113c]
push ecx
push str._eric_ez_cgi.exe
push str.POST__s_HTTP_1.0_r_nContent_type:_text_plain_r_nContent_length:__d_r_n_r_n_s_r_n
push eax
call fcn.00415cd7
add esp, 0x14
lea eax, [ebp - 0x113c]
push ebx
push eax
call fcn.00416690
pop ecx
push eax
lea eax, [ebp - 0x113c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004331ab
test eax, eax
je 0x40b888
mov eax, dword [0x4540d0]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x13c], 1
mov dword [ebp - 0x138], eax
lea eax, [ebp - 0x34]
push eax
push ebx
lea eax, [ebp - 0x13c]
push ebx
push eax
push 0x40
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
call sub.WSOCK32.dll_select
mov eax, dword [0x4540d0]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x38]
push ebx
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x213c]
push 0x1000
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00432c1b
lea ecx, [ebp - 0x14]
mov byte [ebp + eax - 0x213c], bl
mov byte [ebp - 4], 2
call fcn.0042b856
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0042b856
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0042b856
lea ecx, [ebp - 0x2c]
call fcn.00433137
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004330a8
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40c79b
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
mov eax, 0x43572c
call fcn.00415514
sub esp, 0x45c
push ebx
push esi
push edi
push 0x44
pop esi
xor ebx, ebx
push esi
lea eax, [ebp - 0x68]
push ebx
mov edi, ecx
push eax
call fcn.00415930
add esp, 0xc
mov dword [ebp - 0x68], esi
lea eax, [ebp - 0x468]
mov esi, 0x200
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x268]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [ebp - 0x268]
push eax
call esi
lea eax, [ebp - 0x268]
lea ecx, [ebp - 0x14]
push eax
call fcn.0042b8c4
mov eax, dword [edi + 0x94]
push str.Windows_NT
add eax, 0x2a50
mov dword [ebp - 4], ebx
mov eax, dword [eax]
push eax
call fcn.00415875
pop ecx
test eax, eax
pop ecx
jne 0x40c82d
push str.system32
jmp 0x40c832
push 0x4440f8
call esi
push str.control.exe_sysdm.cpl
lea ecx, [ebp - 0x10]
call fcn.0042b8c4
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x268]
push eax
push ebx
push 8
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 0x468]
push eax
call esi
lea ecx, [ebp - 0x10]
call fcn.0042b856
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0042b856
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40e163
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x20
push esi
mov esi, ecx
push edi
mov ecx, 8
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov dword [esi + 0x2a78], ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x2a74], edx
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x2a7c], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x2a80], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x2a84], edx
mov dword [esi + 0x2a88], eax
mov dword [esi + 0x150], ecx
pop edi
mov al, 1
pop esi
add esp, 0x20
ret

Function at 0x40e210
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x43608b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x10]
push esi
xor ebx, ebx
push eax
push 0x20019
push ebx
push str.Config_ManagerEnum
mov dword [esp + 0x2c], ecx
push inet_addr
mov byte [esp + 0x23], bl
call ebp
mov esi, eax
cmp esi, ebx
jne 0x40e36a
push edi
xor edi, edi
mov dword [esp + 0x14], 0x100
mov eax, dword [esp + 0x18]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x20]
push ebx
lea edx, [esp + 0x3c]
push ecx
push edx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, ebx
jne 0x40e337
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x28]
call fcn.0042b8c4
push str.HardWareKey
lea ecx, [esp + 0x28]
mov dword [esp + 0x138], ebx
call fcn.0042bbe6
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push 1
lea eax, [esp + 0x34]
push ebx
push eax
push ecx
mov dword [esp + 0x28], 0x100
call ebp
mov esi, eax
cmp esi, ebx
jne 0x40e312
lea edx, [esp + 0x14]
lea eax, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push eax
push ecx
push ebx
push 0x4530f8
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
cmp esi, ebx
jne 0x40e312
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x2c]
push edx
lea ecx, [eax + 0x2a60]
mov eax, dword [eax + 0x2a68]
push eax
call fcn.00426ff3
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x24]
inc edi
mov dword [esp + 0x134], 0xffffffff
call fcn.0042b856
jmp 0x40e26a
cmp esi, ebx
pop edi
jne 0x40e357
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov bl, 1
push edx
mov byte [ecx + 0x2a8c], bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
jmp 0x40e36e
mov edx, dword [esp + 0x14]
mov bl, byte [esp + 0xf]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
jmp 0x40e36e
mov al, byte [esp + 0xf]
mov ecx, dword [esp + 0x128]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret
Function at 0x40edb0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x436196
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
mov eax, dword [0x4540d0]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x18], eax
mov ebp, dword [esp + 0x130]
xor ebx, ebx
mov dword [esp + 0x128], ebx
mov eax, dword [ebp + 8]
cmp eax, ebx
jle 0x40ef70
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x20]
lea edx, [ecx + ebx*4]
push edx
push str.Enum_
push eax
call fcn.0042bb13
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
push 1
push 0
push edx
push reloc.WSOCK32.dll_bind
mov byte [esp + 0x140], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40ef52
lea eax, [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push str.Class
push eax
mov dword [esp + 0x28], 0x100
call edi
test eax, eax
jne 0x40ef40
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x20]
call fcn.0042b993
mov edx, dword [esp + 0x1c]
push str.MONITOR
push edx
call fcn.00416a17
add esp, 8
test eax, eax
jne 0x40ef40
mov ebp, dword [esi + 0x7c]
lea ecx, [esp + 0x10]
inc ebp
lea edx, [esp + 0x24]
mov eax, ebp
mov dword [esi + 0x7c], ebp
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [eax + eax*2]
push edx
mov dword [esp + 0x18], 0x100
lea ebp, [esi + eax*8 - 0x14]
lea eax, [esp + 0x20]
push eax
push 0
push str.DeviceDesc
push ecx
call edi
test eax, eax
jne 0x40eed4
lea edx, [esp + 0x24]
mov ecx, ebp
push edx
call fcn.0042b993
lea eax, [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push 0x4531c8
push eax
mov dword [esp + 0x28], 0x100
call edi
test eax, eax
jne 0x40ef0a
lea ecx, [esp + 0x24]
push ecx
lea ecx, [ebp + 4]
call fcn.0042b993
lea edx, [esp + 0x10]
lea eax, [esp + 0x24]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0
push str.MaxResolution
push edx
mov dword [esp + 0x28], 0x100
call edi
test eax, eax
jne 0x40ef40
lea eax, [esp + 0x24]
lea ecx, [ebp + 0x10]
push eax
call fcn.0042b993
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, dword [esp + 0x134]
lea ecx, [esp + 0x20]
mov byte [esp + 0x12c], 0
call fcn.0042b856
mov eax, dword [ebp + 8]
inc ebx
cmp ebx, eax
jl 0x40edfb
pop edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x128], 0xffffffff
call fcn.0042b856
mov ecx, dword [esp + 0x120]
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x120
ret 4