joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e87c8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
xor ecx, ecx
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c50
mov eax, dword [ebp - 8]
call fcn.00404c50
xor eax, eax
push ebp
push 0x4e8957
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004e93dc
dec eax
je 0x4e8831
call fcn.004e93dc
cmp eax, 2
jne 0x4e8838
push 0
call sub.driverfiles.dll_SetDriverSign
push 0xff
lea eax, [ebp - 0x118]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x118]
call fcn.0040a0d8
mov al, byte [0x4e8968]
push eax
lea eax, [ebp - 0x11c]
push eax
mov ecx, 0x4e8974
mov edx, 0x4e8988
mov eax, dword [ebp - 0x18]
call fcn.0040eab4
mov edx, dword [ebp - 0x11c]
lea eax, [ebp - 0x18]
call fcn.00404838
lea eax, [ebp - 0x14]
mov ecx, 0x4e899c
mov edx, dword [ebp - 0x18]
call fcn.00404aac
xor ebx, ebx
push dword [ebp - 0x14]
push 0x4e89b4
push 0x4e89c8
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 4]
call fcn.004090cc
push dword [ebp - 0x120]
push 0x4e89d4
push 0x4e89c8
lea edx, [ebp - 0x124]
mov eax, dword [ebp - 8]
call fcn.004090cc
push dword [ebp - 0x124]
push 0x4e89c8
lea eax, [ebp - 0xc]
mov edx, 8
call fcn.00404b20
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x128]
push eax
lea edx, [ebp - 0x12c]
mov eax, dword [ebp - 0x14]
call fcn.00409ccc
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call fcn.004e8334
cmp dword [ebp - 0x10], 0
je 0x4e891d
cmp dword [ebp - 0x10], 1
jne 0x4e891f
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e895e
lea eax, [ebp - 0x12c]
mov edx, 5
call fcn.004047c4
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004047c4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004047c4
ret
Function at 0x4e9038
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe58
push ebx
xor edx, edx
mov dword [ebp - 0x1a8], edx
mov dword [ebp - 0x1a4], edx
mov dword [ebp - 0x1a0], edx
mov dword [ebp - 0x19c], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e92d6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x98]
mov edx, 0x94
call fcn.00407a94
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 0x98]
push eax
call sub.kernel32.dll_GetVersionExA
push 0xff
lea eax, [ebp - 0x198]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea edx, [ebp - 4]
lea eax, [ebp - 0x198]
call fcn.0040a0d8
mov eax, ebx
call fcn.004047a0
cmp dword [ebp - 0x88], 2
jne 0x4e92b0
mov eax, dword [ebp - 0x94]
sub eax, 3
je 0x4e90db
dec eax
je 0x4e90e9
dec eax
je 0x4e90f7
jmp 0x4e9103
mov eax, ebx
mov edx, 0x4e92ec
call fcn.004047f4
jmp 0x4e9103
mov eax, ebx
mov edx, 0x4e92fc
call fcn.004047f4
jmp 0x4e9103
mov eax, ebx
mov edx, 0x4e930c
call fcn.004047f4
cmp dword [ebp - 0x94], 5
jne 0x4e9126
cmp dword [ebp - 0x90], 0
jne 0x4e9126
mov eax, ebx
mov edx, 0x4e930c
call fcn.004047f4
jmp 0x4e91eb
cmp dword [ebp - 0x94], 5
jne 0x4e9149
cmp dword [ebp - 0x90], 1
jne 0x4e9149
mov eax, ebx
mov edx, 0x4e9324
call fcn.004047f4
jmp 0x4e91eb
cmp dword [ebp - 0x94], 5
jne 0x4e918b
cmp dword [ebp - 0x90], 2
jne 0x4e918b
lea eax, [ebp - 0x19c]
mov ecx, 0x4e9338
mov edx, dword [ebp - 4]
call fcn.00404aac
mov eax, dword [ebp - 0x19c]
call fcn.004099b4
test al, al
je 0x4e918b
mov eax, ebx
mov edx, 0x4e934c
call fcn.004047f4
jmp 0x4e91eb
cmp dword [ebp - 0x94], 5
jne 0x4e91ab
cmp dword [ebp - 0x90], 2
jne 0x4e91ab
mov eax, ebx
mov edx, 0x4e9364
call fcn.004047f4
jmp 0x4e91eb
cmp dword [ebp - 0x94], 5
jne 0x4e91eb
cmp dword [ebp - 0x90], 2
jne 0x4e91eb
lea eax, [ebp - 0x1a0]
mov ecx, 0x4e9338
mov edx, dword [ebp - 4]
call fcn.00404aac
mov eax, dword [ebp - 0x1a0]
call fcn.004099b4
test al, al
je 0x4e91eb
mov eax, ebx
mov edx, 0x4e937c
call fcn.004047f4
cmp dword [ebp - 0x94], 6
jne 0x4e9230
cmp dword [ebp - 0x90], 0
jne 0x4e9230
lea eax, [ebp - 0x1a4]
mov ecx, 0x4e9338
mov edx, dword [ebp - 4]
call fcn.00404aac
mov eax, dword [ebp - 0x1a4]
call fcn.004099b4
test al, al
je 0x4e9230
mov eax, ebx
mov edx, 0x4e9398
call fcn.004047f4
jmp 0x4e92b0
cmp dword [ebp - 0x94], 6
jne 0x4e9250
cmp dword [ebp - 0x90], 0
jne 0x4e9250
mov eax, ebx
mov edx, 0x4e93a8
call fcn.004047f4
jmp 0x4e92b0
cmp dword [ebp - 0x94], 6
jne 0x4e9292
cmp dword [ebp - 0x90], 1
jne 0x4e9292
lea eax, [ebp - 0x1a8]
mov ecx, 0x4e9338
mov edx, dword [ebp - 4]
call fcn.00404aac
mov eax, dword [ebp - 0x1a8]
call fcn.004099b4
test al, al
je 0x4e9292
mov eax, ebx
mov edx, 0x4e93b8
call fcn.004047f4
jmp 0x4e92b0
cmp dword [ebp - 0x94], 6
jne 0x4e92b0
cmp dword [ebp - 0x90], 1
jne 0x4e92b0
mov eax, ebx
mov edx, 0x4e93d0
call fcn.004047f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e92dd
lea eax, [ebp - 0x1a8]
mov edx, 4
call fcn.004047c4
lea eax, [ebp - 4]
call fcn.004047a0
ret
Function at 0x4e9494
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffe8
mov ebx, eax
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
mov edx, ebx
lea eax, [esp + 4]
call fcn.0040a0d8
add esp, 0x18
pop ebx
ret
Function at 0x4e9a8c
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe58
push ebx
xor edx, edx
mov dword [ebp - 0x1a8], edx
mov dword [ebp - 0x1a4], edx
mov dword [ebp - 0x1a0], edx
mov dword [ebp - 0x19c], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e9d25
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x98]
mov edx, 0x94
call fcn.00407a94
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 0x98]
push eax
call sub.kernel32.dll_GetVersionExA
push 0xff
lea eax, [ebp - 0x198]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea edx, [ebp - 4]
lea eax, [ebp - 0x198]
call fcn.0040a0d8
mov eax, ebx
call fcn.004047a0
cmp dword [ebp - 0x88], 2
jne 0x4e9cff
mov eax, dword [ebp - 0x94]
sub eax, 3
je 0x4e9b2f
dec eax
je 0x4e9b3d
dec eax
je 0x4e9b4b
jmp 0x4e9b57
mov eax, ebx
mov edx, 0x4e9d3c
call fcn.004047f4
jmp 0x4e9b57
mov eax, ebx
mov edx, 0x4e9d4c
call fcn.004047f4
jmp 0x4e9b57
mov eax, ebx
mov edx, 0x4e9d5c
call fcn.004047f4
cmp dword [ebp - 0x94], 5
jne 0x4e9b7a
cmp dword [ebp - 0x90], 0
jne 0x4e9b7a
mov eax, ebx
mov edx, 0x4e9d5c
call fcn.004047f4
jmp 0x4e9c3f
cmp dword [ebp - 0x94], 5
jne 0x4e9b9d
cmp dword [ebp - 0x90], 1
jne 0x4e9b9d
mov eax, ebx
mov edx, 0x4e9d68
call fcn.004047f4
jmp 0x4e9c3f
cmp dword [ebp - 0x94], 5
jne 0x4e9bdf
cmp dword [ebp - 0x90], 2
jne 0x4e9bdf
lea eax, [ebp - 0x19c]
mov ecx, 0x4e9d74
mov edx, dword [ebp - 4]
call fcn.00404aac
mov eax, dword [ebp - 0x19c]
call fcn.004099b4
test al, al
je 0x4e9bdf
mov eax, ebx
mov edx, 0x4e9d88
call fcn.004047f4
jmp 0x4e9c3f
cmp dword [ebp - 0x94], 5
jne 0x4e9bff
cmp dword [ebp - 0x90], 2
jne 0x4e9bff
mov eax, ebx
mov edx, 0x4e9d94
call fcn.004047f4
jmp 0x4e9c3f
cmp dword [ebp - 0x94], 5
jne 0x4e9c3f
cmp dword [ebp - 0x90], 2
jne 0x4e9c3f
lea eax, [ebp - 0x1a0]
mov ecx, 0x4e9d74
mov edx, dword [ebp - 4]
call fcn.00404aac
mov eax, dword [ebp - 0x1a0]
call fcn.004099b4
test al, al
je 0x4e9c3f
mov eax, ebx
mov edx, 0x4e9da0
call fcn.004047f4
cmp dword [ebp - 0x94], 6
jne 0x4e9c81
cmp dword [ebp - 0x90], 0
jne 0x4e9c81
lea eax, [ebp - 0x1a4]
mov ecx, 0x4e9d74
mov edx, dword [ebp - 4]
call fcn.00404aac
mov eax, dword [ebp - 0x1a4]
call fcn.004099b4
test al, al
je 0x4e9c81
mov eax, ebx
mov edx, 0x4e9dac
call fcn.004047f4
jmp 0x4e9c9f
cmp dword [ebp - 0x94], 6
jne 0x4e9c9f
cmp dword [ebp - 0x90], 0
jne 0x4e9c9f
mov eax, ebx
mov edx, 0x4e9db8
call fcn.004047f4
cmp dword [ebp - 0x94], 6
jne 0x4e9ce1
cmp dword [ebp - 0x90], 1
jne 0x4e9ce1
lea eax, [ebp - 0x1a8]
mov ecx, 0x4e9d74
mov edx, dword [ebp - 4]
call fcn.00404aac
mov eax, dword [ebp - 0x1a8]
call fcn.004099b4
test al, al
je 0x4e9ce1
mov eax, ebx
mov edx, 0x4e9dc4
call fcn.004047f4
jmp 0x4e9cff
cmp dword [ebp - 0x94], 6
jne 0x4e9cff
cmp dword [ebp - 0x90], 1
jne 0x4e9cff
mov eax, ebx
mov edx, 0x4e9dd4
call fcn.004047f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e9d2c
lea eax, [ebp - 0x1a8]
mov edx, 4
call fcn.004047c4
lea eax, [ebp - 4]
call fcn.004047a0
ret
Function at 0x4eecc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c50
mov eax, dword [ebp - 8]
call fcn.00404c50
xor eax, eax
push ebp
push 0x4eed93
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x3c
call fcn.00403200
mov dword [ebp - 0x44], 0x3c
mov dword [ebp - 0x40], 0x40
mov eax, dword [0x51e76c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
call fcn.00404c60
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
call fcn.00404c60
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 1
lea eax, [ebp - 0x44]
push eax
call sub.shell32.dll_ShellExecuteExA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x4eed78
jmp 0x4eed63
mov eax, dword [0x51e76c]
mov eax, dword [eax]
call fcn.00480460
mov eax, dword [0x51e76c]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne 0x4eed78
push 0x3e8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x4eed47
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eed9a
lea eax, [ebp - 8]
mov edx, 2
call fcn.004047c4
ret
Function at 0x50a858
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c50
xor eax, eax
push ebp
push 0x50a8f5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x108]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404838
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x108]
call fcn.0040a0d8
push dword [ebp - 0x10c]
push 0x50a90c
push dword [ebp - 8]
mov eax, ebx
mov edx, 3
call fcn.00404b20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50a8fc
lea eax, [ebp - 0x10c]
call fcn.004047a0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004047c4
ret

