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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push str..cached_header
push dword [ebp + 0xc]
call fcn.10004041
pop ecx
pop ecx
push dword [ebp + 0xc]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10002f7d
test al, 0x10
je 0x10002f85
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [esi]
call fcn.10003d1b
mov edi, eax
pop ecx
mov dword [ebp - 0x10], edi
call fcn.10003ff1
xor ebx, ebx
cmp edi, ebx
jne 0x10002fa4
xor eax, eax
jmp 0x100030f5
mov esi, dword [ebp + 8]
add esi, 0x2d8
mov dword [ebp - 8], 0x21
mov ecx, dword [esi]
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10004105
add esp, 0x14
add esi, 8
dec dword [ebp - 8]
jne 0x10002fb4
mov esi, dword [edi]
mov eax, dword [edi + 4]
add eax, esi
cmp esi, eax
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x40], 0xe
mov dword [ebp - 0x3c], 0x18
mov dword [ebp - 0x38], 0x16
mov dword [ebp - 0x34], 0x14
mov dword [ebp - 0x30], 0xc
mov dword [ebp - 0x2c], 9
mov dword [ebp - 0x28], 0x15
mov dword [ebp - 0x24], 0x1c
mov dword [ebp - 0x20], 0x1d
mov dword [ebp - 0x1c], 0x1e
mov dword [ebp - 0x18], 0x1f
mov dword [ebp - 0x14], 0x20
mov dword [ebp - 4], eax
je 0x100030ed
jmp 0x1000303c
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + eax*4 - 0x44]
mov eax, dword [ebp + 8]
lea edi, [eax + ebx*8 + 0x2d4]
mov eax, dword [edi]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x100030b5
mov edx, dword [ebp - 4]
sub edx, esi
cmp ecx, edx
jg 0x100030b5
mov eax, dword [eax]
push esi
call fcn.10004935
test eax, eax
pop ecx
je 0x100030b5
mov eax, dword [edi]
add esi, dword [eax + 4]
cmp esi, dword [ebp - 4]
mov edi, esi
jmp 0x10003093
push 0x100424b8
push edi
call fcn.10004914
test eax, eax
pop ecx
pop ecx
jne 0x10003098
inc edi
cmp edi, dword [ebp - 4]
mov dword [ebp - 0xc], edi
jne 0x1000307e
mov eax, dword [ebp + 8]
sub edi, esi
push esi
mov esi, dword [eax + ebx*8 + 0x2d8]
call fcn.10004095
mov esi, dword [ebp - 0xc]
pop ecx
mov dword [ebp - 0xc], 1
inc dword [ebp - 8]
cmp dword [ebp - 8], 0xd
jb 0x10003042
cmp dword [ebp - 0xc], 0
jne 0x100030c5
inc esi
cmp esi, dword [ebp - 4]
je 0x100030ea
push 0x100424b8
push esi
call fcn.10004914
test eax, eax
pop ecx
pop ecx
jne 0x100030e1
inc esi
cmp esi, dword [ebp - 4]
jne 0x100030ca
cmp esi, dword [ebp - 4]
jne 0x1000303a
mov edi, dword [ebp - 0x10]
call fcn.10003daf
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10003a40
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x1005a7b0], 0
push esi
push edi
mov edx, 0xff
jne 0x10003a7f
xor esi, esi
push 8
mov ecx, esi
pop edi
test cl, 1
je 0x10003a66
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x10003a68
shr ecx, 1
dec edi
jne 0x10003a57
mov edi, esi
xor edi, edx
inc esi
cmp esi, 0x100
mov dword [edi*4 + 0x1005a7b0], ecx
jb 0x10003a52
xor ecx, ecx
cmp dword [esp + 0x10], ecx
jle 0x10003aab
mov esi, dword [esp + 0xc]
movzx esi, byte [ecx + esi]
mov edi, eax
and edi, edx
shr eax, 8
xor esi, edi
xor eax, dword [esi*4 + 0x1005a7b0]
xor eax, 0xff000000
inc ecx
cmp ecx, dword [esp + 0x10]
jl 0x10003a87
pop edi
pop esi
ret

Function at 0x10003ac1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov ecx, dword [eax]
and dword [ebp - 0xc], 0
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 8]
push ebx
push esi
mov esi, dword [eax + 4]
mov dword [ebp - 4], ecx
mov ecx, dword [eax + 0xc]
push edi
mov edi, edx
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 0x10]
add edi, 2
movzx ebx, byte [edi]
xor edx, edx
mov dh, byte [edi - 2]
add edi, 4
mov dl, byte [edi - 5]
shl edx, 8
or edx, ebx
movzx ebx, byte [edi - 3]
shl edx, 8
or edx, ebx
mov ebx, dword [ebp - 0xc]
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x10
mov dword [ebp + ebx*4 - 0x150], edx
jb 0x10003aed
push 0x40
lea edx, [ebp - 0x148]
pop edi
mov ebx, dword [edx + 0x2c]
xor ebx, dword [edx + 0x18]
xor ebx, dword [edx - 8]
xor ebx, dword [edx]
add edx, 4
dec edi
rol ebx, 1
mov dword [edx + 0x34], ebx
jne 0x10003b25
xor edx, edx
cmp edx, 0x14
jae 0x10003b60
mov ebx, dword [ebp - 4]
mov edi, esi
not edi
and edi, dword [ebp - 8]
and ebx, esi
or edi, ebx
add edi, dword [ebp + edx*4 - 0x150]
lea edi, [edi + ecx + 0x5a827999]
jmp 0x10003bb7
cmp edx, 0x28
jae 0x10003b7d
mov edi, dword [ebp - 8]
xor edi, dword [ebp - 4]
xor edi, esi
add edi, dword [ebp + edx*4 - 0x150]
lea edi, [edi + ecx + 0x6ed9eba1]
jmp 0x10003bb7
cmp edx, 0x3c
jae 0x10003ba1
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 4]
or edi, esi
and edi, dword [ebp - 8]
and ebx, esi
or edi, ebx
add edi, dword [ebp + edx*4 - 0x150]
lea edi, [edi + ecx - 0x70e44324]
jmp 0x10003bb7
mov edi, dword [ebp - 8]
xor edi, dword [ebp - 4]
xor edi, esi
add edi, dword [ebp + edx*4 - 0x150]
lea edi, [edi + ecx - 0x359d3e2a]
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
ror esi, 2
mov dword [ebp - 4], esi
mov esi, dword [ebp - 0x10]
mov dword [ebp - 8], ebx
mov ebx, esi
rol ebx, 5
inc edx
add edi, ebx
cmp edx, 0x50
mov dword [ebp - 0x10], edi
jb 0x10003b3d
mov edx, dword [eax]
add edx, edi
mov dword [eax], edx
mov edx, dword [eax + 4]
add edx, esi
mov esi, dword [ebp - 4]
mov dword [eax + 4], edx
mov edx, dword [eax + 8]
add edx, esi
mov esi, dword [ebp - 8]
mov dword [eax + 8], edx
mov edx, dword [eax + 0xc]
add edx, esi
mov dword [eax + 0xc], edx
mov edx, dword [eax + 0x10]
pop edi
add edx, ecx
pop esi
mov dword [eax + 0x10], edx
pop ebx
leave
ret
Function at 0x10004872
Capabilities:
Query environment variable

Disassembly:
push ecx
push ecx
push ebx
push ebp
push edi
push 0
push 0x100425c4
call fcn.10004041
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
pop ecx
pop ecx
push dword [esp + 0x18]
mov dword [esp + 0x10], eax
call ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov edi, eax
test edi, edi
je 0x1000490a
cmp word [edi], 0
push esi
mov esi, edi
je 0x10004902
mov eax, dword [esp + 0x10]
cmp dword [eax + 4], 0
jne 0x10004902
push 0x3d
lea eax, [esi + 2]
call fcn.10004976
mov dword [esp + 0x18], eax
sub eax, esi
sar eax, 1
cmp eax, ebp
pop ecx
jne 0x100048f5
lea eax, [ebp + ebp]
push eax
push esi
push dword [esp + 0x24]
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x100048f5
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
add eax, 2
push eax
call fcn.100040da
pop ecx
push esi
call ebx
lea esi, [esi + eax*2 + 2]
cmp word [esi], 0
jne 0x100048ac
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop esi
mov eax, dword [esp + 0xc]
pop edi
pop ebp
pop ebx
pop ecx
pop ecx
ret

Function at 0x10004bc7
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push edi
xor edi, edi
push 0x206
lea eax, [ebp - 0x206]
push edi
push eax
mov word [ebp - 0x208], di
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
push edi
push edi
push dword [ebp + 8]
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x10004c49
push esi
push 0x104
lea eax, [ebp - 0x208]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
lea eax, [ebp - 0x208]
push edi
push eax
call fcn.10004041
mov esi, eax
mov eax, dword [esi + 4]
cmp eax, edi
pop ecx
pop ecx
je 0x10004c44
mov ecx, dword [esi]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x10004c44
push 0x5c
call fcn.10004230
pop ecx
mov eax, esi
pop esi
jmp 0x10004c56
push edi
push 0x100425c4
call fcn.10004041
pop ecx
pop ecx
pop edi
leave
ret

Function at 0x10006954
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor eax, eax
xor edi, edi
call fcn.10003dfb
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
pop esi
call fcn.10003f87
mov edi, dword [ebp + 8]
push dword [edi]
mov ebx, dword [edi + 4]
mov esi, eax
call fcn.100041c0
mov eax, dword [esi]
mov edx, dword [eax]
pop ecx
pop ecx
push 4
pop ecx
cmp dword [esi + 4], ecx
jbe 0x100069ad
mov eax, dword [esi]
imul edx, edx, 0x3279092d
add edx, 0x54d794f
add eax, ecx
mov ebx, edx
shr ebx, 0x18
xor byte [eax], bl
inc ecx
cmp ecx, dword [esi + 4]
jb 0x10006990
push dword [esi + 4]
push dword [esi]
call fcn.1000478c
pop ecx
pop ecx
mov ebx, eax
call fcn.10004019
mov ecx, dword [ebx + 4]
mov eax, dword [edi + 4]
mov dword [edi + 4], ecx
mov ecx, dword [ebx]
mov dword [ebx + 4], eax
mov eax, dword [edi]
mov dword [edi], ecx
mov esi, ebx
mov dword [ebx], eax
call fcn.10004019
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10006a4c
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.100069e0
pop ecx
mov dword [ebp - 8], eax
or eax, edx
pop ecx
mov dword [ebp - 4], edx
je 0x10006a7f
push 8
or cl, 0xff
lea eax, [ebp - 8]
pop edx
xor byte [eax], cl
inc eax
add cl, 0xf3
dec edx
jne 0x10006a76
push dword [ebp - 8]
movzx eax, byte [ebp + 0xc]
push dword [ebp - 4]
xor ebx, ebx
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x80]
push eax
mov byte [ebp - 0x18], 0x2d
mov byte [ebp - 0x17], 0x25
mov byte [ebp - 0x16], 0x30
mov byte [ebp - 0x15], 0x32
mov byte [ebp - 0x14], 0x58
mov byte [ebp - 0x13], 0x25
mov byte [ebp - 0x12], 0x30
mov byte [ebp - 0x11], 0x38
mov byte [ebp - 0x10], 0x58
mov byte [ebp - 0xf], 0x25
mov byte [ebp - 0xe], 0x30
mov byte [ebp - 0xd], 0x38
mov byte [ebp - 0xc], 0x58
mov byte [ebp - 0xb], bl
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x80]
call fcn.10004296
add esp, 0x20
push 0x64
pop ecx
lea eax, [ebp - 0x80]
mov byte [eax], bl
inc eax
dec ecx
jne 0x10006aef
push 0xe
pop ecx
lea eax, [ebp - 0x18]
mov byte [eax], bl
inc eax
dec ecx
jne 0x10006afb
pop ebx
leave
ret
Function at 0x10006b04
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.100069e0
pop ecx
mov dword [ebp - 0x3c], eax
pop ecx
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x38], edx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push dword [ebp - 0x3c]
movzx eax, word [ebp - 0x3e]
push dword [ebp - 0x38]
xor ebx, ebx
push eax
movzx eax, word [ebp - 0x40]
push eax
movzx eax, word [ebp - 0x42]
push eax
movzx eax, word [ebp - 0x44]
push eax
movzx eax, word [ebp - 0x46]
push eax
movzx eax, word [ebp - 0x4a]
push eax
movzx eax, word [ebp - 0x4c]
push eax
movzx eax, byte [ebp + 0xc]
mov byte [ebp - 0x34], 0x20
mov byte [ebp - 0x33], 0x25
mov byte [ebp - 0x32], 0x30
mov byte [ebp - 0x31], 0x32
mov byte [ebp - 0x30], 0x64
mov byte [ebp - 0x2f], 0x5f
mov byte [ebp - 0x2e], 0x25
mov byte [ebp - 0x2d], 0x30
mov byte [ebp - 0x2c], 0x34
mov byte [ebp - 0x2b], 0x64
mov byte [ebp - 0x2a], 0x2e
mov byte [ebp - 0x29], 0x25
mov byte [ebp - 0x28], 0x30
mov byte [ebp - 0x27], 0x32
mov byte [ebp - 0x26], 0x64
mov byte [ebp - 0x25], 0x2e
mov byte [ebp - 0x24], 0x25
mov byte [ebp - 0x23], 0x30
mov byte [ebp - 0x22], 0x32
mov byte [ebp - 0x21], 0x64
mov byte [ebp - 0x20], 0x5f
mov byte [ebp - 0x1f], 0x25
mov byte [ebp - 0x1e], 0x30
mov byte [ebp - 0x1d], 0x32
mov byte [ebp - 0x1c], 0x64
mov byte [ebp - 0x1b], 0x2e
mov byte [ebp - 0x1a], 0x25
mov byte [ebp - 0x19], 0x30
mov byte [ebp - 0x18], 0x32
mov byte [ebp - 0x17], 0x64
mov byte [ebp - 0x16], 0x2e
mov byte [ebp - 0x15], 0x25
mov byte [ebp - 0x14], 0x30
mov byte [ebp - 0x13], 0x32
mov byte [ebp - 0x12], 0x64
mov byte [ebp - 0x11], 0x2e
mov byte [ebp - 0x10], 0x25
mov byte [ebp - 0xf], 0x30
mov byte [ebp - 0xe], 0x33
mov byte [ebp - 0xd], 0x64
mov byte [ebp - 0xc], 0x5f
mov byte [ebp - 0xb], 0x25
mov byte [ebp - 0xa], 0x30
mov byte [ebp - 9], 0x38
mov byte [ebp - 8], 0x58
mov byte [ebp - 7], 0x25
mov byte [ebp - 6], 0x30
mov byte [ebp - 5], 0x38
mov byte [ebp - 4], 0x58
mov byte [ebp - 3], bl
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xb8]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0xb8]
call fcn.10004296
add esp, 0x50
push 0x64
pop ecx
lea eax, [ebp - 0xb8]
mov byte [eax], bl
inc eax
dec ecx
jne 0x10006c58
push 0x32
pop ecx
lea eax, [ebp - 0x34]
mov byte [eax], bl
inc eax
dec ecx
jne 0x10006c64
pop ebx
leave
ret
Function at 0x10006c6d
Capabilities:
Encode data using xor
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
push 8
pop ebx
xor eax, eax
mov ecx, ebx
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov eax, 0x288
push eax
mov dword [ebp - 8], eax
call sub.MSVCRT.dll_malloc
pop ecx
lea ecx, [ebp - 8]
push ecx
push eax
mov dword [ebp - 4], eax
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x10006cc2
push dword [ebp - 4]
call sub.MSVCRT.dll_free
push dword [ebp - 8]
call sub.MSVCRT.dll_malloc
pop ecx
pop ecx
lea ecx, [ebp - 8]
push ecx
push eax
mov dword [ebp - 4], eax
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x10006d0e
mov edi, dword [ebp - 4]
lea esi, [ebp - 0x2c]
mov dword [ebp - 0xc], ebx
mov eax, esi
sub dword [ebp - 0xc], eax
test edi, edi
je 0x10006d0e
push ebx
lea eax, [edi + 0x194]
push eax
push esi
call sub.MSVCRT.dll_memcpy
mov eax, dword [esi]
add esp, 0xc
or eax, dword [esi + 4]
je 0x10006d00
or cl, 0xff
mov eax, esi
mov edx, ebx
xor byte [eax], cl
inc eax
add cl, 0xf3
dec edx
jne 0x10006cf7
mov eax, dword [ebp - 0xc]
mov edi, dword [edi]
add esi, ebx
add eax, esi
cmp eax, 0x20
jbe 0x10006cd4
push dword [ebp - 4]
call sub.MSVCRT.dll_free
mov edi, ebx
lea ebx, [ebp - 0x2c]
pop ecx
sub ebx, 8
lea eax, [ebx + edi]
push 8
push eax
call fcn.1000478c
mov esi, eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push dword [esi]
mov eax, 0x100425e4
push dword [ebp + 8]
call fcn.10004296
add esp, 0x28
call fcn.10004019
add edi, 8
cmp edi, 0x20
jbe 0x10006d1f
push 0x20
pop ecx
pop edi
pop esi
lea eax, [ebp - 0x2c]
pop ebx
mov byte [eax], 0
inc eax
dec ecx
jne 0x10006d5c
leave
ret
Function at 0x10006d65
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str.0002
call fcn.1000405d
mov edi, eax
push edi
call fcn.10006c6d
add esp, 0x24
push 0x65
pop eax
mov esi, 0x100425c4
push esi
push 0x28
push 2
push edi
mov word [ebp - 0x38], 0x4d
mov word [ebp - 0x36], 0x69
mov word [ebp - 0x34], 0x63
mov word [ebp - 0x32], 0x72
mov word [ebp - 0x30], 0x6f
mov word [ebp - 0x2e], 0x73
mov word [ebp - 0x2c], 0x6f
mov word [ebp - 0x2a], 0x66
mov word [ebp - 0x28], 0x74
mov word [ebp - 0x26], 0x5c
mov word [ebp - 0x24], 0x53
mov word [ebp - 0x22], ax
mov word [ebp - 0x20], 0x61
mov word [ebp - 0x1e], 0x72
mov word [ebp - 0x1c], 0x63
mov word [ebp - 0x1a], 0x68
mov word [ebp - 0x18], bx
mov word [ebp - 0x14], 0x47
mov word [ebp - 0x12], 0x61
mov word [ebp - 0x10], 0x6d
mov word [ebp - 0xe], ax
mov word [ebp - 0xc], 0x74
mov word [ebp - 0xa], 0x72
mov word [ebp - 8], ax
mov word [ebp - 6], ax
mov word [ebp - 4], bx
call fcn.10006a4c
lea eax, [ebp - 0x38]
push eax
push 0x23
push 3
push edi
call fcn.10006a4c
lea eax, [ebp - 0x14]
push eax
push 0x23
push 4
push edi
call fcn.10006a4c
push esi
push 0x1a
push 5
push edi
call fcn.10006a4c
add esp, 0x40
push 0x22
pop ecx
lea eax, [ebp - 0x38]
mov byte [eax], bl
inc eax
dec ecx
jne 0x10006e5f
push 0x12
pop ecx
lea eax, [ebp - 0x14]
mov byte [eax], bl
inc eax
dec ecx
jne 0x10006e6b
push edi
call fcn.10006954
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001432d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 0xc]
push eax
mov byte [ebp - 0xc], 0x6b
mov byte [ebp - 0xb], 0x65
mov byte [ebp - 0xa], 0x72
mov byte [ebp - 9], 0x6e
mov byte [ebp - 8], 0x65
mov byte [ebp - 7], 0x6c
mov byte [ebp - 6], 0x33
mov byte [ebp - 5], 0x32
mov byte [ebp - 4], 0
mov byte [ebp - 0x1c], 0x4c
mov byte [ebp - 0x1b], 0x6f
mov byte [ebp - 0x1a], 0x61
mov byte [ebp - 0x19], 0x64
mov byte [ebp - 0x18], 0x4c
mov byte [ebp - 0x17], 0x69
mov byte [ebp - 0x16], 0x62
mov byte [ebp - 0x15], 0x72
mov byte [ebp - 0x14], 0x61
mov byte [ebp - 0x13], 0x72
mov byte [ebp - 0x12], 0x79
mov byte [ebp - 0x11], 0x57
mov byte [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x100143a6
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x100143a8
xor eax, eax
push 9
pop edx
lea ecx, [ebp - 0xc]
mov byte [ecx], 0
inc ecx
dec edx
jne 0x100143ae
push 0xd
pop edx
lea ecx, [ebp - 0x1c]
mov byte [ecx], 0
inc ecx
dec edx
jne 0x100143bb
test eax, eax
je 0x100143cd
push dword [ebp + 8]
call eax
leave
ret
xor eax, eax
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x1c
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x30]
push ebx
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call sub.MSVCRT.dll_memset
mov ecx, dword [ebp - 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualQuery]
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x30]
add ecx, eax
push ecx
call esi
test eax, eax
je 0x10014946
push edi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x1001492c
cmp dword [ebp - 0x1c], 0x20
jne 0x1001492c
cmp dword [ebp - 0x18], 0x1000000
jne 0x1001492c
cmp dword [ebp - 4], eax
je 0x100148c0
xor ebx, ebx
cmp eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
sete bl
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
add eax, edi
mov dword [ebp - 0x10], eax
jmp 0x10014928
lea eax, [edi + 0x40]
cmp eax, dword [ebp - 0x10]
ja 0x1001492c
push 0x40
push dword [ebp + 8]
push edi
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x10014927
lea eax, [ebp - 0x14]
push eax
push 0x40
push dword [ebp - 0x24]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10014927
push 0x40
push dword [ebp + 0xc]
push edi
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 8], 1
push dword [ebp - 0x24]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor ebx, ebx
inc edi
test ebx, ebx
jne 0x100148cd
mov ecx, dword [ebp - 0x30]
push 0x1c
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x24]
add eax, ecx
push eax
call esi
test eax, eax
jne 0x10014892
pop edi
mov eax, dword [ebp - 8]
pop esi
pop ebx
leave
ret
Function at 0x1001494d
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push esi
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x1c
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x38]
push esi
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call sub.MSVCRT.dll_memset
mov ecx, dword [ebp - 0x2c]
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x38]
add ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10014a90
push edi
jmp 0x1001499a
xor esi, esi
mov eax, dword [ebp - 0x34]
cmp eax, esi
je 0x10014a72
cmp dword [ebp - 0x24], 0x20
jne 0x10014a72
cmp dword [ebp - 0x20], 0x1000000
jne 0x10014a72
cmp dword [ebp - 0xc], eax
je 0x100149cf
xor ecx, ecx
cmp eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
sete cl
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
add ecx, eax
cmp dword [ebp - 4], esi
mov dword [ebp - 0x18], ecx
je 0x10014a75
mov esi, eax
lea ecx, [eax + 0x40]
sub esi, ebx
mov dword [ebp - 8], ecx
add esi, 0x3c
jmp 0x100149f5
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x18]
cmp dword [ebp - 8], ecx
ja 0x10014a75
push 0x40
push dword [ebp + 8]
lea edi, [ebx + esi - 0x3c]
push edi
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x10014a68
lea eax, [ebp - 0x1c]
push eax
push 0x40
push dword [ebp - 0x2c]
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10014a68
mov eax, dword [ebp + 0xc]
sub eax, edi
lea eax, [eax + ebx - 0x40]
push ebx
mov dword [esi], eax
lea eax, [esi + 4]
push 0x90
push eax
mov byte [esi - 1], 0xe8
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x24]
mov dword [ebp - 0x10], 1
push dword [ebp - 0x2c]
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
and dword [ebp - 4], 0
inc dword [ebp - 8]
inc esi
cmp dword [ebp - 4], 0
jne 0x100149f2
mov eax, dword [ebp - 0x38]
push 0x1c
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [ebp - 0x2c]
add ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10014998
pop edi
mov eax, dword [ebp - 0x10]
pop esi
leave
ret
Function at 0x10014a96
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
xor eax, eax
push 0x1c
push eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
call sub.MSVCRT.dll_memset
mov ecx, dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualQuery]
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x28]
add ecx, eax
push ecx
call esi
test eax, eax
je 0x10014b4b
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10014b35
cmp dword [ebp - 0x14], 0x20
je 0x10014ae9
cmp dword [ebp - 0x14], 0x10
jne 0x10014b35
cmp dword [ebp - 0x10], 0x1000000
jne 0x10014b35
cmp dword [ebp - 4], eax
je 0x10014b35
cmp eax, edi
mov dword [ebp - 4], eax
ja 0x10014b35
mov ecx, dword [ebp - 0x1c]
add eax, ecx
lea edx, [edi + 4]
cmp edx, eax
ja 0x10014b35
lea eax, [ebp - 0xc]
push eax
push 0x40
push ecx
push dword [ebp - 0x28]
call ebx
test eax, eax
je 0x10014b35
mov eax, dword [ebp + 8]
mov dword [edi], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], 1
push dword [ebp - 0x1c]
push dword [ebp - 0x28]
call ebx
mov ecx, dword [ebp - 0x1c]
push 0x1c
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x28]
add ecx, eax
push ecx
call esi
test eax, eax
jne 0x10014ad6
pop ebx
mov eax, dword [ebp - 8]
pop esi
leave
ret