joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5236f2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x52370a
mov edi, dword [esi + 0xc]
jmp 0x52374a
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x523723
call fcn.00444097
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x523738
call fcn.00444097
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x52374a
call fcn.00444097
call fcn.0044e83a
cmp dword [eax + 0x3c], 0
je 0x52375f
push edi
mov ecx, ebx
call fcn.005225ae
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0052360c
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x52377d
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x523789
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x5437e5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5f0bf8]
jne 0x5437ef
repz ret
jmp fcn.0055007c

Function at 0x543f92
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 0x543fb9
call fcn.00547872
mov dword [eax], esi
call fcn.0054785f
push 0x16
pop esi
mov dword [eax], esi
call fcn.0054cea2
mov eax, esi
jmp 0x54400e
test dword [ebp + 0xc], 0xfffffff9
jne 0x543f9f
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x543fe6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00547885
pop ecx
call fcn.0054785f
mov eax, dword [eax]
jmp 0x54400e
test al, 0x10
jne 0x54400c
test al, 1
je 0x54400c
test byte [ebp + 0xc], 2
je 0x54400c
call fcn.00547872
mov dword [eax], 5
call fcn.0054785f
mov dword [eax], 0xd
jmp 0x543fdd
xor eax, eax
pop esi
pop ebp
ret
Function at 0x55a508
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5f0bf8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0054c52b
and dword [ebp - 0x14], 0
cmp dword [0x5fd478], 0
mov dword [ebp - 0x18], eax
jne 0x55a5bb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x55a663
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5bbfe8
push ebx
call edi
test eax, eax
je 0x55a663
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x5bbfd8
push ebx
mov dword [0x5fd478], eax
call edi
push eax
call esi
push 0x5bbfc4
push ebx
mov dword [0x5fd47c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5fd480], eax
call edi
push eax
call esi
mov dword [0x5fd488], eax
test eax, eax
je 0x55a5bb
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5fd484], eax
mov eax, dword [0x5fd484]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x55a614
cmp dword [0x5fd488], ecx
je 0x55a614
push eax
call esi
push dword [0x5fd488]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x55a614
test ebx, ebx
je 0x55a614
call edi
test eax, eax
je 0x55a60b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x55a60b
test byte [ebp - 8], 1
jne 0x55a614
or dword [ebp + 0x10], 0x200000
jmp 0x55a647
mov eax, dword [0x5fd47c]
cmp eax, dword [ebp - 0x18]
je 0x55a647
push eax
call esi
test eax, eax
je 0x55a647
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x55a647
mov eax, dword [0x5fd480]
cmp eax, dword [ebp - 0x18]
je 0x55a647
push eax
call esi
test eax, eax
je 0x55a647
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5fd478]
call esi
test eax, eax
je 0x55a663
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x55a665
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005437e5
leave
ret