Function at 0x50a914
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c50
xor eax, eax
push ebp
push 0x50a9b1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x108]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404838
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x108]
call fcn.0040a0d8
push dword [ebp - 0x10c]
push 0x50a9c8
push dword [ebp - 8]
mov eax, ebx
mov edx, 3
call fcn.00404b20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50a9b8
lea eax, [ebp - 0x10c]
call fcn.004047a0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004047c4
ret
Function at 0x50aa04
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x18], ebx
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c50
mov eax, dword [ebp - 8]
call fcn.00404c50
mov ecx, 3
lea eax, [ebp - 0x24]
mov edx, dword [0x4010dc]
call fcn.00405218
xor eax, eax
push ebp
push 0x50abdc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.004047a0
mov byte [ebp - 0x11], 0x2f
mov byte [ebp - 0x10], 0x5c
mov byte [ebp - 0xf], 0x2a
mov byte [ebp - 0xe], 0x3a
mov byte [ebp - 0xd], 0x3f
mov byte [ebp - 0xc], 0x22
mov byte [ebp - 0xb], 0x3c
mov byte [ebp - 0xa], 0x3e
mov byte [ebp - 9], 0x7c
mov ebx, 9
lea esi, [ebp - 0x11]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
mov dl, byte [esi]
call fcn.00404988
mov edx, dword [ebp - 0x2c]
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.0043b1d8
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 8]
call fcn.00404838
inc esi
dec ebx
jne 0x50aa8d
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 8]
call fcn.004090cc
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 8]
call fcn.00404838
lea eax, [ebp - 0x24]
mov edx, 0x50abf4
call fcn.00404838
lea eax, [ebp - 0x20]
mov edx, 0x50ac04
call fcn.00404838
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.00404838
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x24]
call fcn.00404838
xor ebx, ebx
lea esi, [ebp - 0x20]
push dword [ebp - 4]
push 0x50ac14
push dword [ebp - 0x18]
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00404b20
mov eax, dword [ebp - 0x34]
call fcn.004099b4
test al, al
jne 0x50ab4a
push dword [ebp - 4]
push 0x50ac14
push dword [ebp - 0x18]
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00404b20
mov eax, dword [ebp - 0x38]
call fcn.00409ea8
test al, al
je 0x50ab99
lea eax, [ebx + 1]
cmp eax, 2
jg 0x50ab69
push dword [ebp - 0x18]
push 0x50ac14
push dword [esi]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404b20
inc ebx
add esi, 4
cmp ebx, 3
jne 0x50ab02
push dword [ebp - 4]
push 0x50ac14
push dword [ebp - 0x18]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404b20
mov eax, edi
mov ecx, 0x50ac14
mov edx, dword [ebp - 0x18]
call fcn.00404aac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50abe3
lea eax, [ebp - 0x38]
mov edx, 5
call fcn.004047c4
lea eax, [ebp - 0x24]
mov ecx, 3
mov edx, dword [0x4010dc]
call fcn.00405304
lea eax, [ebp - 0x18]
call fcn.004047a0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004047c4
ret
Function at 0x514590
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x514598
push ecx
push ebx
push esi
xor eax, eax
push ebp
push 0x5147f8
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 4
lea edx, [ebp - 0x4c]
mov eax, 0x514810
call fcn.00486d40
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x18]
call fcn.004157f0
push 0
push 0
push 0
push 0x514834
push 0x514838
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00410fec
add esp, 0x1c
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x28]
call fcn.004158d8
push 0x514858
push 0x51487c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00410fec
add esp, 0x10
lea edx, [ebp - 0x6c]
lea eax, [ebp - 0x38]
call fcn.004158d8
push 0x51488c
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00410fec
add esp, 0xc
lea edx, [ebp - 0x80]
lea eax, [ebp - 0x70]
call fcn.00415364
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 4]
mov ecx, 0x514898
call fcn.00406550
jmp 0x514687
push 0
push 0x5148a8
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.00410fec
add esp, 0x10
lea edx, [ebp - 0x94]
lea eax, [ebp - 0x84]
call fcn.00414664
mov eax, dword [ebp - 0x84]
call fcn.004095d8
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x48]
push eax
push 1
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x51464f
cmp ebx, 0x18
ja case.0x5146a7.0
jmp dword [ebx*4 + 0x5146ae]
mov esi, 2
jmp case.0x5146a7.0
mov esi, 2
jmp case.0x5146a7.0
xor esi, esi
jmp case.0x5146a7.0
xor esi, esi
jmp case.0x5146a7.0
mov esi, 1
jmp case.0x5146a7.0
xor esi, esi
jmp case.0x5146a7.0
xor esi, esi
jmp case.0x5146a7.0
mov esi, 1
jmp case.0x5146a7.0
mov esi, 1
jmp case.0x5146a7.0
mov esi, 1
jmp case.0x5146a7.0
mov esi, 1
jmp case.0x5146a7.0
mov esi, 1
jmp case.0x5146a7.0
xor esi, esi
jmp case.0x5146a7.0
mov esi, 1
jmp case.0x5146a7.0
xor esi, esi
jmp case.0x5146a7.0
mov esi, 2
jmp case.0x5146a7.0
xor esi, esi
jmp case.0x5146a7.0
xor esi, esi
jmp case.0x5146a7.0
xor esi, esi
jmp case.0x5146a7.0
xor esi, esi
jmp case.0x5146a7.0
xor esi, esi
jmp case.0x5146a7.0
xor esi, esi
jmp case.0x5146a7.0
xor esi, esi
jmp case.0x5146a7.0
xor esi, esi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5147ff
lea eax, [ebp - 0x94]
call fcn.00410fe4
lea eax, [ebp - 0x84]
call fcn.004047a0
lea eax, [ebp - 0x80]
call fcn.00410fe4
lea eax, [ebp - 0x70]
call fcn.0040650c
lea eax, [ebp - 0x6c]
mov edx, dword [0x4010f8]
mov ecx, 2
call fcn.00405304
lea eax, [ebp - 0x4c]
call fcn.0040650c
lea eax, [ebp - 0x48]
mov edx, dword [0x401108]
mov ecx, 4
call fcn.00405304
lea eax, [ebp - 4]
call fcn.0040650c
ret
Function at 0x5183d8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x518598
push dword fs:[eax]
mov dword fs:[eax], esp
test bl, bl
je 0x51843b
mov eax, dword [0x51ea6c]
cmp dword [eax], 0
jne 0x518420
mov ecx, dword [0x51e76c]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x4d0664]
call fcn.00478d1c
mov edx, dword [0x51ea6c]
mov dword [edx], eax
mov eax, dword [0x51ea6c]
mov eax, dword [eax]
call fcn.0047d074
mov eax, dword [0x51ea6c]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x88]
mov eax, esi
call fcn.00518650
test al, al
je 0x518554
mov eax, dword [0x51ea6c]
cmp dword [eax], 0
je 0x51845e
mov eax, dword [0x51ea6c]
call fcn.0040f14c
mov ecx, dword [0x51e76c]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x4cfbe8]
call fcn.00478d1c
mov edx, dword [0x51e404]
mov dword [edx], eax
xor eax, eax
push ebp
push 0x51854d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x51e404]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0xec]
mov eax, dword [0x51e404]
mov eax, dword [eax]
cmp byte [eax + 0x334], 0
je 0x518533
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.00402b90
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00409c98
lea eax, [ebp - 8]
mov edx, 0x5185b0
call fcn.00404a68
mov eax, dword [ebp - 8]
call fcn.004099a4
test al, al
je 0x518533
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.00402b90
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00409c98
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x5185c4
call fcn.00404aac
push 5
push 0x5185d4
push 0x5185d4
mov eax, dword [ebp - 4]
call fcn.00404c60
push eax
push 0x5185d8
push 0
call sub.shell32.dll_ShellExecuteA
mov eax, dword [0x51e76c]
mov eax, dword [eax]
call fcn.004806f8
mov eax, dword [0x51e2cc]
mov byte [eax], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51857d
mov eax, dword [0x51e404]
mov eax, dword [eax]
call fcn.00403970
ret
test bl, bl
je 0x51857d
mov eax, dword [0x51ea6c]
cmp dword [eax], 0
je 0x51856c
mov eax, dword [0x51ea6c]
call fcn.0040f14c
mov ecx, 0x5185e8
xor edx, edx
mov eax, 0x518648
call fcn.004d7bfc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51859f
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.004047c4
ret
Function at 0x519220
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, eax
mov dword [ebp - 8], 0xff
mov eax, dword [ebp - 8]
call fcn.00402830
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x51927a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x519264
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404998
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x519281
mov eax, dword [ebp - 4]
call fcn.00402850
ret

