joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001e080
Capabilities:
Get process heap force flags

Disassembly:
call fcn.1001dfb0
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x50001
jae 0x1001e0aa
add eax, 0x74
ret
cmp edx, 0x60000
jae 0x1001e0b6
add eax, 0x78
ret
add eax, 0x88
ret

Function at 0x1001e0c0
Capabilities:
Get process heap force flags

Disassembly:
call fcn.1001dfb0
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x60000
jae 0x1001e0ea
add eax, 0x7c
ret
add eax, 0x8c
ret

Function at 0x1001e380
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x10033100]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1001e3a7
mov ecx, 5
int 0x29
push 2
call fcn.1001d95a
push 0x50
lea eax, [ebp - 0x320]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x2cc
lea eax, [ebp - 0x2d0]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x320]
add esp, 0x1c
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov word [ebp - 0x208], ss
mov word [ebp - 0x214], cs
mov word [ebp - 0x238], ds
mov word [ebp - 0x23c], es
mov word [ebp - 0x240], fs
mov word [ebp - 0x244], gs
pushfd
pop dword [ebp - 0x210]
mov eax, dword [ebp + 4]
mov dword [ebp - 0x218], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x2d0], 0x10001
mov eax, dword [eax - 4]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x320], 0xc0000417
mov dword [ebp - 0x31c], 1
mov dword [ebp - 0x314], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x1001e4b2
test esi, esi
jne 0x1001e4b2
push 2
call fcn.1001d95a
add esp, 4
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1001cffe
mov esp, ebp
pop ebp
ret
Function at 0x10021ba0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.10021bd0
mov esi, dword [ebp + 8]
test al, al
je 0x10021bbe
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.10021be0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x10026050
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002607d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002607d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40b2d0
Capabilities:
Set console window title

Disassembly:
sub esp, 0x428
mov eax, dword [0x430030]
xor eax, esp
mov dword [esp + 0x424], eax
mov eax, dword [0x2aeb1cc]
push ebx
mov ebx, dword [0x2aeaeec]
push esi
mov esi, dword [0x430f60]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40b311
push 0x42e974
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x2aeb1cc]
mov dword [0x2aeaee8], esi
cmp eax, 0x114e
jne 0x40b336
call dword [sym.imp.KERNEL32.dll_SetFileApisToOEM]
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
mov eax, dword [0x2aeb1cc]
cmp eax, 0x2f
jne 0x40b364
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogA]
push edi
push ebx
call fcn.0040b170
mov ecx, dword [esp + 0x438]
add esp, 8
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040110c
add esp, 0x428
ret
Function at 0x10032fc7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x10032fd6
pop dword [ebp - 0x34]
mov eax, 0x10032fd6
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x4c91c5b0
add dword [ebp - 0x44], 0x1c07f9b
mov dword [ebp - 0x40], 0x14897d3c
sub dword [ebp - 0x40], 0xe25630f7
mov dword [ebp - 0x3c], 0x46085277
add dword [ebp - 0x3c], 0x643f1b7
mov dword [ebp - 0x38], 0x8de9092a
sub dword [ebp - 0x38], 0x8de9092a
lea eax, [ebp - 0x44]
push eax
mov eax, 0x8094f9ab
add eax, 0x8f6e576d
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x5aaf828d
add dword [ebp - 0x44], 0x19c2e6c9
mov dword [ebp - 0x40], 0xb2344f1
add dword [ebp - 0x40], 0x36491c84
mov dword [ebp - 0x3c], 0xf031f1f3
sub dword [ebp - 0x3c], 0x8cc28587
mov dword [ebp - 0x38], 0xff96f31b
sub dword [ebp - 0x38], 0xff96f31b
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0x94ad5168
add eax, 0x7b55fffc
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3cc16
push 0
call eax
mov ecx, 0x77ca67f5
add ecx, 0x8835e6bb
xor esi, esi
add esi, eax
mov edi, 0x10088400
add edi, dword [ebp - 0x34]
mov edx, 0x4c018cbf
sub edx, 0x80a2e9a8
mov ebx, dword [edi]
add dword [ebp - 0x18], 0xe8925276
add ebx, edx
xor dword [ebp - 0x24], 0x68a4e414
mov dword [esi], ebx
xor dword [ebp - 0x2c], 0x375713e7
add esi, 4
add edi, 4
loop 0x100330ef
add eax, 0x12d93
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x58eee4ab
add ecx, 0xb7111b55
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x1003384b
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov eax, dword [esi + 0x50]
cmp eax, dword [esi + 0x54]
jae 0x10033862
mov bl, byte [eax]
inc eax
mov dword [esi + 0x50], eax
jmp 0x100338ce
cmp dword [esi + 0x4c], 0
jl 0x100338cc
mov edi, dword [esi + 0x58]
push 0xfa0
push edi
push dword [esi + 0x4c]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffffffff
jne 0x1003389a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 4
je 0x1003386b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 0xb
je 0x1003386b
cmp ebx, 1
jge 0x100338a7
or dword [esi + 0x4c], 0xffffffff
xor bl, bl
jmp 0x100338ec
lea eax, [edi + 1]
mov dword [esi + 0x50], eax
lea eax, [ebx + edi]
mov dword [esi + 0x54], eax
mov bl, byte [edi]
test bl, bl
jne 0x100338ce
push esi
call fcn.100348ff
mov eax, dword [esi + 0x50]
or dword [esi + 0x4c], 0xffffffff
pop ecx
mov dword [esi + 0x54], eax
jmp 0x100338ce
xor bl, bl
cmp bl, 0xa
jne 0x100338e2
mov eax, dword [esp + 0x18]
and dword [eax], 0
mov eax, dword [esp + 0x14]
inc dword [eax]
jmp 0x100338ec
test bl, bl
je 0x100338ec
mov ecx, dword [esp + 0x18]
inc dword [ecx]
pop edi
pop esi
mov al, bl
pop ebx
ret
Function at 0x52cb69
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0052c9df

