joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45fed4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45feeb
add esp, 0xfffffff0
call fcn.00404334
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f34c
mov eax, dword [0x48db74]
cmp word [eax + 2], 0
jne 0x45ff13
mov eax, dword [0x48db74]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00461984
mov eax, dword [0x48dc38]
cmp word [eax + 2], 0
jne 0x45ff2d
mov eax, dword [0x48dc38]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00461b90
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4165c4]
call fcn.00403fe0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4165c4]
call fcn.00403fe0
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x4165c4]
call fcn.00403fe0
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x423b6c]
call fcn.0042b8d8
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4600e4
mov eax, dword [0x48da78]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042bcac
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x462250
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x48da78]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040dc58
test eax, eax
je 0x460034
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409cfc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040dc8c
test eax, eax
je 0x460048
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004050ac
mov byte [ebx + 0xd4], 0
push ebx
push 0x4614e4
call fcn.004204c8
mov dword [ebx + 0xc8], eax
mov eax, dword [0x48d938]
cmp byte [eax], 0
jne 0x460099
mov eax, ebx
call fcn.00460228
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0046242c
mov eax, ebx
call fcn.00462f8c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4600d9
call fcn.0040438c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4604a8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4915b4]
cmp dword [eax + 0x30], 0
je 0x460552
cmp dword [ebx + 0x94], 0
jne 0x46054c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x460438
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46054c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x460512
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46054c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00418b84
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x460521
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46126c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4612a1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404f2c
jmp 0x4612ae
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404e90
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x462610
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46267e
mov eax, esi
call fcn.0044c7ec
test al, al
je 0x46267e
mov eax, dword [ebx + 0x84]
call fcn.0044c44c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46267e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x462672
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044c44c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00444840
jmp 0x46267e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0046244c
pop esi
pop ebx
ret

Function at 0x46e990
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x49164c], 0
jne 0x46e9b3
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46e904
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x49164c], eax
ret
Function at 0x480314
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbc8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004052f0
xor eax, eax
push ebp
push 0x4803d6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0x11
mov eax, ebx
call fcn.0044c44c
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.00471de0
mov eax, dword [0x48dc1c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x20], eax
mov eax, 0x4803e4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 1
lea eax, [ebp - 0x28]
push eax
call sub.shell32.dll_SHBrowseForFolderA
mov ebx, eax
lea eax, [ebp - 0x438]
push eax
push ebx
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x4803b6
mov edx, esi
lea eax, [ebp - 0x438]
call fcn.00409ee8
jmp 0x4803c0
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00404e90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4803dd
lea eax, [ebp - 4]
call fcn.00404e3c
ret
Function at 0x405af0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405b56
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404208
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402c9c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405b40
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405b5d
lea eax, [ebp - 0x10]
call fcn.00403f98
ret

Function at 0x408290
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404458
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4082a9
test al, 0x10
jne 0x4082ad
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x4082b4
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00404458
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x4082d6
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x40be58
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40bf2e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404030
lea eax, [ebp - 8]
call fcn.004044a8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404458
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bf18
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bf11
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404458
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40befb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bf40
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40befb
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bf18
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bf35
lea eax, [ebp - 8]
call fcn.00403f98
ret
Function at 0x405d6b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a0c], 0
push esi
jne 0x405da2
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 0x405d7c
mov dword [ecx*4 + 0x422a08], eax
inc ecx
cmp ecx, 0x100
jl 0x405d77
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405dd3
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 + 0x422a08]
xor eax, esi
inc ecx
dec edx
jne 0x405db5
pop edi
not eax
pop esi
ret 0xc