Function at 0x5616ba
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
and dword [ebp + 8], 0
cmp dword [ebp + 0x10], 0
push esi
mov esi, dword [eax]
push edi
mov edi, dword [eax + 4]
jle 0x56171b
push ebx
mov edx, 0xff
inc esi
and esi, edx
mov ecx, dword [eax + esi*4 + 8]
add edi, ecx
and edi, edx
mov dword [ebp - 4], edi
mov edi, dword [eax + edi*4 + 8]
mov dword [eax + esi*4 + 8], edi
mov dword [ebp - 8], edi
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov dword [eax + edi*4 + 8], ecx
mov edi, dword [ebp + 0xc]
add edi, dword [ebp + 8]
add ebx, ecx
and ebx, edx
mov cl, byte [eax + ebx*4 + 8]
xor byte [edi], cl
inc dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edi, dword [ebp - 4]
cmp ecx, dword [ebp + 0x10]
jl 0x5616d9
pop ebx
mov dword [eax + 4], edi
pop edi
mov dword [eax], esi
pop esi
leave
ret
Function at 0x5617c8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
xor ebx, ebx
push edi
cmp eax, ebx
je 0x561942
cmp dword [esi + 8], ebx
je 0x561942
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptMsgOpenToDecode
push eax
call edi
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x10000
call eax
mov dword [esi + 4], eax
cmp eax, ebx
je 0x561942
push str.CryptMsgUpdate
push dword [esi]
call edi
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 4]
call eax
test eax, eax
je 0x561942
push str.CryptMsgGetParam
push dword [esi]
mov dword [ebp - 8], ebx
mov dword [ebp + 0xc], 4
call edi
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 8]
push ecx
push ebx
push 0x11
push dword [esi + 4]
mov dword [ebp - 4], eax
call eax
test eax, eax
je 0x561942
mov dword [ebp + 8], ebx
cmp dword [ebp - 8], ebx
jbe 0x561942
lea eax, [ebp + 0xc]
push eax
push ebx
push dword [ebp + 8]
push 0x13
push dword [esi + 4]
call dword [ebp - 4]
test eax, eax
je 0x561933
push ebx
push 1
push dword [ebp + 0xc]
call fcn.0056ad65
add esp, 0xc
lea ecx, [ebp + 0xc]
push ecx
push eax
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
push 0x13
push dword [esi + 4]
call dword [ebp - 4]
test eax, eax
je 0x561933
push str.CertGetSubjectCertificateFromStore
push dword [esi]
call edi
push dword [ebp - 0xc]
push 0x10001
push dword [esi + 8]
call eax
push ebx
push dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
call fcn.0056ade9
pop ecx
pop ecx
cmp dword [ebp - 0x10], ebx
je 0x561933
mov eax, dword [ebp + 8]
push str.CryptAcquireCertificatePrivateKey
push dword [esi]
mov dword [ebp - 0x24], 0x10
mov dword [ebp - 0x18], eax
call edi
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push ebx
push 0x10000
push dword [ebp - 0x10]
call eax
test eax, eax
je 0x561933
push str.CryptMsgControl
push dword [esi]
call edi
lea ecx, [ebp - 0x24]
push ecx
push 2
push ebx
push dword [esi + 4]
call eax
test eax, eax
je 0x561933
mov eax, dword [ebp + 0x14]
push eax
push dword [ebp + 0x10]
mov dword [eax], 0x18
push ebx
push 2
push dword [esi + 4]
call dword [ebp - 4]
test eax, eax
jne 0x56194b
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 8]
jb 0x561865
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
xor eax, eax
inc eax
jmp 0x561944
Function at 0x563726
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x5f0bf8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
lea eax, [edi + 0x3c8]
push 0x10
push eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x24]
push eax
mov esi, ecx
mov ebx, edx
mov dword [ebp - 0x44], edi
call fcn.0056b854
add esp, 0xc
test esi, esi
jle 0x563823
mov ecx, dword [ebp + 8]
lea eax, [esi - 1]
add ebx, 2
shr eax, 4
add ecx, 2
inc eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], eax
jmp 0x56377e
mov edi, dword [ebp - 0x44]
mov ebx, ecx
xor ecx, ecx
movzx eax, byte [ebx - 2]
movzx edx, byte [ebx - 1]
shl eax, 8
or eax, edx
movzx edx, byte [ebx]
shl eax, 8
or eax, edx
movzx edx, byte [ebx + 1]
shl eax, 8
or eax, edx
mov dword [ebp + ecx - 0x34], eax
mov dword [ebp + ecx - 0x14], eax
add ecx, 4
add ebx, 4
cmp ecx, 0x10
jl 0x563782
lea eax, [ebp - 0x14]
push eax
mov eax, edi
call fcn.00563715
mov eax, dword [ebp - 0x38]
pop ecx
xor edi, edi
lea esi, [ebp + edi - 0x24]
mov dl, byte [esi]
lea ecx, [ebp + edi - 0x14]
xor dl, byte [ecx]
mov ecx, dword [ecx]
mov byte [eax + 1], dl
mov edx, dword [esi]
mov dword [ebp - 0x38], ecx
shr ecx, 8
shr edx, 8
xor dl, cl
mov ecx, dword [esi]
mov byte [eax], dl
mov edx, dword [ebp - 0x38]
shr ecx, 0x10
shr edx, 0x10
xor cl, dl
mov edx, dword [ebp - 0x38]
mov byte [eax - 1], cl
mov ecx, dword [esi]
shr ecx, 0x18
shr edx, 0x18
xor cl, dl
mov byte [eax - 2], cl
mov ecx, dword [ebp + edi - 0x34]
add edi, 4
add eax, 4
mov dword [esi], ecx
cmp edi, 0x10
jl 0x5637c4
dec dword [ebp - 0x3c]
mov ecx, ebx
mov dword [ebp - 0x38], eax
jne 0x56377b
push 0x10
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x40]
call fcn.0056b854
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005437e5
leave
ret
Function at 0x563854
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5f0bf8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
lea eax, [ebx + 0x3c8]
push 0x10
push eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
push eax
mov edi, ecx
mov esi, edx
mov dword [ebp - 0x1c], ebx
call fcn.0056b854
add esp, 0xc
test edi, edi
jle 0x563918
mov ecx, dword [ebp + 8]
add esi, 2
add ecx, 2
dec edi
shr edi, 4
mov dword [ebp - 0x18], esi
inc edi
jmp 0x5638a7
mov ebx, dword [ebp - 0x1c]
xor eax, eax
mov esi, ecx
movzx ecx, byte [esi - 2]
movzx edx, byte [esi - 1]
shl ecx, 8
or ecx, edx
movzx edx, byte [esi]
shl ecx, 8
or ecx, edx
movzx edx, byte [esi + 1]
shl ecx, 8
or ecx, edx
xor dword [ebp + eax*4 - 0x14], ecx
inc eax
add esi, 4
cmp eax, 4
jl 0x5638ab
lea eax, [ebp - 0x14]
push eax
mov eax, ebx
call fcn.00563843
mov eax, dword [ebp - 0x18]
pop ecx
xor edx, edx
lea ecx, [ebp + edx*4 - 0x14]
mov bl, byte [ecx]
mov ecx, dword [ecx]
mov byte [eax + 1], bl
mov ebx, ecx
shr ebx, 8
mov byte [eax], bl
mov ebx, ecx
shr ebx, 0x10
shr ecx, 0x18
mov byte [eax - 1], bl
mov byte [eax - 2], cl
inc edx
add eax, 4
cmp edx, 4
jl 0x5638e7
dec edi
mov ecx, esi
mov dword [ebp - 0x18], eax
jne 0x5638a4
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x20]
call fcn.0056b854
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005437e5
leave
ret

Function at 0x566c32
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret
Function at 0x583220
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 0x58325b
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x583242
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x583253
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x58325d
inc edi
add eax, 0x28
cmp edi, esi
jb 0x583238
xor eax, eax
pop edi
pop esi
ret

Function at 0x501d80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502360
push 0x501f80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
add esp, 4
mov dword [0x5033f4], 0xffffffff
mov dword [0x5033f8], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x5033f0]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov edx, dword [0x5033ec]
mov dword [eax], edx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov ecx, dword [eax]
mov dword [0x5033fc], ecx
call fcn.00501f70
mov eax, dword [0x503128]
test eax, eax
jne 0x501e11
push 0x501f60
call dword [sym.imp.MSVCRT.dll___setusermatherr]
add esp, 4
call fcn.00501f40
push 0x50300c
push 0x503008
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [0x5033e8]
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [0x5033e4]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll___getmainargs]
add esp, 0x14
push 0x503004
push section..data
call sub.MSVCRT.dll__initterm
add esp, 8
call dword [sym.imp.MSVCRT.dll___p__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x501f1f
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x501e85
cmp al, 0x22
jne 0x501e77
cmp byte [esi], 0x22
jne 0x501e8e
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x501e9e
cmp al, 0x20
ja 0x501e9e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x501e8e
mov dword [ebp - 0x30], 0
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x501ebf
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x501ec4
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
jmp 0x501f04
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x501e8e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x501f1f
Function at 0x401ec8
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x405b08
jmp fcn.00401631

Function at 0x401f0e
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x405b08
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x401f2b
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x401f30
push 1
pop eax
pop esi
ret
call fcn.00401ec8
pop esi
ret

Function at 0x432004
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x654506c4
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..data_1
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4320d2
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x17347677
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..idata
mov ebx, 0x408ecc
nop
mov ecx, 0x3a77116a
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0xb0f02f2
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x4bb52d
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4d734c]
xor eax, ebp
push esi
mov dword [ebp + 0x74], eax
mov esi, ecx
call fcn.004bb4fd
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004aa0a0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4bb591
cmp dword [ebp - 0x1c], 5
jb 0x4bb5a9
jmp 0x4bb5a5
cmp dword [ebp - 0x10], 1
jne 0x4bb5a9
cmp dword [ebp - 0x1c], 4
ja 0x4bb5a5
jne 0x4bb5a9
cmp dword [ebp - 0x18], 0
jbe 0x4bb5a9
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x710
mov dword [esi + 0x14], 0x4d25c8
call fcn.00435f91
test eax, eax
jge 0x4bb5ca
mov byte [0x4d81a4], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004b62ce
add ebp, 0x78
leave
ret
Function at 0x65193b
Capabilities:
Encode data using base64

Disassembly:
shr ecx, 8
call fcn.005aeb87
inc ecx
mov ebp, dword [ebx - 4]
mov edi, 0xe1089992
mov eax, edi
dec eax
lea ecx, [eax + edi*8 + 0x4b9207a6]
dec ecx
add ebx, 0xfffffffc
inc ecx
xor ebp, edi
mov esi, 0xd3199e32
movsx ebx, cx
rol ebp, 1
mov edx, 0x1d200a96
dec edx
dec eax
div ecx
bswap ebp
inc ebp
inc eax
shl dh, 0x61
dec esp
lea eax, [ebx*4 - 0x3a5ab4d8]
inc ebp
mov ecx, eax
not ebp
inc cx
mul ecx
jb 0x6067c5

Function at 0x65642f
Capabilities:
Encode data using base64

Disassembly:
push dword [esp + 4]
popfd
lea esp, [esp + 0x10]
call fcn.005b091a

Function at 0x65c249
Capabilities:
Encode data using base64

Disassembly:
dec eax
mov dword [esp + edi + 5], eax
adc bx, word [esp + edi*2 + 3]
dec esp
adc esp, edx
inc ecx
push eax
dec ecx
btc eax, edi
inc al
dec esi
mov esi, dword [edi + ebp - 3]
pop ecx
inc ecx
mov ecx, dword [ebp + edi + 5]
not bp
dec eax
cwde
dec eax
lea edx, [edi + edi*4 - 0x38cff4e5]
dec esp
add ebp, eax
inc esp
xor al, byte [esp + edi*2 - 3]
pop ebx
dec esp
lea edx, [eax*4 + 0x6a139914]
inc edx
mov dword [edi + esi - 3], ecx
dec dword [esp + edi - 3]
bt eax, edi
dec esp
mov dword [esp + edi*4 - 0xc], esp
ret
dec esp
mov dword [esp + edi*4 - 0xc], esi
dec esp
mov edi, dword [esp + edi + 5]
inc ecx
xor eax, 0x1eb61082
dec eax
arpl dx, dx
jne 0x60dbd6

Function at 0x65da17
Capabilities:
Encode data using base64

Disassembly:
movzx ecx, word [edi + ecx*8 - 0x17a7a202]
mov dword [esp + eax - 0xf401], eax
xor cx, bx
sar dword [esp + eax*2 - 0x1e7fe], 0xdc
dec cx
shr eax, 0x5e
call fcn.005c3fb2

Function at 0x6604d5
Capabilities:
Encode data using base64
Manually build aes constants

Disassembly:
xor ecx, 0x4f36c0b1
mov dword [esp + edx - 0x27f75166], edx
shr eax, 0xa9
call fcn.0055e4c5

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x2dca338b
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0xe684237
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x10001130
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002371a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1003406c]
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
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.1000b7d8
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x100011f0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.1000d71d
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x100330fc
push eax
call fcn.1000f434
push edi
push esi
call fcn.1000bb20
add esp, 8
mov eax, esi
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.1000c5be
mov esp, ebp
pop ebp
ret 4

Function at 0x10002840
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100238bb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1003406c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x30], 0
mov byte [esi + 0x34], 0
call fcn.10002fb0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret