joyce8/EMBER2024-capa huggingface dataset:
Function at 0x484600
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b90ad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xc8
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x24], 0x4d7a44
push 0x4d7a44
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x20], 0
mov dword [ebp - 4], 0
je 0x484773
lea ecx, [ebp - 0xb0]
call fcn.004a2bd0
mov eax, 0x3e8
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 4
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0xb0]
call fcn.004a24d0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 4
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0xb0]
call fcn.004a24d0
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x4846f2
push str.SystemFunction036
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4846eb
push 0x20
lea ecx, [ebp - 0xd0]
push ecx
call eax
test al, al
je 0x4846eb
push 0x20
lea edx, [ebp - 0xd0]
mov dword [ebp - 0x18], 0x64
lea ecx, [ebp - 0xb0]
call fcn.004a24d0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x484710
push 8
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0xb0]
call fcn.004a24d0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 4
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0xb0]
call fcn.004a24d0
mov edi, 0x64
nop
mov edx, esi
lea ecx, [ebp - 0xb0]
call fcn.004a2ae0
lea ecx, [ebp - 0xb0]
call fcn.004a2bd0
push 0x20
mov edx, esi
lea ecx, [ebp - 0xb0]
call fcn.004a24d0
sub edi, 1
jne 0x484730
sub dword [ebp - 0x18], 1
jne 0x4846f2
mov edx, esi
lea ecx, [ebp - 0xb0]
call fcn.004a2ae0
mov byte [esi + 0x20], 0
mov esi, dword [ebx + 0xc]
test esi, esi
je 0x48480d
mov edi, dword [ebx + 8]
lea ecx, [ebp - 0xb0]
call fcn.004a2bd0
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0xb0]
push 0x20
call fcn.004a24d0
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0xb0]
call fcn.004a2ae0
lea ecx, [ebp - 0xb0]
call fcn.004a2bd0
push 4
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], 0xf672abd1
lea ecx, [ebp - 0xb0]
call fcn.004a24d0
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0xb0]
push 0x20
call fcn.004a24d0
lea edx, [ebp - 0xd0]
lea ecx, [ebp - 0xb0]
call fcn.004a2ae0
xor eax, eax
nop
test esi, esi
je 0x48480d
mov cl, byte [ebp + eax - 0xd0]
dec esi
mov byte [edi], cl
inc eax
inc edi
cmp eax, 0x20
jb 0x4847f0
test esi, esi
jne 0x484781
push 0x4d7a44
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
Function at 0x484b80
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
mov eax, 0x12345678
push esi
push edi
xor edi, edi
mov esi, 0x23456789
mov edx, 0x34567890
test ebx, ebx
je 0x484bda
push ebp
mov ebp, dword [esp + 0x18]
movzx ecx, byte [edi + ebp]
inc edi
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4dc680]
movzx ecx, al
add ecx, esi
imul esi, ecx, 0x8088405
inc esi
mov ecx, esi
shr ecx, 0x18
xor ecx, edx
shr edx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x4dc680]
cmp edi, ebx
jb 0x484ba1
pop ebp
mov ecx, dword [esp + 0x10]
pop edi
mov dword [ecx + 0x18], esi
pop esi
mov dword [ecx + 0x14], eax
xor eax, eax
mov dword [ecx + 0x1c], edx
pop ebx
ret 0xc

Function at 0x484d20
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
mov ebx, dword [esi + 0x18]
mov edi, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], eax
nop word [eax + eax]
mov ecx, eax
or ecx, 2
mov edx, ecx
xor edx, 1
imul edx, ecx
shr edx, 8
xor dl, byte [esi + ebp + 0x24]
movzx ecx, dl
xor ecx, ebx
shr ebx, 8
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x4dc680]
movzx ecx, bl
add ecx, edi
imul edi, ecx, 0x8088405
inc edi
mov ecx, edi
shr ecx, 0x18
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4dc680]
mov byte [esi + ebp + 0x24], dl
inc ebp
cmp ebp, 0xc
jb 0x484d40
mov dword [esi + 0x10], edi
pop edi
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], eax
pop esi
pop ebp
pop ebx
ret

Function at 0x484dc0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
push 0xb
lea eax, [esp + 0x14]
mov esi, ecx
push eax
mov ecx, 0x4d6320
call fcn.00484600
mov eax, dword [esp + 0x24]
mov edi, dword [esi + 0x1c]
shr eax, 8
xor ebp, ebp
mov byte [esp + 0x1b], al
mov eax, dword [esi + 0x18]
mov dword [esp + 0x24], eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x20]
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], eax
nop dword [eax]
mov bl, byte [esp + ebp + 0x10]
mov ecx, eax
or ecx, 2
mov edx, ecx
xor edx, 1
imul edx, ecx
movzx ecx, bl
shr edx, 8
xor dl, bl
mov byte [esp + ebp + 0x10], dl
inc ebp
mov edx, dword [esp + 0x24]
xor ecx, edx
movzx ecx, cl
shr edx, 8
xor edx, dword [ecx*4 + 0x4dc680]
movzx ecx, dl
add ecx, edi
mov dword [esp + 0x24], edx
imul edi, ecx, 0x8088405
inc edi
mov ecx, edi
shr ecx, 0x18
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4dc680]
cmp ebp, 0xc
jb 0x484e00
mov ecx, dword [esp + 0x20]
mov dword [esi + 0xc], edx
lea edx, [esp + 0x10]
push 0xc
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], eax
call fcn.00411cd0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x484fd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xcc
push esi
movzx eax, dl
mov esi, ecx
push 0x40
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004a5da0
movups xmm0, xmmword [esi]
add esp, 0xc
mov eax, 0x10
pxor xmm0, xmmword [esp + 0x10]
movaps xmmword [esp + 0x10], xmm0
mov cl, byte [eax + esi]
xor byte [esp + eax + 0x10], cl
inc eax
cmp eax, 0x14
jb 0x485005
lea ecx, [esp + 0x50]
call fcn.004a23c0
push 0x40
lea edx, [esp + 0x14]
lea ecx, [esp + 0x54]
call fcn.004a24d0
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x50]
call fcn.004a2260
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x487400
Capabilities:
Check os version

Disassembly:
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x487431
call fcn.00487690
test eax, eax
je 0x487431
mov edx, 1
lea ecx, [esp]
call fcn.00487670
mov eax, dword [esp + 8]
shr eax, 0x19
and eax, 1
add esp, 0x10
ret
xor eax, eax
shr eax, 0x19
and eax, 1
add esp, 0x10
ret

Function at 0x487480
Capabilities:
Check os version

Disassembly:
sub esp, 0x10
push 0x11
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x4874d2
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x4874d2
call fcn.00487690
test eax, eax
je 0x4874d2
mov edx, 1
lea ecx, [esp]
call fcn.00487670
mov eax, dword [esp + 8]
and eax, 0x18000000
cmp eax, 0x18000000
jne 0x4874d2
xor ecx, ecx
xgetbv
and eax, 6
cmp al, 6
sete cl
mov eax, ecx
add esp, 0x10
ret
xor eax, eax
add esp, 0x10
ret

Function at 0x487530
Capabilities:
Check os version

Disassembly:
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x487562
call fcn.00487690
cmp eax, 7
jb 0x487562
mov edx, 7
lea ecx, [esp]
call fcn.00487670
mov eax, dword [esp + 4]
shr eax, 0x1d
and eax, 1
add esp, 0x10
ret
xor eax, eax
add esp, 0x10
ret

Function at 0x487570
Capabilities:
Check os version

Disassembly:
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x4875a1
call fcn.00487690
test eax, eax
je 0x4875a1
mov edx, 1
lea ecx, [esp]
call fcn.00487670
mov eax, dword [esp + 0xc]
shr eax, 0x1a
and eax, 1
add esp, 0x10
ret
xor eax, eax
add esp, 0x10
ret

Function at 0x4875b0
Capabilities:
Check os version

Disassembly:
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x4875e1
call fcn.00487690
test eax, eax
je 0x4875e1
mov edx, 1
lea ecx, [esp]
call fcn.00487670
mov eax, dword [esp + 8]
shr eax, 0x13
and eax, 1
add esp, 0x10
ret
xor eax, eax
shr eax, 0x13
and eax, 1
add esp, 0x10
ret

Function at 0x4875f0
Capabilities:
Check os version

