joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461e7c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x461e98
cmp dword [esi + 4], 0
je 0x461ec5
test byte [ebx + 0x55], 1
jne 0x461eb7
mov eax, ebx
call fcn.00460a1c
test eax, eax
jne 0x461eb7
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x461fd5
mov edx, esi
mov eax, ebx
call fcn.004619a0
jmp 0x461fd5
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x461fce
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00463d24
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0045e6b8
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00461e7c
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00463d24
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461fd5
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4686e0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4837ac]
cmp byte [eax + 0xc], 0
je 0x46884d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x468846
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x484c08], 0
jne 0x468734
push 0x468854
call sub.kernel32.dll_GetModuleHandleA_1
mov ebx, eax
push 0x46885c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x484c08], eax
cmp dword [0x483090], 0
jne 0x46882f
push 0x46886c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x483090], eax
cmp dword [0x483090], 0
je 0x46882f
push 0x468878
mov eax, dword [0x483090]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x484c0c], eax
push 0x468888
mov eax, dword [0x483090]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x484c10], eax
push 0x46889c
mov eax, dword [0x483090]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x484c14], eax
push 0x4688b4
mov eax, dword [0x483090]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x484c18], eax
push 0x4688cc
mov eax, dword [0x483090]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x484c1c], eax
push 0x4688e0
mov eax, dword [0x483090]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x484c20], eax
push 0x4688f8
mov eax, dword [0x483090]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x484c24], eax
push 0x468910
mov eax, dword [0x483090]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x484c28], eax
push 0x46892c
mov eax, dword [0x483090]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x484c2c], eax
push 0x468938
mov eax, dword [0x483090]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x484c30], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46884d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x4698a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov dword [esp], ecx
mov esi, edx
mov ebx, eax
mov eax, 0x10000
call fcn.00402798
mov dword [ebx + 0x2e8], eax
mov edi, esi
mov ebp, dword [esp]
test ebp, ebp
jle 0x4698e5
mov esi, 1
mov eax, dword [esp]
dec eax
call fcn.00402df4
inc eax
mov edx, dword [ebx + 0x2e8]
mov word [edx + esi*2 - 2], ax
inc esi
dec ebp
jne 0x4698cc
mov ebp, dword [esp]
test ebp, ebp
jle 0x469938
mov esi, 1
mov al, byte [ebx + 0x43]
xor al, byte [ebx + 0x42]
xor al, byte [ebx + 0x41]
xor al, byte [ebx + 0x40]
mov byte [esp + 4], al
mov eax, 0xff
call fcn.00402df4
mov dl, byte [edi + esi - 1]
xor dl, byte [esp + 4]
xor al, dl
mov byte [edi + esi - 1], al
xor eax, eax
mov al, byte [edi + esi - 1]
add eax, dword [ebx + 0x40]
add eax, dword [ebx + 0x3c]
imul dword [ebx + 0x2f8]
add eax, dword [ebx + 0x2fc]
mov dword [ebx + 0x40], eax
inc esi
dec ebp
jne 0x4698f1
mov ebp, dword [esp]
test ebp, ebp
jle 0x469987
mov esi, 1
mov eax, dword [ebx + 0x2e8]
movzx eax, word [eax + esi*2 - 2]
mov al, byte [edi + eax - 1]
cmp al, byte [edi + esi - 1]
je 0x469983
xor byte [edi + esi - 1], al
mov eax, dword [ebx + 0x2e8]
movzx eax, word [eax + esi*2 - 2]
mov dl, byte [edi + esi - 1]
xor byte [edi + eax - 1], dl
mov eax, dword [ebx + 0x2e8]
movzx eax, word [eax + esi*2 - 2]
mov al, byte [edi + eax - 1]
xor byte [edi + esi - 1], al
inc esi
dec ebp
jne 0x469944
mov edx, 0x10000
mov eax, dword [ebx + 0x2e8]
call fcn.004027b8
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4699a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebp, edx
mov ebx, eax
mov eax, 0x10000
call fcn.00402798
mov dword [ebx + 0x2e8], eax
mov edi, ebp
test edi, edi
jle 0x4699dc
mov esi, 1
mov eax, ebp
dec eax
call fcn.00402df4
inc eax
mov edx, dword [ebx + 0x2e8]
mov word [edx + esi*2 - 2], ax
inc esi
dec edi
jne 0x4699c4
mov esi, ebp
cmp esi, 1
jl 0x469a3f
mov eax, dword [ebx + 0x2e8]
movzx eax, word [eax + esi*2 - 2]
mov ecx, dword [ebx + 0x2e0]
mov al, byte [ecx + eax - 1]
mov edx, dword [ebx + 0x2e0]
cmp al, byte [edx + esi - 1]
je 0x469a3a
xor byte [edx + esi - 1], al
mov edx, dword [ebx + 0x2e8]
movzx edx, word [edx + esi*2 - 2]
mov eax, dword [ebx + 0x2e0]
mov cl, byte [eax + esi - 1]
xor byte [eax + edx - 1], cl
mov edx, dword [ebx + 0x2e8]
movzx edx, word [edx + esi*2 - 2]
mov eax, dword [ebx + 0x2e0]
mov dl, byte [eax + edx - 1]
xor byte [eax + esi - 1], dl
dec esi
test esi, esi
jne 0x4699e3
mov edx, 0x10000
mov eax, dword [ebx + 0x2e8]
call fcn.004027b8
mov edi, ebp
test edi, edi
jle 0x469ac7
mov esi, 1
mov eax, dword [ebx + 0x2e0]
mov dl, byte [eax + esi - 1]
mov byte [eax + esi - 1], dl
mov eax, dword [ebx + 0x2e0]
mov al, byte [eax + esi - 1]
mov byte [esp], al
mov al, byte [ebx + 0x43]
xor al, byte [ebx + 0x42]
xor al, byte [ebx + 0x41]
xor al, byte [ebx + 0x40]
mov byte [esp + 1], al
mov eax, 0xff
call fcn.00402df4
mov edx, dword [ebx + 0x2e0]
mov dl, byte [edx + esi - 1]
xor dl, byte [esp + 1]
xor al, dl
mov edx, dword [ebx + 0x2e0]
mov byte [edx + esi - 1], al
xor eax, eax
mov al, byte [esp]
add eax, dword [ebx + 0x40]
add eax, dword [ebx + 0x3c]
imul dword [ebx + 0x2f8]
add eax, dword [ebx + 0x2fc]
mov dword [ebx + 0x40], eax
inc esi
dec edi
jne 0x469a5a
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x46bc80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 0x104], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46bcf3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0xff]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
lea eax, [ebp - 0xff]
call fcn.004099e0
lea edx, [ebp - 0x104]
mov eax, dword [ebx]
call fcn.0046adf4
mov edx, dword [ebp - 0x104]
mov eax, ebx
call fcn.0040435c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46bcfa
lea eax, [ebp - 0x104]
call fcn.00404308
ret

