joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47e1b0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1ee9
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x4e3ec8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x154]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc100.dll_Ordinal_300]
push 0x4c49c4
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x15c]
push edx
mov byte [ebp - 4], 1
call fcn.004019e0
add esp, 0xc
push eax
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x154]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x47e365
mov esi, dword [sym.imp.MSVCR100.dll__mbscmp]
lea esp, [esp]
test byte [ebp - 0x150], 0x10
je 0x47e31e
lea ecx, [ebp - 0x124]
push 0x4b4b84
push ecx
call esi
add esp, 8
test eax, eax
je 0x47e348
lea edx, [ebp - 0x124]
push 0x4c49c0
push edx
call esi
add esp, 8
test eax, eax
je 0x47e348
push 0x4b0cd8
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x158]
push ecx
call fcn.004019e0
lea edx, [ebp - 0x124]
push edx
push eax
lea eax, [ebp - 0x15c]
push eax
mov byte [ebp - 4], 3
call fcn.004019e0
add esp, 0x18
push eax
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x15c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100.dll_Ordinal_901]
push ecx
lea edx, [ebp - 0x154]
mov ecx, esp
mov dword [ebp - 0x168], esp
push edx
call dword [sym.imp.mfc100.dll_Ordinal_300]
call fcn.0047e1b0
fstp st(0)
add esp, 4
jmp 0x47e348
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x160], ecx
fild qword [ebp - 0x164]
fadd dword [0x4e5b10]
fstp dword [0x4e5b10]
lea edx, [ebp - 0x150]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x47e260
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
fld dword [0x4e5b14]
lea ecx, [ebp - 0x154]
fadd dword [0x4e5b10]
fstp dword [0x4e5b14]
fldz
fstp dword [0x4e5b10]
fld dword [0x4e5b14]
fstp dword [ebp - 0x158]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_901]
fld dword [ebp - 0x158]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e770
mov esp, ebp
pop ebp
ret
Function at 0x47e9c0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a201e
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x4e3ec8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x154]
call dword [sym.imp.mfc100.dll_Ordinal_316]
push str..
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x158]
push ecx
mov byte [ebp - 4], 2
call fcn.004019e0
add esp, 0xc
lea edx, [ebp - 0x150]
push edx
mov ecx, eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [ebp - 0x158]
mov edi, eax
call dword [sym.imp.mfc100.dll_Ordinal_901]
cmp edi, 0xffffffff
je 0x47eac0
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov esi, dword [sym.imp.MSVCR100.dll__mbscmp]
test byte [ebp - 0x150], 0x10
je 0x47eab2
lea eax, [ebp - 0x124]
push 0x4b4b84
push eax
call esi
add esp, 8
test eax, eax
je 0x47eab2
lea ecx, [ebp - 0x124]
push 0x4c49c0
push ecx
call esi
add esp, 8
test eax, eax
je 0x47eab2
lea edx, [ebp - 0x124]
push edx
lea ecx, [ebp - 0x154]
call dword [sym.imp.mfc100.dll_Ordinal_1316]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
lea ecx, [ebp - 0x154]
call dword [sym.imp.mfc100.dll_Ordinal_2611]
test eax, eax
je 0x47eb03
lea eax, [ebp - 0x150]
push eax
push edi
call ebx
test eax, eax
jne 0x47ea52
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x154]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_901]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e770
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x154]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov al, 1
jmp 0x47eae7
Function at 0x47eb30
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a20a1
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x4e3ec8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str..
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x170]
xor ebx, ebx
push ecx
mov dword [ebp - 4], ebx
call fcn.004019e0
add esp, 0xc
lea edx, [ebp - 0x150]
push edx
mov ecx, eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [ebp - 0x170]
mov edi, eax
call dword [sym.imp.mfc100.dll_Ordinal_901]
cmp edi, 0xffffffff
je 0x47ed4f
mov esi, dword [sym.imp.MSVCR100.dll__mbscmp]
mov edi, edi
test byte [ebp - 0x150], 0x10
je 0x47ec85
lea eax, [ebp - 0x124]
push 0x4b4b84
push eax
call esi
add esp, 8
test eax, eax
je 0x47ed39
lea ecx, [ebp - 0x124]
push 0x4c49c0
push ecx
call esi
add esp, 8
test eax, eax
je 0x47ed39
lea ecx, [ebp - 0x158]
call dword [sym.imp.mfc100.dll_Ordinal_316]
push 0x4b0cd8
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x15c]
push eax
mov byte [ebp - 4], 1
call fcn.004019e0
lea ecx, [ebp - 0x124]
push ecx
push eax
lea edx, [ebp - 0x16c]
push edx
mov byte [ebp - 4], 2
call fcn.004019e0
add esp, 0x18
push eax
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x16c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100.dll_Ordinal_901]
push ecx
lea eax, [ebp - 0x158]
mov ecx, esp
mov dword [ebp - 0x164], esp
push eax
call dword [sym.imp.mfc100.dll_Ordinal_300]
call fcn.0047eb30
add esp, 4
lea ecx, [ebp - 0x158]
jmp 0x47ed30
push 0x4b0cd8
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x168]
push edx
call fcn.004019e0
lea ecx, [ebp - 0x124]
push ecx
push eax
lea edx, [ebp - 0x154]
push edx
mov byte [ebp - 4], 4
call fcn.004019e0
add esp, 0x18
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc100.dll_Ordinal_901]
push ebx
push str..bmp
lea ecx, [ebp - 0x154]
call dword [sym.imp.mfc100.dll_Ordinal_4144]
cmp eax, ebx
jge 0x47ed2a
push ecx
lea eax, [ebp - 0x154]
mov ecx, esp
mov dword [ebp - 0x164], esp
push eax
call dword [sym.imp.mfc100.dll_Ordinal_300]
push ecx
lea edx, [ebp - 0x154]
mov ecx, esp
mov dword [ebp - 0x174], esp
push edx
mov byte [ebp - 4], 7
call dword [sym.imp.mfc100.dll_Ordinal_300]
lea eax, [ebp - 0x160]
push eax
mov byte [ebp - 4], 6
call fcn.00476590
add esp, 0xc
lea ecx, [ebp - 0x160]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x150]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x47ebb0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e770
mov esp, ebp
pop ebp
ret
Function at 0x47f350
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a21e0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4e3ec8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x50], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x47f3e2
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x58], ecx
mov ecx, eax
and eax, 0x7fffffff
mov dword [ebp - 0x54], eax
fild qword [ebp - 0x58]
and ecx, 0x80000000
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], 0
fild qword [ebp - 0x58]
sub esp, 8
fchs
faddp st(1)
fmul qword [0x4c4ce0]
fstp dword [ebp - 0x54]
fld dword [ebp - 0x54]
fstp qword [esp]
call dword [sym.imp.MSVCR100.dll_ceil]
fstp dword [ebp - 0x54]
add esp, 8
fld dword [ebp - 0x54]
call fcn.0048e880
jmp 0x47f3e7
mov eax, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e770
mov esp, ebp
pop ebp
ret
Function at 0x4810a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a27b0
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4e3ec8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
xor ebx, ebx
push 0x104
mov dword [ebp - 0x224], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x104
lea ecx, [ebp - 0x114]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x21c]
call dword [sym.imp.mfc100.dll_Ordinal_310]
push str.AnakageCourses_
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x220]
push edx
mov dword [ebp - 4], ebx
call fcn.004019e0
add esp, 0xc
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea eax, [ebp - 0x224]
push eax
call fcn.00479050
push 0x4c544c
push eax
lea ecx, [ebp - 0x220]
push ecx
mov byte [ebp - 4], 2
call fcn.004019e0
add esp, 0x10
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x220]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea edx, [ebp - 0x21c]
push edx
mov ecx, esi
call dword [sym.imp.mfc100.dll_Ordinal_300]
lea ecx, [ebp - 0x21c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e770
mov esp, ebp
pop ebp
ret
Function at 0x481810
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2902
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x4e3ec8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
mov ebx, 1
push eax
mov dword [ebp - 4], ebx
call fcn.00481010
mov esi, dword [ebp + 8]
push str.error.bmp
push eax
push esi
mov byte [ebp - 4], 2
call fcn.004019e0
add esp, 0x10
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], bl
call dword [sym.imp.mfc100.dll_Ordinal_901]
push str.enuManyFilesOpened
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_2611]
test eax, eax
jne 0x4818c7
lea ecx, [ebp - 0x18]
push ecx
call fcn.00481010
push str.okbutton.bmp
push eax
lea edx, [ebp - 0x14]
push edx
mov byte [ebp - 4], 3
call fcn.004019e0
add esp, 0x10
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov ecx, esi
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x481946
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x54], ebx
jne 0x481908
lea ecx, [ebp - 0x14]
push ecx
call fcn.00481010
push str.continue.bmp
push eax
lea edx, [ebp - 0x18]
push edx
mov byte [ebp - 4], 5
call fcn.004019e0
add esp, 0x10
mov byte [ebp - 4], 6
jmp 0x48192b
lea eax, [ebp - 0x14]
push eax
call fcn.00481010
push str.default.bmp
push eax
lea ecx, [ebp - 0x18]
push ecx
mov byte [ebp - 4], 7
call fcn.004019e0
add esp, 0x10
mov byte [ebp - 4], 8
push eax
mov ecx, esi
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x481b10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a298b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4e3ec8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], 0
call fcn.004810a0
push str.AnakageFilesVBScripts_
push eax
lea ecx, [ebp - 0x14]
push ecx
mov byte [ebp - 4], 1
call fcn.004019e0
lea edx, [ebp + 8]
push edx
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 2
call fcn.004018e0
add esp, 0x1c
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_901]
push 1
push 0
push 0
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x482d40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2d58
mov eax, dword fs:[0]
push eax
sub esp, 0x414
mov eax, dword [0x4e3ec8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x420]
mov dword [ebp - 0x41c], 0
push eax
mov dword [ebp - 0x418], 0
call fcn.0047c3d0
push str.Lync
push eax
lea ecx, [ebp - 0x414]
push ecx
mov dword [ebp - 4], 0
call fcn.004019e0
add esp, 0x10
lea ecx, [ebp - 0x420]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea edx, [ebp - 0x418]
push edx
lea ecx, [ebp - 0x414]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x482de7
call fcn.00405c60
mov edx, dword [ebp - 0x418]
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x410]
push ecx
push 0
push 0
push esi
push edx
mov dword [ebp - 0x41c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x482e1a
call fcn.00405c60
lea eax, [ebp - 0x410]
push eax
mov ecx, ebx
call dword [sym.imp.mfc100.dll_Ordinal_310]
lea ecx, [ebp - 0x414]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e770
mov esp, ebp
pop ebp
ret
Function at 0x484540
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3325
mov eax, dword fs:[0]
push eax
sub esp, 0x514
mov eax, dword [0x4e3ec8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x51c]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea eax, [ebp - 0x51c]
push eax
lea ecx, [ebp + 8]
push ecx
mov byte [ebp - 4], 1
call fcn.0047a520
add esp, 8
lea edx, [ebp - 0x518]
push edx
push 0x20019
push 0
lea ecx, [ebp + 8]
mov dword [ebp - 0x518], eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
mov eax, dword [ebp - 0x518]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x484654
lea ecx, [ebp - 0x51c]
mov dword [ebp - 0x520], 0x400
call dword [sym.imp.mfc100.dll_Ordinal_1448]
lea ecx, [ebp - 0x510]
push 3
mov dword [ebp - 0x514], ecx
push eax
lea ecx, [ebp - 0x514]
call fcn.00406470
mov ecx, dword [ebp - 0x514]
lea edx, [ebp - 0x520]
push edx
mov edx, dword [ebp - 0x518]
lea eax, [ebp - 0x410]
push eax
push 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov eax, dword [ebp - 0x514]
lea ecx, [ebp - 0x510]
cmp eax, ecx
je 0x48463f
push eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
test esi, esi
jne 0x48465a
lea edx, [ebp - 0x410]
push edx
mov ecx, edi
call dword [sym.imp.mfc100.dll_Ordinal_1315]
jmp 0x48465a
mov esi, dword [ebp - 0x520]
mov eax, dword [ebp - 0x518]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x51c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e770
mov esp, ebp
pop ebp
ret
Function at 0x4853b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3696
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4e3ec8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], 0
call fcn.004851c0
add esp, 4
push 0
push str.Root
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100.dll_Ordinal_4144]
test eax, eax
js 0x4854c1
push ecx
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x20], esp
push edx
call dword [sym.imp.mfc100.dll_Ordinal_300]
call fcn.00473a70
add esp, 4
cmp al, 1
jne 0x4854c1
push str.rundll32.exe_shell32.dll_Control_RunDLL
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_310]
push 0x22
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x20]
push ecx
mov byte [ebp - 4], 2
call fcn.004223c0
lea edx, [ebp + 8]
push edx
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 3
call fcn.004018e0
push 0x22
push eax
lea ecx, [ebp - 0x18]
push ecx
mov byte [ebp - 4], 4
call fcn.004223c0
add esp, 0x24
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc100.dll_Ordinal_901]
push 1
push 0
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4854f0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3708
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4e3ec8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x20]
push str.ServerSipUri
push eax
mov dword [ebp - 4], 0
call fcn.00482d40
add esp, 8
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc100.dll_Ordinal_316]
push str._rename
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc100.dll_Ordinal_310]
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x18]
push str.sip_
push edx
mov byte [ebp - 4], 3
call fcn.00401a70
add esp, 0xc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc100.dll_Ordinal_7832]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
mov edi, eax
call fcn.00480130
mov edi, eax
call fcn.00477690
test eax, eax
je 0x4856ab
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileA]
jmp 0x4855a0
cmp dword [eax + 0xc], 0x4000
jne 0x48569e
add eax, 0x10
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_310]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc100.dll_Ordinal_7832]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_2611]
test eax, eax
jne 0x485691
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.004018e0
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea edx, [ebp - 0x14]
push edx
mov byte [ebp - 4], 6
call fcn.004018e0
add esp, 0x18
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call dword [sym.imp.mfc100.dll_Ordinal_901]
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
call dword [sym.imp.mfc100.dll_Ordinal_300]
call fcn.00473a70
add esp, 4
cmp al, 1
jne 0x485648
push 0x4ae26b
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call fcn.00473e20
add esp, 8
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.004018e0
add esp, 0xc
lea ecx, [ebp - 0x14]
mov esi, eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
mov ecx, esi
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call ebx
lea ecx, [ebp - 0x28]
mov esi, eax
call dword [sym.imp.mfc100.dll_Ordinal_901]
test esi, esi
jne 0x485688
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc100.dll_Ordinal_901]
call fcn.00477690
test eax, eax
jne 0x4855a0
call fcn.00477770
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret