joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d7d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4704a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0044d380
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0044d400
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0044d400
lea ecx, [esi + 0xc]
call fcn.00461b31
lea ecx, [esi + 0x10]
call fcn.00461b31
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0044fc40
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0044fc40
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0044fc40
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00461ba6
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00461ba6
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x44e478
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4706c8
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x44e488
call fcn.0044e9a0
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x44e56b
cmp byte [edi], 0
je 0x44e56b
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x44e4ad
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0044d1a0
test eax, eax
jne 0x44e4cd
push 0x4924e4
lea ecx, [esi + 0x38]
call fcn.00461ce3
jmp 0x44e56b
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.0044d1f0
test eax, eax
jne 0x44e4fc
mov ecx, esi
call fcn.0044d2f0
push edi
add esi, 0x38
push 0x4924c0
push esi
call fcn.0045fb42
add esp, 0xc
jmp 0x44e56b
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.0044f230
test eax, eax
je 0x44e564
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0044e640
test eax, eax
jne 0x44e580
push edi
lea eax, [esi + 0x38]
push 0x49249c
push eax
call fcn.0045fb42
add esp, 0xc
mov ecx, esi
call fcn.0044e9a0
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x44e628
mov ecx, dword [0x4927c0]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.0045fb42
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.0044d2a0
test eax, eax
jne 0x44e5ea
push 0x492480
lea ecx, [esi + 0x38]
call fcn.00461ce3
jmp 0x44e5fa
push 0xfa
mov ecx, esi
call fcn.0044f230
test eax, eax
jne 0x44e617
mov ecx, esi
call fcn.0044e9a0
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.00461ba6
jmp 0x44e56b
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.00461ba6
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x463f4d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x463f85
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00462001
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00461fd9
jmp 0x463f91
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46563b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46567d
call fcn.0046b3f8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46567d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x465674
xor eax, eax
jmp 0x465685
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046568b
pop edi
pop esi
pop ebx
ret 4

Function at 0x46b928
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46b956
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46b974
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046b88e
jmp 0x46b974
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46b974
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046b88e
test edi, edi
mov eax, edi
jne 0x46b95e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401780
Capabilities:
Create thread

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 4
lea eax, [esp]
push eax
push 0
push ecx
push 0x401220
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
add esp, 4
mov dword [0x407828], eax
ret

Function at 0x401bd0
Capabilities:
Shutdown system

Disassembly:
push 0x401a20
mov eax, dword [0x4060d0]
push 0
push 0x68
push eax
call fcn.00401c60
add esp, 0x10
test eax, eax
je 0x401bf5
push 0
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
ret

Function at 0x401ce0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x1c
mov dword [0x406024], 0
mov ecx, dword [esp + 0x28]
push ebx
mov edx, dword [esp + 0x28]
push esi
push edi
push ebp
push 0
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov edi, eax
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call fcn.00401000
lea eax, [esp + 0x14]
add esp, 4
mov ebp, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
push 0
push eax
call ebp
test eax, eax
je 0x401d7e
mov esi, dword [sym.imp.USER32.dll_IsWindow]
mov ebx, dword [sym.imp.USER32.dll_IsDialogMessageA]
push edi
call esi
test eax, eax
je 0x401d57
lea eax, [esp + 0x10]
push eax
push edi
call ebx
test eax, eax
jne 0x401d6d
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [esp + 0x10]
push 0
push 0
push 0
push eax
call ebp
test eax, eax
jne 0x401d44
push edi
call fcn.00401050
add esp, 4
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esp + 0x18]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x401ed0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
sub esp, 0x444
lea eax, [esp + 0x304]
push ebx
push esi
push edi
mov esi, dword [esp + 0x454]
push ebp
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov edi, eax
jne 0x401f07
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x444
ret
lea eax, [esp + 0x210]
push esi
push eax
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
call ebx
lea ecx, [esp + 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
dec eax
js 0x401f44
mov ecx, 0x5c
cmp byte [esp + eax + 0x210], cl
je 0x401f3c
dec eax
jns 0x401f2e
jmp 0x401f44
mov byte [esp + eax + 0x211], 0
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x210]
lea ecx, [esp + 0x10]
push eax
push ecx
call ebx
lea ecx, [esp + 0x340]
lea edx, [esp + 0x10]
push ecx
push edx
call ebp
test byte [esp + 0x314], 0x10
je 0x401fe9
cmp byte [esp + 0x340], 0x2e
je 0x402000
lea eax, [esp + 0x10]
push str..
push eax
call ebp
lea eax, [esp + 0x10]
push eax
call fcn.00401ed0
lea eax, [esp + 0x214]
lea ecx, [esp + 0x14]
add esp, 4
push eax
push ecx
call ebx
lea ecx, [esp + 0x340]
lea edx, [esp + 0x10]
push ecx
push edx
call ebp
lea ecx, [esp + 0x10]
push pe_nt_image_headers32
push ecx
call esi
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esp + eax + 0xf]
cmp byte [eax], 0x5c
jne 0x401fdc
mov byte [eax], 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x402000
lea eax, [esp + 0x10]
push pe_nt_image_headers32
push eax
call esi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x314]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 1
je 0x401f50
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x444
ret
Function at 0x402030
Capabilities:
Delete directory
Set file attributes

