joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f818
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
movzx eax, byte [ebp + 8]
test eax, eax
je 0x41f8eb
lea eax, [ebp + 0x2c]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x41f8c2
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x41f891
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [eax], 0xcb03629a
jmp 0x41f8c0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x41f8c0
push 0xd16
push 0x1637
push 0
push 0x462
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
jmp 0x41f8e9
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
push 1
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push 0
push dword [ebp - 0x44]
call fcn.00408bbb
add esp, 0x14
jmp 0x41f967
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x4c], eax
lea eax, [ebp + 0x34]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x41f948
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
push dword [ebp - 0x5c]
push 0
push dword [ebp - 0x60]
push 0x159
push dword [ebp - 0x64]
push dword [ebp - 0x68]
call fcn.004127ee
add esp, 0x18
jmp 0x41f967
push 1
push 0
push 0x1e04
push 0x389
push 0x7c2e
push 1
push 0
call fcn.004092e4
add esp, 0x1c
mov esp, ebp
pop ebp
ret
Function at 0x421827
Capabilities:
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x42186d
lea eax, [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x421855
push 1
push 0x3619
call fcn.00421904
pop ecx
pop ecx
jmp 0x421868
push 1
push 0x52a1
push 1
push 1
call fcn.0040f6af
add esp, 0x10
jmp 0x421900
lea eax, [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x4218d7
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x4218be
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x4218bc
push 0x1a36
call dword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x4218d5
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x421900
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x4218f6
push 0x27d
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x421900
push 0
push 0
call dword [sym.imp.GDI32.dll_RectInRegion]
mov esp, ebp
pop ebp
ret

Function at 0x421d42
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x421de2
lea eax, [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x421dcb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x421dc3
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
mov eax, dword [eax]
mov dword [ecx + 4], eax
jmp 0x421dc9
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
jmp 0x421de0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
push dword [ebp - 0x34]
push 0
push 0
call fcn.00418ac2
add esp, 0xc
jmp 0x421df3
push 0x587e
push 1
push 0
call fcn.00415081
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x423009
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x4230f9
lea eax, [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x423082
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x423069
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x423080
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x4230f7
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x4230cf
mov byte [ebp - 1], 0
push 1
lea eax, [ebp - 1]
push eax
push 0x5aaf
push 1
push 1
push 0x4dfc
push 0x1ef8
push 0xcc0
push 0x4ffe
call fcn.0040e39c
add esp, 0x24
jmp 0x4230f7
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
movzx eax, word [eax]
sar eax, 0xc
mov ecx, dword [ebp - 0x48]
mov dword [ecx], eax
jmp 0x423111
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x4c], eax
push 1
push dword [ebp - 0x4c]
push 0x104f
call fcn.0040f4af
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x423837
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x4239aa
lea eax, [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x42388e
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
push 1
push dword [ebp - 0x2c]
call fcn.004239c8
pop ecx
pop ecx
jmp 0x4239a8
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x4238c7
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x4239a8
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x423901
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x423901
and dword [ebp - 0x14], 0
jmp 0x423908
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 4]
cmp dword [eax], 0xffffffff
ja 0x42391e
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x42391e
and dword [ebp - 8], 0
jmp 0x423925
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 0x2e97
jle 0x42393f
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x42393f
mov dword [ebp - 0xc], 1
jmp 0x423943
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x5c]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x14], eax
jg 0x423968
mov dword [ebp - 0x18], 1
jmp 0x42396c
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x18], eax
jg 0x42397f
mov dword [ebp - 0x1c], 1
jmp 0x423983
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x1c], eax
jl 0x423996
mov dword [ebp - 0x20], 1
jmp 0x42399a
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
imul eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x4239c4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
push 0
push 0x5550
push 1
push dword [ebp - 0x60]
call fcn.00420ac6
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x423ad6
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x423b90
lea eax, [ebp + 0x18]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x423b6e
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x423b56
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x423b54
push 1
push 0x1490
push 1
push 0x1e82
push 0x32b2
push 1
push 0x5c59
push 1
call fcn.00423009
add esp, 0x20
jmp 0x423b6c
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x423b6c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
jmp 0x423b8b
push 1
push 0xadc
push 0x54c0
push 0
push 1
push 0x713f
call fcn.00415855
add esp, 0x18
jmp 0x423c10
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x423bfe
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x423be0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
jmp 0x423bfc
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x423bfc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
jmp 0x423c10
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
push dword [ebp - 0x44]
push 0
call fcn.00422f71
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x42dd7d
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x42ddac
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 4], eax
push 0
push 0x5052
push 0x636
push 1
push dword [ebp - 4]
call fcn.004381ba
add esp, 0x14
jmp 0x42de1d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x42de05
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x42ddfb
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [eax], 0xcb03629a
jmp 0x42de03
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x42de1d
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push 0x3b8c
push 0
call fcn.004325f5
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x42e461
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x42e54a
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x42e52b
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x42e4e7
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x42e4e5
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x42e529
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x42e515
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0xffffffff
jle 0x42e529
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x42e50a
jmp 0x42e548
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
push 0x1ac2
push 0
push dword [ebp - 0x44]
push 0x5472
call fcn.004393e9
add esp, 0x10
jmp 0x42e558
push 0
push 0x5e67
call fcn.0042fff4
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4303a1
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x430457
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x43043d
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x43040a
push 0
push 0
push 0
push 0
push 0xd64
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
jmp 0x43043b
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x43043b
push 0
push 0x2145
push 0xb90
push 0x17f2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
jmp 0x430455
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
push 0x7ed6
push dword [ebp - 0x24]
push 0
call fcn.00435e79
add esp, 0xc
jmp 0x430469
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
push 0
push dword [ebp - 0x28]
call fcn.0042dbe1
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x430531
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
movzx eax, byte [ebp + 8]
test eax, eax
je 0x4305e9
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x430598
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 1
call fcn.0043065c
add esp, 0x10
jmp 0x4305e7
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x4305c9
push 0xd16
push 0x1637
push 0
push 0x462
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
jmp 0x4305e7
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x4305e7
push 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x430658
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x40], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x430640
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x43062b
push 0
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x43063e
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
and dword [eax + 4], 0
jmp 0x430658
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
push 0
push dword [ebp - 0x58]
push 0x2187
call fcn.0042ea10
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x430f41
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x431089
lea eax, [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x43106d
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x431052
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 1
jne 0x431020
mov dword [ebp - 0xc], 1
jmp 0x431024
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
jg 0x43103c
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x43103c
and dword [ebp - 0x14], 0
jmp 0x431043
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x68]
mov dword [ecx], eax
jmp 0x43106b
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x43106b
push 0x27d
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x431087
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
push 1
push dword [ebp - 0x70]
push 0
push 0x5703
call fcn.004314ed
add esp, 0x10
jmp 0x4310ad
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x74], eax
push 0x6bcc
push 1
push 0x1655
push dword [ebp - 0x74]
push 0
push 0x4cb0
call fcn.0042e440
add esp, 0x18
mov esp, ebp
pop ebp
ret