joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43fbd0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43fc03
push esi
call fcn.00442cc0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43fbfc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43fc89
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43fc72
mov eax, dword [esi + 8]
test eax, eax
je 0x43fc27
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43fc6e
cmp eax, 2
je 0x43fc72
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43fc1a
cmp eax, 3
je 0x43fc4d
cmp eax, 1
jne 0x43fc1a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43fc1a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43fc1a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043fcb0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43fc98
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043fcb0
add esp, 4
pop esi
ret

Function at 0x45e2f4
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45e32c
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.0045c3a8
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045c380
jmp 0x45e338
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45f9e2
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 0x45fa24
call fcn.0046549b
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45fa24
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45fa1b
xor eax, eax
jmp 0x45fa2c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045fa32
pop edi
pop esi
pop ebx
ret 4

Function at 0x4659cb
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 0x4659f9
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x465a17
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00465931
jmp 0x465a17
mov eax, dword [esi + 0x14]
test eax, eax
je 0x465a17
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00465931
test edi, edi
mov eax, edi
jne 0x465a01
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x404030
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x404049
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x404084
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x404080
lea ebx, [ebx]
cmp esi, eax
jae 0x404084
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x404070
cmp esi, eax
jb 0x40408a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x4049e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x460189
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x481e98]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0
call fcn.0043239f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404a2f
push 0x80004005
call fcn.00401050
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov esi, dword [esp + 0x20]
add eax, 0x10
mov dword [esi], eax
push 0
push esi
push 8
push 2
push 0xd3
push edi
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], 1
call fcn.0043008a
add esp, 0x18
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x40c9f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4610e9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x481e98]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0
call fcn.0043239f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40ca3f
push 0x80004005
call fcn.00401050
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov esi, dword [esp + 0x20]
add eax, 0x10
mov dword [esi], eax
push 0
push esi
push 8
push 2
push 0x27
push edi
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], 1
call fcn.004350f0
add esp, 0x18
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x422b50
Capabilities:
Create process on windows
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x481e98]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push edi
mov edi, dword [esp + 0x114]
push 0x104
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00448600
add esp, 0xc
push 0x104
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [esp + 8]
push 0x5c
push edx
call fcn.0044a690
add esp, 8
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push 0
add esi, 1
push esi
call fcn.00448600
add esp, 0xc
push str.Program_FilesInternet_Exploreriexplore.exe
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0
push 3
push 0
push 1
push 0x80000000
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
push 5
push 0
je 0x422bf3
push edi
lea edx, [esp + 0x14]
push edx
jmp 0x422bf6
push 0
push edi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.00448065
add esp, 0x108
ret

Function at 0x422cd0
Capabilities:
Extract resource via kernel32 functions
Set file attributes
Write file on windows

Disassembly:
movzx eax, word [esp + 4]
push esi
push 0x17
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x422cec
or eax, 0xffffffff
pop esi
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x422ce7
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
jne 0x422d0d
pop ebp
or eax, 0xffffffff
pop esi
ret
push ebx
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, dword [esp + 0x18]
push 0
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push 0
push 2
push 0
push 3
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x422d5f
push 0
lea ecx, [esp + 0x18]
push ecx
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x422d67
pop edi
pop ebx
pop ebp
or eax, 0xffffffff
pop esi
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 6
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop edi
pop ebx
pop ebp
xor eax, eax
pop esi
ret
Function at 0x42dbfa
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x42dc33
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0042db95
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0042ca40
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x42f766
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x42f7a9
call fcn.004359b8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x42f7a9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42f7c4
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0042f31d
test ebx, ebx
mov esi, eax
je 0x42f7c2
test edi, edi
je 0x42f7c2
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x43632c
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x436335
xor eax, eax
jmp 0x43639e
cmp dword [esp + 8], 0
jne 0x436341
call fcn.004322c6
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.0044dfb6
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x43637c
push dword [esi + 0x10]
call fcn.0044dcfb
test eax, eax
pop ecx
jne 0x43637c
mov esi, dword [esi + 0xc]
call fcn.0044b7e9
push esi
push dword [eax]
push 1
call fcn.00445133
push dword [esi + 0x10]
call fcn.0044dd2a
test eax, eax
pop ecx
je 0x43639b
push dword [esi + 0x10]
call fcn.0044dc4f
push eax
call fcn.004024f0
pop ecx
pop ecx
jmp 0x43636a
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x4363a7
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x4363b1
call fcn.004322c6
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.0044e0eb
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x4363de
mov esi, dword [esi + 0xc]
call fcn.0044b7e9
push esi
push dword [eax]
push 1
call fcn.00445133
pop esi
ret 8

Function at 0x43725b
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x437284
call fcn.004359b8
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x4372a7
push eax
push dword [esi + 4]
call fcn.004371e6
push esi
push eax
mov ecx, 0x488e54
call fcn.00436ec0
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x4398c6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x43990c
call fcn.004359b8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x43990c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x43994f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x439938
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x439938
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x43994c
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x43b1e5
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 0x43b213
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x43b231
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0043b14f
jmp 0x43b231
mov eax, dword [esi + 0x14]
test eax, eax
je 0x43b231
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0043b14f
test edi, edi
mov eax, edi
jne 0x43b21b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x488eb4]
test ecx, ecx
je 0x43b2f4
jmp 0x43b1e4
ret 8

