joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ae438
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f8c
mov eax, dword [ebp - 8]
call fcn.00404f8c
mov eax, dword [ebp - 0xc]
call fcn.00404f8c
mov eax, dword [ebp + 0xc]
call fcn.00404f8c
xor eax, eax
push ebp
push 0x4ae5ac
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov ebx, 0x14
mov dword [ebp - 0x2c], 0x14
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 3
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x4c], 3
mov dword [ebp - 0x44], 2
mov eax, dword [ebp - 8]
call fcn.00404f9c
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], 3
mov eax, 0x4ae5c0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00404f9c
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4ae589
xor eax, eax
push ebp
push 0x4ae582
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.00404f9c
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404f9c
push eax
mov ax, word [ebp + 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00404f9c
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetConnectA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4ae56b
push ebx
lea eax, [ebp - 0x2c]
push eax
push 0x4b
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4ae562
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
test eax, eax
jne 0x4ae566
xor eax, eax
jmp 0x4ae568
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae589
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae5b3
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404b00
lea eax, [ebp + 0xc]
call fcn.00404adc
ret
Function at 0x4ae5c8
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
mov byte [ebp - 1], 0
mov ebx, 0x14
mov dword [ebp - 0x1c], 0x14
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x34], 2
mov eax, 0x4ae690
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov eax, 0x4ae694
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
push 0x4ae690
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4ae687
xor eax, eax
push ebp
push 0x4ae680
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0x4b
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae687
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
mov al, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4afc1c
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffffff4
mov bl, 2
mov eax, esp
xor ecx, ecx
mov edx, 0xa
call fcn.0040359c
push 0xa
lea eax, [esp + 4]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
je 0x4afc53
cmp byte [esp], 0x31
jne 0x4afc51
mov bl, 1
jmp 0x4afc53
xor ebx, ebx
mov eax, ebx
add esp, 0xc
pop ebx
ret
Function at 0x4b3e70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4b3e79
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404f8c
xor eax, eax
push ebp
push 0x4b4072
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004b3dd4
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004b3dd4
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0xc]
call fcn.00404b74
mov eax, dword [ebp - 0x10]
call fcn.00404d9c
sar eax, 1
jns 0x4b3ed3
adc eax, 0
test eax, eax
jle 0x4b402f
mov dword [ebp - 0x20], eax
mov esi, 1
cmp esi, 1
je 0x4b3ef3
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x18]
call fcn.00404b74
lea eax, [ebp - 0x18]
call fcn.00404adc
mov eax, dword [ebp - 0x14]
call fcn.00404d9c
mov edi, eax
sar edi, 1
jns 0x4b3f0c
adc edi, 0
test edi, edi
jle 0x4b4025
mov ebx, 1
mov edx, 0x4b4080
lea eax, [ebp - 0x28]
call fcn.00403480
lea eax, [ebp - 0x2c]
mov edx, ebx
add edx, edx
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx + edx - 2]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov cl, 2
call fcn.00403450
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x30]
call fcn.00403480
lea eax, [ebp - 0x2c]
mov edx, ebx
add edx, edx
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx + edx - 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x30]
mov cl, 3
call fcn.00403450
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x24]
call fcn.00404d40
mov eax, dword [ebp - 0x24]
call fcn.004093c0
mov byte [ebp - 0x19], al
mov edx, 0x4b4080
lea eax, [ebp - 0x28]
call fcn.00403480
lea eax, [ebp - 0x2c]
mov edx, esi
add edx, edx
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx + edx - 2]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov cl, 2
call fcn.00403450
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x30]
call fcn.00403480
lea eax, [ebp - 0x2c]
mov edx, esi
add edx, edx
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx + edx - 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x30]
mov cl, 3
call fcn.00403450
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x34]
call fcn.00404d40
mov eax, dword [ebp - 0x34]
call fcn.004093c0
xor al, byte [ebp - 0x19]
mov byte [ebp - 0x1a], al
lea eax, [ebp - 0x3c]
mov dl, byte [ebp - 0x1a]
call fcn.00404cc4
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.004b3dd4
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x18]
call fcn.00404da4
inc ebx
dec edi
jne 0x4b3f19
inc esi
dec dword [ebp - 0x20]
jne 0x4b3ee3
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
call fcn.00404b30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4079
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00404b00
lea eax, [ebp - 0x24]
call fcn.00404adc
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00404b00
lea eax, [ebp - 4]
call fcn.00404adc
ret
Function at 0x4b7a5c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b7c3c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
mov edx, 0x24
call fcn.004bb6b0
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x4e1c58], eax
mov eax, dword [ebp - 0xc]
mov dword [0x4e1c5c], eax
mov eax, dword [ebp - 0x24]
mov dword [0x4e1c60], eax
mov eax, dword [0x4e5cc0]
cmp dword [eax], 2
sete byte [0x4e153c]
push 0x4b7c48
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.004bb0f0
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp byte [0x4e153c], 0
jne 0x4b7aeb
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.004bb234
test al, al
je 0x4b7aeb
mov eax, dword [ebp - 0x4c]
mov dword [0x4e6dfc], eax
jmp 0x4b7af2
xor eax, eax
mov dword [0x4e6dfc], eax
call fcn.004b7794
and eax, 0x7f
cmp eax, 0x12
ja case.0x4b7b03.0
jmp dword [eax*4 + 0x4b7b0a]
mov byte [0x4e1528], 1
jmp case.0x4b7b03.0
mov byte [0x4e152c], 1
jmp case.0x4b7b03.0
mov byte [0x4e1530], 1
jmp case.0x4b7b03.0
mov byte [0x4e1534], 1
jmp case.0x4b7b03.0
mov byte [0x4e1538], 1
jmp case.0x4b7b03.0
mov byte [0x4e1540], 1
mov byte [0x4e1544], 1
jmp case.0x4b7b03.0
mov byte [0x4e1540], 1
mov byte [0x4e1548], 1
jmp case.0x4b7b03.0
mov byte [0x4e1540], 1
mov byte [0x4e1548], 1
mov byte [0x4e154c], 1
jmp case.0x4b7b03.0
mov byte [0x4e1550], 1
jmp case.0x4b7b03.0
mov byte [0x4e1554], 1
jmp case.0x4b7b03.0
mov byte [0x4e1558], 1
jmp case.0x4b7b03.0
mov byte [0x4e155c], 1
jmp case.0x4b7b03.0
mov byte [0x4e1560], 1
jmp case.0x4b7b03.0
mov byte [0x4e1564], 1
jmp case.0x4b7b03.0
mov byte [0x4e1568], 1
jmp case.0x4b7b03.0
mov byte [0x4e156c], 1
jmp case.0x4b7b03.0
mov byte [0x4e1570], 1
jmp case.0x4b7b03.0
mov byte [0x4e1574], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b7c43
lea eax, [ebp - 4]
call fcn.00404adc
ret

Function at 0x4b9724
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x4b9788
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404d4c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004093fc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b978f
lea eax, [ebp - 0xc]
call fcn.00404adc
ret
Function at 0x4ba3e4
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x4ba3f9
add esp, 0xfffffff0
call fcn.0040404c
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
xor edx, edx
mov eax, ebx
call fcn.00403ca4
lea eax, [ebx + 0xc]
mov edx, esi
call fcn.00404b30
mov eax, esi
call fcn.00404f9c
push eax
xor eax, eax
mov al, byte [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateMutexA
mov edi, eax
mov dword [ebx + 8], edi
test edi, edi
jne 0x4ba44e
mov ecx, dword [0x4e5b50]
mov dl, 1
mov eax, dword [0x4ba1bc]
call fcn.004b5764
call fcn.004044b4
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
sete al
mov byte [ebx + 4], al
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4ba475
call fcn.004040a4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x4bb234
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4bb2ea
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404f9c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x4bb2d4
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.00405128
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404f9c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4bb2d4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4bb2fc
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4bb2d4
cmp dword [ebp - 8], 0x34
jne 0x4bb2d4
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bb2f1
lea eax, [ebp - 0x10]
call fcn.00404adc
ret
Function at 0x4c132c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push ecx
mov ebx, edx
mov esi, eax
cmp dword [esi + 0x18], 0
je 0x4c1340
mov eax, esi
call fcn.004c13dc
mov eax, dword [esi + 4]
mov dword [esi + 0x18], eax
test bl, bl
je 0x4c1362
mov eax, dword [esi + 4]
cmp word [eax], 0x25ff
jne 0x4c1362
add dword [esi + 0x18], 2
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 8]
sub eax, dword [esi + 0x18]
sub eax, 5
mov byte [esi + 0xc], 0xe9
mov edx, eax
and dl, 0xff
mov byte [esi + 0xd], dl
mov edx, eax
shr edx, 8
and dl, 0xff
mov byte [esi + 0xe], dl
mov edx, eax
shr edx, 0x10
and dl, 0xff
mov byte [esi + 0xf], dl
shr eax, 0x18
and al, 0xff
mov byte [esi + 0x10], al
mov eax, dword [esi + 0x18]
mov al, byte [eax]
mov byte [esi + 0x11], al
mov eax, dword [esi + 0x18]
mov al, byte [eax + 1]
mov byte [esi + 0x12], al
mov eax, dword [esi + 0x18]
mov al, byte [eax + 2]
mov byte [esi + 0x13], al
mov eax, dword [esi + 0x18]
mov al, byte [eax + 3]
mov byte [esi + 0x14], al
mov eax, dword [esi + 0x18]
mov al, byte [eax + 4]
mov byte [esi + 0x15], al
push esp
push 0x40
push 5
mov eax, dword [esi + 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x4c13d8
call fcn.0040e528
pop edx
pop esi
pop ebx
ret
Function at 0x4c62d8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov dl, 1
mov eax, dword [0x42572c]
call fcn.0042bf40
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4c64ab
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x54]
cmp dword [eax + 8], 0
jle 0x4c648a
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0042d44c
mov eax, dword [ebp - 8]
call fcn.0042c510
mov eax, dword [eax + 0x14]
mov edx, esi
call fcn.00426ec8
cmp byte [ebp + 8], 0
je 0x4c6372
xor edx, edx
mov eax, ebx
call fcn.004c5300
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
xor edx, edx
mov eax, ebx
call fcn.004c5300
mov edx, dword [eax]
call dword [edx + 0x20]
mov esi, eax
mov eax, ebx
call fcn.004c5230
imul esi, eax
mov edx, esi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
jmp 0x4c63ae
xor edx, edx
mov eax, ebx
call fcn.004c5300
mov edx, dword [eax]
call dword [edx + 0x2c]
mov esi, eax
mov eax, ebx
call fcn.004c5230
imul esi, eax
mov edx, esi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
xor edx, edx
mov eax, ebx
call fcn.004c5300
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00419558
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 8]
call fcn.0042c510
pop edx
call fcn.0042752c
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0xc], eax
mov eax, ebx
call fcn.004c5230
dec eax
test eax, eax
jl 0x4c6462
inc eax
mov dword [ebp - 0x10], eax
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004c51d4
push 0
lea eax, [ebp - 0x20]
push eax
mov edx, esi
mov eax, ebx
call fcn.004c532c
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx + 0x20]
imul esi
xor edx, edx
mov dl, byte [ebp + 8]
imul edx
push eax
mov edx, esi
mov eax, ebx
call fcn.004c532c
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
imul esi
mov dl, byte [ebp + 8]
xor dl, 1
and edx, 0x7f
imul edx
xor ecx, ecx
pop edx
call fcn.00419530
mov eax, dword [ebp - 8]
call fcn.0042c510
mov edx, eax
lea ecx, [ebp - 0x20]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x14]
inc esi
dec dword [ebp - 0x10]
jne 0x4c63f8
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004c51d4
cmp byte [ebp + 0xc], 0
je 0x4c648a
movzx eax, word [ebx + 0x58]
mov edx, 0x10
call fcn.0042e628
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004c49c4
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c64b2
mov eax, dword [ebp - 8]
call fcn.00403cd4
ret
Function at 0x4cb73c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
test edi, edi
jne 0x4cb766
cmp dword [ebx + 0x64], 0
jne 0x4cb766
cmp dword [ebx + 0x6c], 0
jne 0x4cb766
mov edi, esi
jmp 0x4cb7ed
cmp edi, 0xffffffff
jne 0x4cb76e
dec edi
jmp 0x4cb7ed
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x4cb7ed
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.004cab38
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4cb7bb
mov cx, word [esp]
sub cx, si
jmp 0x4cb7bd
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4cb7a4
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4cb7e3
mov cx, word [esp]
sub cx, si
jmp 0x4cb7e5
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4cb7cc
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x4cb84a
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.004cb4d8
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x4cb835
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x4cb84a
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4cb746
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4d1aa0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4e90f8
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4d1ac2
shr eax, 1
xor eax, 0xedb88320
jmp 0x4d1ac4
shr eax, 1
dec edx
jne 0x4d1ab0
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4d1aa9
mov byte [0x4e94f8], 1
pop esi
pop ebx
ret

Function at 0x4d1ae0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4e94f8], 0
jne 0x4d1af7
call fcn.004d1aa0
mov eax, edi
dec eax
test eax, eax
jl 0x4d1b20
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4e90f8]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4d1b01
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4d4140
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x4d4171
dec al
je 0x4d41ad
dec al
je 0x4d41f1
dec al
je 0x4d425c
jmp 0x4d42e6
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4d42e6
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4d4181
jmp 0x4d42e6
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4d42e6
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4d41bd
jmp 0x4d42e6
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4d42e6
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x4d421f
xor ebp, ebp
jmp 0x4d4230
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x4d4239
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4d4201
jmp 0x4d42e6
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4d42e6
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x4d42b4
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.004d1b28
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4d4270
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4d847c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x4d8485
mov eax, dword [ebp - 4]
add esp, 0xfffffebc
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f8c
xor eax, eax
push ebp
push 0x4d8560
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4e5af8]
mov byte [eax], 0
mov dword [ebx], 0xffffffff
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x154]
call fcn.00403288
mov edx, 1
lea eax, [ebp - 0x154]
call fcn.004036c4
call fcn.00402d80
test eax, eax
jne 0x4d853d
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x10145]
mov ecx, 0xfff1
lea eax, [ebp - 0x154]
call fcn.004033d8
mov dx, word [ebp - 8]
test dx, dx
jbe 0x4d8537
lea eax, [ebp - 0x10145]
xor ecx, ecx
mov cl, byte [eax]
mov esi, dword [ebx]
and esi, 0xff
xor ecx, esi
mov ecx, dword [ecx*4 + 0x4e4ff0]
mov esi, dword [ebx]
shr esi, 8
xor ecx, esi
mov dword [ebx], ecx
inc eax
dec dx
jne 0x4d8513
cmp dword [ebp - 8], 0
jne 0x4d84ea
lea eax, [ebp - 0x154]
call fcn.004033f8
not dword [ebx]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d8567
lea eax, [ebp - 4]
call fcn.00404adc
ret