joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e330
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43e363
push esi
call fcn.00441430
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43e35c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43e3e9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43e3d2
mov eax, dword [esi + 8]
test eax, eax
je 0x43e387
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43e3ce
cmp eax, 2
je 0x43e3d2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43e37a
cmp eax, 3
je 0x43e3ad
cmp eax, 1
jne 0x43e37a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43e37a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43e37a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043e410
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43e3f8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043e410
add esp, 4
pop esi
ret

Function at 0x449f50
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x449ff3
test eax, eax
jbe 0x449ff3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x449ff3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x449f9e
xor esi, esi
jmp 0x449fa4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x449fcf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0044bf90
add esi, eax
push esi
mov ebx, esi
call fcn.0044bf90
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x449fb0
pop ebp
test edi, edi
pop edi
jne 0x449ff3
test ebx, ebx
je 0x449ff3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0044e400
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x44a135
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x44a24d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44a24d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0045eac5
mov esi, eax
test esi, esi
je 0x44a24d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x44a24d
mov ecx, esi
call fcn.0044a0a0
cmp edi, eax
jge 0x44a24d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x44a1d3
mov dword [esp + 0x34], 1
jmp 0x44a22e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x44a24d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00449670
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x45f469
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45f4a1
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045d4f6
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045d4ce
jmp 0x45f4ad
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x460b5e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x460ba0
call fcn.00466613
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x460ba0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x460b97
xor eax, eax
jmp 0x460ba8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00460bae
pop edi
pop esi
pop ebx
ret 4
Function at 0x466b43
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x466b71
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x466b8f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00466aa9
jmp 0x466b8f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x466b8f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00466aa9
test edi, edi
mov eax, edi
jne 0x466b79
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x44d960
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x468760
sub esp, 0x20
mov eax, dword [0x517154]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
mov ebx, dword [esp + 0x28]
push ebp
push esi
push edi
mov eax, dword [ebx + 0x3c]
xor edi, edi
mov eax, dword [eax + ebx + 0x78]
add eax, ebx
mov dword [esp + 0x10], eax
mov esi, dword [eax + 0x20]
mov ebp, dword [eax + 0x18]
add esi, ebx
test ebp, ebp
je 0x4687c5
mov eax, dword [esi]
lea ecx, [esp + 0x14]
add eax, ebx
push eax
call fcn.0044e0ea
push dword [esp + 0x38]
lea eax, [esp + 0x18]
push eax
call fcn.0045023c
add esp, 8
test al, al
jne 0x4687da
lea ecx, [esp + 0x14]
add esi, 4
call fcn.004501bf
inc edi
cmp edi, ebp
jb 0x468791
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0044f5df
add esp, 0x20
ret
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + ebx]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov esi, dword [eax + ebx]
lea ecx, [esp + 0x14]
call fcn.004501bf
mov ecx, dword [esp + 0x2c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044f5df
add esp, 0x20
ret

Function at 0x44fc65
Capabilities:
Terminate process

Disassembly:
jmp 0x4a29be
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x4a29cf
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.0045263b
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x44fdf0
Capabilities:
Query environment variable

Disassembly:
jmp 0x4e10f5
mov edi, edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4e1109
xor edi, edi
jmp 0x4e1140
push ebx
push esi
call fcn.004e0fff
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00450872
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4e1130
push ebx
push esi
push edi
call fcn.004523ac
add esp, 0xc
push 0
call fcn.0045315d
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop ebx
mov eax, edi
pop edi
pop esi
ret
Function at 0x4503f9
Capabilities:
Encode data using xor

Disassembly:
jmp 0x469580
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x469678
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x1c]
nop word [eax + eax]
mov bl, byte [esi + ebx]
push str.ugAyuisyx
push 0x51a500
call fcn.0044f292
xor edx, edx
mov ecx, dword [esp + 0x1c]
mov eax, esi
add esp, 8
div ebp
mov bh, byte [esi + ecx]
push 0x452fd7
push str.fdiogiuAsdoiHYUAUAY87234
push 0x51a500
mov al, byte [edx + section..Yours]
xor al, bl
add al, bh
mov byte [esi + ecx], al
call fcn.0044f292
add esp, 8
mov ecx, eax
call fcn.0045239d
mov eax, dword [esp + 0x14]
push str.suih89Ah3
push 0x51a500
dec byte [esi + eax]
call fcn.0044f292
mov eax, dword [esp + 0x1c]
push str.XScdyhjkujktyyt
push 0x51a500
add byte [esi + eax], 0xfe
call fcn.0044f292
mov eax, dword [esp + 0x24]
push str.sJBCsKJ2BJN
push 0x51a500
sub byte [esi + eax], bh
call fcn.0044f292
mov ebx, dword [esp + 0x2c]
push str.sDGTFsE
push 0x51a500
inc byte [esi + ebx]
call fcn.0044f292
inc byte [esi + ebx]
push str.ZASwe23
push 0x51a500
call fcn.0044f292
inc byte [esi + ebx]
push str.uhgiyGAuyisua
push 0x51a500
call fcn.0044f292
inc esi
add esp, 0x30
cmp esi, edi
jb 0x4695a0
pop ebp
pop ebx
pop edi
pop esi
ret

