joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100b2df0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10100216
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push esi
push edi
mov eax, dword [0x1012e100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x1c], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
xor eax, eax
xor edi, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x2c], eax
xor esi, esi
mov dword [ebp - 4], 1
cmp dword [ebp - 0x68], esi
jbe 0x100b2ed6
nop dword [eax]
push 0x1c
lea eax, [ebp - 0x50]
mov dword [ebp - 0x38], 0
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x50], xmm0
movq qword [ebp - 0x40], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x100b2e79
add esi, dword [ebp - 0x70]
jmp 0x100b2ec9
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x50]
lea eax, [ecx + edx]
cmp eax, dword [ebp + 0x18]
jb 0x100b2ec7
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp + 0x14]
jb 0x100b2ec7
test eax, 0x100
jne 0x100b2ec7
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
cmp edi, dword [ebp - 0x10]
je 0x100b2eae
mov dword [edi], edx
mov dword [edi + 4], ecx
add edi, 8
mov dword [ebp - 0x30], edi
jmp 0x100b2ec4
lea eax, [ebp - 0x28]
push eax
push edi
lea ecx, [ebp - 0x34]
call fcn.1000c4e0
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x44]
add esi, ecx
cmp esi, dword [ebp - 0x68]
jb 0x100b2e50
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x18], esi
jmp 0x100b2ed8
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, dword [ebp - 0x30]
mov edx, esi
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], edx
cmp edx, eax
je 0x100b2f77
mov ecx, dword [edx]
mov esi, dword [ebp + 0x18]
cmp ecx, esi
mov edx, dword [edx + 4]
cmova esi, ecx
cmp esi, dword [ebp + 0x1c]
jae 0x100b2f67
lea eax, [edx + ecx]
mov dword [ebp - 0x24], eax
nop word [eax + eax]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push eax
push 0
push esi
call fcn.100b2cf0
mov esi, eax
add esp, 0x18
test esi, esi
je 0x100b2f64
mov eax, dword [edi + 4]
mov ecx, esi
inc esi
mov dword [ebp - 0x20], ecx
cmp eax, dword [edi + 8]
je 0x100b2f50
mov dword [eax], ecx
add dword [edi + 4], 4
jmp 0x100b2f5c
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, edi
call fcn.1000c400
mov eax, dword [ebp - 0x24]
cmp esi, dword [ebp + 0x1c]
jb 0x100b2f20
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
add edx, 8
mov dword [ebp - 0x14], edx
cmp edx, eax
jne 0x100b2f02
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x100b2fa7
mov ecx, dword [ebp - 0x10]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x100b2f9d
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b2fba
push ecx
push esi
call fcn.100cd6b7
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.100d94af
int3
Function at 0x100b2fc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, 0x5a4d
cmp cx, word [eax]
jne 0x100b3041
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
jne 0x100b3041
mov ecx, dword [ecx + eax + 0x88]
test ecx, ecx
je 0x100b3041
add eax, ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
push ecx
push eax
call fcn.100b5f30
add esp, 0xc
test eax, eax
je 0x100b3041
mov edx, dword [ebp + 8]
mov eax, edx
push esi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100b3012
sub eax, esi
sar eax, 1
add eax, eax
push eax
mov eax, dword [ebp - 8]
push edx
add eax, 0xfffffffc
push eax
push dword [ebp - 4]
call fcn.100b5f80
add esp, 0x10
test eax, eax
setne al
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x100b30a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1012e100]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, 0x5a4d
cmp ax, word [ebx]
jne 0x100b30ee
mov ecx, dword [ebx + 0x3c]
cmp dword [ecx + ebx], 0x4550
jne 0x100b30ee
mov eax, dword [ecx + ebx + 0xd8]
mov ecx, dword [ecx + ebx + 0xdc]
add eax, ebx
add ecx, eax
cmp eax, ecx
jae 0x100b30ee
mov edx, dword [ebp + 8]
cmp dword [eax], edx
je 0x100b30ff
add eax, 4
cmp eax, ecx
jb 0x100b30e3
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100cd9fa
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x100b30ee
cmp byte [ebp + 0x18], 0
mov dword [ebp - 0xa], eax
mov ax, word [ebp + 0x14]
mov word [ebp - 0xc], ax
je 0x100b3175
push esi
push edi
mov edi, dword [ebp + 0x10]
add edi, 0xfffffffa
cmp edi, ebx
jb 0x100b3160
mov esi, edi
lea eax, [ebp - 0xc]
sub esi, eax
xor eax, eax
nop dword [eax]
lea ecx, [ebp - 0xc]
add ecx, eax
mov dl, byte [ecx]
cmp dl, byte [esi + ecx]
je 0x100b3141
cmp dl, 0x11
jne 0x100b315a
inc eax
cmp eax, 6
jl 0x100b3130
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100cd9fa
mov esp, ebp
pop ebp
ret
dec edi
dec esi
cmp edi, ebx
jae 0x100b3127
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100cd9fa
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x10]
lea eax, [ebp - 0xc]
push ebx
push 6
push eax
call fcn.100b3ba0
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop ebx
call fcn.100cd9fa
mov esp, ebp
pop ebp
ret
Function at 0x100b3240
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1012e100]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x100b328d
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x100b328d
mov eax, dword [ecx + edx + 0xd8]
mov ecx, dword [ecx + edx + 0xdc]
add eax, edx
add ecx, eax
cmp eax, ecx
jae 0x100b328d
mov edx, dword [ebp + 8]
cmp dword [eax], edx
je 0x100b329d
add eax, 4
cmp eax, ecx
jb 0x100b3282
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100cd9fa
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x100b328d
mov cl, byte [ebp + 0x1c]
test cl, cl
je 0x100b32b1
mov byte [ebp - 0xc], 0x8b
mov byte [ebp - 0xb], cl
jmp 0x100b32b7
mov word [ebp - 0xc], 0x15ff
cmp byte [ebp + 0x18], 0
mov dword [ebp - 0xa], eax
je 0x100b3325
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0x14]
add edi, 0xfffffffa
cmp edi, ebx
jb 0x100b3310
mov esi, edi
lea eax, [ebp - 0xc]
sub esi, eax
xor eax, eax
nop dword [eax]
lea ecx, [ebp - 0xc]
add ecx, eax
mov dl, byte [ecx]
cmp dl, byte [esi + ecx]
je 0x100b32f1
cmp dl, 0x11
jne 0x100b330a
inc eax
cmp eax, 6
jl 0x100b32e0
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100cd9fa
mov esp, ebp
pop ebp
ret
dec edi
dec esi
cmp edi, ebx
jae 0x100b32d7
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100cd9fa
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push dword [ebp + 0x10]
push 6
push eax
call fcn.100b3ba0
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
call fcn.100cd9fa
mov esp, ebp
pop ebp
ret

