joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408bd1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x532f84]
jne 0x408bdb
repz ret
jmp fcn.0040c872

Function at 0x40f2ec
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00409988
and dword [ebp - 4], 0
cmp dword [0x53491c], 0
mov ebx, eax
jne 0x40f39d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40f44e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40f44e
push eax
call fcn.00409916
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x53491c], eax
call esi
push eax
call fcn.00409916
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x534920], eax
call esi
push eax
call fcn.00409916
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x534924], eax
call esi
push eax
call fcn.00409916
pop ecx
mov dword [0x53492c], eax
test eax, eax
je 0x40f39d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00409916
pop ecx
mov dword [0x534928], eax
mov eax, dword [0x534928]
cmp eax, ebx
je 0x40f3f5
cmp dword [0x53492c], ebx
je 0x40f3f5
push eax
call fcn.00409991
push dword [0x53492c]
mov esi, eax
call fcn.00409991
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40f3f5
test edi, edi
je 0x40f3f5
call esi
test eax, eax
je 0x40f3ec
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40f3ec
test byte [ebp - 0xc], 1
jne 0x40f3f5
or dword [ebp + 0x10], 0x200000
jmp 0x40f42e
mov eax, dword [0x534920]
cmp eax, ebx
je 0x40f42e
push eax
call fcn.00409991
pop ecx
test eax, eax
je 0x40f42e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40f42e
mov eax, dword [0x534924]
cmp eax, ebx
je 0x40f42e
push eax
call fcn.00409991
pop ecx
test eax, eax
je 0x40f42e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x53491c]
call fcn.00409991
pop ecx
test eax, eax
je 0x40f44e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40f450
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4069c5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4069e9
xor eax, eax
test eax, eax
je 0x4069fc
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4069fc
xor ecx, ecx
jmp 0x4069ff
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406b22
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dec], 0
push esi
jne 0x406b59
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b33
mov dword [ecx*4 + 0x427de8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b2e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406b8a
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427de8]
xor eax, esi
inc ecx
dec edx
jne 0x406b6c
pop edi
not eax
pop esi
ret 0xc

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..idata
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x470b47e6
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x52bd0721
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x10001f55
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x10001f64
pop dword [ebp - 0x4c]
mov eax, 0x740d216b
add eax, 0x9bf2fdf9
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x5e695bd3
add dword [ebp - 0x5c], 0xefe8e978
mov dword [ebp - 0x58], 0x6e00f68
sub dword [ebp - 0x58], 0xd4acc323
mov dword [ebp - 0x54], 0x802d49de
add dword [ebp - 0x54], 0xcc1efa50
mov dword [ebp - 0x50], 0xaaaa057b
add dword [ebp - 0x50], 0x5555fa85
lea eax, [ebp - 0x5c]
push eax
mov eax, 0xa08c868d
add eax, 0x6f7429ef
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0xb13d8cf8
sub dword [ebp - 0x5c], 0x3ccb23a2
mov dword [ebp - 0x58], 0x1a387e84
sub dword [ebp - 0x58], 0xd8cc1d0f
mov dword [ebp - 0x54], 0x88c74182
add dword [ebp - 0x54], 0xdaa82aea
mov dword [ebp - 0x50], 0x8e91e917
sub dword [ebp - 0x50], 0x8e91e917
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0x1fce91dc
add eax, 0xf0321ebc
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x378f2
push 0
call eax
mov ecx, 0x4707
xor edi, edi
add edi, eax
mov esi, 0xf4adc07e
sub esi, 0xe4ac2a7e
add esi, dword [ebp - 0x4c]
mov ebx, 0xb393f827
sub ebx, 0x9b4f337d
xor dword [ebp - 0x44], ecx
mov edx, dword [esi]
sub dword [ebp - 8], 0xadc52ea5
sub edx, ebx
sub dword [ebp - 0x44], ebx
mov dword [edi], edx
xor dword [ebp - 0x2c], 0xb10c1cb6
add edi, 4
add esi, 0xfa7df10e
add esi, 0x5820ef6
loop 0x10002082
add eax, 0x71397b09
add eax, 0x8ec793e6
xor ebx, ebx
add ebx, eax
add eax, 0x39364850
add eax, 0xc6c9b7b5
mov ecx, 0xf51ab304
sub ecx, 0xe51ab304
add ecx, dword [ebp - 0x4c]
call ebx
push 0xfffffffffffffffe
invalid

