joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101a8935
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
xor eax, eax
mov dword [0x101b8878], 0x1927
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
je 0x101a89b1
jmp 0x101a8990
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x101a8988
mov eax, dword [ebp - 0x1c]
add esp, 0x28
pop ebp
ret
mov dword [0x101b8878], 0x9f6
mov eax, dword [ebp - 0x14]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
jl 0x101a8969
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
jne 0x101a8981
mov dword [0x101b8878], 0x21a9
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x101a8981
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x101a8981
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff6
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
cmp word [eax], 0x64
jne 0x101a8981
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x101a8981
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x101a8981
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0xe], 0x6c
sete dl
mov byte [ebp - 0x25], dl
mov eax, 1
mov cl, byte [ebp - 0x25]
test cl, 1
mov dword [ebp - 0x1c], eax
jne 0x101a8988
jmp 0x101a8981
Function at 0x101a8a5e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x101a8aac
lea eax, [ebp - 0x24]
mov dword [0x101b8878], 0x1372
mov dword [ebp - 0x34], eax
call fcn.101a915e
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.101a7f30
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x101a8b8b
jmp 0x101a8ad4
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x101ab483]
mov dl, byte [eax + 0x101ab454]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
je 0x101a8a78
jmp 0x101a8aac
mov eax, dword [ebp - 0x38]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x101b8878]
add ecx, 0xffffdbc9
mov dword [0x101b8878], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.101a80c5
xor eax, eax
mov ecx, dword [0x101b8878]
add ecx, 0xffffe005
mov dword [0x101b887c], ecx
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx], ecx
mov dword [0x101b8878], 0x19c4
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 4], ecx
add ecx, 0x1988
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x101a8b82
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x101a8cad
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x101b8880], 0
mov dword [0x101b8884], 0
mov dword [0x101b8890], 0
mov ebx, dword [0x101b887c]
add ebx, 0xfffff338
mov dword [0x101b8878], ebx
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x101a8e0f
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x101b8878], 0x20d1
mov dword [0x101b887c], 0x7e7
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x101b8880], edx
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x101b8884], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x101b8888], cl
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x101b8888]
mov edx, dword [0x101b8884]
mov byte [edi + edx], cl
mov dword [0x101b887c], 0x2664
mov edx, dword [0x101b8880]
movzx edx, byte [edi + edx]
mov ebx, dword [0x101b8884]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x101b8890], ebx
mov dword [0x101b8878], 0x1fb1
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
mov ch, byte [edx + ebx]
mov byte [0x101b8895], ch
mov byte [0x101b8896], cl
xor ch, cl
mov byte [0x101b8894], ch
mov dword [0x101b8878], 0x251f
mov edx, dword [ebp - 0x1c]
mov byte [edx + ebx], ch
mov dword [0x101b887c], 0x13d3
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
jne 0x101a8e17
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x101b8880]
mov ecx, dword [0x101b8884]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
jmp 0x101a8d18
Function at 0x101a8f67
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x88
lea eax, [esp + 0x78]
lea ecx, [esp + 0x20]
mov dword [0x101b8878], 0x1f19
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.101a8370
lea ecx, [0x101a88e9]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x74], edx
mov dword [esp + 0x64], 0x12be00
mov edx, dword [0x101b8864]
mov dword [esp + 0x44], edx
mov edx, dword [0x101b8868]
mov dword [esp + 0x5c], edx
mov edx, dword [0x101b886c]
mov dword [esp + 0x54], edx
mov edx, dword [0x101b8870]
mov dword [esp + 0x28], edx
mov edx, dword [0x101b8874]
mov dword [esp + 0x70], edx
mov dword [0x101b887c], 0x4bf
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x101a900b
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x101a902e
jmp 0x101a901a
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
je 0x101a8fed
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x101a900b
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
mov dword [0x101b887c], 0xe73
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x4c], edx
call fcn.101a8935
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x101a9003
lea eax, [esp + 0x20]
mov dword [0x101b887c], 0x341
mov ecx, dword [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.101a8a5e
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 8], eax
jmp 0x101a9003
Function at 0x404200
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov eax, 0xcccccccc
mov dword [esp], eax
call fcn.004042c0
push dword [ebp + 8]
call fcn.004a0690
pop ecx
mov dword [ebp - 4], eax
call fcn.004042e0
cmp dword [ebp - 4], 0
jne 0x40426f
cmp dword [ebp + 0xc], 1
jne 0x404237
mov eax, 0
leave
ret
call fcn.00401ad0
push str.9This_application_has_run_out_of_memory_and_must_quit_now.0
call fcn.00403840
pop ecx
push 0
push 0x4a84a9
push 0x3c1
push str.utility.cpp
push 4
push 0x83
call fcn.00492180
add esp, 0x18
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp - 4]
leave
ret

Function at 0x4042f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, 0xcccccccc
mov dword [esp], eax
mov dword [esp + 4], eax
cmp dword [ebp + 8], 0
jg 0x40430f
mov eax, 0
leave
ret
mov eax, dword [ebp + 8]
add eax, 3
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x40
jb 0x404338
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00404200
pop ecx
pop ecx
mov eax, eax
leave
ret
call fcn.004042c0
mov eax, dword [ebp + 8]
add dword [0x4a84ac], eax
mov eax, dword [ebp - 4]
cmp dword [eax*4 + 0x4a834c], 0
je 0x404374
mov eax, dword [ebp - 4]
mov ecx, dword [eax*4 + 0x4a834c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov eax, dword [ebp - 4]
mov dword [eax*4 + 0x4a834c], edx
jmp 0x4043f9
mov edx, dword [ebp - 4]
lea edx, [edx*4]
mov dword [ebp + 8], edx
mov eax, dword [0x4a8450]
cmp dword [ebp + 8], eax
jle 0x4043df
inc byte [0x4b6094]
push 0x2000
call fcn.004a0690
pop ecx
mov dword [0x4a844c], eax
dec byte [0x4b6094]
cmp dword [0x4a844c], 0
jne 0x4043d5
cmp dword [ebp + 0xc], 1
jne 0x4043bd
mov eax, 0
leave
ret
call fcn.00401ad0
push str.9This_application_has_run_out_of_memory_and_must_quit_now.0
call fcn.00403840
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [0x4a8450], 0x2000
mov eax, dword [0x4a844c]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
add dword [0x4a844c], eax
mov eax, dword [ebp + 8]
sub dword [0x4a8450], eax
call fcn.004042e0
mov eax, dword [ebp - 8]
leave
ret

Function at 0x405b30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, 0xcccccccc
mov dword [esp], eax
mov dword [esp + 4], eax
mov byte [ebp - 1], 0
push 3
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
sar eax, 0xf
cmp eax, 0
setne dl
mov byte [ebp - 1], dl
mov al, byte [ebp - 1]
leave
ret
Function at 0x426d70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, 0xcccccccc
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x29], 0
jne 0x426d9b
mov eax, 0
leave
ret 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x34], 0
je 0x426e19
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push dword [eax + 0x3c]
mov eax, dword [ebp - 0xc]
push dword [eax + 0x38]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
cmp eax, 0
je 0x426de5
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x34], 0
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x3c]
push dword [edx + 0x10]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [ebp - 4]
leave
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e4
jne 0x426dfb
mov eax, 0
leave
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x30], eax
push dword [ebp - 0xc]
call sym.X86HoudiniConsole.exe_FireSerialError
pop ecx
mov eax, 0
leave
ret 8
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
push dword [eax + 0x3c]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [ebp - 0xc]
push dword [eax + 0x38]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 0
jne 0x426e57
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x426e73
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x34], 1
jmp 0x426e73
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x34], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x3c]
push dword [edx + 0x10]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [ebp - 8]
leave
ret 8
Function at 0x426ea0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x1c
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop edi
pop ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 1
jmp 0x426fa2
mov dword [ebp - 0xc], 0
push 0x4b0ddc
call fcn.00403a30
pop ecx
push eax
push 0x4b0ddc
lea ecx, [ebp - 0xc]
call fcn.00401db0
cmp dword [ebp - 0xc], 0
je 0x426f07
mov ebx, dword [ebp - 0xc]
mov edx, dword [0x4a8218]
mov dword [ebx + 0x10], edx
push dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push eax
call fcn.00403e40
pop ecx
pop ecx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00402f40
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 8]
call fcn.00402570
cmp dword [ebp - 0x14], 0
je 0x426f43
mov ecx, dword [ebp - 0x14]
call fcn.00401b80
cmp dword [ebp - 0x10], 0
je 0x426f51
mov ecx, dword [ebp - 0x10]
call fcn.00401b80
cmp dword [ebp - 0xc], 0
je 0x426f5f
mov ecx, dword [ebp - 0xc]
call fcn.00401b80
push 0
push 0
push 3
push 0
push 0
push 0
lea ecx, [ebp - 8]
call fcn.00402450
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x426f91
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [ebp - 0x1c]
jmp 0x426f9f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x426f9f
inc dword [ebp - 0x1c]
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 9
jle 0x426ed5
mov ebx, dword [ebp - 0x1c]
cmp dword [ebp - 8], 0
je 0x426fbd
mov ecx, dword [ebp - 8]
call fcn.00401b80
mov eax, ebx
lea esp, [ebp - 4]
pop ebx
pop ebp
ret
Function at 0x4309c0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x18
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop edi
pop ecx
push 7
push 0xffffffffffffffff
push dword [ebp + 0xc]
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
call fcn.0044cf90
add esp, 0x14
push 4
lea eax, [ebp - 0xc]
push eax
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
je 0x430a14
mov edx, dword [ebp - 0x10]
inc dword [edx]
mov dword [ebp - 0x14], 0
push 0x4b1441
call fcn.00403a30
pop ecx
push eax
push 0x4b1441
lea ecx, [ebp - 0x14]
call fcn.00401db0
cmp dword [ebp - 0x14], 0
je 0x430a46
mov ebx, dword [ebp - 0x14]
mov edx, dword [0x4a8218]
mov dword [ebx + 0x10], edx
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0xc]
lea eax, [ebp - 0xc]
push eax
call fcn.00403a30
pop ecx
push eax
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x18]
call fcn.00401db0
cmp dword [ebp - 0x18], 0
je 0x430a79
mov ebx, dword [ebp - 0x18]
mov edx, dword [0x4a8218]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call sym.X86HoudiniConsole.exe_replace
add esp, 0x10
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 8]
call fcn.00402570
cmp dword [ebp - 0x1c], 0
je 0x430aab
mov ecx, dword [ebp - 0x1c]
call fcn.00401b80
cmp dword [ebp - 0x18], 0
je 0x430ab9
mov ecx, dword [ebp - 0x18]
call fcn.00401b80
cmp dword [ebp - 0x14], 0
je 0x430ac7
mov ecx, dword [ebp - 0x14]
call fcn.00401b80
cmp dword [ebp - 0x10], 0
je 0x430ad5
mov ecx, dword [ebp - 0x10]
call fcn.00401b80
lea ecx, [ebp - 8]
call fcn.00401fe0
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x430aed
mov ecx, dword [ebp - 8]
call fcn.00401b80
mov eax, ebx
lea esp, [ebp - 4]
pop ebx
pop ebp
ret

Function at 0x435070
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 5
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.00402450
push eax
push 0x4b6050
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
leave
ret
Function at 0x451be0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop edi
pop ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov dword [eax], 0x4b67dc
mov eax, dword [0x4b6ac0]
mov dword [ebp - 0x10], eax
jmp 0x451cd9
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x38], 0
je 0x451cd1
mov eax, dword [ebp - 0x10]
push dword [eax + 0x38]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x24], 0
je 0x451c3e
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x24]
mov eax, dword [edx + 0xc]
jmp 0x451c43
mov eax, 0
cmp eax, 0
je 0x451cd1
call fcn.00490470
cmp al, 0
je 0x451c83
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.004021d0
lea ecx, [ebp - 4]
call fcn.00402480
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 4], 0
je 0x451cd1
mov ecx, dword [ebp - 4]
call fcn.00401b80
jmp 0x451cd1
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x24]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
je 0x451c97
mov edx, dword [ebp - 8]
inc dword [edx]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00431da0
pop ecx
pop ecx
lea ecx, [ebp - 0xc]
call fcn.00402450
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 0xc], 0
je 0x451cc3
mov ecx, dword [ebp - 0xc]
call fcn.00401b80
cmp dword [ebp - 8], 0
je 0x451cd1
mov ecx, dword [ebp - 8]
call fcn.00401b80
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x451c11
mov ecx, dword [ebp - 0x14]
call fcn.0040e0a0
mov eax, dword [ebp - 0x14]
leave
ret
Function at 0x4606d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x18
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop edi
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 2
jmp 0x460789
mov edx, 1
mov ecx, dword [ebp - 0x18]
shl edx, cl
test dword [ebp - 0x14], edx
je 0x460786
mov eax, dword [ebp - 0x1c]
cmp dword [ebp + 8], eax
jne 0x460783
mov dl, byte [ebp - 0x18]
add dl, 0x41
mov byte [ebp - 8], dl
mov byte [ebp - 7], 0x3a
mov byte [ebp - 6], 0
mov dword [ebp - 0xc], 0
lea edx, [ebp - 8]
lea eax, [ebp - 8]
push eax
call fcn.00403a30
pop ecx
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
call fcn.00401db0
cmp dword [ebp - 0xc], 0
je 0x460761
mov ebx, dword [ebp - 0xc]
mov edx, dword [0x4a8218]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0xc]
push eax
call fcn.004605f0
pop ecx
mov ebx, eax
cmp dword [ebp - 0xc], 0
je 0x46077b
mov ecx, dword [ebp - 0xc]
call fcn.00401b80
mov eax, ebx
lea esp, [ebp - 4]
pop ebx
pop ebp
ret
inc dword [ebp - 0x1c]
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x20
jl 0x460706
mov dword [ebp - 0x18], 0
jmp 0x460822
mov edx, 1
mov ecx, dword [ebp - 0x18]
shl edx, cl
test dword [ebp - 0x14], edx
je 0x46081f
mov eax, dword [ebp - 0x1c]
cmp dword [ebp + 8], eax
jne 0x46081c
mov dl, byte [ebp - 0x18]
add dl, 0x41
mov byte [ebp - 8], dl
mov byte [ebp - 7], 0x3a
mov byte [ebp - 6], 0
mov dword [ebp - 0x10], 0
lea edx, [ebp - 8]
lea eax, [ebp - 8]
push eax
call fcn.00403a30
pop ecx
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401db0
cmp dword [ebp - 0x10], 0
je 0x4607fa
mov ebx, dword [ebp - 0x10]
mov edx, dword [0x4a8218]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x10]
push eax
call fcn.004605f0
pop ecx
mov ebx, eax
cmp dword [ebp - 0x10], 0
je 0x460814
mov ecx, dword [ebp - 0x10]
call fcn.00401b80
mov eax, ebx
lea esp, [ebp - 4]
pop ebx
pop ebp
ret
inc dword [ebp - 0x1c]
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 2
jl 0x46079f
mov eax, 0
lea esp, [ebp - 4]
pop ebx
pop ebp
ret
Function at 0x460840
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x424
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
mov ecx, 0x109
rep stosd dword es:[edi], eax
pop edi
pop ecx
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
cmp eax, 0
jge 0x460881
mov eax, 0
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, 0
je 0x4608a1
mov eax, 0
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov dword [ebp - 0x424], eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov esi, dword [edx]
call dword [esi + 0x14]
push dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov esi, dword [edx]
call dword [esi + 8]
cmp dword [ebp - 0x424], 0
je 0x460a6a
mov dword [ebp - 0x414], 0
lea edx, [ebp - 0x410]
lea eax, [ebp - 0x410]
push eax
call fcn.00403a30
pop ecx
push eax
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x414]
call fcn.00401db0
cmp dword [ebp - 0x414], 0
je 0x460925
mov ebx, dword [ebp - 0x414]
mov edx, dword [0x4a8218]
mov dword [ebx + 0x10], edx
mov dword [ebp - 0x418], 0
push 0x4bb760
call fcn.00403a30
pop ecx
push eax
push 0x4bb760
lea ecx, [ebp - 0x418]
call fcn.00401db0
cmp dword [ebp - 0x418], 0
je 0x460963
mov ebx, dword [ebp - 0x418]
mov edx, dword [0x4a8218]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x41c]
push eax
call fcn.00402f40
add esp, 0xc
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x414]
call fcn.00402570
cmp dword [ebp - 0x41c], 0
je 0x4609a6
mov ecx, dword [ebp - 0x41c]
call fcn.00401b80
cmp dword [ebp - 0x418], 0
je 0x4609ba
mov ecx, dword [ebp - 0x418]
call fcn.00401b80
mov bl, 0
push 0x14
call fcn.004352a0
pop ecx
cmp eax, 0
je 0x4609fe
mov edx, dword [ebp - 0x414]
mov dword [ebp - 0x420], edx
cmp dword [ebp - 0x420], 0
je 0x4609e6
mov edx, dword [ebp - 0x420]
inc dword [edx]
mov bl, 1
push 0
push 0
push 0
lea edx, [ebp - 0x420]
push edx
mov ecx, eax
call fcn.00459ba0
mov eax, eax
mov dword [ebp - 0x428], eax
cmp bl, 0
je 0x460a1d
cmp dword [ebp - 0x420], 0
je 0x460a1d
mov ecx, dword [ebp - 0x420]
call fcn.00401b80
call fcn.0040de90
push eax
call sym.X86HoudiniConsole.exe_CreateInstance
pop ecx
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
je 0x460a47
mov eax, dword [ebp - 0x42c]
mov ecx, dword [ebp - 0x428]
mov dword [eax + 0x18], ecx
mov ebx, dword [ebp - 0x42c]
cmp dword [ebp - 0x414], 0
je 0x460a61
mov ecx, dword [ebp - 0x414]
call fcn.00401b80
mov eax, ebx
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
mov eax, 0
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret