joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d0bac
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4d0d33
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x43efdc]
call fcn.0043f0dc
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d0d11
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [ebp - 8]
mov edx, 0x4d0d48
call fcn.00404900
mov edx, 0x80000002
mov eax, dword [ebp - 4]
call fcn.0043f17c
mov eax, dword [ebp - 4]
mov byte [eax + 0xc], 0
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0043f1e4
test al, al
je 0x4d0c73
mov edx, dword [0x4d0188]
mov eax, 0x14
call fcn.0040576c
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebx], eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 8]
call fcn.004048bc
lea eax, [ebx + 8]
mov edx, 0x4d0d94
call fcn.004048bc
lea ecx, [ebp - 0xc]
mov edx, 0x4d0d94
mov eax, dword [ebp - 4]
call fcn.0043f760
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004048bc
mov edx, ebx
mov eax, esi
call fcn.0041aaf4
lea eax, [ebp - 8]
mov edx, 0x4d0d48
call fcn.00404900
mov edx, 0x80000001
mov eax, dword [ebp - 4]
call fcn.0043f17c
mov eax, dword [ebp - 4]
mov byte [eax + 0xc], 0
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0043f1e4
test al, al
je 0x4d0cfb
mov edx, dword [0x4d0188]
mov eax, 0x14
call fcn.0040576c
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebx], eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 8]
call fcn.004048bc
lea eax, [ebx + 8]
mov edx, 0x4d0dac
call fcn.004048bc
lea ecx, [ebp - 0x10]
mov edx, 0x4d0dac
mov eax, dword [ebp - 4]
call fcn.0043f760
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0xc]
call fcn.004048bc
mov edx, ebx
mov eax, esi
call fcn.0041aaf4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d0d18
mov eax, dword [ebp - 4]
call fcn.00403a34
ret

Function at 0x4d1288
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, eax
call fcn.004a849c
mov ebx, eax
mov eax, dword [0x55c428]
mov eax, dword [eax]
call fcn.0048da60
call fcn.004a849c
xor edx, edx
push edx
push eax
mov eax, ebx
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
mov eax, esi
cdq
cmp edx, dword [esp + 4]
jne 0x4d12c9
cmp eax, dword [esp]
pop edx
pop eax
ja 0x4d1293
pop esi
pop ebx
ret
pop edx
pop eax
jg 0x4d1293
pop esi
pop ebx
ret