Disassembly:
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x487621
call fcn.00487690
test eax, eax
je 0x487621
mov edx, 1
lea ecx, [esp]
call fcn.00487670
mov eax, dword [esp + 8]
shr eax, 9
and eax, 1
add esp, 0x10
ret
xor eax, eax
shr eax, 9
and eax, 1
add esp, 0x10
ret
Function at 0x488100
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x38], edx
mov ebp, ecx
nop dword [eax]
mov edi, dword [ebp + 0x10]
cmp edi, 3
jae 0x488124
mov ecx, ebp
call fcn.0048a120
jmp 0x4882a3
mov ecx, dword [ebp]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
movzx edx, byte [ecx]
movzx eax, byte [ecx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 1]
xor edx, dword [ebp + eax*4 + 0x60]
mov eax, dword [ebp + 0x24]
movzx ecx, dx
mov ebx, dword [eax + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [ebp + 4]
mov dword [ecx], eax
mov eax, dword [ebp + 0x30]
mov ecx, dword [ebp + 0x28]
mov esi, dword [ebp]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x10], esi
mov esi, dword [ebp + 4]
mov dword [esp + 0x20], esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
lea ecx, [ecx + eax*8]
mov eax, esi
mov dword [esp + 0x14], ecx
mov esi, dword [esp + 0x24]
lea edx, [ecx + 4]
sub eax, esi
mov dword [esp + 0x18], edx
cmp esi, dword [esp + 0x20]
sbb esi, esi
and esi, eax
mov dword [esp + 0x34], esi
cmp esi, ebx
mov esi, dword [esp + 0x10]
jae 0x48827e
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x40]
sub ecx, ebx
cmp dword [esp + 0x3c], ecx
sbb eax, eax
sub esi, ecx
and eax, dword [esp + 0x24]
sub eax, ecx
mov dword [esp + 0x44], esi
add eax, dword [esp + 0x3c]
lea edx, [edx + eax*8]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x28]
mov eax, edx
cmp dword [esp + 0x2c], edx
mov edx, dword [esp + 0x10]
cmovb eax, dword [esp + 0x2c]
mov cl, byte [eax + esi]
cmp cl, byte [eax + edx]
mov edx, dword [esp + 0x1c]
jne 0x488234
inc eax
cmp eax, edi
je 0x488219
mov ecx, dword [esp + 0x10]
sub esi, ecx
lea edx, [eax + ecx]
mov cl, byte [esi + edx]
cmp cl, byte [edx]
jne 0x48822c
inc eax
inc edx
cmp eax, edi
jne 0x488208
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [edx + 4]
mov dword [ecx], eax
jmp 0x48828a
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x1c]
mov cl, byte [eax + esi]
mov esi, dword [esp + 0x10]
cmp cl, byte [eax + esi]
jae 0x488259
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov dword [ecx], ebx
lea ecx, [edx + 4]
mov ebx, dword [ecx]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
jmp 0x48826d
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], edx
mov dword [esp + 0x2c], eax
mov dword [ecx], ebx
mov ebx, dword [edx]
mov ecx, dword [esp + 0x14]
sub dword [esp + 0x30], 1
je 0x48827e
cmp dword [esp + 0x34], ebx
jb 0x4881b4
mov dword [ecx], 0
mov dword [edx], 0
mov eax, dword [ebp + 4]
inc dword [ebp + 0x14]
inc eax
inc dword [ebp]
mov dword [ebp + 4], eax
cmp eax, dword [ebp + 8]
jne 0x4882a3
mov ecx, ebp
call fcn.004899d0
sub dword [esp + 0x38], 1
jne 0x488110
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
Function at 0x488fa0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x20
push ebx
mov ebx, ecx
push esi
push edi
mov edi, edx
mov esi, dword [ebx + 0x10]
mov dword [esp + 0x24], esi
cmp esi, 3
jae 0x488fc4
call fcn.0048a120
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x20
ret
mov ecx, dword [ebx]
push ebp
movzx edx, byte [ecx]
movzx eax, byte [ecx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 1]
xor edx, dword [ebx + eax*4 + 0x60]
mov eax, dword [ebx + 0x24]
movzx ecx, dx
mov edx, dword [eax + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, 2
mov eax, dword [ebx + 0x30]
mov ebp, dword [ebx]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 4]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov dword [esi + eax*4], edx
test edx, edx
je 0x4890b7
mov esi, dword [esp + 0x20]
sub esi, edx
mov edx, dword [esp + 0x24]
cmp esi, edx
jae 0x4890b7
cmp eax, esi
sbb eax, eax
and eax, edx
mov edx, dword [esp + 0x14]
sub eax, esi
add eax, dword [esp + 0x10]
mov eax, dword [edx + eax*4]
mov edx, ebp
sub edx, esi
mov dword [esp + 0x2c], eax
mov al, byte [ecx + ebp]
cmp al, byte [edx + ecx]
jne 0x489098
mov cl, byte [ebp]
mov eax, ebp
cmp cl, byte [edx]
jne 0x48907d
mov edx, dword [esp + 0x28]
inc eax
lea ecx, [edx + ebp]
cmp eax, ecx
je 0x4890ac
mov cl, byte [eax]
mov edx, eax
sub edx, esi
cmp cl, byte [edx]
je 0x489067
mov ecx, dword [esp + 0x18]
sub eax, ebp
cmp ecx, eax
jae 0x489098
mov ecx, eax
mov dword [edi], eax
lea eax, [esi - 1]
mov dword [esp + 0x18], ecx
mov dword [edi + 4], eax
add edi, 8
sub dword [esp + 0x1c], 1
je 0x4890b7
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
jmp 0x489025
lea eax, [esi - 1]
mov dword [edi], edx
mov dword [edi + 4], eax
add edi, 8
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x14]
inc ecx
inc dword [ebx]
mov dword [ebx + 4], ecx
pop ebp
cmp ecx, dword [ebx + 8]
jne 0x4890d0
mov ecx, ebx
call fcn.004899d0
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x20
ret
Function at 0x4890e0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, edx
push edi
mov dword [esp + 0x14], esi
nop
cmp dword [esi + 0x10], 3
jae 0x489100
mov ecx, esi
call fcn.0048a120
dec ebx
jmp 0x48917e
mov ebp, dword [esi + 8]
mov edi, dword [esi + 4]
sub ebp, edi
mov ecx, dword [esi + 0x14]
cmp ebx, ebp
mov eax, dword [esi + 0x28]
cmovbe ebp, ebx
sub ebx, ebp
mov dword [esp + 0x18], ebx
lea ebx, [eax + ecx*4]
lea eax, [ecx + ebp]
mov ecx, dword [esi + 0x24]
mov dword [esi + 0x14], eax
mov eax, dword [esi]
mov dword [esp + 0x10], ecx
nop dword [eax + eax]
movzx ecx, byte [eax + 2]
lea edx, [eax + 1]
movzx eax, byte [eax]
lea ebx, [ebx + 4]
shl eax, 8
or ecx, eax
movzx eax, byte [edx]
xor ecx, dword [esi + eax*4 + 0x60]
mov esi, dword [esp + 0x10]
movzx eax, cx
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + eax*4]
mov dword [esi + eax*4], edi
inc edi
mov esi, dword [esp + 0x14]
mov eax, edx
mov dword [ebx - 4], ecx
sub ebp, 1
jne 0x489130
mov ebx, dword [esp + 0x18]
mov dword [esi], eax
mov dword [esi + 4], edi
cmp edi, dword [esi + 8]
jne 0x48917e
mov ecx, esi
call fcn.004899d0
test ebx, ebx
jne 0x4890f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

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

