joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b890
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xd8]
mov ecx, 0x36
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
add ecx, 0x20
call fcn.00403660
movzx eax, al
test eax, eax
jne 0x45b960
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.00403660
movzx eax, al
test eax, eax
jne 0x45b960
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.00403a00
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp esi, esp
call fcn.004744d2
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.00403a00
mov esi, esp
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x20
call fcn.00403a00
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
cmp esi, esp
call fcn.004744d2
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.00403a00
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x20
call fcn.00403a00
push eax
push str.oOwjl5ZjneUrx5NW1OQhkdNh1P0hx5NW2Kk9ktVmkfo9x5Nh_g
push 0x5d92
push 0x50a4
call fcn.004565f0
add esp, 0xc
push eax
call fcn.00454e30
add esp, 0x10
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.004744d2
mov esp, ebp
pop ebp
ret

Function at 0x45c710
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xcc]
mov ecx, 0x33
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov dword [eax], 0x67452301
mov eax, dword [ebp - 8]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp - 8]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], 0x10325476
mov eax, dword [ebp - 8]
mov dword [eax + 0x10], 0xc3d2e1f0
mov eax, dword [ebp - 8]
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
push 0x496e0d
mov ecx, dword [ebp - 8]
add ecx, 0x14
call fcn.004034f0
pop edi
pop esi
pop ebx
add esp, 0xcc
cmp ebp, esp
call fcn.004744d2
mov esp, ebp
pop ebp
ret
Function at 0x467c40
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x492e38
mov eax, dword fs:[0]
push eax
sub esp, 0x224
push ebx
push esi
push edi
lea edi, [ebp - 0x230]
mov ecx, 0x89
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4abc14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x30]
call fcn.00403540
mov dword [ebp - 4], 0
push 0x11c
push 0
lea eax, [ebp - 0x154]
push eax
call fcn.004746d0
add esp, 0xc
mov dword [ebp - 0x154], 0x11c
mov esi, esp
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp esi, esp
call fcn.004744d2
cmp dword [ebp - 0x150], 6
jb 0x467cfd
cmp dword [ebp - 0x14c], 1
jb 0x467cfd
mov dword [ebp - 0x160], str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
lea eax, [ebp - 0x30]
push eax
push str.Progid
mov ecx, dword [ebp - 0x160]
push ecx
push 1
call fcn.0046a220
add esp, 0x10
jmp 0x467d62
push 0x60dc
push 0x17ac
push str.p8YIsFEpswSpNpskec6lOpWgOg8k_tgmvwHicJghucrkw
push 0x1ce7
push 0x4b74
call fcn.004566b0
add esp, 0x14
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x30]
push eax
push 0x495bdc
mov ecx, dword [ebp - 0x16c]
push ecx
push 1
call fcn.0046a220
add esp, 0x10
movzx edx, al
test edx, edx
jne 0x467d62
lea eax, [ebp - 0x30]
push eax
push 0x495bdc
mov ecx, dword [ebp - 0x16c]
push ecx
push 0x102
call fcn.0046a220
add esp, 0x10
lea eax, [ebp - 0x30]
push eax
push str.browser
call fcn.00468a20
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00403970
push edx
mov ecx, ebp
push eax
lea edx, [0x467dbc]
call fcn.004744f5
pop eax
pop edx
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.004744c3
add esp, 0x230
cmp ebp, esp
call fcn.004744d2
mov esp, ebp
pop ebp
ret