Function at 0x10001045
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x800
push dword [ebp + 8]
and byte [ebp - 0x800], 0
lea eax, [ebp - 0x800]
push eax
call fcn.10001098
lea eax, [ebp - 0x800]
push str._nThe_application_will_terminate_now.
push eax
call fcn.10001098
add esp, 0x10
lea eax, [ebp - 0x800]
push 0x10
push str.Fatal_error
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x100012aa
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
and dword [ebp + 8], 0
mov eax, dword [edi + 0x3c]
mov esi, dword [eax + edi + 0x78]
mov eax, dword [esi + edi + 0x20]
add esi, edi
add eax, edi
mov ebx, dword [esi + 0x24]
mov ecx, dword [esi + 0x1c]
add ebx, edi
add ecx, edi
cmp dword [esi + 0x18], 0
mov dword [ebp - 8], ecx
jbe 0x10001302
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
mov eax, dword [eax]
add eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x10001309
inc dword [ebp + 8]
add dword [ebp - 4], 4
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x18]
jb 0x100012de
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
movzx eax, word [ebx + eax*2]
mov eax, dword [ecx + eax*4]
add eax, edi
jmp 0x10001304
Function at 0x40169e
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov dword [0x4042cb], ebp
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404772], eax
xor eax, eax
push eax
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x404706], eax
mov dword [0x4042c3], eax
mov dword [0x4046f2], 0x30
mov dword [0x4046f6], 2
jmp 0x4016df
xor eax, eax
mov dword [0x4046fa], 0x403290
mov dword [0x4046fe], eax
mov dword [0x404702], eax
mov eax, 0x4041c7
mov dword [0x404712], 0xe
mov dword [0x40471a], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x40470e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x40470a], eax
mov dword [0x40471e], eax
push 0x4046f2
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x4042c3]
push 0
push 0
push 0x1e0
push 0x1fe
push 0xfffff862
push 0xfffff8f8
push 0xcf0000
push 0x4046c8
push 0x4041c7
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404766], eax
push 5
push eax
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404766]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404722]
jmp 0x4017a6
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x401798
mov eax, dword [0x40472a]
jmp 0x4017c1
call 0x402a9e
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x467e10
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x8000
call fcn.00488480
push ebx
mov ebx, dword [esp + 0x8008]
push ebp
mov ebp, dword [esp + 0x8010]
mov eax, dword [ebp + 4]
cmp byte [eax + 0xc3], 0
push esi
push edi
jne 0x467e47
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x467f05
mov ecx, dword [ebp + 4]
cmp byte [ecx + 0xc1], 0
je 0x467e66
push 0x7fff
lea edx, [esp + 0x14]
push edx
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x467e76
mov edi, 0x7fff
lea esi, [esp + 0x10]
mov eax, ebx
call fcn.004686c0
xor edi, edi
cmp eax, edi
je 0x467f05
mov edx, dword [ebp + 0x818]
cmp byte [edx], 0
je 0x467ec6
mov eax, dword [ebp + 4]
cmp dword [eax + 0x20], 4
jne 0x467eb6
lea esi, [esp + 0x10]
call fcn.00440330
test eax, eax
je 0x467ec6
mov dword [ebp + 0x834], edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8000
ret 8
push edx
lea ecx, [esp + 0x14]
push ecx
call fcn.00477d42
add esp, 8
jmp 0x467e9d
cmp dword [ebp + 0x834], edi
jne 0x467f05
mov edx, dword [ebp + 0x814]
cmp byte [edx], 0
je 0x467eff
mov eax, dword [ebp + 4]
cmp dword [eax + 0x20], 4
jne 0x467eed
lea esi, [esp + 0x10]
call fcn.00440330
jmp 0x467efb
push edx
lea ecx, [esp + 0x14]
push ecx
call fcn.00477d42
add esp, 8
test eax, eax
je 0x467f05
mov dword [ebp + 0x834], ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x8000
ret 8
Function at 0x40d39b
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a548]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004086c1
mov dword [ebp - 0x14], eax
cmp dword [0x43205c], esi
jne 0x40d48e
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d41b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d56e
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d56e
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d56e
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x43205c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x432060], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x432064], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43206c], eax
test eax, eax
je 0x40d48b
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x432068], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d4b3
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d4a6
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d4c8
push 4
pop eax
jmp 0x40d570
cmp dword [ebp - 0x14], esi
je 0x40d4c8
push dword [0x43205c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d4ad
mov eax, dword [0x432068]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d526
cmp dword [0x43206c], edi
je 0x40d526
push eax
call ebx
push dword [0x43206c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d526
test eax, eax
je 0x40d526
call ecx
test eax, eax
je 0x40d51b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d51b
test byte [ebp - 8], 1
jne 0x40d526
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d556
mov eax, dword [0x432060]
cmp eax, edi
je 0x40d553
push eax
call ebx
test eax, eax
je 0x40d553
call eax
mov esi, eax
test esi, esi
je 0x40d553
mov eax, dword [0x432064]
cmp eax, edi
je 0x40d553
push eax
call ebx
test eax, eax
je 0x40d553
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x43205c]
call ebx
test eax, eax
je 0x40d56e
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d570
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040438c
mov esp, ebp
pop ebp
ret
Function at 0x40d710
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48358b
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.00475e03
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40d792
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047382a
mov eax, dword [eax]
push 0x4dc254
push eax
call fcn.00465144
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047608e
test bl, bl
je 0x40d792
push 0x4dc254
lea ecx, [esp + 0xc]
call fcn.0047646a
push 0x4dfda8
lea ecx, [esp + 0xc]
call fcn.0047646a
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 0x40d7ce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047608e
jmp 0x40d899
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 0x40d852
lea edx, [esp + 0x7c]
push 0x4dfda4
push edx
call fcn.00465144
add esp, 8
test eax, eax
je 0x40d852
lea eax, [esp + 0x7c]
push 0x4dfda0
push eax
call fcn.00465144
add esp, 8
test eax, eax
je 0x40d852
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 0x40d7e2
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.0047608e
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 0x40e090
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 0x40e0f2
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 0x40e100
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48360b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4ecf30]
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 0x40e238
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40e166
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047608e
xor eax, eax
jmp 0x40e2af
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00476217
push esi
lea ecx, [esp + 0xc]
call fcn.004764a6
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40e28d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.0040e090
test eax, eax
jne 0x40e28d
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 SysReAllocStringLen
mov ecx, edi
call fcn.0040e090
test eax, eax
jne 0x40e28d
lea eax, [esp + 0x14]
push 0x4dfdbc
push eax
call fcn.004662f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40e26c
lea ecx, [esp + 0x14]
push 0x4dfdb8
push ecx
call fcn.00466270
mov esi, eax
add esp, 8
test esi, esi
jne 0x40e26c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40e26f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004761c7
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40e17e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047608e
xor eax, eax
jmp 0x40e2af
mov byte [esi], 0
push 0x4dfdb4
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.0047608e
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
Function at 0x4323e0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4854f8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.0042cce0
test eax, eax
je 0x4324e8
lea ecx, [esp + 0xc]
call fcn.00408830
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.0042cce0
mov ecx, eax
call fcn.0042a3a0
test eax, eax
je 0x4324cf
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x4324cf
push eax
push 0x42
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4324cf
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.00408a30
push ebx
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x4324b1
push ebx
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
jmp 0x4324cf
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x4fe260]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x4c7550
call fcn.00408a30
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x432530
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.0042cce0
test eax, eax
je 0x43261f
mov ecx, edi
call fcn.0042cce0
mov ecx, eax
call fcn.0042a250
test eax, eax
jne 0x43261f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43261f
mov eax, dword [0x4fe260]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x432592
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
push eax
mov ecx, edi
call fcn.0042cce0
mov ecx, eax
call fcn.0042a480
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x43261f
cmp ebx, eax
jne 0x43261f
cmp dword [esp + 0x10], eax
jne 0x432605
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc