joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4064b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x465124]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 8]
push ecx
push 0xf003f
lea eax, [ebp + 8]
mov dword [ebp - 8], connect
cmovae eax, dword [ebp + 8]
push 0
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406517
cmp dword [ebp + 0x4c], 0x10
lea edx, [ebp + 0x38]
mov eax, dword [ebp + 0x48]
lea ecx, [ebp + 0x20]
cmovae edx, dword [ebp + 0x38]
cmp dword [ebp + 0x34], 0x10
cmovae ecx, dword [ebp + 0x20]
inc eax
push eax
push edx
push 2
push 0
push ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x406554
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40654a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4065e6
push edx
push ecx
call fcn.00429d26
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x406596
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40658c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4065e6
push edx
push ecx
call fcn.00429d26
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x4065d8
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4065ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4065e6
push edx
push ecx
call fcn.00429d26
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004296b0
mov esp, ebp
pop ebp
ret
call fcn.0042ea38
int3
Function at 0x4065f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x465124]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x4c], 0x10
lea eax, [ebp + 0x38]
push 0
cmovae eax, dword [ebp + 0x38]
push 0
push eax
mov dword [ebp - 0xc], connect
call fcn.004315a7
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0xc]
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push 0xf003f
push 0
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406665
cmp dword [ebp + 0x34], 0x10
lea ecx, [ebp - 8]
push 4
push ecx
push 4
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push 0
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x4066a2
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406698
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406734
push edx
push ecx
call fcn.00429d26
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x4066e4
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4066da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406734
push edx
push ecx
call fcn.00429d26
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x406726
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40671c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406734
push edx
push ecx
call fcn.00429d26
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004296b0
mov esp, ebp
pop ebp
ret
call fcn.0042ea38
int3
Function at 0x408700
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448b8d
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x465124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 2
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
mov edx, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
push 1
push 0x45cc30
call fcn.004258c0
add esp, 8
xor edx, edx
test al, al
mov ecx, 5
cmove ecx, edx
mov edx, str.runas
push ecx
mov ecx, 0x45be8b
cmovne ecx, edx
push ecx
lea ecx, [ebp + 8]
call fcn.00423f40
cmp dword [ebp + 0x4c], 0x10
lea edx, [ebp + 0x38]
push 0
cmovae edx, dword [ebp + 0x38]
lea ecx, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 8]
push 0
cmovae ecx, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 0x10
push edx
cmovae eax, dword [ebp + 8]
push ecx
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edx, dword [ebp + 0x1c]
mov esi, eax
mov dword [0x46ac94], esi
cmp edx, 0x10
jb 0x4087d6
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4087cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40886c
push edx
push ecx
call fcn.00429d26
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x408818
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40880e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40886c
push edx
push ecx
call fcn.00429d26
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x40885a
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408850
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40886c
push edx
push ecx
call fcn.00429d26
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0042ea38
int3
Function at 0x4089e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448b8d
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x465124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 2
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
mov dword [0x468bc8], 0
call esi
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x46bdc0]
cmp eax, dword [ecx + 4]
jle 0x408abe
push 0x46bdc0
call fcn.004297d2
add esp, 4
cmp dword [0x46bdc0], 0xffffffff
jne 0x408abe
push 0x44fb90
mov dword [0x46b578], 0
mov dword [0x46b588], 0
mov dword [0x46b58c], 0xf
mov dword [0x46b590], 0
mov dword [0x46b5a0], 0
mov dword [0x46b5a4], 0xf
mov dword [0x46b5a8], 0
mov dword [0x46b5b8], 0
mov dword [0x46b5bc], 0xf
call fcn.00429d11
push 0x46bdc0
call fcn.00429788
add esp, 8
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0x46b578
push eax
call fcn.00423f40
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
mov ecx, 0x46b590
push eax
call fcn.00423f40
cmp dword [ebp + 0x4c], 0x10
lea eax, [ebp + 0x38]
push dword [ebp + 0x48]
cmovae eax, dword [ebp + 0x38]
mov ecx, 0x46b5a8
push eax
call fcn.00423f40
push 0
push 0
push 0x46b578
push 0x408880
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x1f4
call esi
mov edx, dword [ebp + 0x1c]
mov esi, dword [0x468bc8]
cmp edx, 0x10
jb 0x408b62
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408b58
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408bf8
push edx
push ecx
call fcn.00429d26
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x408ba4
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408b9a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408bf8
push edx
push ecx
call fcn.00429d26
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x408be6
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408bdc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408bf8
push edx
push ecx
call fcn.00429d26
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0042ea38
int3
Function at 0x408f60
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448cf5
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push esi
push edi
mov eax, dword [0x465124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea edx, [ebp + 8]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00407d20
cmp dword [eax + 0x14], 0x10
jb 0x408fa1
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x408fdc
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408fd2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409194
push edx
push ecx
call fcn.00429d26
add esp, 8
sub esp, 0x18
mov dword [ebp - 0x10], esp
mov edi, esp
sub esp, 0x18
mov ecx, esp
push 0x465bf4
call fcn.00423030
lea ecx, [ebp - 0x60]
call fcn.004061f0
add esp, 0x18
mov esi, eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
sub esp, 0x18
mov ecx, esp
push 0x465fe4
call fcn.00423030
lea ecx, [ebp - 0x48]
call fcn.004061f0
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.004245e0
add esp, 4
push esi
push eax
mov byte [ebp - 4], 3
mov ecx, edi
push dword [ebp - 0x14]
call fcn.00425430
sub esp, 0x18
mov byte [ebp - 4], 4
mov dword [ebp - 0x14], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x4662cc
call fcn.00423030
mov ecx, esi
call fcn.004061f0
mov ecx, esp
mov byte [ebp - 4], 5
push 1
push str.0123456789
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00423f40
mov byte [ebp - 4], 3
call fcn.00408700
mov edx, dword [ebp - 0x1c]
add esp, 0x48
cmp edx, 0x10
jb 0x4090cb
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4090c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409199
push edx
push ecx
call fcn.00429d26
add esp, 8
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp edx, 0x10
jb 0x409111
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409107
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409199
push edx
push ecx
call fcn.00429d26
add esp, 8
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp edx, 0x10
jb 0x409153
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409149
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409199
push edx
push ecx
call fcn.00429d26
add esp, 8
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x409183
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409179
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40919e
push edx
push ecx
call fcn.00429d26
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0042ea38
call fcn.0042ea38
call fcn.0042ea38
int3
Function at 0x409a20
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448e20
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x17c
mov eax, dword [0x465124]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x118
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x154]
push 0
push eax
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
call fcn.0042b340
add esp, 0xc
mov dword [ebp - 0x158], 0x11c
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x409aad
mov eax, 0x64
jmp 0x409bef
sub esp, 0x18
mov ecx, esp
push 0x466790
call fcn.00423030
lea ecx, [ebp - 0x18c]
call fcn.004061f0
add esp, 0x18
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x409ad9
mov eax, dword [eax]
push eax
sub esp, 0x18
mov ecx, esp
push 0x4660a4
call fcn.00423030
lea ecx, [ebp - 0x174]
call fcn.004061f0
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x409aff
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x160]
mov esi, eax
cmp edx, 0x10
jb 0x409b49
mov ecx, dword [ebp - 0x174]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409b3f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409c0c
push edx
push ecx
call fcn.00429d26
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x178]
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 0xf
mov byte [ebp - 0x174], 0
cmp edx, 0x10
jb 0x409ba1
mov ecx, dword [ebp - 0x18c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409b97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409c0c
push edx
push ecx
call fcn.00429d26
add esp, 8
mov dword [ebp - 0x17c], 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x178], 0xf
mov byte [ebp - 0x18c], 0
push eax
test esi, esi
je 0x409bc8
call esi
jmp 0x409bce
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x154], 6
jb 0x409bef
mov ax, word [ebp - 0x38]
cmp ax, 9
jne 0x409be8
mov eax, 1
jmp 0x409bef
test ax, ax
jne 0x409bef
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004296b0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0042ea38
int3

Function at 0x409ed0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [ecx + 0x14], 0x10
jb 0x409ed8
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x409eeb
test al, 0x10
je 0x409eeb
mov al, 1
ret
xor al, al
ret
Function at 0x40a270
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448f36
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x465124]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x11c], esi
lea eax, [ebp - 0x118]
mov dword [ebp - 0x11c], esi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
sub esp, 0x18
mov ecx, esp
push 0x466014
call fcn.00423030
lea ecx, [ebp - 0x164]
call fcn.004061f0
add esp, 0x18
mov edi, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x134], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0xf
mov byte [ebp - 0x134], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a311
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x134]
call fcn.00423f40
mov byte [ebp - 4], 1
lea eax, [ebp - 0x134]
mov ecx, 3
mov dword [ebp - 0x14c], 0
cmp dword [ebp - 0x124], ecx
mov dword [ebp - 0x13c], 0
cmovb ecx, dword [ebp - 0x124]
cmp dword [ebp - 0x120], 0x10
push ecx
cmovae eax, dword [ebp - 0x134]
lea ecx, [ebp - 0x14c]
push eax
mov dword [ebp - 0x138], 0xf
mov byte [ebp - 0x14c], 0
call fcn.00423f40
push edi
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0x11c]
mov ecx, esi
call fcn.00425430
mov edx, dword [ebp - 0x138]
cmp edx, 0x10
jb 0x40a3dc
mov ecx, dword [ebp - 0x14c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a3d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a465
push edx
push ecx
call fcn.00429d26
add esp, 8
mov edx, dword [ebp - 0x120]
cmp edx, 0x10
jb 0x40a412
mov ecx, dword [ebp - 0x134]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a408
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a465
push edx
push ecx
call fcn.00429d26
add esp, 8
mov edx, dword [ebp - 0x150]
cmp edx, 0x10
jb 0x40a448
mov ecx, dword [ebp - 0x164]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a43e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a465
push edx
push ecx
call fcn.00429d26
add esp, 8
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.004296b0
mov esp, ebp
pop ebp
ret
call fcn.0042ea38
int3
Function at 0x40a470
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448f7b
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x465124]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x118], esi
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], esi
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
sub esp, 0x18
mov ecx, esp
push 0x4665e4
call fcn.00423030
lea ecx, [ebp - 0x148]
call fcn.004061f0
add esp, 0x18
mov edi, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x130], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a514
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.00423f40
push edi
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 1
push eax
push dword [ebp - 0x118]
mov ecx, esi
call fcn.00425430
mov edx, dword [ebp - 0x11c]
cmp edx, 0x10
jb 0x40a57f
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a575
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a5d2
push edx
push ecx
call fcn.00429d26
add esp, 8
mov edx, dword [ebp - 0x134]
cmp edx, 0x10
jb 0x40a5b5
mov ecx, dword [ebp - 0x148]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a5ab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a5d2
push edx
push ecx
call fcn.00429d26
add esp, 8
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.004296b0
mov esp, ebp
pop ebp
ret
call fcn.0042ea38
int3
Function at 0x40a5e0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448f7b
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x465124]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x118], esi
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], esi
push eax
push 0
push 0
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
sub esp, 0x18
mov ecx, esp
push 0x4665e4
call fcn.00423030
lea ecx, [ebp - 0x148]
call fcn.004061f0
add esp, 0x18
mov edi, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x130], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a684
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.00423f40
push edi
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 1
push eax
push dword [ebp - 0x118]
mov ecx, esi
call fcn.00425430
mov edx, dword [ebp - 0x11c]
cmp edx, 0x10
jb 0x40a6ef
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a6e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a742
push edx
push ecx
call fcn.00429d26
add esp, 8
mov edx, dword [ebp - 0x134]
cmp edx, 0x10
jb 0x40a725
mov ecx, dword [ebp - 0x148]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a71b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a742
push edx
push ecx
call fcn.00429d26
add esp, 8
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.004296b0
mov esp, ebp
pop ebp
ret
call fcn.0042ea38
int3
Function at 0x40a750
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448fcb
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x465124]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x11c], esi
lea eax, [ebp - 0x118]
mov dword [ebp - 0x11c], esi
push eax
push 0
push 0
push 0x28
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
sub esp, 0x18
mov ecx, esp
push 0x4665e4
call fcn.00423030
lea ecx, [ebp - 0x14c]
call fcn.004061f0
add esp, 0x18
mov edi, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x134], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0xf
mov byte [ebp - 0x134], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a7f4
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x134]
call fcn.00423f40
push edi
lea eax, [ebp - 0x134]
mov byte [ebp - 4], 1
push eax
push dword [ebp - 0x11c]
mov ecx, esi
call fcn.00425430
mov edx, dword [ebp - 0x120]
cmp edx, 0x10
jb 0x40a85f
mov ecx, dword [ebp - 0x134]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a855
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a8b2
push edx
push ecx
call fcn.00429d26
add esp, 8
mov edx, dword [ebp - 0x138]
cmp edx, 0x10
jb 0x40a895
mov ecx, dword [ebp - 0x14c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a88b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a8b2
push edx
push ecx
call fcn.00429d26
add esp, 8
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.004296b0
mov esp, ebp
pop ebp
ret
call fcn.0042ea38
int3