Function at 0x452492
Capabilities:
Parse pe header

Disassembly:
jmp 0x49176f
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4917ae
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4917ae
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4917ae
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4917ae
cmp dword [ecx + 0x74], 0xe
jbe 0x4917ae
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4527b7
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
jmp 0x468840
push esi
push edi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x54af98], eax
pop edi
pop esi
ret
Function at 0x40d10
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x54
test ebx, ebx
push ebp
push edi
mov edi, ecx
je 0x40f32
mov ebp, eax
and ebp, 0xff0000
mov dword [esp + 0xc], ebp
je 0x40f32
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [ebx + 8]
push 4
mov dword [esp + 0x20], eax
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x20]
push 0xc
mov dword [esp + 0x34], eax
lea eax, [esp + 0x2c]
push eax
push 0x232ee0
push ecx
mov dword [esp + 0x30], 0xe
mov dword [esp + 0x38], 0x782e
mov dword [esp + 0x3c], 8
mov dword [esp + 0x24], 0
call sub.WIN32K.SYS_EngDeviceIoControl
test eax, eax
jne 0x40f32
mov al, byte [esp + 8]
test al, 1
je 0x40f32
test al, 2
je 0x40f32
test al, 4
push esi
je 0x40ee3
test edi, edi
mov edx, dword [0x3fa040]
mov eax, dword [0x3fa044]
mov ecx, dword [0x3fa048]
mov dword [esp + 0x4c], edx
mov edx, dword [0x3fa04c]
mov dword [esp + 0x50], eax
mov ax, word [0x3fa050]
mov dword [esp + 0x44], 2
mov dword [esp + 0x48], ebp
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov word [esp + 0x5c], ax
je 0x40ebc
cmp dword [ebx + 0xc9c], 0
jne 0x40e26
mov eax, dword [edi + 0x14]
mov si, word [edi]
mov bp, word [edi + 2]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
imul ecx, eax
mov eax, dword [edi + 0x18]
mov edi, dword [edi + 0x1c]
imul eax, eax, 0x2710
mov edx, ecx
shr edx, 1
add eax, edx
xor edx, edx
shr edi, 1
div ecx
and edi, 1
jmp 0x40e55
movzx eax, word [edi + 8]
movzx ecx, word [edi + 0xe]
imul ecx, eax
mov eax, dword [edi]
mov si, word [edi + 4]
imul eax, eax, 0x2710
mov bp, word [edi + 6]
mov edx, ecx
shr edx, 1
add eax, edx
xor edx, edx
div ecx
xor ecx, ecx
cmp byte [edi + 0x1a], cl
setne cl
mov edi, ecx
test di, di
je 0x40e5c
add ebp, ebp
mov byte [esp + 0x51], 0
mov byte [esp + 0x54], 0
xor edx, edx
mov ecx, 0x4227fa
lea ecx, [ecx]
cmp word [ecx - 2], si
jne 0x40e94
cmp word [ecx], bp
jne 0x40e94
cmp word [ecx + 2], ax
ja 0x40e94
cmp word [ecx + 4], ax
jb 0x40e94
cmp word [ecx + 6], di
jne 0x40e94
cmp word [ecx + 8], 0
je 0x40ea1
add edx, 1
add ecx, 0x10
cmp edx, 0x42
jb 0x40e70
jmp 0x40eb8
shl edx, 4
mov al, byte [edx + 0x422806]
mov cl, byte [edx + 0x422804]
mov byte [esp + 0x51], al
mov byte [esp + 0x54], cl
mov ebp, dword [esp + 0x10]
lea eax, [esp + 0x2c]
mov esi, ebx
call fcn.00040b00
test eax, eax
je 0x40ed7
pop esi
pop edi
mov eax, 1
pop ebp
add esp, 0x54
ret
push 2
push ebx
call fcn.00040570
mov al, byte [esp + 0xc]
test al, 8
je 0x40f29
mov ax, word [0x3fa058]
mov edx, dword [0x3fa054]
mov cl, byte [0x3fa05a]
mov word [esp + 0x50], ax
lea eax, [esp + 0x2c]
mov esi, ebx
mov dword [esp + 0x44], 4
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], edx
mov byte [esp + 0x52], cl
call fcn.00040b00
test eax, eax
jne 0x40ecb
push 4
push ebx
call fcn.00040570
pop esi
pop edi
xor eax, eax
pop ebp
add esp, 0x54
ret
pop edi
mov eax, 1
pop ebp
add esp, 0x54
ret
Function at 0x631b0
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 8
push esi
mov esi, eax
push eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x10]
add eax, 0x38
mov dword [esp + 0xc], eax
pop eax
mov eax, dword [esp + 8]
movzx ecx, word [eax]
mov edx, dword [eax + 4]
push ecx
mov ecx, dword [esp + 0x14]
push edx
lea eax, [esp + 0xc]
push eax
push ecx
push esi
call sub.WIN32K.SYS_EngUnicodeToMultiByteN
call fcn.00063170
neg eax
sbb eax, eax
and eax, dword [esp + 4]
pop esi
add esp, 8
ret
Function at 0xb0200
Capabilities:
Encode data using xor
Encrypt data using aes

