joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001d67
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x100d4a58]
sub esp, 0x114
test eax, eax
jne 0x10001e85
push esi
push 0x10
pop esi
lea eax, [ebp - 0x114]
push eax
mov dword [0x100d4a58], esi
mov dword [ebp - 0x114], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x104]
sub eax, 0
je 0x10001e75
dec eax
je 0x10001e4b
mov ecx, dword [ebp - 0x110]
cmp ecx, 5
jae 0x10001dca
mov dword [0x100d4a58], esi
jmp 0x10001e7f
mov eax, dword [ebp - 0x10c]
jne 0x10001e0a
test eax, eax
jne 0x10001de5
mov dword [0x100d4a58], 0x20
jmp 0x10001e7f
cmp eax, 1
jne 0x10001df9
mov dword [0x100d4a58], 0x30
jmp 0x10001e7f
cmp eax, 2
jne 0x10001e30
mov dword [0x100d4a58], 0x40
jmp 0x10001e7f
cmp ecx, 6
jne 0x10001e30
test eax, eax
jne 0x10001e1f
mov dword [0x100d4a58], 0x80
jmp 0x10001e7f
cmp eax, 1
jne 0x10001e30
mov dword [0x100d4a58], 0x90
jmp 0x10001e7f
push eax
push ecx
push str.Qt:_Untested_Windows_version__d._d_detected_
call fcn.10001b90
add esp, 0xc
mov dword [0x100d4a58], 0xf0
jmp 0x10001e7f
cmp dword [ebp - 0x10c], 0x5a
jne 0x10001e60
mov dword [0x100d4a58], 4
jmp 0x10001e7f
xor eax, eax
cmp dword [ebp - 0x10c], 0xa
sete al
inc eax
inc eax
mov dword [0x100d4a58], eax
jmp 0x10001e7f
mov dword [0x100d4a58], 1
mov eax, dword [0x100d4a58]
pop esi
leave
ret

Function at 0x1000e103
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x1000e13e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x1000e125
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x1000e136
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x1000e140
inc edi
add eax, 0x28
cmp edi, esi
jb 0x1000e11b
xor eax, eax
pop edi
pop esi
ret

Function at 0x1000e3c7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
ret
Function at 0x1000e3f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.1000e0c3
cmp al, 0xfc
mov word [edx], cs
lea eax, [ebp - 0x40]
push eax
call fcn.1000e0d3
push eax
push esi
push dword [ebp + 8]
call fcn.1000e088
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.1000e0c3
out 0x81, al
aam 0x88
lea eax, [ebp - 0x18]
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.1000e0d3
push eax
push esi
push dword [ebp + 8]
call fcn.1000e088
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.1000e0d3
push eax
push esi
call dword [eax + 0x56]
push dword [ebp + 8]
call fcn.1000e088
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.1000e0d3
push eax
push esi
push dword [ebp + 8]
call fcn.1000e088
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.1000e0c3
sbb sp, word [edi]
js 0x1000e4ce
popfd
jl 0x1000e548
invalid
invalid
Function at 0x1000e72a
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x1000e777
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x1000e772
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x1000e75c
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x1000e764
cmp edx, ebx
jne 0x1000e8b2
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x1000e733
add eax, dword [eax + 4]
jmp 0x1000e720
invalid
mov dword [ebp + 0xc], ebx
jmp 0x1000e782
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1000e79a
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1000e7b8
movzx eax, ax
lea eax, [eax + eax*4]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1000e816
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1000e7fd
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1000e806
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1000e810
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1000e7f2
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x1000e77c
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x1000e863
dec eax
je 0x1000e85a
sub eax, 3
je 0x1000e851
mov dword [ebp - 4], 0x40
jmp 0x1000e880
mov dword [ebp - 4], 4
jmp 0x1000e866
mov dword [ebp - 4], 0x20
jmp 0x1000e866
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x1000e8b2
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x1000e832
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.1000e0c3
cmpsd dword [esi], dword es:[edi]
bound esi, qword [ecx + 0x7b]
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x1000e8be
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000e74a
Capabilities:
Inspect section memory permissions

Disassembly:
loope 0x1000e74b
dec dword [edi]
add byte [eax], al
sldt word [eax]

Function at 0x1000e7a0
Capabilities:
Inspect section memory permissions

Disassembly:
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
or byte [ecx], al
add byte [eax], al
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]

Function at 0x1000e7a9
Capabilities:
Inspect section memory permissions

Disassembly:
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
or byte [ecx], al
add byte [eax], al
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
Function at 0x10010292
Capabilities:
Resolve function by parsing pe exports

Disassembly:
xchg ebp, eax
mov edi, eax
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]

Function at 0x10011526
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edi, edi
push edi
push edi
push ebx
push eax
mov dword [ebp - 8], eax
call esi
add eax, eax
jne 0x1001156d
push ebx
push str.QLocale:_empty_windows_locale_info___d_
call fcn.10001b90
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
mov eax, section..data
xor edx, edx
mov dword [ecx], eax
inc edx
lock xadd dword [eax], edx
mov eax, ecx
jmp 0x10011608
push edi
push eax
lea ecx, [ebp - 4]
call fcn.1000d747
mov eax, dword [ebp - 4]
mov edi, dword [eax + 8]
lea ecx, [ebp - 4]
call fcn.100017ed
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
push eax
push ecx
push ebx
push dword [ebp - 8]
call esi
test eax, eax
jne 0x100115d5
push ebx
push str.QLocale:_empty_windows_locale_info___d_
call fcn.10001b90
mov esi, dword [ebp + 8]
pop ecx
pop ecx
mov eax, section..data
xor ecx, ecx
mov dword [esi], eax
inc ecx
lock xadd dword [eax], ecx
mov eax, dword [ebp - 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x100115d1
push dword [ebp - 4]
call fcn.10001746
pop ecx
mov eax, esi
jmp 0x10011608
lea ecx, [ebp - 4]
call fcn.100017ed
mov eax, dword [ebp - 4]
push 0xffffffffffffffff
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.10003c54
mov eax, dword [ebp - 4]
add esp, 0xc
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10011605
push dword [ebp - 4]
call fcn.10001746
pop ecx
mov eax, dword [ebp + 8]
pop edi
pop esi
leave
ret
Function at 0x10031481
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0x100d4c80
lea ecx, [ebp - 4]
call fcn.100085f8
lea eax, [ebp + 8]
mov esi, 0x100d2f88
push eax
mov ecx, esi
call fcn.1003116e
lea eax, [ebp + 0xc]
push eax
mov ecx, 0x100d2f8c
call fcn.1003116e
xor edi, edi
cmp dword [0x100d4c74], edi
jne 0x100314ff
cmp dword [0x100d4c78], edi
jne 0x100314e9
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0x100d4c78
push 1
mov ecx, esi
mov dword [0x100d4c78], eax
call fcn.100312de
push eax
mov ecx, esi
call fcn.100311cf
push edi
push edi
push 0x10031321
call fcn.1004e166
add esp, 0xc
mov dword [0x100d4c74], eax
jmp 0x1003150b
push dword [0x100d4c78]
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [ebp - 4]
call fcn.10008aec
pop edi
pop esi
leave
ret

Function at 0x10031517
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
call fcn.10030d71
push dword [0x100d2f84]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jne 0x10031612
lea eax, [ebp - 4]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.1000211a
pop ecx
pop ecx
test al, al
je 0x10031582
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov esi, dword [eax + 0x74]
push esi
push dword [0x100d2f84]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov byte [eax + 0x54], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov byte [eax + 0x55], bl
mov ecx, dword [ebp - 4]
call fcn.10030dc7
jmp 0x100315cc
push 0x38
call fcn.100465d6
pop ecx
cmp eax, ebx
je 0x1003159b
push 1
mov ecx, eax
call 0x1000ec48
mov esi, eax
jmp 0x1003159d
xor esi, esi
push esi
push dword [0x100d2f84]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 8
call fcn.100465d6
pop ecx
cmp eax, ebx
je 0x100315c0
push esi
mov ecx, eax
call fcn.1000edce
jmp 0x100315c2
xor eax, eax
mov ecx, esi
mov dword [esi + 4], eax
call fcn.1000edac
cmp dword [0x100d4ae8], ebx
jne 0x100315de
mov eax, dword [esi + 4]
mov dword [0x100d4ae8], eax
jmp 0x10031612
or dword [ebp - 8], 0xffffffff
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push ebx
push ebx
lea eax, [ebp - 8]
push eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push dword [esi + 4]
push dword [ebp - 8]
call fcn.10031481
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10046552
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100d3940]
jne 0x1004655c
repz ret
jmp fcn.1004ee11

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x1004bd73
call fcn.1004bbc2
mov dword [eax], esi
call fcn.1004bbaf
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.10052617
add esp, 0x14
push 0x16
pop eax
jmp 0x1004bdc8
test dword [ebp + 0xc], 0xfffffff9
jne 0x1004bd4f
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1004bda0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1004bbd5
pop ecx
call fcn.1004bbaf
mov eax, dword [eax]
jmp 0x1004bdc8
test al, 0x10
jne 0x1004bdc6
test al, 1
je 0x1004bdc6
test byte [ebp + 0xc], 2
je 0x1004bdc6
call fcn.1004bbc2
mov dword [eax], 5
call fcn.1004bbaf
mov dword [eax], 0xd
jmp 0x1004bd97
xor eax, eax
pop esi
pop ebp
ret

Function at 0x1004bde3
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x1004be14
call fcn.1004bbc2
mov dword [eax], esi
call fcn.1004bbaf
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.10052617
add esp, 0x14
or eax, 0xffffffff
jmp 0x1004be4f
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1004be31
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1004bbd5
pop ecx
jmp 0x1004be0f
test byte [ebp + 0xc], 0x80
je 0x1004be3c
and eax, 0xfffffffe
jmp 0x1004be3f
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x1004be22
xor eax, eax
pop esi
pop ebp
ret
Function at 0x1005869b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1004f11d
and dword [ebp - 4], 0
cmp dword [0x100d57ec], 0
mov ebx, eax
jne 0x1005874c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100587fd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100587fd
push eax
call fcn.1004f0ab
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x100d57ec], eax
call esi
push eax
call fcn.1004f0ab
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x100d57f0], eax
call esi
push eax
call fcn.1004f0ab
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x100d57f4], eax
call esi
push eax
call fcn.1004f0ab
pop ecx
mov dword [0x100d57fc], eax
test eax, eax
je 0x1005874c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1004f0ab
pop ecx
mov dword [0x100d57f8], eax
mov eax, dword [0x100d57f8]
cmp eax, ebx
je 0x100587a4
cmp dword [0x100d57fc], ebx
je 0x100587a4
push eax
call fcn.1004f126
push dword [0x100d57fc]
mov esi, eax
call fcn.1004f126
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100587a4
test edi, edi
je 0x100587a4
call esi
test eax, eax
je 0x1005879b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1005879b
test byte [ebp - 0xc], 1
jne 0x100587a4
or dword [ebp + 0x10], 0x200000
jmp 0x100587dd
mov eax, dword [0x100d57f0]
cmp eax, ebx
je 0x100587dd
push eax
call fcn.1004f126
pop ecx
test eax, eax
je 0x100587dd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100587dd
mov eax, dword [0x100d57f4]
cmp eax, ebx
je 0x100587dd
push eax
call fcn.1004f126
pop ecx
test eax, eax
je 0x100587dd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x100d57ec]
call fcn.1004f126
pop ecx
test eax, eax
je 0x100587fd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100587ff
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4c6e25
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4d13a8
cmp edx, dword [eax]
je 0x4c6e47
add eax, 8
inc ecx
cmp eax, 0x4d1438
jl 0x4c6e38
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4d13a8]
jne 0x4c6f75
mov eax, dword [0x4d6dd4]
cmp eax, 1
je 0x4c6f4f
test eax, eax
jne 0x4c6e78
cmp dword [0x4d12d0], 1
je 0x4c6f4f
cmp edx, 0xfc
je 0x4c6f75
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c6eaf
lea eax, [ebp - 0x1a4]
push 0x4ccd40
push eax
call fcn.004c7810
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c7ca0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c6ef2
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c7ca0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4ccd3c
push edi
call fcn.004c9b70
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4ccd20
push eax
call fcn.004c7810
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c7820
lea eax, [ebp - 0xa0]
push 0x4ccd1c
push eax
call fcn.004c7820
push dword [esi + 0x4d13ac]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c7820
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4cccf4
push eax
call fcn.004c9ae4
add esp, 0x2c
pop edi
jmp 0x4c6f75
lea eax, [ebp + 8]
lea esi, [esi + 0x4d13ac]
push 0
push eax
push dword [esi]
call fcn.004c7ca0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x42e001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0xbd91d4b
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
mov ecx, 0x57c40634
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x1000b36e
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x1000b39d
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x1000b398
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x1000b382
invalid
adc eax, dword [ecx + 0xfffe1]
add byte [ebx + 0x34572bd6], cl
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x1000b38a
cmp edx, ebx
jne 0x1000b4d8
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x1000b359
add eax, dword [eax + 4]
jmp 0x1000b346
mov dword [ebp + 0xc], ebx
jmp 0x1000b3a8
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1000b3c0
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1000b3de
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
add byte [eax], al
invalid
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
inc ebp
invalid
ja 0x1000b43c
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1000b423
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1000b42c
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1000b436
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1000b418
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
push es
jbe 0x1000b3a2
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x1000b489
dec eax
je 0x1000b480
sub eax, 3
je 0x1000b477
mov dword [ebp - 4], 0x40
jmp 0x1000b4a6
mov dword [ebp - 4], 4
jmp 0x1000b48c
mov dword [ebp - 4], 0x20
jmp 0x1000b48c
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x1000b4d8
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x1000b458
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.1000ace9
pushal
aam 0x16
test al, 0xff
jne 0x1000b4e3
push 1
push esi
call edi
mov eax, esi
jmp 0x1000b4e4
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret