joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447730
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x10
mov al, 0x5c
push esi
mov byte [esp + 4], al
mov byte [esp + 5], al
mov byte [esp + 7], al
push 0
mov al, 0x6e
push 0x80
push 3
mov byte [esp + 0x15], al
mov byte [esp + 0x17], al
push 0
push 3
lea eax, [esp + 0x18]
push 0xc0000000
push eax
mov byte [esp + 0x22], 0x2e
mov byte [esp + 0x24], 0x53
mov byte [esp + 0x26], 0x74
mov byte [esp + 0x28], 0x6c
mov byte [esp + 0x29], 0x55
mov byte [esp + 0x2a], 0x73
mov byte [esp + 0x2b], 0x62
mov byte [esp + 0x2c], 0
call dword [sym.imp.kernel32.dll_CreateFileA]
cmp eax, 0xffffffff
mov esi, dword [esp + 0x18]
mov dword [esi], eax
jne 0x4477d0
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 2
jb 0x4477b7
cmp eax, 3
ja 0x4477b7
mov ax, 0x20c
pop esi
add esp, 0x10
ret 8
mov esi, dword [esi]
cmp esi, 0xffffffff
je 0x4477c5
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ax, 0x20b
pop esi
add esp, 0x10
ret 8
mov ax, 0x200
pop esi
add esp, 0x10
ret 8

Function at 0x44dfb0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x40
push ebx
mov bx, word [esp + 0x48]
push esi
mov esi, dword [esp + 0x50]
cmp bx, 4
mov word [esi], 0
jbe 0x44dfd3
pop esi
xor al, al
pop ebx
add esp, 0x40
ret 8
lea eax, [esp + 0x28]
push 0x10
push eax
call fcn.0044dca0
lea ecx, [esp + 0x38]
push 0x10
push ecx
call fcn.0044dcf0
lea edx, [esp + 0x18]
push 0x10
push edx
call fcn.0044dd90
lea eax, [esp + 0x18]
add bl, 0x31
push eax
call fcn.0043bbe0
and eax, 0xffff
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0xc]
mov byte [esp + eax + 0x1c], bl
push 0x10
push edx
lea eax, [esp + 0x24]
push 0x46c898
lea ecx, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x44e083
lea edx, [esp + 8]
push 0x2c
push edx
call fcn.0044df80
test ax, ax
je 0x44e04d
and eax, 0xffff
mov byte [esp + eax + 8], 0
cmp byte [esp + 8], 0x30
jne 0x44e06f
mov al, byte [esp + 9]
and al, 0xdf
cmp al, 0x58
jne 0x44e06f
lea ecx, [esp + 0xa]
push esi
push ecx
call fcn.0043bcf0
test al, al
jne 0x44e083
jmp 0x44e07e
lea edx, [esp + 8]
push esi
push edx
call fcn.0043bc50
test al, al
jne 0x44e083
mov word [esi], 0
mov ax, word [esi]
test ax, ax
je 0x44e09e
cmp ax, 0xffff
je 0x44e09e
pop esi
mov eax, 1
pop ebx
add esp, 0x40
ret 8
pop esi
xor eax, eax
pop ebx
add esp, 0x40
ret 8
Function at 0x44e0b0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x40
push ebx
mov bx, word [esp + 0x48]
push esi
mov esi, dword [esp + 0x50]
cmp bx, 4
mov word [esi], 0
jbe 0x44e0d3
pop esi
xor al, al
pop ebx
add esp, 0x40
ret 8
lea eax, [esp + 0x28]
push 0x10
push eax
call fcn.0044dca0
lea ecx, [esp + 0x38]
push 0x10
push ecx
call fcn.0044dcf0
lea edx, [esp + 0x18]
push 0x10
push edx
call fcn.0044dd90
lea eax, [esp + 0x18]
add bl, 0x31
push eax
call fcn.0043bbe0
and eax, 0xffff
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0xc]
mov byte [esp + eax + 0x1c], bl
push 0x10
push edx
lea eax, [esp + 0x24]
push 0x46c898
lea ecx, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x44e17e
lea edx, [esp + 8]
push 0x2c
push edx
call fcn.0044df80
test ax, ax
je 0x44e17e
and eax, 0xffff
mov cl, byte [esp + eax + 9]
and cl, 0xdf
cmp cl, 0x54
jne 0x44e17e
cmp byte [esp + eax + 0xa], 0x3a
jne 0x44e17e
lea edx, [esp + eax + 0xb]
push esi
push edx
call fcn.0043bc50
test al, al
je 0x44e179
mov ax, word [esi]
cmp ax, 1
jl 0x44e179
cmp ax, 7
jle 0x44e17e
mov word [esi], 0
xor eax, eax
cmp word [esi], ax
pop esi
pop ebx
setne al
add esp, 0x40
ret 8