Function at 0x469b30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xf0]
mov ecx, 0x3c
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
xor eax, eax
jne 0x469b53
xor eax, eax
jne 0x469b53
mov dword [ebp - 0x20], 4
mov esi, esp
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x2c]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp esi, esp
call fcn.004744d2
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x469b97
mov eax, dword [ebp - 0x14]
jmp 0x469ba6
cmp dword [ebp - 0x2c], 4
je 0x469ba4
mov eax, 0xd
jmp 0x469ba6
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x469bd0]
call fcn.004744f5
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xf0
cmp ebp, esp
call fcn.004744d2
mov esp, ebp
pop ebp
ret 8
Function at 0x469c00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xf0]
mov ecx, 0x3c
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
xor eax, eax
jne 0x469c23
xor eax, eax
jne 0x469c23
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
shl ecx, 1
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov esi, esp
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x20]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp esi, esp
call fcn.004744d2
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x469c73
mov eax, dword [ebp - 0x14]
jmp 0x469cd0
cmp dword [ebp - 0x20], 1
je 0x469c86
cmp dword [ebp - 0x20], 2
je 0x469c86
mov eax, 0xd
jmp 0x469cd0
cmp dword [ebp + 0xc], 0
je 0x469cc4
cmp dword [ebp - 0x2c], 0
je 0x469cbc
mov eax, dword [ebp - 0x2c]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x469cb3
mov eax, dword [ebp - 0x2c]
shr eax, 1
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + eax*2 - 2]
test edx, edx
je 0x469cba
mov eax, 0xd
jmp 0x469cd0
jmp 0x469cc4
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov word [ecx], ax
mov eax, dword [ebp - 0x2c]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x469cf8]
call fcn.004744f5
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xf0
cmp ebp, esp
call fcn.004744d2
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46a9d0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4931d8
mov eax, dword fs:[0]
push eax
sub esp, 0x368
push ebx
push esi
push edi
lea edi, [ebp - 0x374]
mov ecx, 0xda
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4abc14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x15], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004038c0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x3c]
push eax
call fcn.00469fc0
add esp, 4
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00403a00
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x46aa6f
mov byte [ebp - 0x36d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00403970
mov al, byte [ebp - 0x36d]
jmp 0x46ab69
mov eax, dword [ebp - 0x54]
push eax
call fcn.004732ee
add esp, 4
mov dword [ebp - 0x364], eax
mov ecx, dword [ebp - 0x364]
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x48]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00403a00
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x46ab33
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x6c]
push ecx
push 0x499834
mov edx, dword [ebp - 0x60]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x46ab33
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0xc]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 8]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 8]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
push str._d._d._d._d
lea eax, [ebp - 0x280]
push eax
call fcn.0041e580
add esp, 0x18
lea eax, [ebp - 0x280]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004035e0
mov byte [ebp - 0x15], 1
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x358], eax
mov ecx, dword [ebp - 0x358]
push ecx
call fcn.004740d4
add esp, 4
mov al, byte [ebp - 0x15]
mov byte [ebp - 0x349], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00403970
mov al, byte [ebp - 0x349]
push edx
mov ecx, ebp
push eax
lea edx, [0x46aba4]
call fcn.004744f5
pop eax
pop edx
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.004744c3
add esp, 0x374
cmp ebp, esp
call fcn.004744d2
mov esp, ebp
pop ebp
ret
Function at 0x46ad50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
push ebx
push esi
push edi
lea edi, [ebp - 0x2d4]
mov ecx, 0xb5
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4abc14]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0x18]
call fcn.004035e0
mov eax, dword [ebp + 0x18]
push eax
call fcn.00469fc0
add esp, 4
mov ecx, dword [ebp + 0x18]
call fcn.00403a00
mov esi, esp
push eax
push 0x104
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp esi, esp
call fcn.004744d2
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp + 0x18]
call fcn.004035e0
push edx
mov ecx, ebp
push eax
lea edx, [0x46ae00]
call fcn.004744f5
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004744c3
add esp, 0x2d4
cmp ebp, esp
call fcn.004744d2
mov esp, ebp
pop ebp
ret
Function at 0x46e9f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49359a
mov eax, dword fs:[0]
push eax
sub esp, 0x304
push ebx
push esi
push edi
lea edi, [ebp - 0x310]
mov ecx, 0xc1
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4abc14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30c], 0
mov esi, esp
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp esi, esp
call fcn.004744d2
push 0x49c664
lea ecx, [ebp - 0x240]
call fcn.004038c0
mov dword [ebp - 4], 1
push 0x49c65c
lea ecx, [ebp - 0x240]
call fcn.00411fa0
push 0x49c654
lea ecx, [ebp - 0x240]
call fcn.00411fa0
lea ecx, [ebp - 0x240]
call fcn.00403a00
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00477278
add esp, 8
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp + 8]
call fcn.004038c0
mov ecx, dword [ebp - 0x30c]
or ecx, 1
mov dword [ebp - 0x30c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.00403970
mov eax, dword [ebp + 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x46eb14]
call fcn.004744f5
pop eax
pop edx
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.004744c3
add esp, 0x310
cmp ebp, esp
call fcn.004744d2
mov esp, ebp
pop ebp
ret

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

Disassembly:
cmp dword [0x4ad760], 0
push esi
push edi
jne 0x473012
call fcn.00472f7e
test eax, eax
je 0x473057
mov eax, dword [0x4ad760]
cmp eax, 1
jne 0x473033
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x473057
jmp 0x473099
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x473099
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x47305b
xor eax, eax
jmp 0x473099
mov eax, dword [esi]
push dword [0x4ad760]
call edi
mov edi, eax
test edi, edi
je 0x47307d
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x473099
lea edi, [esi + 0xff0]
push esi
push dword [0x4ad760]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x473083
mov eax, esi
pop edi
pop esi
ret
jmp 0x472ffe

Function at 0x4744c3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4abc14]
jne 0x4744cd
repz ret
jmp fcn.0047cb3c
Function at 0x488c67
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4abc14]
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.0047c5df
and dword [ebp - 0x14], 0
cmp dword [0x4ae830], 0
mov dword [ebp - 0x18], eax
jne 0x488d1a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x488dc2
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4a0644
push ebx
call edi
test eax, eax
je 0x488dc2
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4ae830], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4ae834], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4ae838], eax
call edi
push eax
call esi
mov dword [0x4ae840], eax
test eax, eax
je 0x488d1a
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4ae83c], eax
mov eax, dword [0x4ae83c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x488d73
cmp dword [0x4ae840], ecx
je 0x488d73
push eax
call esi
push dword [0x4ae840]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x488d73
test ebx, ebx
je 0x488d73
call edi
test eax, eax
je 0x488d6a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x488d6a
test byte [ebp - 8], 1
jne 0x488d73
or dword [ebp + 0x10], 0x200000
jmp 0x488da6
mov eax, dword [0x4ae834]
cmp eax, dword [ebp - 0x18]
je 0x488da6
push eax
call esi
test eax, eax
je 0x488da6
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x488da6
mov eax, dword [0x4ae838]
cmp eax, dword [ebp - 0x18]
je 0x488da6
push eax
call esi
test eax, eax
je 0x488da6
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4ae830]
call esi
test eax, eax
je 0x488dc2
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x488dc4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004744c3
leave
ret
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ed0
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x118e5e98
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x63531a8e
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x1000b898
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x1000b8c6
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x1000b8bd
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x1000b8b5
mov eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x1000b8e7
mov esp, ebp
pop ebp
ret

Function at 0x1000b8eb
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0x10]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x1000b957
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x1000b984
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x1000b973
xor ecx, eax
xor edx, ebx
dec edi
jne 0x1000b964
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x1000b9aa
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x1000b94b
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
pop ecx
pop edx
pop edi
pop ebx
pop esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x1000b9d6
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000bfcc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x1000bfdc
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp + 8], 0
jle 0x1000c031
push dword [ebp + 8]
call fcn.1000c1dd
mov dword [ebp - 0x24], eax
cmp word [ebp - 0x24], 0x5a4d
jne 0x1000c031
xor eax, eax
jmp 0x1000c036
mov eax, 1
test eax, eax
je 0x1000c048
mov eax, 0
jmp 0x1000c1d7
push 0x3c
push dword [ebp + 8]
call fcn.1000c21f
push eax
call fcn.1000c1f9
push eax
push dword [ebp + 8]
call fcn.1000c21f
mov dword [ebp - 4], eax
push dword [ebp - 4]
call fcn.1000c1f9
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4550
jne 0x1000c0a3
push 0x7c
push dword [ebp - 4]
call fcn.1000c21f
push eax
call fcn.1000c1f9
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x1000c0a3
xor eax, eax
jmp 0x1000c0a8
mov eax, 1
test eax, eax
je 0x1000c0ba
mov eax, 0
jmp 0x1000c1d7
push 0x78
push dword [ebp - 4]
call fcn.1000c21f
push eax
call fcn.1000c1f9
push eax
push dword [ebp + 8]
call fcn.1000c21f
mov dword [ebp - 8], eax
push 0x20
push dword [ebp - 8]
call fcn.1000c21f
push eax
call fcn.1000c1f9
push eax
push dword [ebp + 8]
call fcn.1000c21f
push eax
call fcn.1000c1f9
push eax
push dword [ebp + 8]
call fcn.1000c21f
mov dword [ebp - 0xc], eax
push 0x18
push dword [ebp - 8]
call fcn.1000c21f
push eax
call fcn.1000c1f9
mov dword [ebp - 0x10], eax
push 1
push dword [ebp - 0x10]
call fcn.1000c246
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x1000c1ca
push dword [ebp - 0x18]
push dword [ebp - 0xc]
call fcn.1000c21f
mov dword [ebp - 0x14], eax
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call fcn.1000c26d
test eax, eax
je 0x1000c1ad
push 0x1c
push dword [ebp - 8]
call fcn.1000c21f
push eax
call fcn.1000c1f9
push eax
push dword [ebp + 8]
call fcn.1000c21f
mov dword [ebp - 0x24], eax
push 4
push dword [ebp - 0x10]
call fcn.1000c2a1
push eax
push dword [ebp - 0x24]
call fcn.1000c21f
push eax
call fcn.1000c1f9
push eax
push dword [ebp + 8]
call fcn.1000c21f
jmp 0x1000c1d7
push dword [ebp - 0x14]
call fcn.1000c2c9
push eax
push dword [ebp - 0x18]
call fcn.1000c21f
mov dword [ebp - 0x18], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x1000c136
add esp, 0xc
mov eax, 0
jmp 0x1000c1d7
mov esp, ebp
pop ebp
ret 8

Function at 0x1000c9e0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x1000c9fe
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x1000c9f3
pop esi
ret
Function at 0x1000d940
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 8
xor ecx, ecx
xor eax, eax
push ebp
mov ebp, dword [esp + 0x18]
mov byte [eax + ebp], al
inc eax
cmp eax, 0x100
jl 0x1000d94c
mov eax, dword [esp + 0x14]
mov byte [ebp + 0x100], cl
cmp eax, ecx
mov byte [ebp + 0x101], cl
jle 0x1000d9df
push ebx
push esi
push edi
mov byte [esp + 0x24], cl
xor esi, esi
mov ebx, ebp
mov dword [esp + 0x10], 0x100
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
and edi, 0xff
xor eax, eax
xor edx, edx
mov al, byte [edi + ecx]
mov dl, byte [ebx]
add esi, eax
add edx, esi
and edx, 0x800000ff
jns 0x1000d9a9
dec edx
or edx, 0xffffff00
inc edx
mov byte [esp + 0x14], dl
mov esi, dword [esp + 0x14]
and esi, 0xff
lea eax, [esi + ebp]
push eax
push ebx
call fcn.1000d9f0
lea eax, [edi + 1]
add esp, 8
cdq
idiv dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc ebx
dec eax
mov dword [esp + 0x10], eax
mov byte [esp + 0x24], dl
jne 0x1000d97e
pop edi
pop esi
pop ebx
pop ebp
add esp, 8
ret

Function at 0x1000da10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
mov edx, dword [esp + 0x14]
push ebx
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov al, byte [esi + 0x100]
mov cl, byte [esi + 0x101]
test edx, edx
mov byte [esp + 0x20], al
mov byte [esp + 8], cl
jle 0x1000db0d
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x28]
and edi, 0xff
and ebp, 0xff
lea eax, [edi + 1]
and eax, 0x800000ff
jns 0x1000da62
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x28], al
xor ecx, ecx
mov edi, dword [esp + 0x28]
and edi, 0xff
mov cl, byte [edi + esi]
lea eax, [edi + esi]
add ecx, ebp
mov dword [esp + 0x18], eax
and ecx, 0x800000ff
jns 0x1000da8e
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ebp, dword [esp + 0x10]
and ebp, 0xff
lea ecx, [esi + ebp]
push ecx
push eax
mov dword [esp + 0x1c], ecx
call fcn.1000d9f0
mov eax, dword [esp + 0x1c]
xor edx, edx
xor ecx, ecx
add esp, 8
mov dl, byte [eax]
mov eax, dword [esp + 0x18]
mov cl, byte [eax]
add edx, ecx
and edx, 0x800000ff
jns 0x1000dacf
dec edx
or edx, 0xffffff00
inc edx
mov eax, dword [esp + 0x20]
and edx, 0xff
mov cl, byte [edx + esi]
mov dl, byte [ebx + eax]
xor dl, cl
mov byte [ebx + eax], dl
mov eax, dword [esp + 0x24]
inc ebx
cmp ebx, eax
jl 0x1000da51
mov dl, byte [esp + 0x28]
mov al, byte [esp + 0x10]
pop edi
mov byte [esi + 0x100], dl
mov byte [esi + 0x101], al
pop ebp
pop esi
pop ebx
add esp, 0xc
ret
mov byte [esi + 0x100], al
mov byte [esi + 0x101], cl
pop esi
pop ebx
add esp, 0xc
ret