Function at 0x4d12d0
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.004027dc
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d132a
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 0x4d1314
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404a60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d1331
mov eax, dword [ebp - 4]
call fcn.004027fc
ret
Function at 0x4d1658
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4d1802
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 0x43
cmp byte [0x55dfe0], 3
je 0x4d17e7
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404a50
lea eax, [ebp - 8]
mov edx, 0x4d1818
call fcn.00404b30
mov eax, dword [ebp - 8]
call fcn.00404d28
push eax
call sub.kernel32.dll_GetDriveTypeA
sub eax, 2
je 0x4d16c9
sub eax, 2
je 0x4d1710
dec eax
je 0x4d1757
dec eax
je 0x4d179b
jmp 0x4d17dd
lea eax, [ebp - 4]
call fcn.00404868
lea eax, [ebp - 0xc]
mov edx, ebx
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x10]
call fcn.004030d8
mov edx, 0x4d181c
lea eax, [ebp - 0x10]
mov cl, 2
call fcn.004030a8
lea edx, [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.00404acc
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4d17dd
lea eax, [ebp - 4]
call fcn.00404868
lea eax, [ebp - 0xc]
mov edx, ebx
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x10]
call fcn.004030d8
mov edx, 0x4d181c
lea eax, [ebp - 0x10]
mov cl, 2
call fcn.004030a8
lea edx, [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.00404acc
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4d17dd
lea eax, [ebp - 4]
call fcn.00404868
lea eax, [ebp - 0xc]
mov edx, ebx
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x10]
call fcn.004030d8
mov edx, 0x4d181c
lea eax, [ebp - 0x10]
mov cl, 2
call fcn.004030a8
lea edx, [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.00404acc
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4d17dd
lea eax, [ebp - 4]
call fcn.00404868
lea eax, [ebp - 0xc]
mov edx, ebx
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x10]
call fcn.004030d8
mov edx, 0x4d181c
lea eax, [ebp - 0x10]
mov cl, 2
call fcn.004030a8
lea edx, [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.00404acc
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
cmp bl, 0x5b
jne 0x4d167a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d1809
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040488c
ret
Function at 0x4d18d8
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.00404d18
xor eax, eax
push ebp
push 0x4d1a04
push dword fs:[eax]
mov dword fs:[eax], esp
dec ebx
jne 0x4d19ba
lea edx, [ebp - 0x1c]
mov eax, 0x4d1a18
call fcn.004bfb10
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
call fcn.004151e4
push 0
push 0x4d1a38
lea eax, [ebp - 0x18]
push eax
push 0
call fcn.00410ca8
add esp, 0x10
mov eax, dword [0x55c738]
mov eax, dword [eax]
call fcn.0048b644
push eax
push 0x4d1a44
lea eax, [ebp - 0x18]
push eax
push 0
call fcn.00410ca8
add esp, 0x10
push 0
push 0x4d1a50
lea eax, [ebp - 0x18]
push eax
push 0
call fcn.00410ca8
add esp, 0x10
mov eax, dword [0x55c738]
mov eax, dword [eax]
call fcn.0048b638
sub eax, 0x1e
push eax
push 0x4d1a58
lea eax, [ebp - 0x18]
push eax
push 0
call fcn.00410ca8
add esp, 0x10
push 0xffffffffffffffff
push 0x4d1a64
lea eax, [ebp - 0x18]
push eax
push 0
call fcn.00410ca8
add esp, 0x10
lea eax, [ebp - 4]
push eax
push 0x4d1a70
lea eax, [ebp - 0x18]
push eax
push 0
call fcn.00410ca8
add esp, 0x10
jmp 0x4d19de
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404d28
push eax
push 0x4d1a80
mov eax, dword [0x55c428]
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 0x4d1a0b
lea eax, [ebp - 0x1c]
call fcn.004063ac
lea eax, [ebp - 0x18]
call fcn.00410ca0
lea eax, [ebp - 4]
call fcn.00404868
ret

Function at 0x4d216c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x4d2238
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x40]
xor ecx, ecx
mov edx, 0x3c
call fcn.0040322c
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x40
mov eax, dword [0x55c428]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x38], eax
mov eax, ebx
call fcn.00404d28
mov dword [ebp - 0x30], eax
mov eax, 0x4d2248
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
call fcn.00404d28
mov dword [ebp - 0x2c], eax
mov eax, esi
call fcn.00404d28
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 1
call sub.user32.dll_GetFocus
mov esi, eax
xor eax, eax
call fcn.00484938
mov ebx, eax
push 0
call sub.user32.dll_SetFocus
mov eax, dword [0x55c428]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_SetActiveWindow
lea eax, [ebp - 0x40]
push eax
call sub.shell32.dll_ShellExecuteExA
mov eax, ebx
call fcn.004849ec
push esi
call sub.user32.dll_SetFocus
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d223f
lea eax, [ebp - 4]
call fcn.00404868
ret
Function at 0x4d25e4
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdcc
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4d277a
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0
push 0
push 0
push 4
lea edx, [ebp - 0x228]
mov eax, dword [0x55c428]
mov eax, dword [eax]
call fcn.0048d720
mov eax, dword [ebp - 0x228]
call fcn.00404d28
push eax
call sub.wininet.dll_InternetOpenA
mov edi, eax
test edi, edi
je 0x4d274f
lea edx, [ebp - 0x230]
mov eax, dword [0x55c428]
mov eax, dword [eax]
call fcn.0048e21c
mov eax, dword [ebp - 0x230]
lea edx, [ebp - 0x22c]
call fcn.00409ba4
mov ecx, dword [ebp - 0x22c]
lea eax, [ebp - 0xc]
mov edx, 0x4d2794
call fcn.00404b74
push 0
push 0x200
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404d28
push eax
push edi
call sub.wininet.dll_InternetOpenUrlA
mov esi, eax
test esi, esi
je 0x4d2749
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x201
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x221]
push eax
push 0xb
push esi
call sub.wininet.dll_HttpQueryInfoA
test eax, eax
je 0x4d2743
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x221]
mov ecx, 0x201
call fcn.00404ad8
mov eax, dword [ebp - 0x10]
call fcn.004a8b24
fstp qword [ebp - 0x20]
wait
lea edx, [ebp - 0x234]
mov eax, dword [0x55c428]
mov eax, dword [eax]
call fcn.0048e21c
mov eax, dword [ebp - 0x234]
call fcn.004098b4
call fcn.00409d6c
fstp qword [ebp - 0x18]
wait
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
lea eax, [ebp - 0xc]
call fcn.0040c258
push dword [ebp - 0x14]
push dword [ebp - 0x18]
lea eax, [ebp - 0x10]
call fcn.0040c258
fld qword [ebp - 0x20]
fcomp qword [ebp - 0x18]
fnstsw ax
sahf
seta bl
push esi
call sub.wininet.dll_InternetCloseHandle
push edi
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d2781
lea eax, [ebp - 0x234]
mov edx, 4
call fcn.0040488c
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0040488c
ret
Function at 0x4d3998
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
xor eax, eax
push ebp
push 0x4d3a8b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xff
call fcn.004027dc
mov dword [ebp - 4], eax
mov dl, 1
mov eax, dword [0x4187ec]
call fcn.00403a04
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4d3a5c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.00404a60
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0xc]
mov ecx, 0x4d3aa0
call fcn.00404b74
call fcn.0040b53c
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x18]
call fcn.0040c228
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 8]
mov edx, 0x4d3abc
call fcn.004bee68
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x74]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d3a63
mov eax, dword [ebp - 0x10]
call fcn.00403a34
mov eax, dword [ebp - 4]
call fcn.004027fc
ret

Function at 0x4d4988
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
xor eax, eax
push ebp
push 0x4d4a7b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xff
call fcn.004027dc
mov dword [ebp - 4], eax
mov dl, 1
mov eax, dword [0x4187ec]
call fcn.00403a04
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4d4a4c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.00404a60
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0xc]
mov ecx, 0x4d4a90
call fcn.00404b74
call fcn.0040b53c
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x18]
call fcn.0040c228
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 8]
mov edx, 0x4d4aac
call fcn.004bee68
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x74]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d4a53
mov eax, dword [ebp - 0x10]
call fcn.00403a34
mov eax, dword [ebp - 4]
call fcn.004027fc
ret
Function at 0x4d859c
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404d18
xor eax, eax
push ebp
push 0x4d862f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x300
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00404d28
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [ebx + 0x2f8]
call fcn.0047a3c4
mov edx, dword [ebp - 0x164]
call fcn.0042fb44
mov eax, dword [ebp - 0x164]
push eax
call sub.user32.dll_DestroyIcon
mov eax, esi
lea edx, [ebp - 0x158]
mov ecx, 0x104
call fcn.00404ad8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d8636
lea eax, [ebp - 4]
call fcn.00404868
ret
Function at 0x4dafb8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4db0f9
push dword fs:[eax]
mov dword fs:[eax], esp
test bl, bl
je 0x4db010
mov ecx, dword [0x55c428]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x4d4b10]
call fcn.0048628c
mov edx, dword [0x55c774]
mov dword [edx], eax
mov eax, dword [0x55c774]
mov eax, dword [eax]
call fcn.0048a5e4
mov eax, dword [0x55c774]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x88]
mov eax, esi
call fcn.004dab4c
test al, al
jne 0x4db028
call fcn.004d25e4
test al, al
je 0x4db0b6
test bl, bl
je 0x4db038
mov eax, dword [0x55c774]
mov eax, dword [eax]
call fcn.00403a34
push 0x44
mov ecx, 0x4db108
mov edx, 0x4db118
mov eax, dword [0x55c428]
mov eax, dword [eax]
call fcn.0048dd9c
cmp eax, 6
jne 0x4db0de
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.00402b64
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00409adc
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0x4db1ac
call fcn.00404b74
push 5
push 0x4db1c0
push 0x4db1c0
mov eax, dword [ebp - 4]
call fcn.00404d28
push eax
push 0x4db1c4
mov eax, dword [0x55c428]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
mov eax, dword [0x55c428]
mov eax, dword [eax]
call fcn.0048dcf8
jmp 0x4db0de
test bl, bl
je 0x4db0de
mov eax, dword [0x55c774]
mov eax, dword [eax]
call fcn.00403a34
push 0x40
mov ecx, 0x4db108
mov edx, 0x4db1cc
mov eax, dword [0x55c428]
mov eax, dword [eax]
call fcn.0048dd9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4db100
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040488c
ret

Function at 0x4dc704
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 0x4dc774
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x100]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
push ebx
lea edx, [ebp - 0x104]
lea eax, [ebp - 0x100]
call fcn.00409fe0
mov eax, dword [ebp - 0x104]
mov ecx, 3
xor edx, edx
call fcn.00404d88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dc77b
lea eax, [ebp - 0x104]
call fcn.00404868
ret
Function at 0x4dc780
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
xor edx, edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4dc85e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x109]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea edx, [ebp - 4]
lea eax, [ebp - 0x109]
call fcn.00409fe0
mov edx, dword [ebp - 4]
mov eax, 0x4dc874
call fcn.00404e6c
dec eax
jl 0x4dc805
lea eax, [ebp - 0x110]
push eax
mov ecx, 3
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00404d88
mov edx, dword [ebp - 0x110]
lea eax, [ebp - 4]
mov ecx, 0x4dc884
call fcn.00404b74
jmp 0x4dc82e
lea eax, [ebp - 0x114]
push eax
mov ecx, 3
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00404d88
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 4]
mov ecx, 0x4dc898
call fcn.00404b74
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004048bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dc865
lea eax, [ebp - 0x114]
mov edx, 2
call fcn.0040488c
lea eax, [ebp - 4]
call fcn.00404868
ret
Function at 0x4dcfb8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
call fcn.00404d18
xor eax, eax
push ebp
push 0x4dd1e8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
mov eax, dword [ebp + 0x10]
call fcn.00404d28
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4dd1b5
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x138]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
mov dword [ebp - 0x10], 0x3e8
mov ebx, dword [ebp - 0x18]
dec ebx
test ebx, ebx
jl 0x4dd1b5
inc ebx
mov dword [ebp - 0x30], 0
mov eax, dword [0x55c098]
cmp byte [eax], 1
je 0x4dd1b5
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x238]
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegEnumKeyExA
cmp dword [ebp + 0x10], 0
jne 0x4dd0cd
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x238]
mov dword [ebp - 0x240], eax
mov byte [ebp - 0x23c], 6
lea edx, [ebp - 0x240]
xor ecx, ecx
mov eax, 0x4dd200
call fcn.0040a4d0
jmp 0x4dd114
push dword [ebp + 0x10]
push 0x4dd20c
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x238]
mov dword [ebp - 0x240], eax
mov byte [ebp - 0x23c], 6
lea edx, [ebp - 0x240]
xor ecx, ecx
mov eax, 0x4dd200
call fcn.0040a4d0
push dword [ebp - 0x244]
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00404be8
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x238]
mov dword [ebp - 0x240], eax
mov byte [ebp - 0x23c], 6
lea edx, [ebp - 0x240]
xor ecx, ecx
mov eax, 0x4dd200
call fcn.0040a4d0
lea edx, [ebp - 0x24c]
mov eax, esi
call fcn.004d0a34
push dword [ebp - 0x24c]
push 0x4dd20c
push dword [ebp - 0x34]
lea eax, [ebp - 0x248]
mov edx, 3
call fcn.00404be8
mov edx, dword [ebp - 0x248]
mov eax, edi
call fcn.0046d0e8
call fcn.004d27bc
push esi
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.004dc8a0
mov dword [ebp - 0x10], 0x3e8
mov eax, dword [0x55c428]
mov eax, dword [eax]
call fcn.0048da60
inc dword [ebp - 0x30]
dec ebx
jne 0x4dd06e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dd1ef
lea eax, [ebp - 0x24c]
mov edx, 3
call fcn.0040488c
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.0040488c
lea eax, [ebp + 0x10]
call fcn.00404868
ret
Function at 0x4df790
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
xor edx, edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4df86e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x109]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea edx, [ebp - 4]
lea eax, [ebp - 0x109]
call fcn.00409fe0
mov edx, dword [ebp - 4]
mov eax, 0x4df884
call fcn.00404e6c
dec eax
jl 0x4df815
lea eax, [ebp - 0x110]
push eax
mov ecx, 3
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00404d88
mov edx, dword [ebp - 0x110]
lea eax, [ebp - 4]
mov ecx, 0x4df894
call fcn.00404b74
jmp 0x4df83e
lea eax, [ebp - 0x114]
push eax
mov ecx, 3
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00404d88
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 4]
mov ecx, 0x4df8a8
call fcn.00404b74
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004048bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4df875
lea eax, [ebp - 0x114]
mov edx, 2
call fcn.0040488c
lea eax, [ebp - 4]
call fcn.00404868
ret
Function at 0x4e2870
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
xor edx, edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e294e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x109]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea edx, [ebp - 4]
lea eax, [ebp - 0x109]
call fcn.00409fe0
mov edx, dword [ebp - 4]
mov eax, 0x4e2964
call fcn.00404e6c
dec eax
jl 0x4e28f5
lea eax, [ebp - 0x110]
push eax
mov ecx, 3
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00404d88
mov edx, dword [ebp - 0x110]
lea eax, [ebp - 4]
mov ecx, 0x4e2974
call fcn.00404b74
jmp 0x4e291e
lea eax, [ebp - 0x114]
push eax
mov ecx, 3
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00404d88
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 4]
mov ecx, 0x4e2988
call fcn.00404b74
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004048bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e2955
lea eax, [ebp - 0x114]
mov edx, 2
call fcn.0040488c
lea eax, [ebp - 4]
call fcn.00404868
ret
Function at 0x4e49ec
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4e4aae
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 0x43
mov eax, dword [0x55c098]
cmp byte [eax], 1
je 0x4e4a93
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404a50
lea eax, [ebp - 0x10]
mov edx, 0x4e4ac8
call fcn.00404b30
mov eax, dword [ebp - 0x10]
call fcn.00404d28
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x4e4a8d
lea eax, [ebp - 0x14]
mov edx, ebx
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x18]
call fcn.004030d8
mov edx, 0x4e4acc
lea eax, [ebp - 0x18]
mov cl, 2
call fcn.004030a8
lea edx, [ebp - 0x18]
lea eax, [ebp - 0xc]
call fcn.00404acc
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, dword [ebp - 0xc]
call fcn.004e4d28
inc ebx
cmp bl, 0x5b
jne 0x4e4a14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e4ab5
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0040488c
ret