Disassembly:
push ecx
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
push esi
push edi
mov edi, ecx
mov edx, ecx
mov dword [esp + 8], edx
movzx esi, byte [esp + 0xa]
mov esi, dword [esi*4 + 0x3fbc00]
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x3fbc00]
xor ecx, 1
and ecx, 0xff
and esi, 0xff00
xor ecx, esi
mov esi, edx
shr esi, 0x18
mov esi, dword [esi*4 + 0x3fbc00]
and edx, 0xff
mov edx, dword [edx*4 + 0x3fbc00]
and esi, 0xff0000
xor ecx, esi
and edx, 0xff000000
xor ecx, edx
xor ecx, dword [eax]
mov edx, dword [eax + 4]
xor edx, ecx
lea esi, [eax + 0x10]
mov dword [esi], ecx
mov ecx, dword [eax + 8]
xor ecx, edx
mov dword [eax + 0x18], ecx
xor ecx, edi
mov dword [eax + 0x14], edx
mov dword [eax + 0x1c], ecx
mov edi, 0x3fd404
mov ecx, esi
mov edx, dword [ecx + 0xc]
mov dword [esp + 8], edx
movzx esi, byte [esp + 0xa]
mov esi, dword [esi*4 + 0x3fbc00]
movzx eax, dh
mov eax, dword [eax*4 + 0x3fbc00]
and eax, 0xff
and esi, 0xff00
xor eax, esi
mov esi, edx
and edx, 0xff
mov edx, dword [edx*4 + 0x3fbc00]
shr esi, 0x18
mov esi, dword [esi*4 + 0x3fbc00]
and edx, 0xff000000
and esi, 0xff0000
xor eax, esi
xor eax, edx
xor eax, dword [edi]
lea esi, [ecx + 0x10]
xor eax, dword [ecx]
add edi, 4
mov dword [esi], eax
mov edx, dword [ecx + 4]
xor edx, eax
mov dword [ecx + 0x14], edx
mov eax, dword [ecx + 8]
xor eax, edx
mov dword [ecx + 0x18], eax
mov edx, dword [ecx + 0xc]
xor edx, eax
cmp edi, 0x3fd428
mov dword [ecx + 0x1c], edx
jne 0xb0292
pop edi
pop esi
pop ecx
ret
Function at 0xb0320
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Encrypt data using aes

Disassembly:
push esi
push edi
mov esi, eax
call fcn.000b0200
push ebx
xor edx, edx
mov edi, 0x28
lea ecx, [esi + 0xa8]
lea eax, [esi + 8]
push ebp
jmp 0xb0340
mov ebp, dword [ecx - 8]
mov ebx, dword [eax - 8]
mov dword [eax - 8], ebp
mov ebp, dword [ecx - 4]
mov dword [ecx - 8], ebx
mov ebx, dword [eax - 4]
mov dword [eax - 4], ebp
mov ebp, dword [ecx]
mov dword [ecx - 4], ebx
mov ebx, dword [eax]
mov dword [eax], ebp
mov ebp, dword [ecx + 4]
mov dword [ecx], ebx
mov ebx, dword [eax + 4]
mov dword [eax + 4], ebp
mov dword [ecx + 4], ebx
add edx, 4
sub edi, 4
add eax, 0x10
sub ecx, 0x10
cmp edx, edi
jl 0xb0340
pop ebp
mov ecx, 9
pop ebx
jmp 0xb0390
mov eax, dword [esi + 0x10]
movzx edi, byte [esi + 0x12]
mov edi, dword [edi*4 + 0x3fbc00]
add esi, 0x10
mov edx, eax
shr edx, 0x18
mov edx, dword [edx*4 + 0x3fbc00]
and edx, 0xff
mov edx, dword [edx*4 + 0x3fcc00]
and edi, 0xff
xor edx, dword [edi*4 + 0x3fc800]
movzx edi, byte [esi + 1]
mov edi, dword [edi*4 + 0x3fbc00]
and edi, 0xff
xor edx, dword [edi*4 + 0x3fc400]
movzx edi, byte [esi + 6]
and eax, 0xff
mov eax, dword [eax*4 + 0x3fbc00]
and eax, 0xff
xor edx, dword [eax*4 + 0x3fc000]
mov eax, dword [esi + 4]
mov dword [esi], edx
mov edi, dword [edi*4 + 0x3fbc00]
mov edx, eax
shr edx, 0x18
mov edx, dword [edx*4 + 0x3fbc00]
and edx, 0xff
mov edx, dword [edx*4 + 0x3fcc00]
and edi, 0xff
xor edx, dword [edi*4 + 0x3fc800]
movzx edi, byte [esi + 5]
mov edi, dword [edi*4 + 0x3fbc00]
and edi, 0xff
xor edx, dword [edi*4 + 0x3fc400]
movzx edi, byte [esi + 0xa]
and eax, 0xff
mov eax, dword [eax*4 + 0x3fbc00]
and eax, 0xff
xor edx, dword [eax*4 + 0x3fc000]
mov eax, dword [esi + 8]
mov dword [esi + 4], edx
mov edi, dword [edi*4 + 0x3fbc00]
mov edx, eax
shr edx, 0x18
mov edx, dword [edx*4 + 0x3fbc00]
and edx, 0xff
mov edx, dword [edx*4 + 0x3fcc00]
and edi, 0xff
xor edx, dword [edi*4 + 0x3fc800]
movzx edi, byte [esi + 9]
mov edi, dword [edi*4 + 0x3fbc00]
and edi, 0xff
xor edx, dword [edi*4 + 0x3fc400]
movzx edi, byte [esi + 0xe]
and eax, 0xff
mov eax, dword [eax*4 + 0x3fbc00]
and eax, 0xff
xor edx, dword [eax*4 + 0x3fc000]
mov eax, dword [esi + 0xc]
mov dword [esi + 8], edx
mov edi, dword [edi*4 + 0x3fbc00]
mov edx, eax
shr edx, 0x18
mov edx, dword [edx*4 + 0x3fbc00]
and edx, 0xff
mov edx, dword [edx*4 + 0x3fcc00]
and edi, 0xff
xor edx, dword [edi*4 + 0x3fc800]
movzx edi, byte [esi + 0xd]
mov edi, dword [edi*4 + 0x3fbc00]
and eax, 0xff
mov eax, dword [eax*4 + 0x3fbc00]
and edi, 0xff
xor edx, dword [edi*4 + 0x3fc400]
and eax, 0xff
xor edx, dword [eax*4 + 0x3fc000]
sub ecx, 1
mov dword [esi + 0xc], edx
jne 0xb0390
pop edi
pop esi
ret
Function at 0xb0f80
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
push edi
mov edi, dword [esp + 0x3c]
mov ebx, eax
mov esi, ecx
lea ecx, [ebp + 0x160]
mov eax, edi
shr eax, 4
mov dword [esp + 0x10], ecx
mov edx, ecx
je 0xb0fef
mov edi, eax
mov eax, dword [edx]
xor eax, dword [esi]
mov ecx, dword [edx + 4]
xor ecx, dword [esi + 4]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 8]
xor eax, dword [esi + 8]
mov dword [esp + 0x18], ecx
mov ecx, dword [edx + 0xc]
xor ecx, dword [esi + 0xc]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
push ebx
lea ecx, [esp + 0x18]
mov eax, ebp
call fcn.000b0540
mov edx, ebx
add esi, 0x10
add ebx, 0x10
sub edi, 1
jne 0xb0fa8
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x3c]
and edi, 0xf
mov ebp, edi
je 0xb106e
mov ecx, ebp
mov eax, ecx
shr ecx, 2
lea edi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
cmp ebp, 0xf
rep movsb byte es:[edi], byte [esi]
mov byte [esp + ebp + 0x24], 0x80
jae 0xb102f
mov ecx, 0xf
sub ecx, ebp
mov esi, ecx
shr ecx, 2
xor eax, eax
lea edi, [esp + ebp + 0x25]
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [edx]
xor ecx, dword [esp + 0x24]
mov eax, dword [edx + 4]
xor eax, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
mov ecx, dword [edx + 8]
xor ecx, dword [esp + 0x2c]
mov edx, dword [edx + 0xc]
xor edx, dword [esp + 0x30]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1c], ecx
push ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], edx
call fcn.000b0540
mov ecx, dword [esp + 0x10]
mov edx, ebx
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 8]
pop edi
pop esi
mov dword [ecx + 8], eax
mov edx, dword [edx + 0xc]
pop ebp
mov dword [ecx + 0xc], edx
pop ebx
add esp, 0x24
ret 8
Function at 0xb1119
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov edx, dword [esp + 0x1c]
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x24]
push edi
mov edi, eax
add ecx, 0x160
mov eax, edx
shr eax, 4
mov dword [esp + 0x10], ecx
mov ebx, ecx
je 0xb1174
mov ebp, eax
mov eax, dword [esp + 0x28]
push edi
mov edx, esi
add eax, 0xb0
call fcn.000b09e0
mov eax, dword [ebx]
xor dword [edi], eax
mov ecx, dword [ebx + 4]
xor dword [edi + 4], ecx
mov edx, dword [ebx + 8]
xor dword [edi + 8], edx
mov eax, dword [ebx + 0xc]
xor dword [edi + 0xc], eax
mov ebx, esi
add edi, 0x10
add esi, 0x10
sub ebp, 1
jne 0xb1138
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
and edx, 0xf
mov ebp, edx
je 0xb11c5
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x14]
push ecx
add eax, 0xb0
mov edx, esi
call fcn.000b09e0
mov ecx, dword [ebx + 8]
xor dword [esp + 0x1c], ecx
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
xor dword [esp + 0x14], edx
xor dword [esp + 0x18], eax
mov edx, dword [ebx + 0xc]
xor dword [esp + 0x20], edx
mov ecx, ebp
mov eax, ecx
shr ecx, 2
mov ebx, esi
lea esi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx]
mov dword [ecx], edx
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
mov edx, dword [ebx + 8]
pop edi
pop esi
mov dword [ecx + 8], edx
mov eax, dword [ebx + 0xc]
pop ebp
mov dword [ecx + 0xc], eax
pop ebx
add esp, 0x14
ret 8

Function at 0xb1950
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
or eax, 0xffffffff
xor ecx, ecx
test edx, edx
jbe 0xb197c
push ebx
push edi
jmp 0xb1960
movzx edi, byte [ecx + esi]
movzx ebx, al
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x4e5a98]
add ecx, 1
cmp ecx, edx
jb 0xb1960
pop edi
pop ebx
not eax
ret
Function at 0xba5d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
mov ecx, esi
mov byte [esi + 0x78], 4
call dword [eax + 0x44]
neg eax
sbb eax, eax
and eax, 0xf
add eax, 9
mov word [esi + 0x84], ax
mov eax, dword [esi + 0x18]
test eax, eax
je 0xba602
and dword [eax + 0xfc], 0xfffffffb
push ebx
mov ebx, dword [esi + 0xe0]
push ebp
push edi
mov dword [esp + 0x14], 2
test ebx, ebx
je 0xba727
cmp byte [ebx + 0x3c], 3
jne 0xba727
mov byte [ebx + 0x3c], 4
mov cx, word [esi + 0x84]
mov word [ebx + 0x48], cx
mov eax, dword [esi + 0xa8]
test al, 8
je 0xba67b
cmp ebx, dword [esi + 0xe0]
jne 0xba67b
mov edi, dword [0x4e73e0]
add edi, 8
mov dword [esp + 0x10], 0x20
call fcn.000b57c0
mov edi, dword [0x5271fc]
lea edx, [esp + 0x10]
push edx
call fcn.00026230
add esp, 4
and dword [esi + 0xa8], 0xfffffff7
jmp 0xba727
cmp dword [esp + 0x24], 0
je 0xba727
test ah, 2
jne 0xba727
cmp dword [esi + 0xc4], 0xffffffff
je 0xba727
mov ebp, dword [ebx + 4]
mov ecx, dword [esp + 0x20]
mov eax, dword [ebx + 8]
mov edx, dword [ecx]
mov dword [esp + 0x18], eax
lea esi, [ebp + ebp*2 - 3]
lea edi, [ebp*4 - 4]
call dword [edx + 0xb4]
test ebp, ebp
jbe 0xba717
mov dword [esp + 0x10], ebp
mov ebp, dword [ebx + 0x60]
mov ecx, dword [ebp]
test ecx, ecx
mov eax, dword [ebx]
je 0xba6d6
lea edx, [ecx + 0x38]
jmp 0xba6d8
xor edx, edx
mov ecx, dword [ebp]
test ecx, ecx
je 0xba6e4
add ecx, 0x38
jmp 0xba6e6
xor ecx, ecx
mov ebp, dword [esp + 0x18]
push 0
push ebp
push 3
push eax
push eax
mov eax, dword [0x4e73e0]
push edi
push edx
push ecx
push 0xd3d03902
push 7
add eax, 8
mov edx, esi
call fcn.000cbda0
sub esi, 3
sub edi, 4
sub dword [esp + 0x10], 1
jne 0xba6c5
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
call dword [eax + 0xb8]
mov esi, dword [esp + 0x20]
mov ebx, dword [esi + 0xe4]
test ebx, ebx
je 0xba737
test byte [ebx + 0x51], 8
je 0xba739
xor ebx, ebx
sub dword [esp + 0x14], 1
jne 0xba613
mov ecx, dword [0x4e73e0]
mov eax, dword [ecx + 0x2520]
or dword [eax + 0xc], 0xc
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x2c]
test eax, eax
pop edi
pop ebp
pop ebx
je 0xba76e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
call fcn.000de040
pop esi
add esp, 0xc
ret 8