Function at 0x100b3350
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov eax, 0x5a4d
sub esp, 0xc
cmp ax, word [edx]
jne 0x100b3393
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x100b3393
mov eax, dword [ecx + edx + 0xd8]
mov ecx, dword [ecx + edx + 0xdc]
add eax, edx
add ecx, eax
cmp eax, ecx
jae 0x100b3393
mov edx, dword [ebp + 0xc]
cmp dword [eax], edx
je 0x100b33ae
add eax, 4
cmp eax, ecx
jb 0x100b3388
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x100b3393
mov cl, byte [ebp + 0x20]
test cl, cl
je 0x100b33c2
mov byte [ebp - 0xc], 0x8b
mov byte [ebp - 0xb], cl
jmp 0x100b33c8
mov word [ebp - 0xc], 0x15ff
push dword [ebp + 0x18]
mov dword [ebp - 0xa], eax
lea eax, [ebp - 0xc]
push dword [ebp + 0x14]
push dword [ebp + 0x1c]
push 6
push eax
push dword [ebp + 8]
call fcn.100b2df0
mov eax, dword [ebp + 8]
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x100b3c80
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xcccc
push dword [ebp + 8]
call fcn.100b3bd0
add esp, 0x18
test eax, eax
je 0x100b3ca9
inc eax
cmp byte [eax], 0xcc
je 0x100b3ca3
pop ebp
ret

