joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c7b10
Capabilities:
Parse pe header

Disassembly:
mov al, byte [esp + 4]
movsx ecx, al
add ecx, 0xffffff9f
cmp ecx, 0x19
ja case.default.0x4c7b1f
jmp dword [ecx*4 + 0x4c7b74]
mov al, 0x41
ret
mov al, 0x42
ret
mov al, 0x43
ret
mov al, 0x44
ret
mov al, 0x45
ret
mov al, 0x46
ret
mov al, 0x47
ret
mov al, 0x48
ret
mov al, 0x49
ret
mov al, 0x4a
ret
mov al, 0x4b
ret
mov al, 0x4c
ret
mov al, 0x4d
ret
mov al, 0x4e
ret
mov al, 0x4f
ret
mov al, 0x50
ret
mov al, 0x51
ret
mov al, 0x52
ret
mov al, 0x53
ret
mov al, 0x54
ret
mov al, 0x55
ret
mov al, 0x56
ret
mov al, 0x57
ret
mov al, 0x58
ret
mov al, 0x59
ret
mov al, 0x5a
ret

Function at 0x4c7d00
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x5b2ee4]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push eax
call fcn.004983eb
add esp, 4
test eax, eax
mov byte [esp], 0
je 0x4c7d65
push 0x104
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp byte [esp], 0
je 0x4c7d65
lea edx, [esp]
push edx
call dword [0x5b45ac]
add esp, 4
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0047e001
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor ecx, esp
xor eax, eax
call fcn.0047e001
add esp, 0x108
ret
jmp 0x4c7d00

Function at 0x4c7d80
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x5b2ee4]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push eax
call fcn.004983eb
add esp, 4
test eax, eax
mov byte [esp], 0
je 0x4c7d65
push 0x104
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp byte [esp], 0
je 0x4c7d65
lea edx, [esp]
push edx
call dword [0x5b45ac]
add esp, 4
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0047e001
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor ecx, esp
xor eax, eax
call fcn.0047e001
add esp, 0x108
ret
jmp 0x4c7d00

Function at 0x4ca800
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x50cc00
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
jne 0x50cc11
xor eax, eax
jmp 0x50cd8b
push 0x48
mov eax, dword [ebp + 8]
push eax
call fcn.004d9d90
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x50cc2f
xor eax, eax
jmp 0x50cd8b
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov al, byte [edx + 5]
mov byte [ecx + 5], al
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0050c7f0
add esp, 8
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0050c950
add esp, 8
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0050c660
add esp, 8
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0050c7f0
add esp, 8
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0050c660
add esp, 8
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0050c7f0
add esp, 8
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [ecx + 4]
mov byte [eax + 4], dl
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x20]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0050cc00
add esp, 8
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x20], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x2c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0050c660
add esp, 8
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x30]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0050c660
add esp, 8
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x30], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], 0xffffffff
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], 0xffffffff
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov al, byte [edx + 6]
mov byte [ecx + 6], al
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov al, byte [edx + 7]
mov byte [ecx + 7], al
mov ecx, dword [ebp - 4]
mov byte [ecx + 8], 0
mov edx, dword [ebp - 4]
mov byte [edx + 9], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x28], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x3c], 0xffffffff
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], 0xffffffff
mov eax, dword [ebp - 4]
mov dword [eax + 0x44], 0xffffffff
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x5255e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x564c48
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x5b2ee4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.0052cad0
mov edx, dword [esp + 0x40]
push edx
lea eax, [esp + 0x10]
push eax
mov ecx, esi
mov dword [esp + 0x38], 0
call fcn.00525280
lea ecx, [esp + 0xc]
mov bl, al
mov dword [esp + 0x30], 0xffffffff
call fcn.0052cd20
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret 0xc

Function at 0x52e640
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x52e65a
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x52e65a
mov edx, dword [esp + 8]
push edx
push ecx
call eax
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x53e690
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x53e6bf
push esi
call fcn.0053ee00
add esp, 4
cmp byte [esi + 0x40], 0
je 0x53e6b8
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x53e73a
mov eax, dword [esi + 0x1a0]
cmp byte [eax + 0x10], 0
je 0x53e72a
mov eax, dword [esi + 8]
test eax, eax
je 0x53e6e4
mov ecx, dword [eax]
push esi
call ecx
add esp, 4
mov edx, dword [esi + 0x1a0]
mov eax, dword [edx]
push esi
call eax
add esp, 4
test eax, eax
je 0x53e726
cmp eax, 2
je 0x53e72a
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x53e6d5
cmp eax, 3
je 0x53e70c
cmp eax, 1
jne 0x53e6d5
add dword [ecx + 4], 1
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
jl 0x53e6d5
mov edx, dword [esi + 0x120]
add dword [eax + 8], edx
jmp 0x53e6d5
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
call fcn.0053e520
pop esi
ret
cmp eax, 0xcc
je 0x53e75c
mov ecx, dword [esi]
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call edx
add esp, 4
call fcn.0053e520
pop esi
ret

Function at 0x548060
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x14
push esi
push edi
mov edi, dword [esp + 0x20]
cmp dword [edi + 0x4c], 1
mov esi, dword [edi + 0x1b8]
mov dword [esp + 0x18], esi
jne 0x548087
mov dword [esp + 8], 0x1fe
mov byte [esi + 0x1c], 1
jmp 0x548093
mov dword [esp + 8], 0
mov byte [esi + 0x1c], 0
mov ecx, dword [edi + 0x64]
mov edx, dword [esp + 8]
mov eax, dword [edi + 4]
mov eax, dword [eax + 8]
push ecx
add edx, 0x100
push edx
push 1
push edi
call eax
xor ecx, ecx
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
add esp, 0x10
cmp dword [edi + 0x64], ecx
mov dword [esp + 0xc], ecx
jle 0x54819f
push ebx
lea edx, [esi + 0x20]
push ebp
mov dword [esp + 0x18], edx
jmp 0x5480dc
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebp, dword [edx]
cdq
idiv ebp
cmp dword [esp + 0x10], 0
mov dword [esp + 0x1c], eax
je 0x5480fd
mov eax, dword [esi + 0x18]
add dword [eax + ecx*4], 0xff
lea eax, [eax + ecx*4]
mov edx, dword [esi + 0x18]
mov edi, dword [edx + ecx*4]
add ebp, 0xffffffff
mov ecx, ebp
xor eax, eax
xor ebx, ebx
call fcn.00547ed0
mov ecx, eax
xor esi, esi
cmp esi, ecx
jle 0x548132
lea esp, [esp]
add ebx, 1
mov ecx, ebp
mov eax, ebx
call fcn.00547ed0
mov ecx, eax
cmp esi, ecx
jg 0x548120
mov al, byte [esp + 0x1c]
imul bl
mov byte [esi + edi], al
add esi, 1
cmp esi, 0xff
jle 0x548115
cmp dword [esp + 0x10], 0
je 0x548180
mov eax, 1
lea ecx, [edi - 1]
jmp 0x548160
movzx edx, byte [edi]
mov byte [ecx], dl
movzx edx, byte [edi + 0xff]
mov byte [edi + eax + 0xff], dl
add eax, 1
sub ecx, 1
cmp eax, 0xff
jle 0x548160
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
add dword [esp + 0x18], 4
add eax, 1
cmp eax, dword [ecx + 0x64]
mov dword [esp + 0x14], eax
jl 0x5480d0
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x55d9a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x55d9db
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x55d9e2
xor eax, eax
jmp 0x55dabd
push str.menu1.png
mov edx, dword [ebp + 8]
push edx
call fcn.0047f26e
add esp, 8
test eax, eax
jne 0x55d9fe
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
push edx
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x55da35
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x55dabd
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x55da5b
cmp dword [ebp - 4], 0
jne 0x55da73
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x55dabd
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0047f490
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x24]
call fcn.0055d670
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4099ec
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409abf
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409ad8
push ebx
push 0x409ae4
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409a6c
mov al, 0x6a
call fcn.00409648
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.004099c0
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a75
call fcn.004099c0
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409ac6
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409b78
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409c2c
jmp 0x409c21
cmp dword [esi + 0x10], 0x1000
jne 0x409c0d
test byte [esi + 0x15], 1
jne 0x409c0d
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409bcc
cmp eax, 2
je 0x409bcc
cmp eax, 0x10
je 0x409bcc
cmp eax, 0x20
jne 0x409be1
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409be1
mov bl, 1
xor ebp, ebp
jmp 0x409bf2
mov eax, dword [esi]
add eax, ebp
call fcn.00409b70
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409be5
test bl, bl
je 0x409c0d
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409c2c
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409ba4
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x427a3e
Capabilities:
Clear file content

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push 1
push esi
push esi
push edi
push esi
pop ebx
mov dword [ebp - 8], esi
call fcn.0041f2cf
push edx
pop ecx
mov dword [ebp - 0x18], eax
and eax, ecx
add esp, 0x10
mov dword [ebp - 0x14], ecx
cmp eax, 0xffffffff
je 0x427ac6
push 2
push esi
push esi
push edi
call fcn.0041f2cf
push eax
pop ecx
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x427ac6
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
sub esi, ecx
sbb eax, edx
mov dword [ebp - 4], eax
js 0x427b5d
jg 0x427aa0
or esi, esi
je 0x427b5d
push 0x1000
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0xc], eax
or eax, eax
jne 0x427ad2
call fcn.00416b81
mov dword [eax], 0xc
call fcn.00416b81
mov eax, dword [eax]
pop edi
pop esi
pop ebx
leave
ret
push 0x8000
push edi
call fcn.00427c1c
pop ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
pop ecx
or eax, eax
jl 0x427afa
jg 0x427af3
cmp esi, 0x1000
jb 0x427afa
mov eax, 0x1000
jmp 0x427afc
push esi
pop eax
push eax
push dword [ebp - 0xc]
push edi
call fcn.0041c714
add esp, 0xc
cmp eax, 0xffffffff
je 0x427b23
cdq
sub esi, eax
mov eax, dword [ebp - 4]
sbb eax, edx
mov dword [ebp - 4], eax
js 0x427b3e
jg 0x427ae5
test esi, esi
je 0x427b3e
jmp 0x427ae5
call fcn.00416b4d
cmp dword [eax], 5
jne 0x427b38
call fcn.00416b81
mov dword [eax], 0xd
or ebx, 0xffffffff
or dword [ebp - 8], ebx
push dword [ebp - 0x10]
push edi
call fcn.00427c1c
pop ecx
pop ecx
push dword [ebp - 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x427bc3
test eax, eax
jg 0x427bcf
jl 0x427b67
or esi, esi
jae 0x427bcf
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.0041f2cf
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x427ac6
push edi
call fcn.00424a9e
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
neg eax
sbb eax, eax
neg eax
dec eax
cdq
push eax
pop ebx
push edx
pop eax
mov ecx, ebx
and ecx, eax
mov dword [ebp - 8], eax
cmp ecx, 0xffffffff
jne 0x427bcf
call fcn.00416b81
mov dword [eax], 0xd
call fcn.00416b4d
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
and ebx, dword [ebp - 8]
cmp ebx, 0xffffffff
je 0x427ac6
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push edi
call fcn.0041f2cf
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x427ac6
xor eax, eax
jmp 0x427acd

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0xc36590
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x9d225e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0
xor esi, esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], 1
test eax, eax
je 0xc36754
dec eax
mov dword [ebp + 8], eax
mov al, byte [edx]
inc edx
mov byte [ebp + esi - 0x14], al
inc esi
mov ah, byte [ebp - 0x12]
mov ch, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov dword [ebp - 0x1c], edx
mov byte [ebp - 0xf], ah
mov byte [ebp - 0xd], ch
mov byte [ebp - 0xe], cl
cmp esi, 3
jne 0xc36695
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, ch
shl cl, 4
shr al, 4
add cl, al
mov al, ah
mov byte [ebp - 0x17], cl
and ah, 0x3f
mov cl, ch
shr al, 6
and cl, 0xf
mov byte [ebp - 0x15], ah
shl cl, 2
add cl, al
xor esi, esi
mov byte [ebp - 0x16], cl
nop dword [eax + eax]
cmp dword [0xa1db70], 0x10
mov ecx, 0xa1db5c
movzx eax, byte [ebp + esi - 0x18]
cmovae ecx, dword [0xa1db5c]
movzx eax, byte [eax + ecx]
mov ecx, edi
push eax
call fcn.00c36cf0
inc esi
cmp esi, 4
jl 0xc36660
mov edx, dword [ebp - 0x1c]
xor esi, esi
mov ch, byte [ebp - 0xd]
mov cl, byte [ebp - 0xe]
mov eax, dword [ebp + 8]
test eax, eax
jne 0xc36600
mov dword [ebp - 0x1c], esi
test esi, esi
je 0xc36754
mov eax, 3
sub eax, esi
mov dword [ebp + 8], eax
cmp esi, 3
jge 0xc366d6
push eax
lea eax, [ebp - 0x14]
add eax, esi
push 0
push eax
call fcn.00d29900
mov dl, byte [ebp - 0x12]
add esp, 0xc
mov ch, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
jmp 0xc366d9
mov dl, byte [ebp - 0xf]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, ch
shr al, 4
and ch, 0xf
shl cl, 4
add cl, al
shl ch, 2
mov al, dl
mov byte [ebp - 0x17], cl
shr al, 6
and dl, 0x3f
add ch, al
mov byte [ebp - 0x15], dl
lea eax, [esi + 1]
mov byte [ebp - 0x16], ch
mov dword [ebp - 0x14], eax
test eax, eax
jle 0xc36740
xor esi, esi
cmp dword [0xa1db70], 0x10
mov ecx, 0xa1db5c
movzx eax, byte [ebp + esi - 0x18]
cmovae ecx, dword [0xa1db5c]
movzx eax, byte [eax + ecx]
mov ecx, edi
push eax
call fcn.00c36cf0
inc esi
cmp esi, dword [ebp - 0x14]
jl 0xc36713
mov esi, dword [ebp - 0x1c]
cmp esi, 3
jge 0xc36754
push 0x3d
mov ecx, edi
call fcn.00c36cf0
sub dword [ebp + 8], 1
jne 0xc36745
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0xc37de0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x9d24cf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.00d1000d
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov byte [ebp - 4], 1
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
mov byte [ebp - 4], 2
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov byte [ebp - 4], 3
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov byte [ebp - 4], 4
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov byte [ebp - 4], 5
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
test eax, eax
je 0xc37e86
push eax
push esi
call fcn.00d1034e
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push 0xa025d4
call fcn.00d0f8f0
int3