Function at 0x100089c1
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ebp + 0xc]
push 0xd
push dword [ecx + 0x38]
call dword [sym.imp.USER32.dll_SendMessageA]
pop ebp
ret 8

Function at 0x10008de5
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
push edi
mov edi, ecx
cmp eax, 0x1a
jl 0x10008e3e
mov eax, dword [esi + 8]
cmp eax, dword [esi]
jl 0x10008e3e
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x18]
call ebx
mov eax, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi]
push 0x10
sub edx, eax
push edx
mov edx, dword [esi + 8]
sub edx, ecx
push edx
push eax
push ecx
push 0
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, edi
call fcn.10001f55
push 1
push dword [edi + 0x18]
call ebx
pop ebx
pop edi
pop esi
pop ebp
ret 4

Function at 0x10009710
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10014d34]
jne 0x1000971a
repz ret
jmp fcn.10009ea3
Function at 0x401000
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
push str._JAVA_LAUNCHER_DEBUG
call fcn.00408d33
pop ecx
test eax, eax
je 0x401046
push str.Windows_original_main_args:_n
call fcn.00408bef
xor esi, esi
pop ecx
cmp dword [0x425628], esi
jle 0x401046
mov eax, dword [0x42562c]
push dword [eax + esi*4]
push esi
push str.wwwd_args__d____s_n
call fcn.00408bef
add esp, 0xc
inc esi
cmp esi, dword [0x425628]
jl 0x401027
call dword [sym.imp.kernel32.dll_GetCommandLineA]
push eax
call fcn.00418aba
call fcn.0040392e
mov edi, eax
lea eax, [edi*4 + 4]
push eax
call fcn.004039b0
pop ecx
pop ecx
mov esi, eax
call fcn.00403934
xor ecx, ecx
test edi, edi
jle 0x401080
mov edx, dword [eax + ecx*8]
mov dword [esi + ecx*4], edx
inc ecx
cmp ecx, edi
jl 0x401075
mov eax, dword [0x424010]
and dword [esi + ecx*4], 0
mov ebx, eax
test eax, eax
jne 0x401091
mov ebx, dword [esi]
mov ecx, dword [0x42400c]
test ecx, ecx
jne 0x40109d
mov ecx, dword [esi]
mov eax, dword [0x425420]
push 0
push 0
push 1
test eax, eax
setne dl
movzx edx, dl
push edx
push ebx
push ecx
push 0x41c24c
push 0x41c23c
push dword [0x425424]
push 1
push eax
push 1
push esi
push edi
call fcn.00403472
add esp, 0x38
pop edi
pop esi
pop ebx
ret
Function at 0x403e2f
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x424070]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
push edi
mov edi, dword [sym.imp.advapi32.dll_RegEnumKeyA]
mov esi, 0x104
push esi
lea ecx, [ebp - 0x6c]
push ecx
xor ebx, ebx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xa8]
push ebx
push eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ebx
call edi
test eax, eax
jne 0x403ed2
mov eax, dword [ebp - 0x80]
push dword [eax + 8]
inc dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
call fcn.00418aba
pop ecx
pop ecx
test eax, eax
je 0x403ebb
test ebx, ebx
je 0x403eaf
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.00418aba
pop ecx
pop ecx
test eax, eax
jle 0x403ebb
push ebx
call fcn.00403a18
pop ecx
lea eax, [ebp - 0x6c]
push eax
call fcn.004039f7
pop ecx
mov ebx, eax
push esi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x74]
push dword [ebp - 0x78]
call edi
test eax, eax
je 0x403e7c
xor edi, edi
cmp ebx, edi
jne 0x403ed6
xor eax, eax
jmp 0x403f42
lea eax, [ebp - 0x70]
push eax
push 0x20019
push edi
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
push ebx
test eax, eax
je 0x403f05
call fcn.00403a18
pop ecx
cmp dword [ebp - 0x70], edi
je 0x403ed2
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x403ed2
call fcn.00403a18
pop ecx
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push edi
push edi
push str.JavaHome
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], esi
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x403ef5
cmp dword [ebp - 0x70], edi
je 0x403f38
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea eax, [ebp - 0x6c]
push eax
call fcn.004039f7
pop ecx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004098e8
add ebp, 0x9c
leave
ret
Function at 0x408f37
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x422550
call fcn.0040dcb0
xor esi, esi
cmp dword [0x4274a8], esi
jne 0x408df7
push esi
push esi
push 1
push esi
call dword [sym.imp.kernel32.dll_HeapSetInformation]
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x408e0a
mov dword [ebp - 0x1c], esi
jmp 0x408e40
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x408e05
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x408e05
cmp dword [eax + 0x400074], 0xe
jbe 0x408e05
xor ecx, ecx
cmp dword [eax + 0x4000e8], esi
setne cl
mov dword [ebp - 0x1c], ecx
call fcn.0040f80c
test eax, eax
jne 0x408e51
push 0x1c
call fcn.00418aba
pop ecx
call fcn.0040d831
test eax, eax
jne 0x408e62
push 0x10
call fcn.00418aba
pop ecx
call fcn.0040dae6
mov dword [ebp - 4], esi
call fcn.00418aba
test eax, eax
jns 0x408e7b
push 0x1b
call fcn.00418aba
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x4274a4], eax
call fcn.00418aba
mov dword [0x42565c], eax
call fcn.00418aba
test eax, eax
jns 0x408ea1
push 8
call fcn.00418aba
pop ecx
call fcn.0040f1ff
test eax, eax
jns 0x408eb2
push 9
call fcn.00418aba
pop ecx
push 1
call fcn.00418aba
pop ecx
cmp eax, esi
je 0x408ec5
push eax
call fcn.00418aba
pop ecx
mov eax, dword [0x425634]
mov dword [0x425638], eax
push eax
push dword [0x42562c]
push dword [0x425628]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], esi
jne 0x408ef2
push eax
call fcn.00418aba
call fcn.00408bb3
jmp 0x408f27
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.0040dcf5
ret
call fcn.00418aba
jmp 0x408dd6