Function at 0x100b3eb0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xcccc
push dword [ebp + 8]
call fcn.100b3df0
add esp, 0x18
test eax, eax
je 0x100b3ed9
inc eax
cmp byte [eax], 0xcc
je 0x100b3ed3
pop ebp
ret

Function at 0x100bb4d7
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x100bb4fe
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x100bb501
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.100bb4b3
pop esi
leave
ret 8

Function at 0x100c08e5
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], edx
jbe 0x100c0908
movzx eax, byte [esi + edx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [ebp + 0x10]
jb 0x100c08f6
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x100cd63f
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.100e41d4
mov eax, dword [eax + 0x14]
test eax, eax
je 0x100cd682
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
push 2
push ecx
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x100cd682
sub eax, 1
je 0x100cd67d
sub eax, 1
je 0x100cd679
xor eax, eax
leave
ret
push 3
jmp 0x100cd684
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x100cd6e1
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0x100cd716
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x100cd713
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x100cd71f
add edx, 0x28
cmp edx, esi
jne 0x100cd701
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x100cd71c

Function at 0x100ec300
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1011686c
push 0x10116864
push str.FlsAlloc
push 0x1e
call fcn.100ec12d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100ec334
push dword [ebp + 8]
mov ecx, esi
call dword [0x1010439c]
call esi
jmp 0x100ec33a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x100ec37e
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1011687c
push 0x10116874
push str.FlsGetValue
push 0x20
call fcn.100ec12d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100ec3b5
push dword [ebp + 8]
mov ecx, esi
call dword [0x1010439c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x100ef7e7
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100ef884
push ebx
push esi
call fcn.100ef7b0
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100edf17
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100ef831
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100ef883
push edi
push eax
call fcn.100eaada
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100ef851
call fcn.100eaaa0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100ef882
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100edf17
add esp, 0x20
test eax, eax
jne 0x100ef870
push edi
call fcn.100eaaa0
jmp 0x100ef878
push ebx
call fcn.100eaaa0
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x100ef887
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100ef898
pop esi
ret
push ebx
push edi
push esi
call fcn.100ef7b0
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100eaada
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100ef8c0
push ebx
push esi
push edi
call fcn.100cf280
add esp, 0xc
push 0
call fcn.100eaaa0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x100efc84
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100ef8d5
Function at 0x100f7a30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100f7a5d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100f7a5d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x5e98c0
Capabilities:
Encode data using xor

Disassembly:
add byte [eax - 7], al
push 0xfffffffffffffffd
jae 0x5e976b
add ch, byte [ebp + 0x37b57486]
lea edi, [eax - 0x77]
js 0x5e97ac
aaa
jle 0x5e981a
div byte [ebp - 0x53]
add edi, esp
cmp bh, byte [esi - 0xc]
jbe 0x5e982d
hlt
test byte [eax - 0x43], dl
and byte [ebx - 0xc], ah
jbe 0x5e986f
fistp qword [ebp + 0x497e3c39]
cmp dword [esi + edi*2], edi
dec ecx
add byte [0x3c97e0ff], bl
jle 0x5e983a
loopne 0x5e97da
add edi, dword [ebp + 0x3776ef5e]
aaa
pop es
cmp ch, byte [ebp - 0x3b]
add esp, dword [eax + 0x74]
aaa
jge 0x5e98d4
mov esp, 0xecf3d531
inc ebx
jge 0x5e98c8
jg 0x5e9896
ljmp 0x49c1:0xde31cf76
inc edi
add al, byte [eax + 0x77]
aaa
jle 0x5e98bd
jbe 0x5e9821
lodsd eax, dword [esi]
invalid
test eax, 0x75f47e37
lodsd eax, dword [esi]
je 0x5e986b
sti
jge 0x5e9886
hlt
jbe 0x5e9841
js 0x5e9873
jge 0x5e988e
into
out dx, al
jbe 0x5e984d
je 0x5e9896
push cs
arpl word [eax + 0x3f], bp
mov dword [esi - 0x44794afd], edx
test esp, esi
xchg esi, eax
add esi, dword [ebp - 0xb7a447a]
xchg byte [ebx + 0x3776f485], bh
jbe 0x5e98e7
scasd eax, dword es:[edi]
mov ah, 0x60
cmp eax, 0xef76f47e
jle 0x5e98aa
jbe 0x5e98a7
jg 0x5e98ae
jbe 0x5e98f3
inc edi
mov bh, 0x83
aaa
sar dword [ebp + 0x5c], cl
pop esp
mov ecx, 0x3779856a
jle 0x5e984b
cld
cmpsd dword [esi], dword es:[edi]
jnp 0x5e98c2
jbe 0x5e9891
ret
or bh, dh
jbe 0x5e990f
jge 0x5e9944
jb 0x5e9913
sar esp, cl
aad 0xbc
add al, 0xfb
inc ebp
jle 0x5e98da
jbe 0x5e991e
add al, 0x76
add al, 0x76
lodsd eax, dword [esi]
mov dh, bl
in al, dx
xor ah, byte [esi + 0x3d]
jbe 0x5e992b
aaa
jge 0x5e98b4
cmp dword [eax + 0x7e], ecx
and byte [edi - 0xc], ch
jbe 0x5e994b
ja 0x5e9953
aaa
jle 0x5e9992
mov ch, 0x66
lea edi, [eax - 0x7a]
aaa
jle 0x5e991a
mov cl, 0xac
xchg byte [ebx], al
sti
cmp eax, 0x8576f47e
aam 0x76
aaa
jbe 0x5e996b
jge 0x5e99ab
mov ch, 0x93
xchg ebx, eax
lea edi, [eax - 0x80]
aaa
jle 0x5e9932
xor byte [edi], 0x7e
hlt
div byte [ebp - 0x53]
add edi, esp
cmp byte [esi - 0xc], bh
jle 0x5e993a
jbe 0x5e99c5
or dword [edx - 0x7d], esi
mov bh, 0xbd
hlt
test dword [ebx + 0x3776f484], edi
aaa
vpunpckhbw ymm6, ymm4, ymmword [edi]
jge 0x5e994e
push 0xf7f47d37
jbe 0x5e9937
div dword [esi - 0x26]
add edi, ebx
dec edi
jle 0x5e9956
jbe 0x5e991b
mov ebp, 0x8dbb8623
hlt
aaa
mov ecx, 0x2468371
sti
add dword [esi + 2], 0xfffffffb
jbe 0x5e99ab
jle fcn.005e99b9
pushal
pop ss
jge 0x5e996e
jbe 0x5e9934
mov ebp, 0x87bb8650
hlt
jge 0x5e9a27
cmc
jbe 0x5e99e7
aaa
aaa
Function at 0x5e9efd
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
pushal
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
je 0x5e9f9b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x5e9f9b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp word [eax], 0x5a4d
jne 0x5e9f9b
mov ebx, dword [eax + 0x3c]
add eax, ebx
cmp dword [eax], 0x4550
jne 0x5e9f9b
mov ebx, dword [eax + 0x34]
mov dword [ebp - 0xc], ebx
mov ebx, dword [eax + 0x50]
mov dword [ebp - 8], ebx
push edi
push 4
push 0x2000
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [edi + 0x122d211b]
pop edi
test eax, eax
jne 0x5e9f8e
push edi
push 4
push 0x2000
push dword [ebp - 8]
push 0
call dword [edi + 0x122d211b]
pop edi
test eax, eax
je 0x5e9f9b
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x14], eax
mov dword [ebp - 0x10], 1
popal
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x5ea020
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
pushal
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x14]
mov dword [ebp - 8], ebx
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov ebx, dword [eax + 0x3c]
add eax, ebx
lea ebx, [eax + 0x18]
movzx ecx, word [eax + 0x14]
add ebx, ecx
movzx ecx, word [eax + 6]
test ecx, ecx
je 0x5ea0cc
push ecx
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0x10]
cmp ecx, edx
jae 0x5ea061
mov ecx, edx
mov dword [ebp - 4], ecx
mov eax, dword [ebx + 0xc]
add eax, dword [ebp - 8]
push ecx
push edi
push 4
push 0x1000
push dword [ebp - 4]
push eax
call dword [edi + 0x122d211b]
pop edi
pop ecx
test eax, eax
je 0x5ea0bf
push edi
mov edi, eax
xor eax, eax
push ecx
push edi
rep stosb byte es:[edi], al
pop edi
pop ecx
mov edx, dword [ebx + 0x10]
cmp ecx, edx
jl 0x5ea09f
mov ecx, edx
mov esi, dword [ebx + 0x14]
add esi, dword [ebp - 0xc]
lea eax, [ebx + 0x10]
cmp dword [eax + 4], 0
je 0x5ea0b4
rep movsb byte es:[edi], byte [esi]
pop edi
add ebx, 0x28
pop ecx
dec ecx
jmp 0x5ea048
pop ecx
mov dword [ebp - 0x10], 0
jmp 0x5ea0d3
mov dword [ebp - 0x10], 1
popal
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x5ea2ed
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x14], eax
mov ebx, dword [eax + 0x3c]
add eax, ebx
lea ebx, [eax + 0x18]
movzx ecx, word [eax + 0x14]
add ebx, ecx
movzx ecx, word [eax + 6]
test ecx, ecx
je 0x5ea367
push ecx
mov ecx, dword [ebx + 0xc]
add ecx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x24]
push edx
call fcn.005ea292
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
push edi
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [edi + 0x1245c2d8]
pop edi
test eax, eax
jne 0x5ea35d
pop ecx
jmp 0x5ea36e
add ebx, 0x28
pop ecx
dec ecx
jmp 0x5ea316
mov dword [ebp - 0x18], 1
popal
mov eax, dword [ebp - 0x18]
leave
ret 4
Function at 0x5ea514
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 0x18], 0
jne 0x5ea668
cmp dword [ebp + 0xc], 0
jne 0x5ea668
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [eax + 8]
cmp eax, 0xffffffff
je 0x5ea55b
sub eax, dword [ebp + 0x10]
js 0x5ea668
je 0x5ea668
cmp eax, dword [ebp + 0x14]
jl 0x5ea668
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
cmp word [eax], 0x5a4d
jne 0x5ea668
mov ebx, dword [eax + 0x3c]
add eax, ebx
cmp dword [eax], 0x4550
jne 0x5ea668
mov ebx, dword [eax + 0x50]
push edi
push 4
push 0x1000
push ebx
push 0
call dword [edi + 0x122d211b]
pop edi
test eax, eax
je 0x5ea668
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], ebx
pop ebx
lea eax, [ebp - 0x18]
push edi
push eax
lea eax, [edi + 0x124ae8cb]
push eax
call fcn.005e957c
pop edi
test eax, eax
je 0x5ea668
lea eax, [ebp - 0x18]
push edi
push eax
lea eax, [edi + 0x124ae8cf]
push eax
call fcn.005e957c
pop edi
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 0x3c]
add eax, ebx
mov eax, dword [eax + 0x54]
mov dword [ebp - 0xc], eax
push edi
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
mov esi, dword [esi + 4]
rep movsb byte es:[edi], byte [esi]
pop edi
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov dword [ebp - 4], eax
mov ebx, dword [eax + 0x3c]
add eax, ebx
lea ebx, [eax + 0x18]
movzx ecx, word [eax + 0x14]
add ebx, ecx
movzx ecx, word [eax + 6]
test ecx, ecx
je 0x5ea65b
push ecx
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
add eax, dword [ebp - 8]
test eax, eax
je 0x5ea668
push edi
mov edi, eax
xor eax, eax
push ecx
push edi
rep stosb byte es:[edi], al
pop edi
pop ecx
mov edx, dword [ebx + 0x10]
cmp ecx, edx
jl 0x5ea648
mov ecx, edx
mov esi, dword [ebx + 0x14]
add esi, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
pop edi
add ebx, 0x28
pop ecx
dec ecx
jmp 0x5ea616
push dword [ebp + 8]
call fcn.005eb40a
jmp 0x5ea66f
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
leave
ret 0x14