joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4731b9
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor edx, edx
push ebp
push 0x47322c
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, ebx
mov eax, dword [0x4a7acc]
call fcn.00473111
mov ebx, eax
push 0x1000
mov eax, ebx
and eax, 0xfffff000
push eax
push 0
push 4
mov eax, dword [0x4a7ac8]
push eax
call sub.kernel32.dll_MapViewOfFile
test eax, eax
jne 0x47320d
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x473236
and ebx, 0xfff
shr ebx, 2
mov ebx, dword [eax + ebx*4]
push eax
call sub.kernel32.dll_UnmapViewOfFile
mov dword [ebp - 4], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x473236
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x473241
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor edx, edx
push ebp
push 0x4732ba
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, ebx
mov eax, dword [0x4a7acc]
call fcn.00473111
mov ebx, eax
push 0x1000
mov eax, ebx
and eax, 0xfffff000
push eax
push 0
push 6
mov eax, dword [0x4a7ac8]
push eax
call sub.kernel32.dll_MapViewOfFile
test eax, eax
jne 0x473297
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4732c4
and ebx, 0xfff
shr ebx, 2
mov dword [eax + ebx*4], esi
push eax
call sub.kernel32.dll_UnmapViewOfFile
mov dword [ebp - 4], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4732c4
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4732cd
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
push esi
push edi
xor edx, edx
push ebp
push 0x4733ce
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [ebp - 0x84], 2
jne 0x4733c4
call fcn.00472f9d
test eax, eax
jne 0x473320
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4733d8
mov eax, 0xffdff124
call fcn.004731b9
add eax, 0x44
call fcn.004731b9
mov ebx, eax
test ebx, ebx
je 0x4733c4
cmp dword [ebp - 0x90], 5
jne 0x47336c
mov eax, dword [ebp - 0x8c]
test eax, eax
jne 0x47335b
mov esi, 0xa0
mov edi, 0xa4
jmp 0x473376
cmp eax, 1
jne 0x473376
mov esi, 0x88
mov edi, 0x8c
jmp 0x473376
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4733d8
lea eax, [esi + ebx]
call fcn.004731b9
mov esi, eax
test esi, esi
jne 0x47338e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4733d8
lea eax, [edi + ebx]
call fcn.004731b9
mov ebx, eax
test ebx, ebx
jne 0x4733a6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4733d8
lea eax, [esi + 4]
mov edx, ebx
call fcn.00473241
mov edx, esi
mov eax, ebx
call fcn.00473241
mov eax, dword [0x4a7ac8]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4733d8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x473489
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4734b5
mov eax, dword [ebp - 4]
call fcn.004053d9
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
setne al
neg al
sbb eax, eax
mov dword [ebp - 8], eax
jmp 0x4734ba
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop ecx
pop ecx
pop ebp
ret

Function at 0x4735a5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x47361c
cmp dword [ebp - 8], 0
je 0x473615
cmp dword [ebp - 0xc], 0
jbe 0x473615
mov eax, dword [ebp + 8]
push eax
push 0
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetFilePointer_1
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
je 0x47360c
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
jne 0x473603
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x473623
mov dword [ebp - 0x10], 0xfffffffc
jmp 0x473623
mov dword [ebp - 0x10], 0xfffffffd
jmp 0x473623
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x473623
mov dword [ebp - 0x10], 0xfffffffe
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8

Function at 0x47638d
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 1
jne 0x4763ba
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 0xffffffff
je 0x4763ba
mov eax, dword [ebp - 4]
mov dword [eax + 4], 2
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 2
sete al
neg al
sbb eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop ecx
pop ecx
pop ebp
ret
Function at 0x476691
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
sub eax, 1
jb 0x4766b3
je 0x4767be
jmp 0x4767ce
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004762d1
test eax, eax
je 0x4767ce
xor eax, eax
push ebp
push 0x4767b7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 4]
test eax, eax
je 0x4767a1
mov eax, dword [ebp - 4]
mov dword [eax + 4], 3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
xor edx, edx
call fcn.0047550d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
xor edx, edx
call fcn.0047550d
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
xor edx, edx
call fcn.0047550d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor edx, edx
call fcn.0047550d
mov eax, dword [ebp - 4]
add eax, 0x48
push eax
push 0
mov eax, dword [ebp - 4]
push eax
push 0x4763d5
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
or edx, 0xffffffff
call fcn.0047550d
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
je 0x4767a1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
mov edx, dword [ebp - 8]
call fcn.0047553d
test eax, eax
jne 0x4767a1
xor ecx, ecx
or edx, 0xffffffff
mov eax, dword [ebp - 4]
call fcn.00476811
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 4], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4767ce
mov eax, dword [ebp - 4]
call fcn.00476375
ret
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 4]
call fcn.0047638d
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
setne al
neg al
sbb eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x20], 0
je 0x4767f2
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], 0xffffffff
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x480be9
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004053c9
xor eax, eax
push ebp
push 0x480c67
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004053d9
mov dword [ebp - 8], eax
cmp dword [ebx + 8], 0
jne 0x480c32
mov eax, dword [ebx + 4]
call fcn.004053d9
push eax
push 0
call sub.advapi32.dll_RegisterEventSourceA
mov dword [ebx + 8], eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
mov ax, word [ebp + 0xc]
push eax
push esi
mov eax, dword [ebx + 8]
push eax
call sub.advapi32.dll_ReportEventA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480c6e
lea eax, [ebp - 4]
call fcn.00404f19
ret
Function at 0x481c39
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x481dd6
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00403119
cmp word [ebx + 0xa2], 0
je 0x481c82
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
mov eax, dword [ebx + 0x90]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x481c96
lea esi, [ebp - 8]
jmp 0x481c98
xor esi, esi
cmp dword [ebx + 0x80], 0
jne 0x481ca5
xor edi, edi
jmp 0x481cb2
mov eax, dword [ebx + 0x80]
call fcn.004053d9
mov edi, eax
mov eax, dword [ebx + 0x7c]
call fcn.004053d9
push eax
push edi
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.004813a1
mov eax, dword [ebp - 0x14]
call fcn.004053d9
push eax
push esi
mov eax, dword [ebx + 0x74]
call fcn.004053d9
push eax
mov eax, dword [ebp - 0x10]
call fcn.004053d9
push eax
mov eax, ebx
call fcn.004814d5
push eax
mov eax, ebx
call fcn.004814a9
push eax
mov eax, ebx
call fcn.0048145d
push eax
push 0xf01ff
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.0048126d
mov eax, dword [ebp - 0x18]
call fcn.004053d9
push eax
mov eax, dword [ebx + 8]
call fcn.004053d9
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x90], eax
cmp dword [ebp - 0xc], 0
jne 0x481d3b
call fcn.0040e7e5
xor edx, edx
push ebp
push 0x481db4
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x481d79
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [ebx + 0xaa], 0
je 0x481d6f
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x481d9d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481dbb
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret

Function at 0x481de5
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xb2], 0
je 0x481e11
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xb4]
call dword [esi + 0xb0]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.004053d9
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x481e36
call fcn.0040e7e5
xor eax, eax
push ebp
push 0x481e6d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x481e56
call fcn.0040e7e5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481e74
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x485d11
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x485d3f
mov eax, ebx
call fcn.004867c5
cmp dword [ebx + 0x40], 0
je 0x485d38
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x485db0
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x485da2
cmp dword [ebx + 8], 0
je 0x485d61
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x485d73
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x485da2
cmp dword [ebx + 8], 0
je 0x485d54
cmp eax, 3
je 0x485d86
dec eax
jne 0x485d54
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x485d54
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x485d54
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x485dce
cmp dword [ebx + 0x14], 0xcc
je 0x485dce
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00485dd9
pop ebx
ret
Function at 0x497a09
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov esi, eax
xor eax, eax
push ebp
push 0x497b97
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
push ebp
push 0x497b75
push dword fs:[ecx]
mov dword fs:[ecx], esp
lea eax, [ebp - 4]
push eax
push edx
push 0
push 0
push 2
call sub.mpr.dll_WNetOpenEnumA
test eax, eax
je 0x497a56
call fcn.00404961
jmp 0x497b7c
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
call fcn.00402ce1
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.mpr.dll_WNetEnumResourceA
cmp eax, 0xea
jne 0x497aba
mov dword [ebp - 8], 0xffffffff
mov eax, dword [ebp - 0x10]
call fcn.00402d01
mov eax, dword [ebp - 0xc]
call fcn.00402ce1
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.mpr.dll_WNetEnumResourceA
cmp eax, 0x103
je 0x497b34
test eax, eax
je 0x497aca
call fcn.0040d0bd
mov ebx, dword [ebp - 0x10]
cmp dword [ebp - 8], 0
jbe 0x497a68
cmp dword [ebx + 8], 3
jne 0x497b1a
cmp dword [ebx + 4], 1
jne 0x497b1a
mov edi, dword [ebx + 0x14]
test edi, edi
je 0x497b1a
lea edx, [ebp - 0x14]
mov eax, edi
call fcn.0040a245
mov edx, dword [ebp - 0x14]
lea eax, [esi + 0x40]
call fcn.00404f6d
mov ecx, dword [esi + 0x40]
lea eax, [ebp - 0x18]
mov edx, 0x497bad
call fcn.00405225
mov edx, dword [ebp - 0x18]
mov eax, dword [0x4a5860]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, ebx
mov eax, esi
call fcn.00497a09
add ebx, 0x20
dec dword [ebp - 8]
cmp dword [ebp - 8], 0
ja 0x497ad3
jmp 0x497a68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x497b7c
xor eax, eax
push ebp
push 0x497b6a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
call sub.mpr.dll_WNetCloseEnum
mov eax, dword [ebp - 0x10]
call fcn.00402d01
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x497b74
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x497b9e
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404f3d
ret
Function at 0x498191
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe84
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x17c], edx
mov dword [ebp - 0x178], edx
mov dword [ebp - 0x174], edx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
lea eax, [ebp - 0x170]
mov edx, dword [0x4084f1]
call fcn.004058f1
xor eax, eax
push ebp
push 0x498418
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4983d7
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x4a7cfc]
mov edx, dword [eax]
call dword [edx + 8]
lea edx, [ebp - 8]
mov eax, dword [0x4a5858]
mov eax, dword [eax]
call fcn.004a1149
xor edx, edx
push ebp
push 0x4983c6
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x174]
mov ecx, 0x498431
mov edx, dword [ebp - 8]
call fcn.00405225
mov eax, dword [ebp - 0x174]
lea ecx, [ebp - 0x170]
xor edx, edx
call fcn.00409c45
test eax, eax
jne 0x4983ad
xor eax, eax
push ebp
push 0x498390
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x178]
mov ecx, dword [ebp - 0x164]
mov edx, dword [ebp - 8]
call fcn.00405225
mov eax, dword [ebp - 0x178]
call fcn.0049c2d5
test al, al
je 0x498386
lea eax, [ebp - 0x17c]
mov ecx, dword [ebp - 0x164]
mov edx, dword [ebp - 8]
call fcn.00405225
mov eax, dword [ebp - 0x17c]
call fcn.004053d9
push eax
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
test ebx, ebx
je 0x498386
push 0x498439
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0xc], eax
push 0x498449
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x14], eax
push 0x498455
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x10], eax
push 0x498461
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x18], eax
push 0x498471
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov edi, eax
cmp dword [ebp - 0xc], 0
je 0x498380
cmp dword [ebp - 0x14], 0
je 0x498380
cmp dword [ebp - 0x10], 0
je 0x498380
cmp dword [ebp - 0x18], 0
je 0x498380
test edi, edi
je 0x498380
mov dl, 1
mov eax, dword [0x49c0b1]
call fcn.004040f9
mov esi, eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], ebx
lea eax, [esi + 0x1c]
mov edx, dword [ebp - 0x164]
mov ecx, 0xff
call fcn.004051b5
mov edx, esi
mov eax, dword [0x4a7cfc]
call fcn.00415c35
cmp byte [ebp - 1], 0
je 0x498386
call edi
test al, al
jne 0x498386
mov eax, dword [0x4a5b78]
mov eax, dword [eax]
call fcn.004053d9
push eax
mov eax, dword [0x4a5654]
mov eax, dword [eax]
call fcn.004053d9
push eax
call dword [ebp - 0x10]
jmp 0x498386
push ebx
call sub.kernel32.dll_FreeLibrary_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49839a
lea eax, [ebp - 0x170]
call fcn.00409c95
test eax, eax
je 0x498239
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4983cd
lea eax, [ebp - 0x170]
call fcn.00409cb9
ret
Function at 0x4989fd
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x498a05
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004053c9
xor eax, eax
push ebp
push 0x498bbe
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x498b99
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x413c65]
call fcn.004040f9
mov ebx, eax
mov edx, dword [ebp - 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea ecx, [ebp - 8]
xor edx, edx
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 8]
call fcn.00409699
sub eax, 1
jb 0x498a7c
je 0x498ac1
dec eax
je 0x498b06
dec eax
je 0x498b48
jmp 0x498b88
push 1
push 0
lea ecx, [ebp - 0xc]
mov edx, 2
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0xc]
call fcn.004053d9
push eax
lea ecx, [ebp - 0x10]
mov edx, 1
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x10]
call fcn.004053d9
push eax
push 0x498bcd
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x498b88
push 0
push 0
lea ecx, [ebp - 0x14]
mov edx, 2
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x14]
call fcn.004053d9
push eax
lea ecx, [ebp - 0x18]
mov edx, 1
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x18]
call fcn.004053d9
push eax
push 0x498bcd
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x498b88
push 3
push 0
lea ecx, [ebp - 0x1c]
mov edx, 2
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.004053d9
push eax
lea ecx, [ebp - 0x20]
mov edx, 1
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x20]
call fcn.004053d9
push eax
push 0x498bcd
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x498b88
push 6
push 0
lea ecx, [ebp - 0x24]
mov edx, 2
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x24]
call fcn.004053d9
push eax
lea ecx, [ebp - 0x28]
mov edx, 1
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x28]
call fcn.004053d9
push eax
push 0x498bcd
push 0
call sub.shell32.dll_ShellExecuteA
mov eax, ebx
call fcn.00404129
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x498ba3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498bc5
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.00404f3d
ret

Function at 0x49c1e1
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x49c22b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0x20
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
mov cl, 1
mov edx, 0x49c249
mov eax, dword [ebp - 8]
call fcn.0049c125
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49c235
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x49d691
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 0x104], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x49d729
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x100]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
mov eax, ebx
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.00405189
lea eax, [ebp - 0x104]
push eax
mov eax, dword [ebx]
call fcn.004051d9
mov edx, eax
mov eax, dword [ebx]
mov ecx, 1
call fcn.00405439
mov eax, dword [ebp - 0x104]
mov edx, 0x49d73d
call fcn.00405325
je 0x49d710
mov eax, ebx
mov edx, 0x49d73d
call fcn.004051e1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d730
lea eax, [ebp - 0x104]
call fcn.00404f19
ret