Function at 0x8003b3f
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov dword [0x80043b4], 0x30
mov dword [0x80043bc], 0x8003351
mov dword [0x80043b8], 2
mov dword [0x80043c0], 0
mov dword [0x80043c4], 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
jmp 0x8003b82
mov dword [0x80043c8], eax
mov dword [0x80043dc], 0x80041e0
mov dword [0x80043d4], 0xf
mov dword [0x8004102], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x80043cc], eax
mov dword [0x80043e0], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x800410a], ebp
mov dword [0x80043d0], eax
push 0x80043b4
call dword [sym.imp.user32.dll_RegisterClassExA]
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x8004434], eax
push 0
push dword [0x8004102]
push 0
push 0
push 0x1ef
push 0x21c
push 0xffffe688
push 0xfffff524
push 0xcf0000
push str.uno_momento
push str.verba
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x800442c], eax
push 1
push dword [0x800442c]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x800442c]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x8003c40
xor edi, edi
lea ebx, [0x80043e4]
jmp 0x8003c58
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 0x8003c4a
jmp 0x8003c6c
mov eax, dword [0x80043ec]
call fcn.08002ae4
ret
Function at 0x473a43
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x473a71
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x473a8f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004739ad
jmp 0x473a8f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x473a8f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.004739ad
test edi, edi
mov eax, edi
jne 0x473a79
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x4bea34]
test ecx, ecx
je 0x473b42
jmp 0x473a42
ret 8

Function at 0x48bb60
Capabilities:
Encode data using xor

Disassembly:
in eax, dx
pushfd
mov dl, 0x80
fidivr dword [esp + esi*2]
xchg esp, eax
in eax, dx
mov byte [0x14cdf0a8], al
test al, 0xf0
int 0x14
jae 0x48babb
ffree st(2)
sal ebp, 0x51
add bh, byte [eax - 0x35add19b]
invalid
outsd dx, dword [esi]
dec esp
pop ebp
push ebp
xor bh, byte [ebx - 0x35]
stosb byte es:[edi], al
sbb esi, dword [edi + 0x5537d0a9]
and al, byte ds:[ecx]
jo 0x48ba3b
pushfd
ror byte [edx - 0x1ae8762c], 1
jecxz 0x48bad5
mov al, byte [0x3518c154]
adc byte gs:[edi + 0xb07b675], bh
pop ds
sal ah, 1
jb 0x48ba46
cmp ebp, 0xa23a2421
rcl byte [ecx - 0x19], cl
fld dword [ebx + 0x29]
dec ebp
int 0xd6
and al, 0x3a
mov byte [0xd9e751d2], al
inc ebx
sub dword [ebp - 0x33], ecx
salc
sub al, 0x4a
fimul dword [edi + 0xa]
lodsb al, byte [esi]
dec esp
xchg edx, eax
invalid
inc ebx
jo 0x48bb51
jnp 0x48bad3
cld
push esp
iretd
xlatb
mov esp, 0xb8e629e8
into
xchg esi, eax
push ds
adc dword [ebx], esi
pop esp
fninit
add edx, edi
cwde
loope 0x48ba8a
and byte [esi + 0xb03cd1e], 0x69
test byte [eax + 0x27], dh
lock xor dword [ecx + 0x66], 0x8828dc10
mov cl, byte [esp + edi*4 + 0x6fe20653]
rcl dword [edi + 0x2abb7f37]
push ds
mov es, word [ecx]
mov ebx, 0x18e1e2a
push eax
mov ebx, esi
lcall 0xb5a9, 0x541f5e39
clc
sbb cl, dl
pop esp
add dword [ebp - 0x61256fed], ebx
sti
ficomp dword [esi - 0x3dc2dc05]
xor dh, dh
test eax, 0xfb77102
jmp 0x48baf7
and edi, dword [0xa9f630c2]
add dh, byte [ecx - 0x49]
por mm5, qword [edx + 0x22c2af09]
retf
cmp dword [edi], 0x4a
add esi, dword [ebx + edi*2]
jnp 0x48bb36
cmp byte [ebx - 0x1d], ah
jnp 0x48bb36
cmp byte [ebx - 0x1d], ah
je 0x48bb26
jns 0x48bb3e
xchg esi, eax
ja 0x48bb41
xor cl, byte [edx]
jle 0x48bb5b
jecxz 0x48baf5
movsd dword es:[edi], dword [esi]
mov dh, 0x7f
dec eax
imul edx, dword [ebp + 0x3d823056], 0x545e72e6
push esi
xor byte [edx + 0x5e72e63d], al
push esp
mov dl, 0x94
adc al, 0x75
call 0xd196b1d3
xlatb
das
movsb byte es:[edi], byte [esi]
aam 0x22
bnd jbe 0x48bb78
in al, 0x7d
in al, dx
salc
xchg esp, eax
jmp 0xe11c00bc
Function at 0x406128
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x40614d
mov dword [0x40a0f4], eax
add esp, 0xfffffff8
push 0x4060ec
push eax
call fcn.00407c20
jmp 0x406152
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x406168
mov dword [0x409054], 0x40624c
jmp 0x406172
mov dword [0x409054], 0x406200
leave
ret

Function at 0x4282a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x4282ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4282c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4282b0
mov eax, 1
add ebx, ebx
jne 0x4282d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4282c8
jne 0x4282e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4282c8
xor ecx, ecx
sub eax, 3
jb 0x4282f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42836a
mov ebp, eax
add ebx, ebx
jne 0x428303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428334
inc ecx
add ebx, ebx
jne 0x428320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428315
jne 0x428331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428315
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428354
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428345
jmp 0x4282b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428354
add edi, ecx
jmp 0x4282b6
pop esi
mov edi, esi
mov ecx, 0x115
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428372
cmp byte [edi], 3
jne 0x428372
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x428377
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4283e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x280c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4283a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x280cc]
or eax, eax
je 0x4283e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4283c1
call dword [esi + 0x280c8]
mov ebp, dword [esi + 0x280d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x42841a
sub esp, 0xffffff80
jmp 0x409ac0
Function at 0x68d41cea
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.68d62dd0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp + 0x10]
lea edx, [ebp - 0x10]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call eax
sub esp, 0x10
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call eax
sub esp, 0x10
cmp dword [ebp - 0xc], 0
je 0x68d41d8c
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call fcn.68d62da0
nop
leave
ret

Function at 0x68d41d8f
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.68d62dd0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
cmp dword [ebp - 0xc], 0
je 0x68d41e3b
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x14]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call eax
sub esp, 0x10
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call eax
sub esp, 0x10
cmp dword [ebp - 0x10], 0
je 0x68d41e4c
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.68d62da0
mov eax, dword [ebp - 0xc]
leave
ret
Function at 0x68d41e51
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0xd], 0xe8
mov byte [ebp - 9], 0
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
sub edx, eax
lea eax, [edx - 5]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xd]
add eax, 1
mov edx, dword [ebp - 0x14]
mov dword [eax], edx
lea eax, [ebp - 0x18]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x40
mov dword [esp + 4], 5
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call eax
sub esp, 0x10
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xd]
mov dword [eax], edx
movzx edx, byte [ebp - 9]
mov byte [eax + 4], dl
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x18]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 5
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call eax
sub esp, 0x10
nop
leave
ret

Function at 0x68d4b834
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [esp], 2
call fcn.68d55c40
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
mov dword [esp], 0x68ef7afc
call sub.msvcrt.dll_fwrite
mov ebx, dword [ebp - 0xc]
mov dword [esp], 2
call fcn.68d55c40
mov dword [esp + 8], ebx
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort

Function at 0x68d4c1ac
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x68d4c1cb
mov eax, 0
jmp 0x68d4c20f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x68d4c1ee
mov eax, 0
jmp 0x68d4c20f
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x10b
je 0x68d4c20a
mov eax, 0
jmp 0x68d4c20f
mov eax, 1
leave
ret

Function at 0x68d4c211
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x14]
movzx edx, ax
mov eax, dword [ebp - 0xc]
add eax, edx
add eax, 0x18
mov dword [ebp - 4], eax
jmp 0x68d4c270
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [ebp + 0xc], eax
jb 0x68d4c268
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x68d4c268
mov eax, dword [ebp - 4]
jmp 0x68d4c284
add dword [ebp - 8], 1
add dword [ebp - 4], 0x28
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 6]
movzx eax, ax
cmp dword [ebp - 8], eax
jb 0x68d4c245
mov eax, 0
leave
ret