Function at 0x44e190
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x50
lea eax, [esp]
push esi
push 0x10
push eax
call fcn.0044dca0
lea ecx, [esp + 0x24]
push 0x10
push ecx
call fcn.0044dcf0
lea edx, [esp + 0x14]
push 0x10
push edx
call fcn.0044de50
lea eax, [esp + 0x44]
push 0x10
push eax
call fcn.0044de10
lea ecx, [esp + 4]
lea edx, [esp + 0x34]
push ecx
push 0x10
push edx
lea eax, [esp + 0x20]
push 0x46c898
lea ecx, [esp + 0x34]
push eax
push ecx
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
mov esi, eax
test esi, esi
je 0x44e200
lea edx, [esp + 0x34]
lea eax, [esp + 0x44]
push edx
push eax
call fcn.0043ba90
mov ecx, dword [esp + 0x5c]
mov byte [ecx], al
xor eax, eax
test esi, esi
setne al
pop esi
add esp, 0x50
ret 8

Function at 0x44e210
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x30
lea eax, [esp]
push 0x10
push eax
call fcn.0044dca0
lea ecx, [esp + 0x20]
push 0x10
push ecx
call fcn.0044dcf0
lea edx, [esp + 0x10]
push 0x10
push edx
call fcn.0044ddd0
lea eax, [esp]
lea ecx, [esp + 0x10]
push eax
push 0
lea edx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.kernel32.dll_GetPrivateProfileIntA]
xor edx, edx
mov ecx, dword [esp + 0x34]
test eax, eax
setne dl
mov word [ecx], ax
mov al, dl
add esp, 0x30
ret 4
Function at 0x44e270
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x70
lea eax, [esp]
push esi
mov esi, dword [esp + 0x78]
push 0x10
push 0
push eax
mov word [esi], 0
call fcn.0043bc00
lea ecx, [esp + 0x14]
push 0x10
push ecx
call fcn.0044dca0
lea edx, [esp + 0x34]
push 0x10
push edx
call fcn.0044dcf0
lea eax, [esp + 0x24]
push 0x10
push eax
call fcn.0044dd40
lea ecx, [esp + 0x44]
push 0x10
push ecx
call fcn.0044dea0
lea edx, [esp + 0x54]
push 0x10
push edx
call fcn.0044df30
lea eax, [esp + 0x64]
push 0x10
push eax
call fcn.0044def0
lea ecx, [esp + 0x14]
lea edx, [esp + 4]
push ecx
push 0x10
push edx
lea eax, [esp + 0x30]
push 0x46c898
lea ecx, [esp + 0x44]
push eax
push ecx
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x44e35e
lea edx, [esp + 0x44]
lea eax, [esp + 4]
push edx
push eax
call fcn.0043ba90
test al, al
je 0x44e31f
xor eax, eax
mov word [esi], 2
cmp word [esi], ax
pop esi
setne al
add esp, 0x70
ret 4
lea ecx, [esp + 0x54]
lea edx, [esp + 4]
push ecx
push edx
call fcn.0043ba90
test al, al
je 0x44e346
xor eax, eax
mov word [esi], 3
cmp word [esi], ax
pop esi
setne al
add esp, 0x70
ret 4
lea eax, [esp + 0x64]
lea ecx, [esp + 4]
push eax
push ecx
call fcn.0043ba90
test al, al
je 0x44e35e
mov word [esi], 1
xor eax, eax
cmp word [esi], ax
pop esi
setne al
add esp, 0x70
ret 4
Function at 0x48c070
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [0x486288]
cmp edx, 1
jne 0x48c08b
push 0x4862bc
call fcn.0048ecc0
mov edx, dword [0x486288]
lea eax, [edx + 0x4ed1567b]
lea edx, [edx + edx*4]
push esi
push edi
mov esi, 0x4861a4
xor ecx, ecx
lea edi, [edx + edx*4]
mov edx, eax
imul eax, eax, 0x1003411d
shr edx, 9
add edx, 0x79d11093
xor eax, edx
mov dl, byte [ecx + edi*8 + 0x478652]
xor dl, al
mov byte [esi], dl
inc esi
inc ecx
cmp ecx, 0xc8
jl 0x48c0a0
mov byte [esi], 0
pop edi
mov eax, 0x4861a4
pop esi
ret
Function at 0x49b240
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x487150]
push esi
mov esi, dword [esp + 8]
test eax, eax
jne 0x49b266
call fcn.0049b2b0
test eax, eax
je 0x49b25c
or eax, 0xffffffff
pop esi
ret
mov dword [0x4852f0], 0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, eax
dec eax
test ecx, ecx
je 0x49b2a0
push ebx
push edi
lea edi, [eax + 1]
mov eax, dword [edx]
xor ebx, ebx
mov bl, byte [esi]
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
mov ebx, dword [0x487150]
shr eax, 8
mov ecx, dword [ebx + ecx*4]
inc esi
xor eax, ecx
dec edi
mov dword [edx], eax
jne 0x49b27a
pop edi
pop ebx
mov eax, dword [edx]
pop esi
ret

Function at 0x49b2b0
Capabilities:
Hash data with crc32

Disassembly:
push 0x400
call dword [fcn.004891f4]
add esp, 4
mov dword [0x487150], eax
test eax, eax
jne 0x49b2e7
mov eax, dword [0x489204]
push 0x485324
add eax, 0x40
push 0x4852f4
push eax
call dword [fcn.00489200]
add esp, 0xc
or eax, 0xffffffff
ret
push esi
xor edx, edx
jmp 0x49b2f1
mov eax, dword [0x487150]
mov ecx, edx
mov esi, 8
test cl, 1
je 0x49b307
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x49b309
shr ecx, 1
dec esi
jne 0x49b2f8
mov dword [eax + edx*4], ecx
inc edx
cmp edx, 0xff
jle 0x49b2ec
xor eax, eax
pop esi
ret
Function at 0x49c510
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
mov cl, 0x65
mov al, 0x72
push esi
xor esi, esi
mov byte [esp + 4], 0x54
mov byte [esp + 5], cl
mov byte [esp + 6], al
mov byte [esp + 7], 0x6d
mov byte [esp + 8], 0x69
mov byte [esp + 9], 0x6e
mov byte [esp + 0xa], 0x61
mov byte [esp + 0xb], 0x6c
mov byte [esp + 0xc], 0x20
mov byte [esp + 0xd], 0x53
mov byte [esp + 0xe], cl
mov byte [esp + 0xf], al
mov byte [esp + 0x10], 0x76
mov byte [esp + 0x11], cl
mov byte [esp + 0x12], al
mov byte [esp + 0x13], 0
call dword [fcn.00489164]
test eax, 0x80000000
jne 0x49c599
cmp al, 4
jbe 0x49c587
lea eax, [esp + 4]
push eax
call fcn.0049c5a0
add esp, 4
pop esi
add esp, 0x10
ret
lea ecx, [esp + 4]
push ecx
call fcn.0049c5a0
add esp, 4
pop esi
add esp, 0x10
ret
mov eax, esi
pop esi
add esp, 0x10
ret
Function at 0x49ffe0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc0
push ebx
mov ebx, dword [esp + 0xc8]
test bl, 0x80
je 0x4a0150
push esi
mov esi, dword [esp + 0xd0]
mov eax, esi
mov ecx, esi
and eax, 0xff00
xor edx, edx
shl ecx, 0x10
or eax, ecx
mov ecx, esi
and ecx, 0xff0000
push edi
shr esi, 0x10
or ecx, esi
mov esi, ebx
and esi, 0xf
shl eax, 8
shr ecx, 8
cmp esi, 3
ja case.default.0x4a0031
jmp dword [esi*4 + 0x4a0250]
mov edi, 0x20
mov esi, eax
shr esi, 0xd
and esi, 1
mov ebx, esi
xor esi, ecx
shl ebx, 0x1f
shr edx, 1
shl esi, 0x1f
shr eax, 1
or edx, ebx
or esi, eax
shr ecx, 1
dec edi
mov eax, esi
jne 0x4a003d
jmp case.default.0x4a0031
mov esi, 0x20
mov edi, eax
mov ebx, ecx
and edi, 0xffff0000
shl edi, 0xf
shr edx, 1
or edx, edi
mov edi, eax
and edi, 0xfffff000
shl ebx, 0xc
xor edi, ebx
mov ebx, eax
shl edi, 8
and ebx, 0xfff00000
xor edi, ebx
shl edi, 0xb
shr eax, 1
or eax, edi
shr ecx, 1
dec esi
jne 0x4a0068
jmp case.default.0x4a0031
push ebp
mov edi, 0x20
mov esi, ecx
mov ebp, eax
and esi, 1
and ebp, 0xfff80000
mov ebx, esi
shl ebx, 0x13
xor ebx, ebp
shl ebx, 0xc
shr edx, 1
or edx, ebx
mov ebx, eax
and bl, 0
shl esi, 8
xor ebx, esi
mov esi, eax
shl ebx, 0xf
and esi, 0xff800000
xor ebx, esi
shl ebx, 8
shr eax, 1
or eax, ebx
shr ecx, 1
dec edi
jne 0x4a00aa
pop ebp
jmp case.default.0x4a0031
mov esi, 0x20
mov edi, eax
mov ebx, ecx
and edi, 0xfffff800
shl ebx, 0xb
xor edi, ebx
mov ebx, eax
shl edi, 5
and ebx, 0xffff0000
xor edi, ebx
mov ebx, ecx
shl edi, 0xf
shr edx, 1
or edx, edi
mov edi, eax
and edi, 0xffffff80
shl ebx, 7
xor edi, ebx
mov ebx, eax
shl edi, 0x12
and ebx, 0xfe000000
xor edi, ebx
shl edi, 6
shr eax, 1
or eax, edi
shr ecx, 1
dec esi
jne 0x4a00f0
xor eax, eax
pop edi
mov al, dh
pop esi
mov ah, dl
and edx, 0xffff0000
or eax, edx
pop ebx
add esp, 0xc0
ret
lea edx, [esp + 4]
lea eax, [esp + 0x14]
push edx
push eax
mov byte [esp + 0xc], 0x29
mov byte [esp + 0xd], 0x56
mov byte [esp + 0xe], 0xb2
mov byte [esp + 0xf], 0x39
mov byte [esp + 0x10], 0xa0
mov byte [esp + 0x11], 0xce
mov byte [esp + 0x12], 0xeb
mov byte [esp + 0x13], 0x87
mov byte [esp + 0x14], 0x52
mov byte [esp + 0x15], 0xb4
mov byte [esp + 0x16], 0x76
mov byte [esp + 0x17], 0xfb
mov byte [esp + 0x18], 0xc
mov byte [esp + 0x19], 0x94
mov byte [esp + 0x1a], 0x37
mov byte [esp + 0x1b], 0x71
call fcn.004a8b30
mov eax, dword [esp + 0xd4]
and ebx, 0xff
mov byte [esp + 0xc], al
mov ecx, eax
mov edx, eax
shr eax, 0x18
mov byte [esp + 0xf], al
mov al, bl
mov ah, al
mov ebx, eax
shl ebx, 0x10
shr ecx, 8
shr edx, 0x10
mov bx, ax
mov byte [esp + 0xd], cl
mov byte [esp + 0xe], dl
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0xc]
lea edx, [esp + 0x1c]
mov dword [esp + 0x14], ebx
push ecx
push edx
mov dword [esp + 0x20], ebx
call fcn.004a8c20
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.004a8b30
mov eax, dword [esp + 0x1f]
mov edx, dword [esp + 0x1e]
mov ecx, dword [esp + 0x1d]
and eax, 0xff
shl eax, 8
and edx, 0xff
and ecx, 0xff
or eax, edx
mov edx, dword [esp + 0x1c]
shl eax, 8
or eax, ecx
add esp, 0x18
shl eax, 8
and edx, 0xff
pop ebx
or eax, edx
add esp, 0xc0
ret
Function at 0x4a16b0
Capabilities:
Decrypt data using tea
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edi
mov edi, dword [esi + 0xc]
mov edx, 0xc6ef3720
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], edi
mov edi, dword [esi + 8]
mov dword [esp + 0x24], edi
mov edi, dword [esi + 4]
mov esi, dword [esi]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov edi, 0x20
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
mov esi, ecx
shl esi, 4
add esi, ebx
mov ebx, ecx
shr ebx, 5
add ebx, ebp
mov ebp, dword [esp + 0x18]
xor esi, ebx
lea ebx, [edx + ecx]
xor esi, ebx
mov ebx, dword [esp + 0x14]
sub eax, esi
mov esi, eax
shl esi, 4
add esi, ebx
mov ebx, eax
shr ebx, 5
add ebx, ebp
xor esi, ebx
lea ebx, [edx + eax]
xor esi, ebx
add edx, 0x61c88647
sub ecx, esi
dec edi
jne 0x4a16e9
mov edx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [edx], ecx
mov dword [edx + 4], eax
pop ebx
add esp, 0xc
ret 8

Function at 0x4a1790
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edi
mov edi, dword [esi + 4]
xor edx, edx
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x10], edi
mov edi, dword [esi]
mov dword [esp + 0x24], edi
mov edi, dword [esi + 0xc]
mov esi, dword [esi + 8]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov edi, 0x20
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
mov esi, ecx
sub edx, 0x61c88647
shl esi, 4
add esi, ebx
mov ebx, ecx
shr ebx, 5
add ebx, ebp
mov ebp, dword [esp + 0x18]
xor esi, ebx
lea ebx, [edx + ecx]
xor esi, ebx
mov ebx, dword [esp + 0x14]
add eax, esi
mov esi, eax
shl esi, 4
add esi, ebx
mov ebx, eax
shr ebx, 5
add ebx, ebp
xor esi, ebx
lea ebx, [edx + eax]
xor esi, ebx
add ecx, esi
dec edi
jne 0x4a17c6
mov edx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [edx], eax
mov dword [edx + 4], ecx
pop ebx
add esp, 0xc
ret 8
Function at 0x4a8b30
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebp, ebp
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov ebx, 4
sub esi, ecx
lea eax, [edi + ecx]
lea edx, [esp + ebp + 0x10]
add edi, ebx
mov cl, byte [esi + eax]
mov byte [edx], cl
mov byte [eax], cl
add edx, 4
inc eax
dec ebx
jne 0x4a8b53
inc ebp
cmp ebp, 4
jl 0x4a8b3b
cmp edi, 0xb0
jge 0x4a8c0a
mov ebp, 0x485f10
xor eax, eax
lea ecx, [esp + 0x10]
inc eax
mov edx, eax
and edx, 0x80000003
jns 0x4a8b8e
dec edx
or edx, 0xfffffffc
inc edx
xor ebx, ebx
add ecx, 4
mov bl, byte [esp + edx*4 + 0x13]
mov dl, byte [ebx + 0x485d10]
mov bl, byte [ecx - 4]
xor bl, dl
cmp eax, 4
mov byte [ecx - 4], bl
jl 0x4a8b7e
mov al, byte [ebp]
mov cl, byte [esp + 0x10]
xor cl, al
add ebp, 4
mov byte [esp + 0x10], cl
mov esi, 1
lea eax, [esp + esi + 0x10]
mov ecx, 4
mov dl, byte [eax - 1]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
add eax, 4
dec ecx
jne 0x4a8bc8
inc esi
cmp esi, 4
jl 0x4a8bbf
xor esi, esi
lea eax, [esp + esi + 0x10]
mov ecx, 4
mov ebx, dword [esp + 0x24]
mov dl, byte [eax]
add eax, 4
mov byte [edi + ebx], dl
inc edi
dec ecx
jne 0x4a8be8
inc esi
cmp esi, 4
jl 0x4a8bdf
cmp edi, 0xb0
jl 0x4a8b78
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x4a8c20
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push edi
push ebp
push esi
call fcn.004a8cb0
add esp, 8
lea edi, [ebp + 0x10]
mov ebx, 9
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + esi]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + 0x485d10]
mov byte [eax + esi - 1], dl
jl 0x4a8c40
push 0
push esi
call fcn.004a8ce0
push esi
call fcn.004a8d30
push edi
push esi
call fcn.004a8cb0
add esp, 0x14
add edi, 0x10
dec ebx
jne 0x4a8c3e
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + esi]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + 0x485d10]
mov byte [eax + esi - 1], dl
jl 0x4a8c75
push 0
push esi
call fcn.004a8ce0
add ebp, 0xa0
push ebp
push esi
call fcn.004a8cb0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4a8cb0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
push ebx
push esi
sub ecx, eax
mov esi, 0x10
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0x4a8cc1
pop esi
pop ebx
ret
Function at 0x4a8e50
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push edi
lea eax, [ebp + 0xa0]
push eax
push esi
call fcn.004a8cb0
add esp, 8
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + esi]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + 0x485e10]
mov byte [eax + esi - 1], dl
jl 0x4a8e6e
push 0x10
push esi
call fcn.004a8ce0
add esp, 8
lea edi, [ebp + 0x90]
mov ebx, 9
push edi
push esi
call fcn.004a8cb0
push esi
call fcn.004a8ee0
add esp, 0xc
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + esi]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + 0x485e10]
mov byte [eax + esi - 1], dl
jl 0x4a8eab
push 0x10
push esi
call fcn.004a8ce0
add esp, 8
sub edi, 0x10
dec ebx
jne 0x4a8e99
push ebp
push esi
call fcn.004a8cb0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4a8ee0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
push edi
xor edi, edi
lea eax, [esp + edi + 0x14]
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], eax
mov eax, ebp
sub eax, ecx
mov esi, 1
mov dword [esp + 0x10], eax
lea edx, [esi - 2]
and edx, 3
add edx, edi
mov al, byte [edx + ebp]
push eax
push 9
call fcn.004a8e00
lea ecx, [esi + 1]
mov bl, al
and ecx, 3
add ecx, edi
mov dl, byte [ecx + ebp]
push edx
push 0xd
call fcn.004a8e00
xor bl, al
mov eax, esi
and eax, 3
add eax, edi
mov cl, byte [eax + ebp]
push ecx
push 0xb
call fcn.004a8e00
mov edx, dword [esp + 0x28]
xor bl, al
mov eax, dword [esp + 0x40]
mov cl, byte [edx + eax]
push ecx
push 0xe
call fcn.004a8e00
add esp, 0x20
xor bl, al
mov eax, dword [esp + 0x28]
inc esi
mov byte [eax], bl
lea edx, [esi - 1]
inc eax
cmp edx, 4
mov dword [esp + 0x28], eax
jl 0x4a8f06
add edi, 4
cmp edi, 0x10
jl 0x4a8eed
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [ebp], eax
mov eax, dword [esp + 0x20]
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
pop edi
mov dword [ebp + 0xc], eax
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x4a9030
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
call fcn.004b7600
mov ebp, dword [esp + 0x18]
add esp, 4
test ebp, ebp
je 0x4a9105
mov al, byte [esi + 1]
and al, 0xf
cmp al, 0xf
je 0x4a905d
pop edi
pop esi
mov ax, 0x1d02
pop ebp
ret
xor eax, eax
mov cl, byte [eax + esi + 8]
mov byte [eax + esi], cl
inc eax
cmp eax, 0x40
jb 0x4a905f
push esi
push ebp
call fcn.004a8e50
add esp, 8
xor eax, eax
mov dl, byte [eax + esi + 0x10]
mov cl, byte [eax + esi]
xor cl, dl
mov byte [eax + esi], cl
inc eax
cmp eax, 0x10
jb 0x4a9078
lea edi, [esi + 0x10]
push ebx
push edi
push ebp
call fcn.004a8e50
mov ecx, 0xfffffff0
add esp, 8
mov eax, edi
sub ecx, esi
mov dl, byte [eax + 0x10]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
lea edx, [ecx + eax]
cmp edx, 0x10
jb 0x4a90a1
lea edi, [esi + 0x20]
push edi
push ebp
call fcn.004a8e50
mov ecx, 0xffffffe0
add esp, 8
mov eax, edi
sub ecx, esi
mov dl, byte [eax + 0x10]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
lea edx, [ecx + eax]
cmp edx, 0x10
jb 0x4a90c9
lea eax, [esi + 0x30]
push eax
push ebp
call fcn.004a8e50
mov cl, byte [esi + 6]
mov al, byte [esi + 0x3e]
add esp, 8
cmp cl, al
pop ebx
jne case.0x4a913f.4
mov dl, byte [esi + 7]
mov al, byte [esi + 0x3f]
cmp dl, al
je 0x4a9105
pop edi
pop esi
mov ax, 0x1d02
pop ebp
ret
mov dl, byte [esi + 4]
mov cl, byte [esi + 5]
xor eax, eax
mov al, byte [esi + 1]
mov edi, eax
add eax, edx
mov dl, byte [esi + 3]
add ecx, eax
mov al, byte [esi + 2]
add ecx, edx
add eax, ecx
xor ecx, ecx
mov cl, byte [esi]
and eax, 0xff
xor eax, ecx
je 0x4a9135
pop edi
pop esi
mov ax, 0x1d0d
pop ebp
ret
mov eax, edi
and eax, 0xf
cmp eax, 7
ja case.default.0x4a913f
jmp dword [eax*4 + 0x4a9188]
pop edi
pop esi
xor ax, ax
pop ebp
ret
pop edi
pop esi
mov ax, 0x1d41
pop ebp
ret
pop edi
pop esi
mov ax, 0x1d04
pop ebp
ret
pop edi
pop esi
mov ax, 0x1d0a
pop ebp
ret
pop edi
pop esi
mov ax, 0x1d15
pop ebp
ret
pop edi
pop esi
mov ax, 0x1d42
pop ebp
ret
pop edi
pop esi
mov ax, 0x1d3f
pop ebp
ret
pop edi
pop esi
mov ax, 0x1dff
pop ebp
ret
Function at 0x4e3f90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xf8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x78]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x4e3ffc
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x18]
jae 0x4e4045
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.004fd4a0
add esp, 8
test eax, eax
jne 0x4e4043
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + eax*2]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x4e4047
jmp 0x4e3ff3
xor eax, eax
mov esp, ebp
pop ebp
ret