Disassembly:
sub esp, 0x140
push esi
push edi
mov esi, dword [esp + 0x14c]
push 0x4060e8
push esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
call edi
test eax, eax
jne 0x40205f
mov eax, 1
pop edi
pop esi
add esp, 0x140
ret
push 0x4061f0
push esi
call edi
test eax, eax
jne 0x402079
mov eax, 1
pop edi
pop esi
add esp, 0x140
ret
push 0x4062f8
push esi
call edi
test eax, eax
jne 0x402093
mov eax, 1
pop edi
pop esi
add esp, 0x140
ret
push 0x406400
push esi
call edi
test eax, eax
jne 0x4020ad
mov eax, 1
pop edi
pop esi
add esp, 0x140
ret
push 0x406508
push esi
call edi
test eax, eax
jne 0x4020c7
mov eax, 1
pop edi
pop esi
add esp, 0x140
ret
push 0x406610
push esi
call edi
test eax, eax
jne 0x4020e1
mov eax, 1
pop edi
pop esi
add esp, 0x140
ret
push 0x406718
push esi
call edi
test eax, eax
jne 0x4020fb
mov eax, 1
pop edi
pop esi
add esp, 0x140
ret
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esi + eax - 1]
cmp byte [eax], 0x5c
jne 0x40210e
mov byte [eax], 0
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x40212d
mov eax, 1
pop edi
pop esi
add esp, 0x140
ret
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push pe_nt_image_headers32
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop edi
pop esi
add esp, 0x140
ret
Function at 0x4021f0
Capabilities:
Delete registry key
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x314
push ebx
push esi
mov ebx, dword [esp + 0x320]
push edi
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
xor ecx, ecx
test eax, eax
jle 0x402220
cmp byte [ecx + ebx], 0x2c
je 0x40221b
inc ecx
cmp ecx, eax
jl 0x40220e
jmp 0x402220
mov byte [ecx + ebx], 0
inc ecx
lea ebp, [ecx + ebx]
xor ecx, ecx
test eax, eax
jle 0x40223b
cmp byte [ecx + ebx], 0x2c
je 0x402236
inc ecx
cmp ecx, eax
jl 0x402229
jmp 0x40223b
mov byte [ecx + ebx], 0
inc ecx
lea esi, [ecx + ebx]
push str.HKEY_CLASSES_ROOT
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
call edi
test eax, eax
jne 0x402257
mov eax, 0x80000000
jmp 0x4022ce
push str.HKEY_CURRENT_CONFIG
push ebx
call edi
test eax, eax
jne 0x40226a
mov eax, 0x80000005
jmp 0x4022ce
push str.HKEY_CURRENT_USER
push ebx
call edi
test eax, eax
jne 0x40227d
mov eax, 0x80000001
jmp 0x4022ce
push str.HKEY_LOCAL_MACHINE
push ebx
call edi
test eax, eax
jne 0x402290
mov eax, 0x80000002
jmp 0x4022ce
push str.HKEY_USERS
push ebx
call edi
test eax, eax
jne 0x4022a3
mov eax, 0x80000003
jmp 0x4022ce
push str.HKEY_PERFORMANCE_DATA
push ebx
call edi
test eax, eax
jne 0x4022b6
mov eax, 0x80000004
jmp 0x4022ce
push str.HKEY_DYN_DATA
push ebx
call edi
test eax, eax
mov eax, 0x80000006
je 0x4022ce
mov eax, dword [esp + 0x220]
lea ecx, [esp + 0x10]
push ecx
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4023b9
mov ebp, 0x104
lea eax, [esp + 0x14]
lea ecx, [esp + 0x220]
push eax
mov edx, dword [esp + 0x14]
push ecx
push esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov dword [esp + 0x20], ebp
push edx
call ebx
lea ecx, [esp + 0x18]
push str.Save
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x18]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x11c]
lea eax, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov dword [esp + 0x1c], ebp
push eax
push ecx
call ebx
test eax, eax
jne 0x4023a2
lea eax, [esp + 0x11c]
lea ecx, [esp + 0x220]
push eax
push ecx
call edi
test eax, eax
jne 0x402376
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x10]
push eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push ecx
call edi
mov ecx, dword [esp + 0x10]
push esi
push ecx
call edi
jmp 0x4023ae
lea eax, [esp + 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x10]
push eax
lea eax, [esp + 0x120]
push eax
push 1
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
lea ecx, [esp + 0x18]
push ecx
jmp 0x4023a3
push esi
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x314
ret
Function at 0x4023d0
Capabilities:
Delete registry value

Disassembly:
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
xor ecx, ecx
test eax, eax
jle 0x4023fa
cmp byte [ecx + esi], 0x2c
je 0x4023f5
inc ecx
cmp ecx, eax
jl 0x4023e8
jmp 0x4023fa
mov byte [ecx + esi], 0
inc ecx
lea ebx, [ecx + esi]
xor ecx, ecx
test eax, eax
jle 0x402415
cmp byte [ecx + esi], 0x2c
je 0x402410
inc ecx
cmp ecx, eax
jl 0x402403
jmp 0x402415
mov byte [ecx + esi], 0
inc ecx
lea edi, [ecx + esi]
push str.HKEY_CLASSES_ROOT
push esi
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
call ebp
test eax, eax
jne 0x402431
mov eax, 0x80000000
jmp 0x4024a5
push str.HKEY_CURRENT_CONFIG
push esi
call ebp
test eax, eax
jne 0x402444
mov eax, 0x80000005
jmp 0x4024a5
push str.HKEY_CURRENT_USER
push esi
call ebp
test eax, eax
jne 0x402457
mov eax, 0x80000001
jmp 0x4024a5
push str.HKEY_LOCAL_MACHINE
push esi
call ebp
test eax, eax
jne 0x40246a
mov eax, 0x80000002
jmp 0x4024a5
push str.HKEY_USERS
push esi
call ebp
test eax, eax
jne 0x40247d
mov eax, 0x80000003
jmp 0x4024a5
push str.HKEY_PERFORMANCE_DATA
push esi
call ebp
test eax, eax
jne 0x402490
mov eax, 0x80000004
jmp 0x4024a5
push str.HKEY_DYN_DATA
push esi
call ebp
test eax, eax
mov eax, 0x80000006
je 0x4024a5
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
push ecx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4024cd
mov eax, dword [esp + 0x10]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
Function at 0x4024e0
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
sub esp, 0x44c
lea eax, [esp]
push ebx
push esi
push edi
mov edi, dword [esp + 0x45c]
push ebp
push edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push eax
call esi
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esp + eax + 0xf], 0x5c
je 0x402525
lea eax, [esp + 0x10]
push 0x4068b4
push eax
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
call ebx
jmp 0x40252b
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x10]
push 0x4068b0
push eax
call ebx
lea eax, [esp + 0x218]
lea ecx, [esp + 0x10]
push eax
mov ebp, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push ecx
call ebp
cmp eax, 0xffffffff
mov ebp, eax
je 0x402639
lea eax, [esp + 0x114]
push edi
push eax
call esi
lea eax, [esp + 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esp + eax + 0x113], 0x5c
je 0x402589
lea eax, [esp + 0x114]
push 0x4068b4
push eax
call ebx
lea eax, [esp + 0x244]
lea ecx, [esp + 0x114]
push eax
push ecx
call ebx
test byte [esp + 0x218], 0x10
je 0x4025e0
cmp byte [esp + 0x244], 0x2e
je 0x4025e0
lea eax, [esp + 0x114]
lea ecx, [esp + 0x358]
push eax
push ecx
call esi
lea ecx, [esp + 0x358]
push 0x4068b4
push ecx
call ebx
lea ecx, [esp + 0x358]
push ecx
call fcn.004024e0
add esp, 4
lea eax, [esp + 0x218]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 1
je 0x402557
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [esp + 0x10]
push edi
push eax
call esi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esp + eax + 0xf]
cmp byte [eax], 0x5c
jne 0x40261e
mov byte [eax], 0
lea eax, [esp + 0x10]
push pe_nt_image_headers32
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x44c
ret

Function at 0x402710
Capabilities:
Get common file path

Disassembly:
sub esp, 4
cmp dword [0x4060e4], 0
push esi
push edi
je 0x402734
lea eax, [esp + 8]
mov esi, dword [esp + 0x10]
push eax
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
push 0x17
push esi
call edi
jmp 0x402743
mov eax, 0xffffffff
mov esi, dword [esp + 0x10]
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x40275d
lea eax, [esp + 8]
push eax
push 2
push esi
call edi
test eax, eax
je 0x40275d
xor eax, eax
pop edi
pop esi
add esp, 4
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
push eax
push ecx
call fcn.004026d0
add esp, 8
pop edi
pop esi
add esp, 4
ret
Function at 0x402780
Capabilities:
Get common file path

Disassembly:
sub esp, 4
cmp dword [0x4060e4], 0
push esi
push edi
je 0x4027a4
lea eax, [esp + 8]
mov edi, dword [esp + 0x10]
push eax
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
push 0x19
push edi
call esi
jmp 0x4027b3
mov eax, 0xffffffff
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edi, dword [esp + 0x10]
test eax, eax
je 0x4027cd
lea eax, [esp + 8]
push eax
push 0
push edi
call esi
test eax, eax
je 0x4027cd
xor eax, eax
pop edi
pop esi
add esp, 4
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
push eax
push ecx
call fcn.004026d0
add esp, 8
pop edi
pop esi
add esp, 4
ret

Function at 0x4027f0
Capabilities:
Get common file path

Disassembly:
sub esp, 4
cmp dword [0x4060e4], 0
push esi
push edi
je 0x402814
lea eax, [esp + 8]
mov edi, dword [esp + 0x10]
push eax
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
push 0x16
push edi
call esi
jmp 0x402823
mov eax, 0xffffffff
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edi, dword [esp + 0x10]
test eax, eax
je 0x40283d
lea eax, [esp + 8]
push eax
push 0xb
push edi
call esi
test eax, eax
je 0x40283d
xor eax, eax
pop edi
pop esi
add esp, 4
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
push eax
push ecx
call fcn.004026d0
add esp, 8
pop edi
pop esi
add esp, 4
ret

Function at 0x402860
Capabilities:
Get common file path
Get startup folder

Disassembly:
sub esp, 4
cmp dword [0x4060e4], 0
push esi
push edi
je 0x402884
lea eax, [esp + 8]
mov esi, dword [esp + 0x10]
push eax
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
push 0x18
push esi
call edi
jmp 0x402893
mov eax, 0xffffffff
mov esi, dword [esp + 0x10]
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x4028ad
lea eax, [esp + 8]
push eax
push 7
push esi
call edi
test eax, eax
je 0x4028ad
xor eax, eax
pop edi
pop esi
add esp, 4
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
push eax
push ecx
call fcn.004026d0
add esp, 8
pop edi
pop esi
add esp, 4
ret

Function at 0x4028d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 0x2001f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionGrpConvMapGroups
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x402901
xor eax, eax
pop esi
add esp, 0x10c
ret
lea eax, [esp + 8]
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push eax
mov eax, dword [esp + 8]
push ecx
mov dword [esp + 0x10], 0x100
push edx
push 0
push str.Quick_Launch
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x402945
xor eax, eax
pop esi
add esp, 0x10c
ret
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esp + eax + 0xf], 0x5c
je 0x402967
lea eax, [esp + 0x10]
push 0x4068b4
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x10]
mov ecx, dword [esp + 0x118]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 1
pop esi
add esp, 0x10c
ret
Function at 0x402990
Capabilities:
Get common file path

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 4
lea eax, [esp]
push eax
push 0x23
push ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x4029af
xor eax, eax
add esp, 4
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp]
push eax
push ecx
call fcn.004026d0
add esp, 8
mov eax, 1
add esp, 4
ret

Function at 0x4029d0
Capabilities:
Get common file path

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 4
lea eax, [esp]
push esi
push eax
push 0x1a
push ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x4029f1
xor eax, eax
pop esi
add esp, 4
ret
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 4]
push esi
push eax
call fcn.004026d0
add esp, 8
push str.MicrosoftInternet_ExplorerQuick_Launch_
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, 1
pop esi
add esp, 4
ret

Function at 0x402a50
Capabilities:
Delete file

Disassembly:
sub esp, 0x200
push esi
push edi
mov esi, dword [esp + 0x20c]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [esi + edi - 1], 0x5c
jne 0x402a82
push str.Test.txt
jmp 0x402a87
push 0x40693c
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll__lcreat]
cmp eax, 0xffffffff
mov esi, eax
jne 0x402ab1
xor eax, eax
pop edi
pop esi
add esp, 0x200
ret
lea eax, [esp + 8]
push 0x200
push eax
push esi
call dword [sym.imp.KERNEL32.dll__lwrite]
cmp eax, 0xffffffff
je 0x402aee
cmp eax, 0x200
jne 0x402aee
push esi
call dword [sym.imp.KERNEL32.dll__lclose]
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 1
pop edi
pop esi
add esp, 0x200
ret
push esi
call dword [sym.imp.KERNEL32.dll__lclose]
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
pop edi
pop esi
add esp, 0x200
ret