Disassembly:
push esi
mov dword [ecx], 0
lea esi, [ecx + 0x60]
mov dword [ecx + 0x34], 0
xor edx, edx
mov word [ecx + 0x1e], 0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x468], 0xffffffff
mov dword [ecx + 0x46c], 0xffffffff
mov dword [ecx + 0x30], 0x20
mov byte [ecx + 0x1d], 1
mov dword [ecx + 0x48], 4
mov word [ecx + 0x58], 2
mov ecx, edx
lea esi, [esi + 4]
and ecx, 1
mov eax, edx
shr eax, 1
neg ecx
and ecx, 0xedb88320
inc edx
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [esi - 4], eax
cmp edx, 0x100
jb 0x489ad3
pop esi
ret
Function at 0x48a680
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
push edi
mov esi, ecx
nop dword [eax]
mov ecx, dword [esi + 0x60]
xor ebx, ebx
call fcn.0049aa70
nop word [eax + eax]
cmp dword [esi + 0x58], 0
jne 0x48a72c
mov ecx, dword [esi + 0x68]
call fcn.0049aa70
cmp dword [esi + 0x5c], 0
lea ecx, [esi + 0x140]
jne 0x48a71a
cmp dword [esi + 0x15c], 0
jne 0x48a731
cmp dword [esi + 0x154], 0
lea edi, [esi + 0x178]
jne 0x48a6e3
push edi
call ebp
mov dword [esi + 0x15c], 1
mov edx, ebx
mov ecx, esi
and edx, 0xf
shl edx, 0x12
add edx, dword [esi + 4]
call fcn.0048a440
cmp dword [esi + 0x15c], 0
je 0x48a731
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esi + 0x6c]
mov dword [esi + 0x15c], 0
inc ebx
call fcn.0049abb0
jmp 0x48a6a0
call fcn.0048b8e0
lea ecx, [esi + 0x64]
call fcn.0049aa00
jmp 0x48a690
pop edi
pop esi
pop ebp
pop ebx
ret
push 1
call fcn.004a8b6c
int3
Function at 0x492690
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, ecx
mov ebx, edx
mov ecx, dword [esp + 0x1c]
push esi
push edi
mov edi, dword [esp + 0x28]
movzx esi, word [ecx]
mov eax, esi
mov dword [esp + 0x14], ebx
xor eax, 0x7f0
shr esi, 4
shr eax, 4
mov dword [esp + 0x10], ebp
mov edx, dword [edi + esi*4]
mov eax, dword [edi + eax*4]
mov dword [esp + 0x28], eax
movzx eax, word [ecx + 0x10]
mov esi, dword [esp + 0x28]
shr eax, 4
mov dword [esp + 0x1c], edx
mov eax, dword [edi + eax*4]
add eax, esi
mov dword [esp + 0x18], eax
test ebx, ebx
je 0x492728
lea ebx, [ebp + 4]
mov esi, ecx
mov ebp, dword [esp + 0x14]
nop word [eax + eax]
push edi
push ebx
mov ecx, esi
call fcn.00494660
mov edx, dword [esp + 0x18]
lea eax, [ebx + 0x20]
push edi
push eax
lea ecx, [esi + 0x10]
call fcn.00494660
mov edx, dword [esp + 0x1c]
add ebx, 0x440
add esi, 0x20
sub ebp, 1
jne 0x4926f0
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x10]
mov ebx, dword [ebp]
cmp ebx, 0x10
jbe 0x492802
lea eax, [ebp + 0x44]
add ebx, 0xfffffff1
mov dword [esp + 0x18], eax
movzx eax, word [ecx + 0x10]
xor eax, 0x7f0
shr ebx, 1
shr eax, 4
lea ebp, [ebx + 0x180]
add esi, dword [edi + eax*4]
lea ebp, [ecx + ebp*2]
mov dword [esp + 0x28], esi
nop dword [eax]
dec ebx
lea ebp, [ebp - 2]
mov dword [esp + 0x1c], ebx
lea eax, [ebx + 0x80]
mov ebx, dword [esp + 0x24]
mov edx, eax
shr eax, 1
and edx, 1
neg edx
shr edx, 4
movzx ecx, word [ebx + eax*2 + 0x200]
and edx, 0x7f
shr ecx, 4
xor ecx, edx
add esi, dword [edi + ecx*4]
cmp eax, 2
jae 0x492772
movzx ecx, word [ebp]
mov ebx, dword [esp + 0x1c]
mov eax, ecx
mov edx, dword [esp + 0x18]
xor ecx, 0x7f0
shr eax, 4
shr ecx, 4
mov eax, dword [edi + eax*4]
add eax, esi
mov dword [edx + ebx*8], eax
mov eax, dword [edi + ecx*4]
add eax, esi
mov esi, dword [esp + 0x28]
mov dword [edx + ebx*8 + 4], eax
test ebx, ebx
jne 0x492760
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
lea ebx, [eax*4 - 0x40]
mov eax, dword [esp + 0x14]
cmp eax, 1
jbe 0x492802
add esi, 0x484
lea edi, [eax - 1]
push ebx
push edx
push esi
call fcn.004a40c0
mov edx, dword [esp + 0x24]
add esp, 0xc
add esi, 0x440
sub edi, 1
jne 0x4927e8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8

Function at 0x4928d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
xor eax, eax
push esi
push edi
mov edi, ecx
or edx, 0x100
mov esi, edx
shr edx, 1
and esi, 1
neg esi
shr esi, 4
movzx ecx, word [edi + edx*2]
and esi, 0x7f
shr ecx, 4
xor ecx, esi
add eax, dword [ebx + ecx*4]
cmp edx, 2
jae 0x4928e1
pop edi
pop esi
pop ebx
ret 4
Function at 0x492910
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, 0x100
xor ebx, ebx
push edi
mov edi, dword [esp + 0x14]
mov ebp, ecx
or edx, esi
add edi, edi
mov ecx, esi
and ecx, edi
mov eax, edx
shr eax, 8
add ecx, esi
add eax, ecx
movzx ecx, word [ebp + eax*2]
mov eax, edx
shr eax, 7
add edx, edx
and eax, 1
shr ecx, 4
neg eax
shr eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [esp + 0x18]
add ebx, dword [eax + ecx*4]
mov ecx, edx
xor ecx, edi
not ecx
and esi, ecx
cmp edx, 0x10000
jb 0x492923
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 8
Function at 0x493d00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movaps xmm0, xmmword [0x4c1510]
push ebx
push esi
mov esi, ecx
mov ebx, 0x400
push edi
mov edi, 0xc
mov eax, dword [esi + 0x78]
lea edx, [esi + 0x1e68]
mov dword [esi + 0x70], eax
lea eax, [esi + 0x2030]
mov dword [esi + 0x2c], 0
mov dword [esi + 0x44], 1
mov dword [esi + 0x40], 1
mov dword [esi + 0x3c], 1
mov dword [esi + 0x38], 1
mov dword [esi + 0x58], 0xffffffff
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
movups xmmword [esi + 0x1e30], xmm0
movups xmmword [esi + 0x1e40], xmm0
mov ecx, 0x10
nop word [eax + eax]
mov word [eax - 0x180], bx
mov word [eax], bx
add eax, 2
sub ecx, 1
jne 0x493db0
mov word [edx - 0x18], bx
mov word [edx], bx
mov word [edx + 0x18], bx
mov word [edx + 0x30], bx
add edx, 2
sub edi, 1
jne 0x493da1
mov eax, 0x4000400
lea edi, [esi + 0x21b0]
mov ecx, 0x80
rep stosd dword es:[edi], eax
lea edi, [esi + 0x23b0]
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x98]
mov eax, 0x300
add ecx, dword [esi + 0x94]
shl eax, cl
test eax, eax
je 0x493e22
mov edi, dword [esi + 0x50]
mov ecx, eax
shr ecx, 1
mov eax, 0x4000400
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, 0x4000400
lea edi, [esi + 0x24b0]
mov ecx, 0x80
rep stosd dword es:[edi], eax
lea edi, [esi + 0x26b0]
mov ecx, 0x80
rep stosd dword es:[edi], eax
mov ecx, 0x80
lea edi, [esi + 0x28b0]
rep stosd dword es:[edi], eax
lea edi, [esi + 0x2ab0]
mov ecx, 0x80
rep stosd dword es:[edi], eax
mov dword [esi + 0x1c], 0
lea eax, [esi + 0xbcb8]
mov dword [esi + 0x18], 0
mov ecx, 0x800
mov dword [eax], 0x40000000
lea eax, [eax + 0x20]
sub ecx, 1
jne 0x493e74
mov dword [esi + 0x34], ecx
mov eax, 1
mov ecx, dword [esi + 0x9c]
mov edx, 0x100
shl eax, cl
mov ecx, dword [esi + 0x98]
dec eax
mov dword [esi + 0x4c], eax
mov eax, edx
shl eax, cl
mov ecx, dword [esi + 0x94]
shr edx, cl
sub eax, edx
pop edi
mov dword [esi + 0x48], eax
pop esi
pop ebx
ret

Function at 0x494660
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x18]
xor ebx, ebx
mov dword [esp + 0xc], edx
mov edx, ecx
push esi
push edi
mov dword [esp + 0x10], edx
mov edi, ebx
mov esi, ebx
shr esi, 2
shr edi, 1
mov eax, edi
and eax, 1
movzx ecx, word [edx + esi*2 + 4]
neg eax
shr eax, 4
neg esi
and eax, 0x7f
shr ecx, 4
xor ecx, eax
and esi, 0x7f0
movzx eax, word [edx + 2]
xor esi, eax
mov eax, dword [esp + 0x10]
shr esi, 4
mov edx, dword [ebp + ecx*4]
movzx ecx, word [eax + edi*2 + 8]
add edx, dword [ebp + esi*4]
mov eax, ecx
add edx, dword [esp + 0x14]
xor ecx, 0x7f0
mov esi, dword [esp + 0x1c]
shr eax, 4
shr ecx, 4
mov eax, dword [ebp + eax*4]
add eax, edx
mov dword [esi + ebx*4], eax
mov eax, dword [ebp + ecx*4]
add eax, edx
mov edx, dword [esp + 0x10]
mov dword [esi + ebx*4 + 4], eax
add ebx, 2
cmp ebx, 8
jb 0x494677
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8