Function at 0x519288
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404c50
xor eax, eax
push ebp
push 0x5193b4
push dword fs:[eax]
mov dword fs:[eax], esp
dec ebx
jne 0x51936a
lea edx, [ebp - 0x1c]
mov eax, 0x5193c8
call fcn.00486d40
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
call fcn.004157f0
push 0
push 0x5193e8
lea eax, [ebp - 0x18]
push eax
push 0
call fcn.00410fec
add esp, 0x10
mov eax, dword [0x51ea34]
mov eax, dword [eax]
call fcn.0047e0d4
push eax
push 0x5193f4
lea eax, [ebp - 0x18]
push eax
push 0
call fcn.00410fec
add esp, 0x10
push 0
push 0x519400
lea eax, [ebp - 0x18]
push eax
push 0
call fcn.00410fec
add esp, 0x10
mov eax, dword [0x51ea34]
mov eax, dword [eax]
call fcn.0047e0c8
sub eax, 0x1e
push eax
push 0x519408
lea eax, [ebp - 0x18]
push eax
push 0
call fcn.00410fec
add esp, 0x10
push 0xffffffffffffffff
push 0x519414
lea eax, [ebp - 0x18]
push eax
push 0
call fcn.00410fec
add esp, 0x10
lea eax, [ebp - 4]
push eax
push 0x519420
lea eax, [ebp - 0x18]
push eax
push 0
call fcn.00410fec
add esp, 0x10
jmp 0x51938e
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404c60
push eax
push 0x519430
mov eax, dword [0x51e76c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5193bb
lea eax, [ebp - 0x1c]
call fcn.0040650c
lea eax, [ebp - 0x18]
call fcn.00410fe4
lea eax, [ebp - 4]
call fcn.004047a0
ret
Function at 0x519760
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x51992d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
xor ebx, ebx
push 0xff
lea eax, [ebp - 0x120]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x120]
call fcn.0040a0d8
lea eax, [ebp - 0x1c]
call fcn.004e9a8c
call fcn.004e93dc
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x10]
mov ecx, 0x519944
mov edx, dword [ebp - 0x18]
call fcn.00404aac
xor eax, eax
push ebp
push 0x5198e3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x43eb50]
call fcn.0043ec50
mov dword [ebp - 8], eax
mov edx, 0x80000001
mov eax, dword [ebp - 8]
call fcn.0043ecf0
mov cl, 1
mov edx, 0x51995c
mov eax, dword [ebp - 8]
call fcn.0043ed54
test al, al
je 0x519898
mov edx, 0x519984
mov eax, dword [ebp - 8]
call fcn.0043f404
test al, al
je 0x51983d
lea ecx, [ebp - 0x14]
mov edx, 0x519984
mov eax, dword [ebp - 8]
call fcn.0043f248
mov edx, 0x519984
mov eax, dword [ebp - 8]
call fcn.0043f030
mov edx, 0x5199a0
mov eax, dword [ebp - 8]
call fcn.0043f404
test al, al
je 0x51986b
lea ecx, [ebp - 0xc]
mov edx, 0x5199a0
mov eax, dword [ebp - 8]
call fcn.0043f248
mov edx, 0x5199a0
mov eax, dword [ebp - 8]
call fcn.0043f030
mov edx, 0x5199b8
mov eax, dword [ebp - 8]
call fcn.0043f404
test al, al
je 0x519898
mov edx, 0x5199b8
mov eax, dword [ebp - 8]
call fcn.0043f310
mov ebx, eax
mov edx, 0x5199b8
mov eax, dword [ebp - 8]
call fcn.0043f030
test bl, bl
je 0x5198cd
call fcn.004e8040
call fcn.004e93dc
dec eax
je 0x5198b3
call fcn.004e93dc
cmp eax, 2
jne 0x5198ba
push 0
call sub.driverfiles.dll_SetDriverSign
push 5
mov eax, dword [ebp - 0x14]
call fcn.00404c60
push eax
call sub.kernel32.dll_WinExec
cmp eax, 0x1f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5198ea
mov eax, dword [ebp - 8]
call fcn.00403970
ret
Function at 0x440063
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x440087
cmp dword [edi + 0x54], 0
jne 0x440087
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00438e9f
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.kernel32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call main
push ebx
mov esi, eax
call dword [sym.imp.kernel32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x445157
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x497d50]
jne 0x445161
repz ret
jmp fcn.0044cc7d