joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100523e8
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x10052425
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x10052420
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
rol dword [ecx + 0xf000e2], 1
add byte [ecx + 0x3000fa], al
add byte [ebp + 0x13], dh
rol dword [ecx + 0xf000e2], 1
add byte [ecx + 0x3000fa], al
add byte [ebp + 0x13], dh
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x10052412
cmp edx, ebx
jne 0x10052560
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x100523e1
add eax, dword [eax + 4]
jmp 0x100523ce
mov dword [ebp + 0xc], ebx
jmp 0x10052430
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10052448
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x10052466
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x100524c4
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x100524ab
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x100524b4
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x100524be
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x100524a0
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x1005242a
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x10052511
dec eax
je 0x10052508
sub eax, 3
je 0x100524ff
mov dword [ebp - 4], 0x40
jmp 0x1005252e
mov dword [ebp - 4], 4
jmp 0x10052514
mov dword [ebp - 4], 0x20
jmp 0x10052514
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x10052560
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x100524e0
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.10051d71
hlt
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1005cf5d
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x100636e0]
push esi
push edi
test eax, eax
jne 0x1005cf76
call fcn.1005d032
test eax, eax
je 0x1005cfc2
mov eax, dword [0x100636e0]
cmp eax, 1
jne 0x1005cf92
push 0xd
push 8
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
push eax
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
test eax, eax
je 0x1005cfc2
jmp 0x1005d008
push eax
call dword [sym.imp.api_ms_win_core_interlocked_l1_1_0.dll_InterlockedPopEntrySList]
mov ecx, eax
test ecx, ecx
je 0x1005cfab
xor eax, eax
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, ecx
jmp 0x1005d008
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x1005cfc6
xor eax, eax
jmp 0x1005d008
mov eax, dword [esi]
push dword [0x100636e0]
call dword [sym.imp.api_ms_win_core_interlocked_l1_1_0.dll_InterlockedPopEntrySList]
mov edi, eax
test edi, edi
je 0x1005cfec
push 0x8000
push 0
push esi
call dword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualFree]
mov eax, edi
jmp 0x1005d008
lea edi, [esi + 0xff0]
push esi
push dword [0x100636e0]
call dword [sym.imp.api_ms_win_core_interlocked_l1_1_0.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x1005cff2
mov eax, esi
pop edi
pop esi
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 0x401f6e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb18
cmp dword [0x2d199a0], 0x594
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x28], esi
mov ebx, dword [esi]
mov edi, dword [esi + 4]
mov dword [ebp - 0x10], ebx
jne 0x401fa4
push 0
lea eax, [ebp - 0xb18]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [str.y:u5_2]
lea ecx, [ebp - 4]
and dword [ebp - 4], 0
mov dword [ebp - 0x20], eax
mov eax, dword [0x4245b4]
mov dword [ebp - 0x18], 0x9e3779b9
mov dword [ebp - 0x30], eax
call fcn.00401f64
mov ecx, dword [0x4245b8]
mov eax, dword [0x4245bc]
add dword [ebp - 4], 0x23f
push 0x20
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], eax
pop esi
mov dword [ebp - 0x14], 2
add dword [ebp - 0x14], 3
mov eax, ebx
mov edx, 0xedeb2e40
shl eax, 4
add eax, ecx
cmp dword [0x2d199a0], 0xfa9
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [0x2d18f9c]
cmove eax, edx
xor edx, edx
cmp dword [0x2d199a0], 0x3eb
mov dword [0x2d18f9c], eax
mov eax, dword [0x2d18990]
cmove eax, edx
add ecx, ebx
mov dword [0x2d18990], eax
mov eax, dword [ebp - 0x10]
shr eax, 5
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0xc]
xor ebx, ebx
mov eax, dword [ebp - 8]
xor edx, ecx
add eax, dword [ebp - 0x2c]
mov ecx, dword [0x2d199a0]
xor eax, edx
mov dword [0x2d18f98], 0xf4ea3dee
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp ecx, 0x213
jne 0x4020bf
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
call dword [sym.imp.KERNEL32.dll_GetOEMCP]
lea eax, [ebp - 0x1c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x318]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push dword [ebp - 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
lea eax, [ebp - 0x34]
push eax
push ebx
lea eax, [ebp - 0x4c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
mov eax, dword [ebp - 8]
mov ecx, dword [0x2d199a0]
sub edi, eax
cmp ecx, 0xc
jne 0x4020d5
lea eax, [ebp - 0x38]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, edi
shl eax, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
mov eax, edi
mov edx, dword [ebp - 4]
shr eax, cl
add edx, edi
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x30]
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x10]
xor eax, edx
mov edx, dword [ebp - 0xc]
xor edx, eax
mov dword [ebp - 0xc], edx
call fcn.00401f6b
mov eax, dword [ebp - 0x18]
sub dword [ebp - 4], eax
dec esi
je 0x402121
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
jmp 0x401fe2
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], edi
pop edi
mov dword [esi], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4168ae
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x423458]
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.00408cf5
mov dword [ebp - 0x14], eax
cmp dword [0x4400b4], esi
jne 0x4169a1
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x41692e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x416a81
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x416a81
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x416a81
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4400b4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4400b8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4400bc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4400c4], eax
test eax, eax
je 0x41699e
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4400c0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4169c6
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4169b9
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4169db
push 4
pop eax
jmp 0x416a83
cmp dword [ebp - 0x14], esi
je 0x4169db
push dword [0x4400b4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4169c0
mov eax, dword [0x4400c0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x416a39
cmp dword [0x4400c4], edi
je 0x416a39
push eax
call ebx
push dword [0x4400c4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x416a39
test eax, eax
je 0x416a39
call ecx
test eax, eax
je 0x416a2e
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 0x416a2e
test byte [ebp - 8], 1
jne 0x416a39
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x416a69
mov eax, dword [0x4400b8]
cmp eax, edi
je 0x416a66
push eax
call ebx
test eax, eax
je 0x416a66
call eax
mov esi, eax
test esi, esi
je 0x416a66
mov eax, dword [0x4400bc]
cmp eax, edi
je 0x416a66
push eax
call ebx
test eax, eax
je 0x416a66
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4400b4]
call ebx
test eax, eax
je 0x416a81
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x416a83
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406eba
mov esp, ebp
pop ebp
ret
Function at 0x10001843
Capabilities:
Delete directory
Delete file

Disassembly:
mov eax, 0x10054ff3
call fcn.10048e6c
sub esp, 0x470
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov word [ebp - 0x24], 0x5c
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
push str..
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.1000101a
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.100019c9
mov eax, dword [eax]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x10001899
mov eax, dword [eax]
jmp 0x1000189b
xor eax, eax
push eax
lea ecx, [ebp - 0x47c]
call fcn.10018150
mov ecx, dword [ebp - 0x10]
cmp ecx, ebx
mov esi, eax
je 0x100018b8
call fcn.10001129
mov dword [ebp - 0x10], ebx
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
mov byte [ebp - 4], 1
je 0x100018c8
call fcn.10001129
cmp esi, ebx
je 0x1000197a
lea ecx, [ebp - 0x47c]
call fcn.100181f3
lea ecx, [ebp - 0x47c]
mov esi, eax
call fcn.10017e90
test eax, eax
jne 0x100018c8
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x47c]
call fcn.10017a30
push dword [eax]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.100012fe
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.10013e55
push 0x10
lea ecx, [ebp - 0x47c]
call fcn.10017e74
test eax, eax
je 0x1000194a
push ecx
mov ecx, dword [ebp - 0x10]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov dword [ebp - 0x18], esp
je 0x10001942
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
call fcn.10001843
pop ecx
jmp 0x1000195e
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x10001955
mov eax, dword [eax]
jmp 0x10001957
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x10]
cmp ecx, ebx
mov byte [ebp - 4], 1
je 0x100018c8
call fcn.10001129
mov dword [ebp - 0x10], ebx
jmp 0x100018c8
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], bl
call fcn.1001841c
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x10001993
mov eax, dword [eax]
jmp 0x10001995
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp + 8]
cmp ecx, ebx
je 0x100019a8
call fcn.10001129
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x100020ea
Capabilities:
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
push ebx
push esi
push edi
mov esi, str._uninsep.bat
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 0x13
pop ecx
mov esi, str.:Repeat_r_ndel__F__Q___s__r_nif_exist___s__goto_Repeat_r_nrmdir___s__r_ndel__F__Q___s_
lea edi, [ebp - 0x64]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x168]
push eax
push 0x104
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x168]
push eax
call fcn.100497c0
push dword [ebp + 8]
lea eax, [ebp - 0x26c]
push eax
call fcn.100497b0
lea eax, [ebp - 0x26c]
push 0x5c
push eax
call fcn.10049780
xor ebx, ebx
add esp, 0x18
cmp eax, ebx
je 0x1000215c
mov byte [eax], bl
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
lea eax, [ebp - 0x168]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10002204
push dword [ebp + 8]
call fcn.10049700
mov esi, eax
lea eax, [ebp - 0x168]
push eax
call fcn.10049700
lea esi, [eax + esi*2 + 0x14]
lea eax, [ebp - 0x64]
push eax
call fcn.10049700
add esi, eax
push esi
call fcn.10048a87
mov esi, eax
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x26c]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x64]
push dword [ebp + 8]
push eax
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x28
push ebx
lea eax, [ebp - 4]
push eax
push esi
call fcn.10049700
pop ecx
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x168]
push eax
push 0x1006b77c
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10004236
Capabilities:
Initialize iwebbrowser2

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi], 0
jne 0x10004275
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push esi
push 0x1005e400
push 4
push 0
push 0x1005e3d0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x10004275
mov eax, dword [esi]
push dword [esp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xa4]
push 1
pop eax
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x10004bb4
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
mov eax, 0x100554bc
call fcn.10048e6c
sub esp, 0x8e0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea ecx, [esi + 0x18]
call fcn.1001399c
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push str.Toolbar
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x10004d3e
mov eax, dword [esi + 8]
cmp eax, ebx
mov dword [ebp - 0x10], 0xc8
jne 0x10004c00
xor eax, eax
jmp 0x10004c07
push eax
call fcn.100492e5
pop ecx
push 1
push dword [esi + 0xc]
push eax
push dword [esi + 8]
push dword [esi]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x14], edi
jne 0x10004c32
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x10004d3e
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xe8]
push eax
push 0x13
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x10004c5e
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push dword [ebp + 8]
call edi
jmp 0x10004d3e
cmp byte [esi + 0x15], bl
je 0x10004c7f
push ebx
push SysReAllocStringLen
push 2
push ebx
push 1
push 0x40000000
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
push 0x800
lea eax, [ebp - 0x8ec]
push eax
push edi
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
call edi
test eax, eax
je 0x10004d0c
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x10004d14
cmp byte [esi + 0x15], bl
mov byte [ebp + eax - 0x8ec], bl
je 0x10004cc5
push ebx
lea ecx, [ebp - 0x20]
push ecx
push eax
lea eax, [ebp - 0x8ec]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x8ec]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10013f1d
mov eax, dword [ebp - 0x1c]
push eax
push dword [eax - 8]
lea ecx, [esi + 0x18]
mov dword [ebp - 4], ebx
call fcn.100146a8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.10013e55
cmp dword [ebp - 0x10], ebx
je 0x10004d14
lea eax, [ebp - 0x10]
push eax
push 0x800
lea eax, [ebp - 0x8ec]
push eax
push dword [ebp - 0x14]
jmp 0x10004c96
push dword [ebp - 0x14]
jmp 0x10004c4c
cmp byte [esi + 0x15], bl
je 0x10004d22
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x14]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
test eax, eax
push dword [ebp + 8]
je 0x10004c57
call edi
test eax, eax
jne 0x10004d43
mov byte [esi + 0x14], bl
jmp 0x10004d47
mov byte [esi + 0x14], 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x10004d8b
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov eax, 0x1005556a
call fcn.10048e6c
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
call fcn.10024ae0
xor ebx, ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xb0], 0x1005c54c
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xd8], ebx
mov ecx, dword [sym.imp.USER32.dll_DefWindowProcW]
lea eax, [esi + 0xec]
mov dword [eax + 0x18], ecx
mov dword [eax], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x1c], esi
mov dword [eax + 0x20], 1
mov dword [eax + 0x24], ebx
mov al, byte [ebp - 0xd]
lea ecx, [esi + 0x12c]
push ebx
mov byte [ebp - 4], 6
mov byte [ecx], al
call fcn.10026566
mov al, byte [ebp - 0xd]
lea edi, [esi + 0x1154]
push ebx
mov ecx, edi
mov byte [ebp - 4], 7
mov byte [edi], al
call fcn.10026566
mov byte [edi + 0x30], bl
mov cl, byte [ebp - 0xd]
lea eax, [esi + 0x1188]
mov byte [eax], cl
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov al, byte [ebp - 0xd]
lea ecx, [esi + 0x11a0]
mov byte [ecx], al
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov dword [esi + 0x11b4], ebx
mov dword [esi + 0x11c4], ebx
mov byte [ebp - 4], 0xb
mov dword [esi], 0x1005c538
mov dword [esi + 0xb0], 0x1005c534
mov dword [esi + 0xc0], 0x1005c518
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xe4], ebx
mov byte [esi + 0x11c0], bl
mov dword [esi + 0x11bc], ebx
mov dword [esi + 0x11b8], 0x64
mov dword [esi + 0x11c], ebx
mov byte [esi + 0x11b0], bl
mov byte [esi + 0x1198], bl
call fcn.10024fd8
mov byte [0x10073d50], bl
mov byte [esi + 0x13d], 1
mov edi, 0x10083fb8
push edi
mov ecx, 0x10073d4c
call fcn.10002b78
push edi
mov ecx, 0x10073db8
call fcn.10002b78
mov dword [esi + 0x150], ebx
lea edi, [esi + 0x154]
xor eax, eax
mov ecx, 0x400
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x13c], bl
mov dword [esi + 0x11cc], ebx
mov dword [esi + 0x11d0], ebx
mov dword [esi + 0x11d4], ebx
mov dword [esi + 0x11d8], ebx
mov dword [esi + 0x11dc], ebx
mov dword [esi + 0x11e0], ebx
mov dword [esi + 0x11e4], ebx
mov byte [esi + 0x11e8], bl
mov byte [esi + 0xdc], bl
mov dword [esi + 0x119c], ebx
mov dword [esi + 0xe0], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x1000567f
Capabilities:
Print debug messages

Disassembly:
push esi
push edi
xor edi, edi
cmp dword [0x10083fac], edi
je 0x10005696
push str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [0x10083fb4], edi
je 0x100056a3
push 1
pop edi
jmp 0x100056fb
cmp dword [0x10083fac], edi
jne 0x100056b4
call fcn.10005702
test eax, eax
je 0x100056e1
mov eax, dword [0x100855d4]
cmp eax, edi
mov esi, dword [0x1006b224]
jne 0x100056d6
push str.ActivateActCtx
call fcn.10005971
cmp eax, edi
mov dword [0x100855d4], eax
je 0x100056e1
push dword [esp + 0xc]
push esi
call eax
cmp eax, edi
jne 0x1000569e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7f
je 0x100056f1
cmp eax, 0x78
jne 0x100056fb
push 1
pop eax
mov dword [0x10083fb4], eax
mov edi, eax
mov eax, edi
pop edi
pop esi
ret 4
Function at 0x100088e4
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov eax, ecx
add ecx, 4
neg eax
sbb eax, eax
and eax, ecx
push dword [eax]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1000892e
push esi
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x10008927
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x10008927
push eax
mov ecx, 0x10085094
call fcn.10002b78
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
ret
Function at 0x1001c0e5
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0x14]
and dword [ebx], 0
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x11b4], 0
je 0x1001c1e3
cmp dword [ebp + 0xc], 9
jne 0x1001c1e3
call dword [sym.imp.USER32.dll_GetFocus]
push edi
lea ecx, [ebp - 0xc]
mov esi, eax
call fcn.10008a93
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
jge 0x1001c18e
test eax, eax
jl 0x1001c18e
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov eax, dword [ecx]
push esi
call dword [eax + 8]
test al, al
jne 0x1001c142
inc dword [ebp - 0xc]
add dword [ebp - 8], 4
jmp 0x1001c11e
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 0x80
je 0x1001c157
dec dword [ebp - 0xc]
sub dword [ebp - 8], 4
jmp 0x1001c15e
inc dword [ebp - 0xc]
add dword [ebp - 8], 4
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
jge 0x1001c176
test eax, eax
jl 0x1001c176
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x30]
jmp 0x1001c186
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov dword [ebx], 1
jmp 0x1001c1e3
push esi
mov esi, dword [sym.imp.USER32.dll_GetParent]
call esi
push eax
call esi
mov ebx, eax
push ebx
call esi
push dword [edi + 4]
mov dword [ebp + 0xc], eax
call esi
cmp eax, dword [ebp + 0xc]
jne 0x1001c1e3
cmp ebx, dword [edi + 4]
je 0x1001c1e3
mov eax, dword [edi + 0x11b4]
mov ecx, dword [eax + 0x1a8]
test ecx, ecx
je 0x1001c1da
mov edx, dword [eax + 0x1ac]
sub edx, ecx
test edx, 0xfffffffc
je 0x1001c1da
mov eax, ecx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x34]
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10