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

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x45c713
push esi
call fcn.0045f7e0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x45c70c
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 0x45c799
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x45c782
mov eax, dword [esi + 8]
test eax, eax
je 0x45c737
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 0x45c77e
cmp eax, 2
je 0x45c782
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45c72a
cmp eax, 3
je 0x45c75d
cmp eax, 1
jne 0x45c72a
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 0x45c72a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x45c72a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0045c7c0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x45c7a8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0045c7c0
add esp, 4
pop esi
ret

Function at 0x4695a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x469606
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x469606
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4695e7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x469990
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4699c8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x46a6f0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x46a739
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x46abb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4956a0
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.0046a760
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0046a7e0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0046a7e0
lea ecx, [esi + 0xc]
call fcn.004852c6
lea ecx, [esi + 0x10]
call fcn.004852c6
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0046bd70
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0046bd70
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0046bd70
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0048533b
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0048533b
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x487755
Capabilities:
Get graphical window text

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

Function at 0x488e4a
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 0x488e8c
call fcn.0048edf2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x488e8c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x488e83
xor eax, eax
jmp 0x488e94
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00488e9a
pop edi
pop esi
pop ebx
ret 4

Function at 0x48f322
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 0x48f350
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48f36e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048f288
jmp 0x48f36e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48f36e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048f288
test edi, edi
mov eax, edi
jne 0x48f358
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x403c40
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, edx
mov edx, dword [ebx + 4]
sub edx, 0xd7b1
cmp edx, 2
ja 0x403c9c
push ecx
push 0
mov eax, esp
push 0
push eax
mov eax, dword [ebx + 8]
mul ecx
push eax
push esi
push dword [ebx]
call sub.kernel32.dll_ReadFile
dec eax
pop eax
pop ecx
jne 0x403c8e
xor edx, edx
div dword [ebx + 8]
mov edx, dword [esp + 0xc]
test edx, edx
je 0x403c83
mov dword [edx], eax
pop esi
pop ebx
ret 4
cmp eax, ecx
je 0x403c7e
mov eax, 0x64
jmp 0x403c93
call sub.kernel32.dll_GetLastError
call fcn.0040266c
xor eax, eax
jmp 0x403c7e
mov eax, 0x67
jmp 0x403c93

Function at 0x403ca4
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, edx
mov eax, dword [eax + 4]
sub eax, 0xd7b2
cmp eax, 1
ja 0x403cff
push ecx
push 0
mov eax, esp
push 0
push eax
mov eax, dword [ebx + 8]
mul ecx
push eax
push esi
push dword [ebx]
call sub.kernel32.dll_WriteFile
dec eax
pop eax
pop ecx
jne 0x403cf1
xor edx, edx
div dword [ebx + 8]
mov edx, dword [esp + 0xc]
test edx, edx
je 0x403ce6
mov dword [edx], eax
pop esi
pop ebx
ret 4
cmp eax, ecx
je 0x403ce1
mov eax, 0x65
jmp 0x403cf6
call sub.kernel32.dll_GetLastError
call fcn.0040266c
xor eax, eax
jmp 0x403ce1
mov eax, 0x67
jmp 0x403cf6

Function at 0x403d88
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, eax
mov edx, dword [ebx + 4]
sub edx, 0xd7b1
cmp edx, 2
ja 0x403db8
push 0
push dword [ebx]
call sub.kernel32.dll_GetFileSize
cmp eax, 0xffffffff
je 0x403dae
xor edx, edx
div dword [ebx + 8]
pop ebx
ret
call fcn.0040267c
or eax, 0xffffffff
jmp 0x403dac
mov eax, 0x67
call fcn.0040266c
or eax, 0xffffffff
jmp 0x403dac