Function at 0x4098e8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x424070]
jne 0x4098f2
repz ret
jmp fcn.004114ed
Function at 0x418aba
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x418ac9
pop dword [ebp - 0x30]
mov eax, 0x418ac9
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x304cb923
add dword [ebp - 0x40], 0x1e058c28
mov dword [ebp - 0x3c], 0xeedfb35
add dword [ebp - 0x3c], 0x23455110
mov dword [ebp - 0x38], 0x8514d254
sub dword [ebp - 0x38], 0x38c88e26
mov dword [ebp - 0x34], 0xd87dfd70
add dword [ebp - 0x34], 0x27820290
lea eax, [ebp - 0x40]
push eax
mov eax, 0x4b6befb2
sub eax, 0x4b2a2f62
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0xb01ccc9b
sub dword [ebp - 0x40], 0x3baa6345
mov dword [ebp - 0x3c], 0x9b07a428
add dword [ebp - 0x3c], 0xa664bd4d
mov dword [ebp - 0x38], 0xc17f8228
sub dword [ebp - 0x38], 0x5e1015bc
mov dword [ebp - 0x34], 0x9fe333f5
sub dword [ebp - 0x34], 0x9fe333f5
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0xb9900ea4
add eax, 0x46b1b1a8
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x394c2
push 0
call eax
mov ecx, 0xcefae46f
add ecx, 0x31055a94
mov esi, eax
mov edx, 0xd81c69ad
add edx, 0x2826c053
add edx, dword [ebp - 0x30]
mov ebx, 0xbe0547dd
xor dword [ebp - 0x1c], esi
mov edi, dword [edx]
sub dword [ebp - 0x10], edx
sub edi, ebx
add dword [ebp - 0x2c], 0x64087062
mov dword [esi], edi
sub dword [ebp - 0x20], edx
add esi, 0x304d99f5
add esi, 0xcfb2660f
add edx, 0x51fff250
sub edx, 0x51fff24c
loop 0x418be0
add eax, 0x59f2b84b
add eax, 0xa60e3694
mov ebx, eax
add eax, 0xa7c96078
add eax, 0x58369f8d
mov ecx, 0xb4c5caa7
add ecx, 0x4b7a3559
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x401970
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x407f50
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1010
call fcn.00407e70
mov eax, dword [0x40d040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x1018]
mov dword [ebp - 4], 0
push eax
push 0x1000
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
xor esi, esi
cmp esi, 1
jae 0x4019df
call fcn.00401180
test al, al
jne 0x4019fe
inc esi
jmp 0x4019c8
mov dword [ebp - 4], 2
call fcn.00401550
test al, al
jne 0x4019fe
push str.cuckoomon.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401a00
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00406f99
mov esp, ebp
pop ebp
ret

Function at 0x402530
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x40d040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push edi
push 0x11
mov dword [ebp - 8], 4
call esi
push 0x288
mov ebx, eax
call esi
add esp, 8
mov edi, eax
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x40257c
push dword [ebp - 8]
call esi
add esp, 4
mov edi, eax
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x4025d4
mov esi, edi
nop dword [eax]
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push str._02X:_02X:_02X:_02X:_02X:_02X
push ebx
call fcn.004024f0
mov esi, dword [esi]
add esp, 0x20
test esi, esi
jne 0x402590
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, ebx
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00406f99
mov esp, ebp
pop ebp
ret
Function at 0x4038f0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push esi
push 0
push 1
push 0x4093b4
call dword [sym.imp.WININET.dll_InternetCheckConnectionW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
pop esi
jne 0x403910
mov al, 1
ret
xor al, al
ret
Function at 0x404840
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x408373
mov eax, dword fs:[0]
push eax
sub esp, 0x1ec
mov eax, dword [0x40d040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push str.C:WINDOWS_system32driversVBoxMouse.sys
lea ecx, [ebp - 0x1f4]
call fcn.00401c10
push str.C:WINDOWS_system32driversVBoxGuest.sys
lea ecx, [ebp - 0x1dc]
mov dword [ebp - 4], 0
call fcn.00401c10
push str.C:WINDOWS_system32driversVBoxSF.sys
lea ecx, [ebp - 0x1c4]
mov byte [ebp - 4], 1
call fcn.00401c10
push str.C:WINDOWS_system32driversVBoxVideo.sys
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 2
call fcn.00401c10
push str.C:WINDOWS_system32_vboxdisp.dll
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 3
call fcn.00401c10
push str.C:WINDOWS_system32_vboxhook.dll
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 4
call fcn.00401c10
push str.C:WINDOWS_system32_vboxmrxnp.dll
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 5
call fcn.00401c10
push str.C:WINDOWS_system32_vboxogl.dll
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 6
call fcn.00401c10
push str.C:WINDOWS_system32_vboxoglarrayspu.dll
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 7
call fcn.00401c10
push str.C:WINDOWS_system32_vboxoglcrutil.dll
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 8
call fcn.00401c10
push str.C:WINDOWS_system32_vboxoglerrorspu.dll
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 9
call fcn.00401c10
push str.C:WINDOWS_system32_vboxoglfeedbackspu.dll
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0xa
call fcn.00401c10
push str.C:WINDOWS_system32_vboxoglpackspu.dll
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0xb
call fcn.00401c10
push str.C:WINDOWS_system32_vboxoglpassthroughspu.dll
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0xc
call fcn.00401c10
push str.C:WINDOWS_system32_vboxservice.exe
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xd
call fcn.00401c10
push str.C:WINDOWS_system32_vboxtray.exe
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xe
call fcn.00401c10
mov byte [ebp - 4], 0xf
push str.C:WINDOWS_system32VBoxControl.exe
lea ecx, [ebp - 0x74]
call fcn.00401c10
push str.C:program_filesoracle_virtualbox_guest_additions_
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x10
call fcn.00401c10
push ecx
mov edx, 2
lea ecx, [ebp - 0x44]
call fcn.00405170
add esp, 4
mov dword [ebp - 4], 0x11
xor esi, esi
mov byte [ebp - 4], 0x12
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp esi, 0x14
jae 0x404a50
lea eax, [esi + esi*2]
cmp dword [ebp + eax*8 - 0x1e0], 0xf
lea eax, [ebp + eax*8 - 0x1f4]
jbe 0x404a11
mov eax, dword [eax]
push eax
call edi
cmp eax, 0xffffffff
je 0x404a4d
push fcn.00401bc0
push 0x14
push 0x18
lea eax, [ebp - 0x1f4]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.00406fd7
mov al, 1
jmp 0x404a6e
inc esi
jmp 0x4049f6
push fcn.00401bc0
push 0x14
push 0x18
lea eax, [ebp - 0x1f4]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.00406fd7
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 - 0x14]
xor ecx, ebp
call fcn.00406f99
mov esp, ebp
pop ebp
ret
Function at 0x4052f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4085af
mov eax, dword fs:[0]
push eax
sub esp, 0x1ec
mov eax, dword [0x40d040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push str.C:WINDOWS_system32_vm3dgl64.dll
lea ecx, [ebp - 0x1f4]
call fcn.00401c10
push str.C:WINDOWS_system32_vm3dgl.dll
lea ecx, [ebp - 0x1dc]
mov dword [ebp - 4], 0
call fcn.00401c10
push str.C:WINDOWS_system32_vm3dum64.dll
lea ecx, [ebp - 0x1c4]
mov byte [ebp - 4], 1
call fcn.00401c10
push str.C:WINDOWS_system32_vm3dum.dll
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 2
call fcn.00401c10
push str.C:WINDOWS_system32VmbuxCoinstaller.dll
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 3
call fcn.00401c10
push str.C:WINDOWS_system32_vmGuestLib.dll
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 4
call fcn.00401c10
push str.C:WINDOWS_system32_vmGuestLibJava.dll
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 5
call fcn.00401c10
push str.C:WINDOWS_system32_vmhgfs.dll
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 6
call fcn.00401c10
push str.C:WINDOWS_system32_vmwogl32.dll
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 7
call fcn.00401c10
push str.C:WINDOWS_system32_vmmreg32.dll
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 8
call fcn.00401c10
push str.C:WINDOWS_system32_vmx_fb.dll
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 9
call fcn.00401c10
push str.C:WINDOWS_system32_vmx_mode.dll
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0xa
call fcn.00401c10
push str.C:WINDOWS_system32VMUpgradeAtShutdownWXP.dll
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0xb
call fcn.00401c10
push ecx
mov edx, 7
lea ecx, [ebp - 0xbc]
call fcn.00405170
add esp, 4
mov dword [ebp - 4], 0xc
xor esi, esi
mov byte [ebp - 4], 0xd
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
nop dword [eax + eax]
cmp esi, 0x14
jae 0x4054aa
lea eax, [esi + esi*2]
cmp dword [ebp + eax*8 - 0x1e0], 0xf
lea eax, [ebp + eax*8 - 0x1f4]
jbe 0x40546b
mov eax, dword [eax]
push eax
call edi
cmp eax, 0xffffffff
je 0x4054a7
push fcn.00401bc0
push 0x14
push 0x18
lea eax, [ebp - 0x1f4]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.00406fd7
mov al, 1
jmp 0x4054c8
inc esi
jmp 0x405450
push fcn.00401bc0
push 0x14
push 0x18
lea eax, [ebp - 0x1f4]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.00406fd7
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 - 0x14]
xor ecx, ebp
call fcn.00406f99
mov esp, ebp
pop ebp
ret