Function at 0x46bd00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 0x104], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46bd73
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0xff]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, ebx
lea eax, [ebp - 0xff]
call fcn.004099e0
lea edx, [ebp - 0x104]
mov eax, dword [ebx]
call fcn.0046adf4
mov edx, dword [ebp - 0x104]
mov eax, ebx
call fcn.0040435c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46bd7a
lea eax, [ebp - 0x104]
call fcn.00404308
ret
Function at 0x475358
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
xor edi, edi
mov eax, dword [0x483138]
call fcn.004047c8
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 0x18], eax
xor ecx, ecx
push ebp
push 0x47545f
push dword fs:[ecx]
mov dword fs:[ecx], esp
cmp dword [ebp - 0x18], 0
jbe 0x4753ac
mov eax, dword [0x48313c]
call fcn.004047c8
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edi, eax
xor ebx, ebx
test edi, edi
je 0x4753bf
lea eax, [ebp - 0x10]
push eax
push 1
push 0xffffffffffffffff
push esi
call edi
mov ebx, eax
test ebx, ebx
jne 0x4753e2
call fcn.00403ce4
jmp 0x475466
mov edi, eax
add edi, esi
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_lstrcmpiA
test eax, eax
je 0x4753e9
add ebx, 0x14
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x4753cd
cmp dword [ebx + 0xc], 0
jne 0x4753f6
call fcn.00403ce4
jmp 0x475466
mov eax, dword [ebx + 0x10]
add eax, esi
jmp 0x475443
mov ebx, eax
mov edx, dword [ebx]
cmp edx, dword [ebp - 8]
sete dl
neg dl
sbb edx, edx
test edx, edx
je 0x475440
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_VirtualProtectEx
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_WriteProcessMemory
call fcn.00403ce4
jmp 0x475466
add eax, 4
cmp dword [eax], 0
jne 0x4753fd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475466
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x476388
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x4764ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x21], 0
push 0xffffffffffffffff
lea eax, [ebp - 0x20]
push eax
or ecx, 0xffffffff
xor edx, edx
mov eax, 0x476518
call fcn.0046b3a0
mov eax, dword [ebp - 0x20]
call fcn.004047c8
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4764e9
xor ecx, ecx
push ebp
push 0x4764e2
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0xffffffffffffffff
lea eax, [ebp - 0x20]
push eax
or ecx, 0xffffffff
xor edx, edx
mov eax, 0x47653c
call fcn.0046b3a0
mov eax, dword [ebp - 0x20]
call fcn.004047c8
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
test eax, eax
jne 0x476427
call fcn.00403ce4
jmp 0x4764e9
lea edx, [ebp - 0x10]
push edx
push 1
push 0xffffffffffffffff
push esi
call eax
mov edi, eax
test edi, edi
jne 0x47645d
call fcn.00403ce4
jmp 0x4764e9
mov ebx, eax
add ebx, esi
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.kernel32.dll_lstrcmpiA
test eax, eax
jne 0x47645a
mov byte [ebp - 0x21], 1
jmp 0x476464
add edi, 0x14
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x476442
cmp byte [ebp - 0x21], 0
jne 0x476471
call fcn.00403ce4
jmp 0x4764e9
cmp dword [edi + 0xc], 0
jne 0x47647e
call fcn.00403ce4
jmp 0x4764e9
mov eax, dword [edi + 0x10]
add eax, esi
jmp 0x4764c6
mov ebx, eax
mov edx, dword [ebx]
cmp edx, dword [ebp - 8]
sete dl
neg dl
sbb edx, edx
test edx, edx
je 0x4764c3
lea eax, [ebp - 0x18]
push eax
push 0x40
push 4
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_VirtualProtectEx
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_WriteProcessMemory
jmp 0x4764cb
add eax, 4
cmp dword [eax], 0
jne 0x476485
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4764e9
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476506
lea eax, [ebp - 0x20]
call fcn.00404308
ret
Function at 0x4768a0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x476a10
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax], edx
call fcn.00476784
test al, al
je 0x4769f5
push 0
push 0
push 0
push 0
push 0
call sub.wininet.dll_InternetOpenA
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 8]
push eax
push 0
push ebx
call sub.wininet.dll_InternetQueryOptionA
test ebx, ebx
je 0x476901
push ebx
call sub.wininet.dll_InternetCloseHandle
push 0xffffffffffffffff
lea eax, [ebp - 0x1c]
push eax
or ecx, 0xffffffff
xor edx, edx
mov eax, 0x476a28
call fcn.0046b3a0
mov eax, dword [ebp - 0x1c]
call fcn.004047c8
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4769f5
push 0xffffffffffffffff
lea eax, [ebp - 0x1c]
push eax
or ecx, 0xffffffff
xor edx, edx
mov eax, 0x476a4c
call fcn.0046b3a0
mov eax, dword [ebp - 0x1c]
call fcn.004047c8
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
test ebx, ebx
jne 0x47696c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FreeLibrary_1
jmp 0x4769f5
mov eax, dword [0x48318c]
call fcn.004047c8
push eax
call sub.kernel32.dll_GetModuleHandleA_1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
call ebx
mov esi, eax
push esi
call fcn.00476594
mov ebx, eax
movzx eax, word [esi + 6]
dec eax
test eax, eax
jl 0x4769ec
inc eax
mov esi, eax
mov edi, ebx
lea eax, [ebp - 0x20]
mov edx, edi
call fcn.00404500
mov eax, dword [ebp - 0x20]
mov edx, 0x476a70
call fcn.004089f8
test eax, eax
jne 0x4769e6
mov eax, dword [ebx + 0x24]
and eax, 0x80000000
cmp eax, 0x80000000
jne 0x4769e6
mov eax, dword [ebp - 0x10]
add eax, dword [ebx + 0xc]
mov edi, eax
add eax, dword [ebx + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov eax, edi
call fcn.004765d0
test al, al
jne 0x4769ec
add ebx, 0x28
dec esi
jne 0x47699b
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FreeLibrary_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476a17
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0040432c
ret
Function at 0x481008
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x418], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00405e84
xor eax, eax
push ebp
push 0x481268
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x414]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x94]
call fcn.00405f20
mov edi, dword [ebp - 0x414]
push 0
push 0x481278
push 0
push edi
call sub.user32.dll_FindWindowExA
mov edi, eax
push 0
push 0x481280
push 0
push edi
call sub.user32.dll_FindWindowExA
mov edi, eax
test edi, edi
je 0x481235
mov eax, dword [0x4834d8]
mov eax, dword [eax]
sub eax, 6
je 0x4810a1
dec eax
je 0x4810d6
jmp 0x481235
push 0
push 0x481290
push 0
push edi
call sub.user32.dll_FindWindowExA
mov edi, eax
push 0
push 0x4812a0
push 0
push edi
call sub.user32.dll_FindWindowExA
mov edi, eax
push 0
push 0x4812ac
push 0
push edi
call sub.user32.dll_FindWindowExA
mov edi, eax
jmp 0x481143
push 0
push 0x4812b4
push 0
push edi
call sub.user32.dll_FindWindowExA
mov edi, eax
push 0
push 0x481290
push 0
push edi
call sub.user32.dll_FindWindowExA
mov edi, eax
push 0
push 0x4812a0
push 0
push edi
call sub.user32.dll_FindWindowExA
mov edi, eax
push 0
push 0x4812ac
push 0
push edi
call sub.user32.dll_FindWindowExA
mov edi, eax
jmp 0x481143
push 0x400
lea eax, [ebp - 0x40d]
push eax
push edi
call sub.user32.dll_GetWindowTextA
lea edx, [ebp - 0x418]
lea eax, [ebp - 0x40d]
call fcn.004099e0
mov eax, dword [ebp - 0x418]
lea edx, [ebp - 8]
call fcn.0040896c
mov eax, dword [0x4834d8]
cmp dword [eax], 6
jne 0x4811c4
mov eax, 0x483278
mov edx, dword [esi + 0x9c]
call fcn.0040435c
call fcn.00406634
cmp dword [eax + 0x10], 0
jne 0x481235
test edi, edi
jbe 0x481235
push 0x480eb0
push 0xfffffffffffffffc
push edi
call sub.user32.dll_SetWindowLongA
mov esi, eax
call fcn.00406634
mov dword [eax + 0x10], esi
jmp 0x481235
test edi, edi
je 0x481235
lea ecx, [ebp - 0xd]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00477724
test al, al
je 0x481235
cmp dword [esi + 0x9c], 0
je 0x481235
cmp dword [ebp - 0xc], 0
je 0x481235
mov dl, byte [ebp - 0xd]
mov eax, dword [ebp - 0xc]
call fcn.004779d4
test al, al
je 0x481235
mov al, byte [0x4812c8]
push eax
lea eax, [ebp - 0x41c]
push eax
mov ecx, dword [esi + 0x9c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0040def0
mov edx, dword [ebp - 0x41c]
lea eax, [ebp - 8]
call fcn.004043a0
mov eax, dword [ebp - 8]
call fcn.004047c8
push eax
push edi
call sub.user32.dll_SetWindowTextA
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48126f
lea eax, [ebp - 0x41c]
mov edx, 2
call fcn.0040432c
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0040432c
lea eax, [ebp - 4]
call fcn.00405e10
ret
Function at 0x405c47
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422ab4], 0
push esi
jne 0x405c7e
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405c58
mov dword [ecx*4 + 0x422ab0], eax
inc ecx
cmp ecx, 0x100
jl 0x405c53
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405caf
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422ab0]
xor eax, esi
inc ecx
dec edx
jne 0x405c91
pop edi
not eax
pop esi
ret 0xc
Function at 0x42c420
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4971eb
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.00489ddf
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42c4a2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048785d
mov eax, dword [eax]
push 0x4b41f4
push eax
call fcn.0047a514
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048a06a
test bl, bl
je 0x42c4a2
push 0x4b41f4
lea ecx, [esp + 0xc]
call fcn.0048a446
push 0x4b7d64
lea ecx, [esp + 0xc]
call fcn.0048a446
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 0x42c4de
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048a06a
jmp 0x42c5a9
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 0x42c562
lea edx, [esp + 0x7c]
push 0x4b7d60
push edx
call fcn.0047a514
add esp, 8
test eax, eax
je 0x42c562
lea eax, [esp + 0x7c]
push 0x4b7d5c
push eax
call fcn.0047a514
add esp, 8
test eax, eax
je 0x42c562
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 0x42c4f2
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.0048a06a
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 0x42cda0
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 0x42ce02
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 0x42ce10
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49726b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4bf050]
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 0x42cf48
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42ce76
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048a06a
xor eax, eax
jmp 0x42cfbf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0048a1f3
push esi
lea ecx, [esp + 0xc]
call fcn.0048a482
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 0x42cf9d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.0042cda0
test eax, eax
jne 0x42cf9d
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.0042cda0
test eax, eax
jne 0x42cf9d
lea eax, [esp + 0x14]
push 0x4b7d78
push eax
call fcn.0047b6c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42cf7c
lea ecx, [esp + 0x14]
push 0x4b7d74
push ecx
call fcn.0047b640
mov esi, eax
add esp, 8
test esi, esi
jne 0x42cf7c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42cf7f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0048a1a3
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42ce8e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048a06a
xor eax, eax
jmp 0x42cfbf
mov byte [esi], 0
push 0x4b7d70
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.0048a06a
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