joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e640
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, ecx
sub esp, 0x18
mov eax, dword [ecx + 0xc]
test eax, eax
jne 0x40e6b0
mov eax, dword [ebx + 0x30]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
test eax, eax
je 0x40e683
mov edx, dword [ebx + 0x2c]
shl eax, 2
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], edx
call sub.msvcrt.dll_memset
mov eax, dword [ebx + 0x3c]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
add esp, 0x18
pop ebx
ret
mov edx, dword [ecx + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], edx
call sub.msvcrt.dll_memset
jmp 0x40e64d

Function at 0x40e6e0
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, ecx
sub esp, 0x18
mov eax, dword [ecx + 0xc]
test eax, eax
jne 0x40e750
mov eax, dword [ebx + 0x30]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
test eax, eax
je 0x40e723
mov edx, dword [ebx + 0x2c]
shl eax, 2
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], edx
call sub.msvcrt.dll_memset
mov eax, dword [ebx + 0x3c]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
add esp, 0x18
pop ebx
ret
mov edx, dword [ecx + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], edx
call sub.msvcrt.dll_memset
jmp 0x40e6ed

Function at 0x40e780
Capabilities:
Hash data using sha1

Disassembly:
push ebx
mov ebx, ecx
sub esp, 0x18
mov eax, dword [ecx + 0xc]
test eax, eax
jne 0x40e7f0
mov eax, dword [ebx + 0x30]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
test eax, eax
je 0x40e7c3
mov edx, dword [ebx + 0x2c]
shl eax, 2
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], edx
call sub.msvcrt.dll_memset
mov eax, dword [ebx + 0x3c]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
add esp, 0x18
pop ebx
ret
mov edx, dword [ecx + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], edx
call sub.msvcrt.dll_memset
jmp 0x40e78d

Function at 0x40e820
Capabilities:
Hash data using sha1

Disassembly:
push ebx
mov ebx, ecx
sub esp, 0x18
mov eax, dword [ecx + 0xc]
test eax, eax
jne 0x40e890
mov eax, dword [ebx + 0x40]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
test eax, eax
je 0x40e863
mov edx, dword [ebx + 0x3c]
shl eax, 2
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], edx
call sub.msvcrt.dll_memset
mov eax, dword [ebx + 0x2c]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
add esp, 0x18
pop ebx
ret
mov edx, dword [ecx + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], edx
call sub.msvcrt.dll_memset
jmp 0x40e82d
Function at 0x414af0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x18
mov esi, dword [ecx + 4]
lea eax, [esi + 0x400]
mov dword [esp + 4], eax
lea eax, [esi + 0x800]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x414bf7
mov eax, dword [ecx + 0x14]
lea edi, [esi + 0xc00]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
add eax, 0x40
mov dword [esp + 0xc], eax
lea esi, [esi]
lea edi, [edi]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
mov dword [esp], esi
mov eax, dword [eax + ecx*8]
mov ecx, dword [ebx + ecx*8 + 4]
mov ebx, dword [esp + 0x14]
bswap eax
bswap ecx
nop
xor eax, dword [ebx]
mov esi, dword [esp]
add ebx, 8
mov edx, eax
shr edx, 0x10
movzx ebp, dl
mov edx, eax
shr edx, 0x18
mov edx, dword [esi + edx*4]
mov esi, dword [esp + 4]
add edx, dword [esi + ebp*4]
mov esi, dword [esp + 8]
movzx ebp, ah
xor edx, dword [esi + ebp*4]
movzx ebp, al
mov esi, dword [esp]
add edx, dword [edi + ebp*4]
xor edx, dword [ebx - 4]
xor ecx, edx
mov edx, ecx
shr edx, 0x10
movzx ebp, dl
mov edx, ecx
shr edx, 0x18
mov edx, dword [esi + edx*4]
mov esi, dword [esp + 4]
add edx, dword [esi + ebp*4]
mov esi, dword [esp + 8]
movzx ebp, ch
xor edx, dword [esi + ebp*4]
movzx ebp, cl
add edx, dword [edi + ebp*4]
xor eax, edx
cmp dword [esp + 0xc], ebx
jne 0x414b60
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
mov esi, dword [esp]
xor eax, dword [ebx + 0x40]
xor ecx, dword [ebx + 0x44]
mov ebx, dword [esp + 0x10]
bswap ecx
bswap eax
mov dword [edx + ebx*8], ecx
mov dword [edx + ebx*8 + 4], eax
add ebx, 1
cmp dword [esp + 0x34], ebx
mov dword [esp + 0x10], ebx
jne 0x414b40
add esp, 0x18
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
Function at 0x44aab0
Capabilities:
Get geographical location

Disassembly:
push esi
push ebx
sub esp, 0x14
mov esi, dword [esp + 0x24]
mov dword [esp], str.Name
mov ebx, dword [esp + 0x20]
mov ecx, esi
call fcn.005ae1a0
sub esp, 4
test eax, eax
je 0x44aae7
mov dword [esp], str.CommonName
mov ecx, esi
call fcn.005ae1a0
sub esp, 4
test eax, eax
jne 0x44ab00
mov dword [esp], str.X520.CommonName
mov ecx, ebx
call fcn.0042ca80
sub esp, 4
add esp, 0x14
mov eax, ebx
pop ebx
pop esi
ret
mov dword [esp], str.SerialNumber
mov ecx, esi
call fcn.005ae1a0
sub esp, 4
test eax, eax
je 0x44ab83
mov dword [esp], 0x663854
mov ecx, esi
call fcn.005ae1a0
sub esp, 4
test eax, eax
je 0x44abc0
mov dword [esp], str.Organization
mov ecx, esi
call fcn.005ae1a0
sub esp, 4
test eax, eax
je 0x44aba0
mov dword [esp], str.Organizational_Unit
mov ecx, esi
call fcn.005ae1a0
sub esp, 4
test eax, eax
je 0x44ab6d
mov dword [esp], str.OrgUnit
mov ecx, esi
call fcn.005ae1a0
sub esp, 4
test eax, eax
jne 0x44abd6
mov dword [esp], str.X520.OrganizationalUnit
mov ecx, ebx
call fcn.0042ca80
sub esp, 4
jmp 0x44aaf8
mov dword [esp], str.X520.SerialNumber
mov ecx, ebx
call fcn.0042ca80
sub esp, 4
jmp 0x44aaf8
mov dword [esp], str.X520.Organization
mov ecx, ebx
call fcn.0042ca80
sub esp, 4
jmp 0x44aaf8
mov dword [esp], str.X520.Country
mov ecx, ebx
call fcn.0042ca80
sub esp, 4
jmp 0x44aaf8
mov dword [esp], str.Locality
mov ecx, esi
call fcn.005ae1a0
sub esp, 4
test eax, eax
je 0x44ac2b
mov dword [esp], str.State
mov ecx, esi
call fcn.005ae1a0
sub esp, 4
test eax, eax
je 0x44ac15
mov dword [esp], str.Province
mov ecx, esi
call fcn.005ae1a0
sub esp, 4
test eax, eax
jne 0x44ac41
mov dword [esp], str.X520.State
mov ecx, ebx
call fcn.0042ca80
sub esp, 4
jmp 0x44aaf8
mov dword [esp], str.X520.Locality
mov ecx, ebx
call fcn.0042ca80
sub esp, 4
jmp 0x44aaf8
mov ecx, esi
mov dword [esp], 0x6638e2
call fcn.005ae1a0
test eax, eax
push ecx
je 0x44ac75
lea eax, [ebx + 8]
mov ecx, ebx
mov dword [ebx], eax
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov dword [esp], eax
add edx, eax
mov dword [esp + 4], edx
call fcn.0042c9d0
push eax
push eax
jmp 0x44aaf8
mov dword [esp], str.RFC822
mov ecx, ebx
call fcn.0042ca80
push edx
jmp 0x44aaf8
Function at 0x44ac90
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x24
mov edi, dword [ecx + 4]
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
lea eax, [edi + 0x400]
mov dword [esp + 4], eax
lea eax, [edi + 0x800]
mov dword [esp + 8], eax
lea eax, [edi + 0xc00]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 4]
test eax, eax
je 0x44adea
mov edx, dword [esp + 0x48]
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x14], 0
add edx, 1
mov dword [esp + 0x18], eax
add eax, 0x40
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov edx, dword [edx]
mov dword [esp], edx
add edx, 4
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x44]
mov dword [esp], edi
lea eax, [edx - 1]
and eax, 3
mov eax, dword [ecx + eax*4]
bswap eax
xor dword [esi], eax
mov eax, edx
and eax, 3
mov edx, dword [esp + 0x18]
mov eax, dword [ecx + eax*4]
bswap eax
xor dword [ebx], eax
mov eax, dword [esi]
lea esi, [esi]
xor eax, dword [edx]
mov edi, dword [esp]
add edx, 8
mov ecx, eax
mov dword [esi], eax
shr ecx, 0x10
movzx ebp, cl
mov ecx, eax
shr ecx, 0x18
mov ecx, dword [edi + ecx*4]
mov edi, dword [esp + 4]
add ecx, dword [edi + ebp*4]
mov edi, dword [esp + 8]
movzx ebp, ah
movzx eax, al
xor ecx, dword [edi + ebp*4]
mov ebp, dword [esp + 0xc]
mov edi, dword [esp]
add ecx, dword [ebp + eax*4]
xor ecx, dword [ebx]
mov dword [ebx], ecx
xor ecx, dword [edx - 4]
mov eax, ecx
mov dword [ebx], ecx
shr eax, 0x10
movzx ebp, al
mov eax, ecx
shr eax, 0x18
mov eax, dword [edi + eax*4]
mov edi, dword [esp + 4]
add eax, dword [edi + ebp*4]
mov edi, dword [esp + 8]
movzx ebp, ch
movzx ecx, cl
xor eax, dword [edi + ebp*4]
mov ebp, dword [esp + 0xc]
add eax, dword [ebp + ecx*4]
xor eax, dword [esi]
cmp dword [esp + 0x10], edx
mov dword [esi], eax
jne 0x44ad30
mov ecx, dword [esp + 0x18]
mov edx, dword [ebx]
add dword [esp + 0x14], 2
add dword [esp + 0x20], 2
mov edi, dword [esp]
xor eax, dword [ecx + 0x40]
mov dword [ebx], eax
xor edx, dword [ecx + 0x44]
mov ecx, dword [esp + 0x1c]
mov dword [esi], edx
mov dword [ecx - 4], edx
mov edx, ecx
add edx, 8
mov eax, dword [ebx]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x38]
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
cmp eax, dword [edx + 4]
jne 0x44ad00
add esp, 0x24
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
Function at 0x44ae00
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
xor ebx, ebx
sub esp, 0x28
mov ebp, dword [ecx + 0x14]
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x14], ecx
nop
lea esi, [esi]
mov eax, ebx
xor edx, edx
div esi
lea eax, [ebx + 3]
movzx ecx, byte [edi + edx]
xor edx, edx
div esi
shl ecx, 0x18
movzx eax, byte [edi + edx]
xor edx, edx
or ecx, eax
lea eax, [ebx + 1]
div esi
movzx eax, byte [edi + edx]
xor edx, edx
shl eax, 0x10
or ecx, eax
lea eax, [ebx + 2]
div esi
movzx eax, byte [edi + edx]
shl eax, 8
or ecx, eax
xor dword [ebp + ebx], ecx
add ebx, 4
cmp ebx, 0x48
jne 0x44ae20
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
lea esi, [esp + 0x24]
lea ebx, [esp + 0x20]
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], 0
mov dword [esp + 8], esi
mov dword [esp + 0x24], 0
mov dword [esp + 0xc], eax
lea eax, [edi + 0x14]
mov ecx, edi
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0044ac90
sub esp, 0x14
mov ecx, edi
mov eax, dword [esp + 0x44]
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], eax
lea eax, [edi + 4]
mov dword [esp], eax
call fcn.0044ac90
sub esp, 0x14
add esp, 0x28
pop ebx
pop esi
pop edi
pop ebp
ret 0xc

Function at 0x44afb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x14
mov ebp, dword [esp + 0x28]
lea eax, [ebp + 0x10]
mov dword [esp], eax
mov eax, dword [ebp]
mov dword [esp + 0x10], 0
mov edx, 2
xor esi, esi
bswap eax
mov dword [esp + 0xc], eax
xor ecx, ecx
mov edi, 0x80808081
movzx eax, byte [esp + ecx + 0xc]
test al, al
je 0x44b018
test dl, dl
je 0x44b018
movzx ebx, byte [eax + 0x67e080]
movzx eax, byte [edx + 0x67e080]
add ebx, eax
mov eax, ebx
mul edi
shr edx, 7
mov eax, edx
shl eax, 8
sub eax, edx
sub ebx, eax
movzx eax, byte [ebx + 0x67df80]
xor byte [esp + esi + 0x10], al
add ecx, 1
cmp ecx, 4
je 0x44b040
movzx eax, byte [esp + ecx + 0xc]
movzx edx, byte [esi + ecx*4 + 0x67bf60]
test al, al
jne 0x44afe9
add ecx, 1
cmp ecx, 4
jne 0x44b020
lea esi, [esi]
add esi, 1
cmp esi, 4
je 0x44b051
movzx edx, byte [esi + 0x67bf60]
jmp 0x44afd9
mov eax, dword [esp + 0x10]
add ebp, 4
bswap eax
mov dword [ebp - 4], eax
cmp dword [esp], ebp
jne 0x44afc1
add esp, 0x14
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x456440
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x20
mov esi, dword [ecx + 0x14]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], esi
mov ebp, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov esi, dword [esi + 0x10]
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x34]
test esi, esi
je 0x456558
mov esi, dword [ebx + 0x34]
mov ebx, dword [ebx + 4]
mov dword [esp + 4], ebp
mov dword [esp + 0x10], esi
xor esi, esi
mov dword [esp + 0x14], ebx
mov dword [esp], esi
lea esi, [esi]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp]
mov edi, eax
bswap edi
mov dword [ebp + esi], edi
mov edi, dword [esp + 0xc]
add edi, eax
add eax, edx
add edx, ecx
mov ebx, edi
add ecx, dword [esp + 4]
shr ebx, 8
mov esi, ebx
mov ebx, edi
movzx edi, bl
mov ebx, esi
mov esi, dword [esp + 0x14]
xor ebx, dword [esi + edi*4]
mov edi, ecx
movzx ecx, cl
shr edi, 8
xor edi, dword [esi + ecx*4]
mov dword [esp + 0xc], ebx
mov ecx, edi
mov edi, edx
movzx edx, dl
shr edi, 8
xor edi, dword [esi + edx*4]
mov edx, dword [esp]
add dword [esp], 8
mov dword [esp + 8], edi
mov edi, eax
movzx eax, al
shr edi, 8
xor edi, dword [esi + eax*4]
mov eax, edi
bswap eax
mov dword [ebp + edx + 4], eax
mov ebp, dword [esp + 4]
lea edx, [ebx + ecx]
mov eax, dword [esp + 8]
add ebp, edi
add eax, edi
mov edi, dword [esp + 8]
mov ebx, ebp
add edi, ecx
mov ecx, ebp
movzx ebp, bl
shr ecx, 8
xor ecx, dword [esi + ebp*4]
mov ebx, edi
mov dword [esp + 4], ecx
mov ecx, edx
movzx edx, dl
shr ecx, 8
xor ecx, dword [esi + edx*4]
mov edx, edi
movzx edi, bl
shr edx, 8
mov ebx, dword [esp]
xor edx, dword [esi + edi*4]
mov edi, eax
movzx eax, al
shr edi, 8
xor edi, dword [esi + eax*4]
cmp dword [esp + 0x34], ebx
mov eax, edi
jne 0x456490
mov ebp, dword [esp + 4]
mov esi, dword [esp + 0x18]
mov dword [esi + 0xc], eax
mov dword [esi], ebp
mov eax, esi
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov esi, dword [esp + 0xc]
mov dword [eax + 0x10], esi
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x44], 0
add esp, 0x20
pop ebx
pop esi
pop edi
pop ebp
ret 4
Function at 0x460750
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
xor ebx, ebx
sub esp, 0x2c
mov edi, dword [esp + 0x40]
mov dword [esp + 0x18], ecx
mov esi, dword [edi + 0x3c]
cmp esi, dword [ecx + 0x3c]
je 0x460775
add esp, 0x2c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 4
test esi, esi
mov edx, dword [edi + 0x38]
mov eax, dword [ecx + 0x38]
je 0x4607aa
add esi, eax
mov ebx, 1
lea esi, [esi]
lea edi, [edi]
movzx ecx, byte [edx]
cmp byte [eax], cl
sete cl
add eax, 1
add edx, 1
mov ebp, ecx
and ebx, ebp
cmp esi, eax
jne 0x460790
test bl, bl
je 0x460769
mov esi, dword [esp + 0x18]
lea eax, [edi + 4]
mov dword [esp + 4], eax
lea eax, [esi + 4]
mov dword [esp], eax
call fcn.0044a650
test al, al
mov ebx, eax
je 0x460769
movzx eax, byte [edi + 0x9c]
cmp byte [esi + 0x9c], al
je 0x4607e3
xor ebx, ebx
add esp, 0x2c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov eax, dword [edi + 0x98]
cmp dword [esi + 0x98], eax
jne 0x4607d5
mov ebp, dword [esi + 0x90]
lea eax, [esi + 0x88]
mov ecx, dword [edi + 0x90]
mov dword [esp + 0x1c], eax
cmp eax, ebp
je 0x4608ad
mov eax, dword [ecx + 0x14]
cmp eax, dword [ebp + 0x14]
jne 0x4607d5
mov esi, esi
lea edi, [edi]
test eax, eax
je 0x460846
mov dword [esp + 8], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x18], ecx
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
test eax, eax
mov ecx, dword [esp + 0x18]
jne 0x4607d5
mov eax, dword [ebp + 0x2c]
cmp eax, dword [ecx + 0x2c]
jne 0x4607d5
test eax, eax
je 0x460878
mov dword [esp + 8], eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x18], ecx
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x28]
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
test eax, eax
mov ecx, dword [esp + 0x18]
jne 0x4607d5
mov dword [esp], ebp
mov dword [esp + 0x18], ecx
call fcn.0062fbb0
mov ecx, dword [esp + 0x18]
mov ebp, eax
mov dword [esp], ecx
call fcn.0062fbb0
cmp dword [esp + 0x1c], ebp
mov ecx, eax
je 0x4608ad
mov eax, dword [ebp + 0x14]
cmp eax, dword [ecx + 0x14]
je 0x460820
xor ebx, ebx
jmp 0x4607d7
mov eax, dword [edi + 0x80]
cmp dword [esi + 0x80], eax
jne 0x4607d5
lea ebp, [esi + 0x70]
mov esi, dword [esi + 0x78]
mov edi, dword [edi + 0x78]
cmp ebp, esi
jne 0x460909
jmp 0x460769
lea eax, [edi + 0x28]
mov dword [esp + 4], eax
lea eax, [esi + 0x28]
mov dword [esp], eax
call fcn.006336c0
test al, al
mov ebx, eax
je 0x460769
mov dword [esp], esi
call fcn.0062fbb0
mov dword [esp], edi
mov esi, eax
call fcn.0062fbb0
cmp ebp, esi
mov edi, eax
je 0x460769
lea eax, [edi + 0x10]
mov dword [esp + 4], eax
lea eax, [esi + 0x10]
mov dword [esp], eax
call fcn.006336c0
test al, al
mov ebx, eax
jne 0x4608d1
jmp 0x460769
Function at 0x47c0a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
sub esp, 0x34
mov edx, dword [ecx + 0x44]
test edx, edx
je 0x47c0d2
mov edx, dword [ecx + 0x40]
add byte [edx], 1
jne 0x47c0d2
xor edx, edx
jmp 0x47c0ca
mov ecx, dword [ebx + 0x40]
add ecx, edx
add byte [ecx], 1
jne 0x47c0d2
add edx, 1
cmp edx, dword [ebx + 0x44]
jne 0x47c0c0
mov ecx, dword [ebx + 0x10]
mov byte [ebp - 0x19], 2
lea edx, [ebp - 0x19]
mov eax, dword [ecx]
mov dword [esp], edx
mov dword [esp + 4], 1
call dword [eax + 0xc]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0x44]
sub esp, 8
mov eax, dword [ecx]
mov dword [esp + 4], edx
mov edx, dword [ebx + 0x40]
mov dword [esp], edx
call dword [eax + 0xc]
mov eax, dword [ebx + 0x10]
sub esp, 8
lea ecx, [ebp - 0x18]
mov dword [esp], eax
call fcn.00587c30
mov eax, dword [ebp - 0x14]
sub esp, 4
xor ecx, ecx
test eax, eax
je 0x47c13c
mov eax, ecx
xor edx, edx
div dword [ebx + 0x34]
mov eax, dword [ebp - 0x18]
add edx, dword [ebx + 0x30]
movzx eax, byte [eax + ecx]
add ecx, 1
xor byte [edx], al
cmp ecx, dword [ebp - 0x14]
jne 0x47c121
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x30]
mov edx, dword [ecx]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], eax
call dword [edx + 0x20]
mov eax, dword [ebx + 0x40]
xor edx, edx
sub esp, 0xc
movzx eax, byte [eax]
div dword [ebx + 4]
test edx, edx
jne 0x47c16f
mov ecx, ebx
call fcn.0047be40
lea ecx, [ebp - 0x18]
call fcn.0057ec30
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x4aa6c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x60]
push ebx
lea ebx, [ebp - 0x38]
sub esp, 0x8c
mov dword [ebp - 0x6c], ecx
mov ecx, edi
mov dword [ebp - 0x52], 0x7473616d
mov dword [ebp - 0x4e], 0x73207265
mov dword [ebp - 0x4a], 0x65726365
mov byte [ebp - 0x46], 0x74
mov dword [ebp - 0x45], 0x2079656b
mov dword [ebp - 0x41], 0x61707865
mov dword [ebp - 0x3d], 0x6f69736e
mov byte [ebp - 0x39], 0x6e
call fcn.004aa500
mov dword [esp], 0
mov ecx, ebx
call fcn.0057f500
lea esi, [ebp - 0x28]
sub esp, 4
lea eax, [ebp - 0x52]
mov dword [esp], ebx
mov dword [ebp - 0x24], 0xd
mov dword [esp + 4], esi
mov dword [ebp - 0x28], eax
call fcn.00590410
mov eax, dword [ebp + 0x14]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.005903c0
mov eax, dword [ebp + 0x18]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.005903c0
mov eax, dword [ebp - 0x34]
mov ecx, esi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 4]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [esp + 4], 0x30
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.0048b6c0
mov ecx, dword [ebp + 8]
sub esp, 0x18
mov dword [esp], esi
call fcn.00458280
sub esp, 4
mov ecx, esi
call fcn.0057ec30
mov dword [esp], 0
mov ecx, ebx
call fcn.0057eb20
sub esp, 4
lea eax, [ebp - 0x45]
mov dword [ebp - 0x24], 0xd
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [ebp - 0x28], eax
call fcn.00590410
mov eax, dword [ebp + 0x18]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.005903c0
mov eax, dword [ebp + 0x14]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.005903c0
mov eax, dword [ebp - 0x34]
mov ecx, esi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp], edi
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
call fcn.0048b6c0
mov ecx, dword [ebp - 0x6c]
sub esp, 0x18
mov dword [esp], esi
call fcn.0057e0d0
sub esp, 4
mov ecx, esi
call fcn.0057ec30
mov ecx, ebx
call fcn.0057ec30
mov ecx, edi
call fcn.0040cf40
mov eax, dword [ebp - 0x6c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
Function at 0x4aa880
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x8c
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x6c], ecx
cmp eax, 0x300
je 0x4aa9c0
sub eax, 0x301
cmp eax, 1
ja 0x4aaa55
lea edi, [ebp - 0x64]
mov ecx, 0x6568
lea esi, [ebp - 0x38]
mov word [ebp - 0x4b], cx
mov ebx, 0x6568
mov dword [ebp - 0x57], 0x65696c63
mov ecx, edi
mov dword [ebp - 0x53], 0x6620746e
mov dword [ebp - 0x4f], 0x73696e69
mov byte [ebp - 0x49], 0x64
mov dword [ebp - 0x48], 0x76726573
mov dword [ebp - 0x44], 0x66207265
mov dword [ebp - 0x40], 0x73696e69
mov word [ebp - 0x3c], bx
mov byte [ebp - 0x3a], 0x64
call fcn.004aa500
mov dword [esp], 0
mov ecx, esi
call fcn.0057f500
mov edx, dword [ebp + 0x14]
sub esp, 4
lea eax, [ebp - 0x57]
test edx, edx
jne 0x4aa9b0
lea ebx, [ebp - 0x28]
mov dword [esp], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0xf
mov dword [esp + 4], ebx
call fcn.00590410
mov eax, dword [ebp + 0x10]
mov ecx, ebx
mov dword [esp], eax
call fcn.004a4190
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.005903c0
mov ecx, ebx
call fcn.0057ec30
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x6c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [esp + 4], 0xc
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.0048b6c0
sub esp, 0x18
mov ecx, esi
call fcn.0057ec30
mov ecx, edi
call fcn.0040cf40
mov eax, dword [ebp - 0x6c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
lea eax, [ebp - 0x48]
jmp 0x4aa91b
lea ebx, [ebp - 0x28]
mov dword [esp], 0
mov dword [ebp - 0x64], 0x544e4c43
mov dword [ebp - 0x57], 0x52565253
mov ecx, ebx
call fcn.0057f500
mov esi, dword [ebp + 0x14]
sub esp, 4
test esi, esi
je 0x4aaa34
lea eax, [ebp - 0x57]
mov dword [ebp - 0x34], 4
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.00590410
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x6c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.004a4ed0
sub esp, 8
mov ecx, ebx
call fcn.0057ec30
mov eax, dword [ebp - 0x6c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
lea eax, [ebp - 0x64]
mov dword [ebp - 0x44], 4
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.00590410
jmp 0x4aaa08
mov dword [esp], 8
call fcn.0063e510
mov dword [esp], str.Finished_message:_Unknown_protocol_version
mov ecx, eax
mov ebx, eax
call fcn.00601c40
push eax
mov dword [esp + 8], fcn.00601cf0
mov dword [esp + 4], 0x6d83a4
mov dword [esp], ebx
call fcn.0063eca0
mov esi, eax
mov ecx, ebx
call fcn.0057ec30
mov dword [esp], esi
call sub.libgcc_s_dw2_1.dll__Unwind_Resume
mov ebx, eax
mov ecx, esi
call fcn.0057ec30
mov ecx, edi
call fcn.0040cf40
mov dword [esp], ebx
call sub.libgcc_s_dw2_1.dll__Unwind_Resume
mov ebx, eax
jmp 0x4aaaa4