Function at 0x4053c0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x4053f9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403200
jmp 0x405402
mov eax, ebx
mov edx, esi
call fcn.004031b4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40540c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x40542d
mov al, byte [esp]
jmp 0x40542f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4070cc
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x40f55c
mov eax, esi
mov edx, 8
test al, 1
je 0x4070e8
shr eax, 1
xor eax, 0xedb88320
jmp 0x4070ea
shr eax, 1
dec edx
jne 0x4070db
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4070d4
pop esi
ret
Function at 0x407100
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp byte [0x40f558], 0
jne 0x40711e
call fcn.004070cc
mov byte [0x40f558], 1
mov eax, edi
test esi, esi
je 0x407149
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x40f55c]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x407124
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x40af34
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40afb9
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x40af9c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0040b230
mov eax, dword [ebp - 0xc]
call fcn.004033a0
push eax
call sub.kernel32.dll_GetFileAttributesA
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40afa3
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x40b030
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
mov esi, eax
call sub.kernel32.dll_GetCommandLineA_1
mov ebx, eax
xor eax, eax
mov dl, byte [ebx]
sub dl, 1
jb 0x40b05c
sub dl, 0x1f
je 0x40b054
sub dl, 2
je 0x40b050
jmp 0x40b058
xor al, 1
jmp 0x40b058
test al, al
je 0x40b05c
inc ebx
jmp 0x40b03d
inc ebx
cmp byte [ebx], 0x20
je 0x40b05b
mov eax, esi
mov edx, ebx
call fcn.00403230
pop esi
pop ebx
ret

Function at 0x40b2ec
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
mov eax, esp
call fcn.00404f48
add esp, 0x104
pop ebx
ret

Function at 0x40b9e0
Capabilities:
Shutdown system

Disassembly:
add esp, 0xffffffec
cmp dword [0x40d07c], 2
jne 0x40ba4d
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x40ba05
call fcn.0040b9c0
jmp 0x40ba5f
lea eax, [esp + 8]
push eax
push 0x40ba64
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [esp + 4], 1
mov dword [esp + 0x10], 2
push 0
push 0
push 0
lea eax, [esp + 0x10]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.kernel32.dll_GetLastError_1
test eax, eax
je 0x40ba4d
call fcn.0040b9c0
jmp 0x40ba5f
push 0
push 2
call sub.user32.dll_ExitWindowsEx
test eax, eax
jne 0x40ba5f
call fcn.0040b9c0
add esp, 0x14
ret
Function at 0x40ba78
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebx
push esi
push edi
mov edi, eax
mov ebx, edx
dec ebx
test ebx, ebx
jl 0x40babe
inc ebx
xor esi, esi
test esi, esi
je 0x40ba95
push 0xfa
call sub.kernel32.dll_Sleep
mov eax, edi
call fcn.004033a0
push eax
call sub.kernel32.dll_DeleteFileA
test eax, eax
jne 0x40babe
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
je 0x40babe
call sub.kernel32.dll_GetLastError_1
cmp eax, 3
je 0x40babe
inc esi
dec ebx
jne 0x40ba87
pop edi
pop esi
pop ebx
ret

Function at 0x40bc54
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
lea ebx, [ebp - 0x74]
xor eax, eax
push ebp
push 0x40bd46
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x78]
mov eax, esi
call fcn.0040b280
push dword [ebp - 0x78]
push 0x40bd5c
push edi
lea eax, [ebp - 4]
mov edx, 3
call fcn.004032ac
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00402738
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004033a0
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x40bcdf
mov al, 0x5b
call fcn.0040bac4
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x40bcf6
push ebx
call sub.user32.dll_TranslateMessage
push ebx
call sub.user32.dll_DispatchMessageA
push 1
push 0
push 0
push 0
push ebx
call sub.user32.dll_PeekMessageA
test eax, eax
jne 0x40bcea
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x40bcf6
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bd4d
lea eax, [ebp - 0x78]
call fcn.00403120
lea eax, [ebp - 4]
call fcn.00403120
ret
Function at 0x4012b0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x58
call fcn.00401000
test eax, eax
je 0x401317
push 0x40
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.004054e0
add esp, 0xc
xor eax, eax
xor ecx, ecx
lea edx, [esp + 4]
push edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push eax
push ecx
push ecx
push 8
push ecx
push ecx
push ecx
push str.C:Program_FilesWindows_NTAccessoriesQQExternal.exe
push ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x3c], 0x44
mov dword [esp + 0x68], 1
mov word [esp + 0x6c], cx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0x40d3e0
call fcn.00401403
movsx ecx, byte [esp + 7]
push ecx
push 0x40d414
call fcn.004013e6
push str.error_
call fcn.00401403
movsx edx, byte [esp + 0x13]
push edx
push 0x40d414
call fcn.004013e6
xor eax, eax
add esp, 0x70
ret

Function at 0x401351
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40e004]
jne 0x40135b
repz ret
jmp fcn.0040164d

Function at 0x407403
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404941
and dword [ebp - 4], 0
cmp dword [0x40f978], 0
mov ebx, eax
jne 0x4074b4
push 0x40ca18
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407565
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40ca0c
push edi
call esi
test eax, eax
je 0x407565
push eax
call fcn.004048cf
mov dword [esp], 0x40c9fc
push edi
mov dword [0x40f978], eax
call esi
push eax
call fcn.004048cf
mov dword [esp], 0x40c9e8
push edi
mov dword [0x40f97c], eax
call esi
push eax
call fcn.004048cf
mov dword [esp], 0x40c9cc
push edi
mov dword [0x40f980], eax
call esi
push eax
call fcn.004048cf
pop ecx
mov dword [0x40f988], eax
test eax, eax
je 0x4074b4
push 0x40c9b4
push edi
call esi
push eax
call fcn.004048cf
pop ecx
mov dword [0x40f984], eax
mov eax, dword [0x40f984]
cmp eax, ebx
je 0x40750c
cmp dword [0x40f988], ebx
je 0x40750c
push eax
call fcn.0040494a
push dword [0x40f988]
mov esi, eax
call fcn.0040494a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40750c
test edi, edi
je 0x40750c
call esi
test eax, eax
je 0x407503
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407503
test byte [ebp - 0xc], 1
jne 0x40750c
or dword [ebp + 0x10], 0x200000
jmp 0x407545
mov eax, dword [0x40f97c]
cmp eax, ebx
je 0x407545
push eax
call fcn.0040494a
pop ecx
test eax, eax
je 0x407545
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407545
mov eax, dword [0x40f980]
cmp eax, ebx
je 0x407545
push eax
call fcn.0040494a
pop ecx
test eax, eax
je 0x407545
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40f978]
call fcn.0040494a
pop ecx
test eax, eax
je 0x407565
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407567
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x453730
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c753b
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.004b9593
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4537b2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004b6bcd
mov eax, dword [eax]
push 0x587234
push eax
call fcn.004a8bb4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004b981e
test bl, bl
je 0x4537b2
push 0x587234
lea ecx, [esp + 0xc]
call fcn.004b9bfa
push 0x58adac
lea ecx, [esp + 0xc]
call fcn.004b9bfa
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 0x4537ee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004b981e
jmp 0x4538b9
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 0x453872
lea edx, [esp + 0x7c]
push 0x58ada8
push edx
call fcn.004a8bb4
add esp, 8
test eax, eax
je 0x453872
lea eax, [esp + 0x7c]
push 0x58ada4
push eax
call fcn.004a8bb4
add esp, 8
test eax, eax
je 0x453872
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 0x453802
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.004b981e
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 0x454b30
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 0x454b92
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 0x454ba0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c769b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x592348]
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 0x454cd8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x454c06
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b981e
xor eax, eax
jmp 0x454d4f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004b99a7
push esi
lea ecx, [esp + 0xc]
call fcn.004b9c36
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x58ade4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x454d2d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00454b30
test eax, eax
jne 0x454d2d
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.00454b30
test eax, eax
jne 0x454d2d
lea eax, [esp + 0x14]
push 0x58adc0
push eax
call fcn.004a9d60
mov esi, eax
add esp, 8
test esi, esi
jne 0x454d0c
lea ecx, [esp + 0x14]
push 0x58adbc
push ecx
call fcn.004a9ce0
mov esi, eax
add esp, 8
test esi, esi
jne 0x454d0c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x454d0f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004b9957
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x454c1e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b981e
xor eax, eax
jmp 0x454d4f
mov byte [esi], 0
push 0x58adb8
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.004b981e
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