joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10017ef0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020458
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1002a008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10017f26
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10017fd6
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.10018be0
test al, al
je 0x10017f7f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10017fc2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10017fb8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10017fb8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001ca39
mov esp, ebp
pop ebp
ret
Function at 0x100191c0
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x1002a008]
xor eax, esp
mov dword [esp + 4], eax
mov eax, dword [ecx]
push esi
push edi
mov edi, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x10019225
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10019200
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10019225
mov eax, dword [esp + 8]
xor ecx, ecx
add ecx, esi
mov dword [edi], ecx
adc eax, 0
mov dword [edi + 4], eax
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.1001ca39
add esp, 8
ret 4
mov ecx, dword [esp + 0xc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.1001ca39
add esp, 8
ret 4

Function at 0x1001a340
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020960
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1002a008]
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
mov esi, dword [edi]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], ecx
test esi, esi
je 0x1001a47f
cmp byte [esi + 0x54], 0
je 0x1001a47f
add esi, 0x1c
xor bl, bl
mov dword [ebp - 0x3c], esi
mov byte [ebp - 0x38], bl
test esi, esi
je 0x1001a3c0
mov eax, dword [esi]
test eax, eax
je 0x1001a3bd
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1001a3b4
cmp eax, 0x80
je 0x1001a3b4
xor bl, bl
jmp 0x1001a3ba
mov byte [esi + 4], 1
mov bl, 1
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 0x38], bl
push ecx
mov edx, ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.100171f0
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [edi]
cmp dword [eax + 0x14], 8
jb 0x1001a3f7
mov eax, dword [eax]
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1001a445
push 2
push 0
push 0
push edi
mov dword [ebp - 0x2c], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.100117a0
mov dword [ebp - 4], 2
test esi, esi
je 0x1001a471
test bl, bl
je 0x1001a471
mov eax, dword [esi]
test eax, eax
je 0x1001a46d
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esi + 4], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xffffffff
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.1001ca39
mov esp, ebp
pop ebp
ret 4
Function at 0x1001a730
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100209a0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1002a008]
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
mov eax, dword [edi]
mov ebx, dword [ebp + 8]
test eax, eax
je 0x1001a773
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
push 0x2c
mov word [edi + 4], 0
mov dword [ebp - 0x14], 0
call fcn.1001ca4a
mov esi, eax
mov dword [ebp - 0x1c], 0
add esp, 4
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], 0
mov dword [esi], 0
lea eax, [esi + 0x14]
mov dword [esi + 4], 0
mov dword [esi + 8], 0xc
mov dword [esi + 0xc], eax
xor eax, eax
push 0xc
push str.Advapi32.dll
mov dword [esi + 0x10], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.10006100
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
call fcn.10015ac0
mov ecx, eax
call fcn.10015b80
mov dword [esi + 0x28], eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x1001a83e
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001a834
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001a834
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001ca7a
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
sub esp, 8
mov word [ebp - 0x2c], ax
lea eax, [esi + 0x14]
mov dword [ebp - 0x18], 7
lea ecx, [ebp - 0x14]
push eax
call fcn.1001c810
mov esi, dword [ebp - 0x14]
mov dword [esi], eax
mov dword [ebp - 4], 1
cmp dword [esi], 0
je 0x1001a877
lea eax, [esi + 8]
jmp 0x1001a879
xor eax, eax
cmp dword [ebx + 0x10], 0
je 0x1001a889
cmp dword [ebx + 0x14], 8
jb 0x1001a88b
mov ebx, dword [ebx]
jmp 0x1001a88b
xor ebx, ebx
push ebx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
test eax, eax
je 0x1001a8ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1001a8ac
mov byte [edi + 5], 1
cmp dword [edi], 0
setne bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x1001a8d5
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1001a8ea
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi + 4], 0
push 0x2c
push esi
call fcn.1001ca7a
add esp, 8
mov dword [ebp - 0x14], 0
mov al, bl
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.1001ca39
mov esp, ebp
pop ebp
ret 4
Function at 0x1001ad60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020ae5
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x1002a008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x1050
call fcn.1001ca4a
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
push 0x1050
push 0
push esi
call sub.VCRUNTIME140.dll_memset
lea ecx, [esi + 0x44]
mov dword [esi], 0
mov eax, ecx
mov dword [esi + 4], 0
neg eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
lea edx, [esi + 0x1044]
mov dword [esi + 0x10], 0
and eax, 3
mov dword [esi + 0x14], 0
add esp, 0x10
mov dword [esi + 0x18], 0
add eax, ecx
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [ebp - 0x14], esi
mov dword [edx], 0
mov dword [esi + 0x1048], 0
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edx
mov byte [ebp - 4], 2
mov dword [esi + 0x104c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov dword [edi], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001c060
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, ecx
mov esi, dword [edi]
movzx eax, byte [esi]
cmp byte [eax + 0x100251a0], 0
je 0x1001c08e
nop word [eax + eax]
movzx eax, byte [esi + 1]
inc esi
cmp byte [eax + 0x100251a0], 0
jne 0x1001c080
mov dword [edi], esi
mov ecx, esi
mov dl, byte [esi]
movzx eax, dl
mov dword [esp + 8], ecx
cmp byte [eax + 0x10024fa0], 0
je 0x1001c228
nop dword [eax + eax]
cmp dl, 0x26
jne case.0x1001c0d0.36
movsx eax, byte [esi + 1]
add eax, 0xffffffdd
cmp eax, 0x4e
ja case.0x1001c0d0.36
movzx eax, byte [eax + 0x1001c268]
jmp dword [eax*4 + 0x1001c250]
mov al, byte [esi + 2]
cmp al, 0x6d
jne 0x1001c0fe
cmp byte [esi + 3], 0x70
jne case.0x1001c0d0.36
cmp byte [esi + 4], 0x3b
jne case.0x1001c0d0.36
mov byte [ecx], 0x26
inc ecx
add esi, 5
jmp 0x1001c212
cmp al, 0x70
jne case.0x1001c0d0.36
cmp byte [esi + 3], 0x6f
jne case.0x1001c0d0.36
cmp byte [esi + 4], 0x73
jne case.0x1001c0d0.36
cmp byte [esi + 5], 0x3b
jne case.0x1001c0d0.36
mov byte [ecx], 0x27
inc ecx
add esi, 6
jmp 0x1001c212
cmp byte [esi + 2], 0x75
jne case.0x1001c0d0.36
cmp byte [esi + 3], 0x6f
jne case.0x1001c0d0.36
cmp byte [esi + 4], 0x74
jne case.0x1001c0d0.36
cmp byte [esi + 5], 0x3b
jne case.0x1001c0d0.36
mov byte [ecx], 0x22
inc ecx
add esi, 6
jmp 0x1001c212
cmp byte [esi + 2], 0x74
jne case.0x1001c0d0.36
cmp byte [esi + 3], 0x3b
jne case.0x1001c0d0.36
mov byte [ecx], 0x3e
inc ecx
add esi, 4
jmp 0x1001c212
cmp byte [esi + 2], 0x74
jne case.0x1001c0d0.36
cmp byte [esi + 3], 0x3b
jne case.0x1001c0d0.36
mov byte [ecx], 0x3c
inc ecx
add esi, 4
jmp 0x1001c212
mov cl, byte [esi + 2]
xor edx, edx
cmp cl, 0x78
jne 0x1001c1d0
movzx eax, byte [esi + 3]
add esi, 3
mov al, byte [eax + 0x10024ba0]
cmp al, 0xff
je 0x1001c1f7
inc esi
movzx eax, al
shl edx, 4
add edx, eax
movzx eax, byte [esi]
mov al, byte [eax + 0x10024ba0]
cmp al, 0xff
jne 0x1001c1b8
jmp 0x1001c1f7
movzx eax, cl
add esi, 2
mov al, byte [eax + 0x10024ba0]
cmp al, 0xff
je 0x1001c1f7
movzx eax, al
lea ecx, [edx + edx*4]
inc esi
lea edx, [eax + ecx*2]
movzx eax, byte [esi]
mov al, byte [eax + 0x10024ba0]
cmp al, 0xff
jne 0x1001c1e0
lea ecx, [esp + 8]
call fcn.1001c2c0
cmp byte [esi], 0x3b
jne 0x1001c232
mov ecx, dword [esp + 8]
inc esi
jmp 0x1001c216
mov al, byte [esi]
mov byte [ecx], al
inc ecx
inc esi
mov dword [esp + 8], ecx
mov dl, byte [esi]
movzx eax, dl
cmp byte [eax + 0x10024fa0], 0
jne 0x1001c0b0
mov dword [edi], esi
mov eax, ecx
pop edi
pop esi
add esp, 0x18
ret
push esi
push str.expected__
lea ecx, [esp + 0x14]
call fcn.1001aa40
push 0x10028dd4
lea eax, [esp + 0x10]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
popfd
rol dword [ecx], 16
xlatb
rol byte [ecx], 16
rol dword fs:[ecx], 0x10
test cl, al
add dword [eax], edx
xor cl, al
add dword [eax], edx
or al, 0xc2
add dword [eax], edx
add byte [0x5050505], al
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 84215041
add eax, 84214277
add eax, 84214533
add eax, -859044859
int3
Function at 0x1001c810
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10028be0
push 0x1001d444
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1002a008]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], 0
xor esi, esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x2c], esi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x20], 0x100
mov eax, dword [ecx]
mov edi, dword [eax + 0x28]
mov dword [ebp - 0x40], edi
test edi, edi
jne 0x1001c879
xor eax, eax
jmp 0x1001c9ef
mov dword [ebp - 4], ebx
push str.InitializeSecurityDescriptor
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001c9ba
push 1
push dword [ebp - 0x34]
call eax
test eax, eax
je 0x1001c9ba
push str.AllocateAndInitializeSid
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001c9ba
lea ecx, [ebp - 0x28]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0x24]
push ecx
call eax
test eax, eax
je 0x1001c9ba
push str.GetLengthSid
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001c9ba
push dword [ebp - 0x28]
call eax
add eax, 0x10
mov dword [ebp - 0x30], eax
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x1001c9ba
push str.InitializeAcl
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001c9ba
push 2
push dword [ebp - 0x30]
push esi
call eax
test eax, eax
je 0x1001c9ba
push str.AddAccessAllowedAce
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001c9ba
push dword [ebp - 0x28]
push 0x10000000
push 2
push esi
call eax
test eax, eax
je 0x1001c9ba
push str.SetSecurityDescriptorDacl
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1001c9ba
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x1001c9a3
push 0
push ecx
push 1
push dword [ebp - 0x34]
call eax
test eax, eax
je 0x1001c990
mov ebx, 1
mov dword [ebp - 0x38], ebx
cmp dword [ebp - 0x2c], 0
je 0x1001c9a0
jmp 0x1001c9ba
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x30]
push 0
push esi
push 1
push dword [ebp - 0x34]
call eax
mov ecx, 1
test eax, eax
cmovne ebx, ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.1001ca16
test ebx, ebx
jne 0x1001c9ed
test esi, esi
je 0x1001c9df
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor esi, esi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x1001c9ed
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1001ca39
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4024a3
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00402653
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x4025a1
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x402544
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x402587
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x40255b
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x402576
test al, 0x40
je 0x40256d
mov ecx, dword [edi + 0x20]
jmp 0x402574
test al, 0x80
je 0x402587
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x402587
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x402513
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x42bd0b
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp eax, 0x8000
jg 0x42be25
je 0x42be1c
cmp eax, 0x80
jg 0x42bda2
je 0x42bd99
cmp eax, 8
jg 0x42bd6b
je 0x42bd62
cmp eax, 0x80000000
je 0x42bd59
cmp eax, 2
je 0x42bd50
cmp eax, 4
jne 0x42bf08
mov eax, 2
pop ebp
ret 4
mov eax, 1
pop ebp
ret 4
mov eax, 0x1f
pop ebp
ret 4
mov eax, 3
pop ebp
ret 4
cmp eax, 0x10
je 0x42bd90
cmp eax, 0x20
je 0x42bd87
cmp eax, 0x40
jne 0x42bf08
mov eax, 6
pop ebp
ret 4
mov eax, 5
pop ebp
ret 4
mov eax, 4
pop ebp
ret 4
mov eax, 7
pop ebp
ret 4
cmp eax, 0x800
jg 0x42bde8
je 0x42bddf
cmp eax, 0x100
je 0x42bdd6
cmp eax, 0x200
je 0x42bdcd
cmp eax, 0x400
jne 0x42bf08
mov eax, 0xa
pop ebp
ret 4
mov eax, 9
pop ebp
ret 4
mov eax, 8
pop ebp
ret 4
mov eax, 0xb
pop ebp
ret 4
cmp eax, 0x1000
je 0x42be13
cmp eax, 0x2000
je 0x42be0a
cmp eax, 0x4000
jne 0x42bf08
mov eax, 0xe
pop ebp
ret 4
mov eax, 0xd
pop ebp
ret 4
mov eax, 0xc
pop ebp
ret 4
mov eax, 0xf
pop ebp
ret 4
cmp eax, 0x800000
jg 0x42beb1
je 0x42bea8
cmp eax, 0x80000
jg 0x42be78
je 0x42be6f
cmp eax, 0x10000
je 0x42be66
cmp eax, 0x20000
je 0x42be5d
cmp eax, 0x40000
jne 0x42bf08
mov eax, 0x12
pop ebp
ret 4
mov eax, 0x11
pop ebp
ret 4
mov eax, 0x10
pop ebp
ret 4
mov eax, 0x13
pop ebp
ret 4
cmp eax, 0x100000
je 0x42be9f
cmp eax, 0x200000
je 0x42be96
cmp eax, 0x400000
jne 0x42bf08
mov eax, 0x16
pop ebp
ret 4
mov eax, 0x15
pop ebp
ret 4
mov eax, 0x14
pop ebp
ret 4
mov eax, 0x17
pop ebp
ret 4
cmp eax, 0x8000000
jg 0x42bef3
je 0x42beea
cmp eax, 0x1000000
je 0x42bee1
cmp eax, 0x2000000
je 0x42bed8
cmp eax, 0x4000000
jne 0x42bf08
mov eax, 0x1a
pop ebp
ret 4
mov eax, 0x19
pop ebp
ret 4
mov eax, 0x18
pop ebp
ret 4
mov eax, 0x1b
pop ebp
ret 4
cmp eax, 0x10000000
je 0x42bf20
cmp eax, 0x20000000
je 0x42bf17
cmp eax, 0x40000000
je 0x42bf0e
xor eax, eax
pop ebp
ret 4
mov eax, 0x1e
pop ebp
ret 4
mov eax, 0x1d
pop ebp
ret 4
mov eax, 0x1c
pop ebp
ret 4
Function at 0x43a1a0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0043a350
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x43a29e
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x43a241
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x43a284
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x43a258
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x43a273
test al, 0x40
je 0x43a26a
mov ecx, dword [edi + 0x20]
jmp 0x43a271
test al, 0x80
je 0x43a284
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x43a284
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x43a210
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x43ef1c
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp eax, 0x8000
jg 0x43f036
je 0x43f02d
cmp eax, 0x80
jg 0x43efb3
je 0x43efaa
cmp eax, 8
jg 0x43ef7c
je 0x43ef73
cmp eax, 0x80000000
je 0x43ef6a
cmp eax, 2
je 0x43ef61
cmp eax, 4
jne 0x43f119
mov eax, 2
pop ebp
ret 4
mov eax, 1
pop ebp
ret 4
mov eax, 0x1f
pop ebp
ret 4
mov eax, 3
pop ebp
ret 4
cmp eax, 0x10
je 0x43efa1
cmp eax, 0x20
je 0x43ef98
cmp eax, 0x40
jne 0x43f119
mov eax, 6
pop ebp
ret 4
mov eax, 5
pop ebp
ret 4
mov eax, 4
pop ebp
ret 4
mov eax, 7
pop ebp
ret 4
cmp eax, 0x800
jg 0x43eff9
je 0x43eff0
cmp eax, 0x100
je 0x43efe7
cmp eax, 0x200
je 0x43efde
cmp eax, 0x400
jne 0x43f119
mov eax, 0xa
pop ebp
ret 4
mov eax, 9
pop ebp
ret 4
mov eax, 8
pop ebp
ret 4
mov eax, 0xb
pop ebp
ret 4
cmp eax, 0x1000
je 0x43f024
cmp eax, 0x2000
je 0x43f01b
cmp eax, 0x4000
jne 0x43f119
mov eax, 0xe
pop ebp
ret 4
mov eax, 0xd
pop ebp
ret 4
mov eax, 0xc
pop ebp
ret 4
mov eax, 0xf
pop ebp
ret 4
cmp eax, 0x800000
jg 0x43f0c2
je 0x43f0b9
cmp eax, 0x80000
jg 0x43f089
je 0x43f080
cmp eax, 0x10000
je 0x43f077
cmp eax, 0x20000
je 0x43f06e
cmp eax, 0x40000
jne 0x43f119
mov eax, 0x12
pop ebp
ret 4
mov eax, 0x11
pop ebp
ret 4
mov eax, 0x10
pop ebp
ret 4
mov eax, 0x13
pop ebp
ret 4
cmp eax, 0x100000
je 0x43f0b0
cmp eax, 0x200000
je 0x43f0a7
cmp eax, 0x400000
jne 0x43f119
mov eax, 0x16
pop ebp
ret 4
mov eax, 0x15
pop ebp
ret 4
mov eax, 0x14
pop ebp
ret 4
mov eax, 0x17
pop ebp
ret 4
cmp eax, 0x8000000
jg 0x43f104
je 0x43f0fb
cmp eax, 0x1000000
je 0x43f0f2
cmp eax, 0x2000000
je 0x43f0e9
cmp eax, 0x4000000
jne 0x43f119
mov eax, 0x1a
pop ebp
ret 4
mov eax, 0x19
pop ebp
ret 4
mov eax, 0x18
pop ebp
ret 4
mov eax, 0x1b
pop ebp
ret 4
cmp eax, 0x10000000
je 0x43f131
cmp eax, 0x20000000
je 0x43f128
cmp eax, 0x40000000
je 0x43f11f
xor eax, eax
pop ebp
ret 4
mov eax, 0x1e
pop ebp
ret 4
mov eax, 0x1d
pop ebp
ret 4
mov eax, 0x1c
pop ebp
ret 4