Function at 0x448065
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x481e98]
jne 0x44806f
repz ret
jmp fcn.004506fc
Function at 0x45bd4a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00450145
xor ebx, ebx
cmp dword [0x489c7c], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x45be1f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x45bd8a
xor eax, eax
jmp 0x45bee3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x471908
push edi
call esi
cmp eax, ebx
je 0x45bd83
push eax
call fcn.004500e2
mov dword [esp], 0x4718f8
push edi
mov dword [0x489c7c], eax
call esi
push eax
call fcn.004500e2
mov dword [esp], 0x4718e4
push edi
mov dword [0x489c80], eax
call esi
push eax
call fcn.004500e2
mov dword [0x489c84], eax
lea eax, [ebp - 8]
push eax
call fcn.0044eaf6
test eax, eax
pop ecx
pop ecx
je 0x45bded
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004498d0
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x45be1f
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004500e2
cmp eax, ebx
pop ecx
mov dword [0x489c8c], eax
je 0x45be1f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004500e2
pop ecx
mov dword [0x489c88], eax
mov eax, dword [0x489c88]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x45be98
cmp dword [0x489c8c], esi
je 0x45be98
push eax
call fcn.0045014e
pop ecx
call eax
cmp eax, ebx
je 0x45be65
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x489c8c]
call fcn.0045014e
pop ecx
call eax
test eax, eax
je 0x45be65
test byte [ebp - 0x18], 1
jne 0x45be98
lea eax, [ebp - 0xc]
push eax
call fcn.0044eb2d
test eax, eax
pop ecx
je 0x45be80
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004498d0
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x45be8f
or dword [ebp + 0x10], 0x200000
jmp 0x45bec9
or dword [ebp + 0x10], 0x40000
jmp 0x45bec9
mov eax, dword [0x489c80]
cmp eax, esi
je 0x45bec9
push eax
call fcn.0045014e
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x45bec9
mov eax, dword [0x489c84]
cmp eax, esi
je 0x45bec9
push dword [ebp - 4]
push eax
call fcn.0045014e
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x489c7c]
call fcn.0045014e
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45f807
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x481e98]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0045f79c
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00448600
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x45f856
cmp dword [ebp - 0x1c], 5
jb 0x45f86e
jmp 0x45f86a
cmp dword [ebp - 0x10], 1
jne 0x45f86e
cmp dword [ebp - 0x1c], 4
ja 0x45f86a
jne 0x45f86e
cmp dword [ebp - 0x18], 0
jbe 0x45f86e
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x472240
call fcn.0045f670
test eax, eax
jge 0x45f88f
mov byte [0x487098], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00448065
add ebp, 0x78
leave
ret
Function at 0x416448
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
jge 0x41646a
mov eax, 0xfffffffd
jmp 0x41651e
mov ebx, dword [0x5683f4]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x4164ec
mov ebx, dword [0x5683f4]
add ebx, 8
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 2
jne 0x4164be
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x4164a7
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x5683f4]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x416514
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x41651e
mov esp, ebp
pop ebp
ret 4

Function at 0x418eb8
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
mov ecx, dword fs:[0x30]
mov al, byte [ecx + 2]
leave
ret
Function at 0x455b80
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d4e6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004c8e6a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x455c02
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004c64ba
mov eax, dword [eax]
push 0x555d64
push eax
call fcn.004b8524
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004c90f5
test bl, bl
je 0x455c02
push 0x555d64
lea ecx, [esp + 0xc]
call fcn.004c9485
push 0x555d70
lea ecx, [esp + 0xc]
call fcn.004c9485
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x455c3e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004c90f5
jmp 0x455d09
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x455cc2
lea edx, [esp + 0x7c]
push 0x555d6c
push edx
call fcn.004b8524
add esp, 8
test eax, eax
je 0x455cc2
lea eax, [esp + 0x7c]
push 0x555d68
push eax
call fcn.004b8524
add esp, 8
test eax, eax
je 0x455cc2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x455c52
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004c90f5
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x456510
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x456572
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x456580
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d4eeb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5641f4]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4566b8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4565e6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c90f5
xor eax, eax
jmp 0x45672f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004c9232
push esi
lea ecx, [esp + 0xc]
call fcn.004c94c1
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x555da4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x45670d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00456510
test eax, eax
jne 0x45670d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00456510
test eax, eax
jne 0x45670d
lea eax, [esp + 0x14]
push 0x555d80
push eax
call fcn.004b9670
mov esi, eax
add esp, 8
test esi, esi
jne 0x4566ec
lea ecx, [esp + 0x14]
push 0x555d7c
push ecx
call fcn.004b95f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4566ec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4566ef
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004c91e2
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4565fe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c90f5
xor eax, eax
jmp 0x45672f
mov byte [esi], 0
push 0x555d78
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004c90f5
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4