joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ab830
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbdc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov bl, 1
lea esi, [ebp - 0x421]
mov eax, edi
mov edx, ebx
call fcn.004ab5e4
mov byte [esi], al
inc ebx
inc esi
cmp bl, 0x41
jne 0x4ab84c
mov bl, 0x1c
mov esi, str.91__
lea edi, [ebp - 0x41]
movzx edx, byte [esi]
mov eax, dword [ebp - 8]
call fcn.004ab5e4
mov byte [edi], al
movzx edx, byte [esi + 0x1c]
mov eax, dword [ebp - 8]
call fcn.004ab5e4
mov byte [edi + 0x1c], al
inc edi
inc esi
dec bl
jne 0x4ab868
mov bl, 1
lea esi, [ebp - 0x3a1]
mov ecx, esi
lea eax, [ebp - 0x421]
mov edx, ebx
call fcn.004ab7c4
inc ebx
add esi, 0x30
cmp bl, 0x11
jne 0x4ab892
mov bl, 1
mov eax, 0x4eaf34
lea edx, [ebp - 0xa1]
cmp bl, 0x20
ja 0x4ab8cb
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x422]
mov byte [edx], cl
jmp 0x4ab8d8
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x422]
mov byte [edx], cl
inc ebx
inc edx
inc eax
cmp bl, 0x41
jne 0x4ab8b7
mov byte [ebp - 9], 1
lea esi, [ebp - 0x3a1]
cmp byte [ebp + 8], 0
je 0x4ab902
lea ecx, [ebp - 0x61]
mov edx, esi
lea eax, [ebp - 0x81]
call fcn.004ab64c
jmp 0x4ab929
movzx eax, byte [ebp - 9]
mov edx, 0x11
sub edx, eax
mov eax, edx
add eax, eax
lea eax, [eax + eax*2]
lea edx, [ebp + eax*8 - 0x3d1]
lea ecx, [ebp - 0x61]
lea eax, [ebp - 0x81]
call fcn.004ab64c
mov bl, 0x20
lea eax, [ebp - 0xa1]
movzx edx, byte [eax]
xor byte [eax + 0x40], dl
inc eax
dec bl
jne 0x4ab931
push esi
lea esi, [ebp - 0x81]
lea edi, [ebp - 0xa1]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
push esi
lea esi, [ebp - 0x61]
lea edi, [ebp - 0x81]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
inc byte [ebp - 9]
add esi, 0x30
cmp byte [ebp - 9], 0x11
jne 0x4ab8ea
mov bl, 0x40
mov esi, 0x4eaf74
lea eax, [ebp - 0x3e1]
movzx edx, byte [esi]
cmp dl, 0x20
ja 0x4ab997
movzx edx, dl
movzx edx, byte [ebp + edx - 0x82]
mov byte [eax], dl
jmp 0x4ab9a4
movzx edx, dl
movzx edx, byte [ebp + edx - 0xc2]
mov byte [eax], dl
inc eax
inc esi
dec bl
jne 0x4ab980
mov bl, 1
lea esi, [ebp - 0x3e1]
movzx ecx, byte [esi]
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.004ab60c
inc ebx
inc esi
cmp bl, 0x41
jne 0x4ab9b2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4b056c
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, ecx
mov dword [esp], edx
mov ebp, eax
xor esi, esi
mov ebx, dword [esp]
jmp 0x4b0580
inc ebx
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
test edx, edx
jg 0x4b057f
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
add eax, eax
add eax, eax
mov ebx, eax
mov eax, edi
xor ecx, ecx
mov edx, ebx
call fcn.004072e8
xor ebx, ebx
cmp esi, dword [esp]
jge 0x4b06e4
inc ebx
mov eax, edi
call fcn.00406f14
movzx edx, byte [ebp + esi]
and dl, 0xfc
movzx edx, dl
shr edx, 2
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 1]
cmp eax, dword [esp]
jge 0x4b069d
inc ebx
mov eax, edi
call fcn.00406f14
movzx edx, byte [ebp + esi]
and dl, 3
movzx edx, dl
shl edx, 4
movzx ecx, byte [ebp + esi + 1]
and cl, 0xf0
movzx ecx, cl
shr ecx, 4
add edx, ecx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 2]
cmp eax, dword [esp]
jge 0x4b066c
inc ebx
mov eax, edi
call fcn.00406f14
movzx edx, byte [ebp + esi + 1]
and dl, 0xf
movzx edx, dl
add edx, edx
add edx, edx
movzx ecx, byte [ebp + esi + 2]
and cl, 0xc0
movzx ecx, cl
shr ecx, 6
add edx, ecx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00406f14
movzx edx, byte [ebp + esi + 2]
and dl, 0x3f
movzx edx, dl
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
jmp 0x4b06d8
inc ebx
mov eax, edi
call fcn.00406f14
movzx edx, byte [ebp + esi + 1]
and dl, 0xf
movzx edx, dl
add edx, edx
add edx, edx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00406f14
mov byte [eax + ebx - 1], 0x3d
jmp 0x4b06d8
inc ebx
mov eax, edi
call fcn.00406f14
movzx edx, byte [ebp + esi]
and dl, 3
movzx edx, dl
shl edx, 4
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00406f14
mov byte [eax + ebx - 1], 0x3d
inc ebx
mov eax, edi
call fcn.00406f14
mov byte [eax + ebx - 1], 0x3d
add esi, 3
cmp esi, dword [esp]
jl 0x4b05b4
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4b096c
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, ecx
mov dword [esp], edx
mov esi, eax
movzx edx, byte [esi]
mov byte [esp + 4], dl
shl edx, 7
and dl, 0xff
movzx eax, byte [esi + 1]
movzx ecx, al
shr ecx, 1
or dl, cl
mov byte [esp + 5], dl
shl eax, 6
and al, 0xff
movzx edx, byte [esi + 2]
movzx ecx, dl
shr ecx, 2
or al, cl
mov byte [esp + 6], al
shl edx, 5
and dl, 0xff
movzx eax, byte [esi + 3]
movzx ecx, al
shr ecx, 3
or dl, cl
mov byte [esp + 7], dl
shl eax, 4
and al, 0xff
movzx edx, byte [esi + 4]
shr edx, 4
or al, dl
mov byte [esp + 8], al
movzx eax, byte [esi + 4]
add eax, eax
add eax, eax
add eax, eax
and al, 0xff
movzx edx, byte [esi + 5]
shr edx, 5
or al, dl
mov byte [esp + 9], al
movzx eax, byte [esi + 5]
add eax, eax
add eax, eax
and al, 0xff
movzx edx, byte [esi + 6]
shr edx, 6
or al, dl
mov byte [esp + 0xa], al
movzx eax, byte [esi + 6]
add eax, eax
and al, 0xff
mov byte [esp + 0xb], al
mov ebp, 8
lea eax, [esp + 4]
mov edx, 1
xor esi, esi
mov ecx, edx
movzx ebx, byte [eax]
shl ebx, cl
mov ecx, ebx
xor ecx, esi
and ecx, 1
mov esi, ecx
inc edx
cmp edx, 8
jne 0x4b0a1d
movzx edx, byte [eax]
and dl, 0xfe
mov ecx, esi
or dl, cl
mov byte [eax], dl
inc eax
dec ebp
jne 0x4b0a18
mov eax, edi
xor ecx, ecx
mov edx, 8
call fcn.004072e8
push 1
mov eax, edi
call fcn.00406f14
mov edx, eax
lea ecx, [esp + 8]
mov eax, dword [esp + 4]
call fcn.004ab830
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4b2c68
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4b2c71
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 5], cl
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4b2e23
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004b2fb8
xor eax, eax
push ebp
push 0x4b2e01
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 8
je 0x4b2cc0
call fcn.00406110
jmp 0x4b2e08
mov eax, dword [ebp - 4]
test byte [eax + 0x34], 8
je 0x4b2d8f
mov eax, dword [ebp - 4]
test byte [eax + 0x34], 1
je 0x4b2d15
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x4b2d15
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004b2bac
push dword [ebp - 0x10]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407804
mov eax, dword [ebp - 0xc]
push eax
mov edi, dword [ebp - 4]
movzx ecx, byte [ebp - 5]
mov edx, esi
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x34], 4
je 0x4b2d4e
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004b2bac
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00407804
mov eax, dword [ebp - 0x14]
call fcn.00407540
push eax
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [ebp - 4]
test byte [eax + 0x34], 2
je 0x4b2deb
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.004b2bac
push dword [ebp - 0x20]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
push 0x4b2e40
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00407804
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004b2bdc
jmp 0x4b2deb
mov eax, dword [ebp - 4]
test byte [eax + 0x34], 1
je 0x4b2db2
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x4b2db2
push ebx
mov edi, dword [ebp - 4]
movzx ecx, byte [ebp - 5]
mov edx, esi
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x34], 4
je 0x4b2dc8
mov eax, ebx
call fcn.00407540
push eax
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [ebp - 4]
test byte [eax + 0x34], 2
je 0x4b2deb
lea eax, [ebp - 0x24]
mov ecx, 0x4b2e40
mov edx, ebx
call fcn.0040777c
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.004b2bdc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b2e08
mov eax, dword [ebp - 4]
call fcn.004b2fc4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b2e2a
lea eax, [ebp - 0x24]
mov edx, 7
call fcn.00406978
ret

Function at 0x4b3a04
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004b44b8
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x4b953c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov esi, eax
mov byte [esp], 0
xor eax, eax
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 8], eax
mov edi, 1
jmp 0x4b955d
inc edi
mov eax, esi
call fcn.00406e1c
cmp edi, eax
jg 0x4b956f
cmp byte [esi + edi - 1], 0x20
je 0x4b955c
mov eax, esi
test eax, eax
je 0x4b957a
sub eax, 4
mov eax, dword [eax]
cmp eax, edi
jl 0x4b963c
cmp byte [esi + edi - 1], 0x2e
je 0x4b9660
jmp 0x4b963c
cmp byte [esi + edi - 1], 0x2e
jne 0x4b95e4
inc dword [esp + 4]
cmp dword [esp + 4], 3
jg 0x4b9660
cmp dword [esp + 8], 0xff
jg 0x4b9660
xor eax, eax
mov dword [esp + 8], eax
mov ebp, esi
test ebp, ebp
je 0x4b95c8
sub ebp, 4
mov ebp, dword [ebp]
cmp ebp, edi
jg 0x4b95d0
mov bl, 1
jmp 0x4b95de
movzx eax, byte [esi + edi]
add al, 0xd0
sub al, 0xa
setb bl
xor bl, 1
test bl, bl
jne 0x4b9660
jmp 0x4b963b
movzx eax, byte [esi + edi - 1]
add al, 0xd0
sub al, 0xa
jae 0x4b9609
mov eax, dword [esp + 8]
add eax, eax
lea eax, [eax + eax*4]
movzx edx, byte [esi + edi - 1]
add eax, edx
sub eax, 0x30
mov dword [esp + 8], eax
jmp 0x4b963b
inc edi
mov eax, esi
call fcn.00406e1c
cmp edi, eax
jg 0x4b961b
cmp byte [esi + edi - 1], 0x20
je 0x4b9608
mov dword [esp + 0xc], esi
cmp dword [esp + 0xc], 0
je 0x4b9633
mov eax, dword [esp + 0xc]
sub eax, 4
mov eax, dword [eax]
mov dword [esp + 0xc], eax
cmp edi, dword [esp + 0xc]
jle 0x4b9660
jmp 0x4b964b
inc edi
mov eax, esi
call fcn.00406e1c
cmp edi, eax
jle 0x4b9592
cmp dword [esp + 4], 3
jne 0x4b9660
cmp dword [esp + 8], 0xff
jg 0x4b9660
mov byte [esp], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4cc6c0
Capabilities:
Encode data using base64
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
add eax, eax
add eax, eax
mov ecx, 3
cdq
idiv ecx
mov edx, eax
add edx, 4
mov ecx, esi
xor eax, eax
call fcn.00407aa4
cmp byte [ebp - 1], 0
jne 0x4cc720
mov eax, esi
call fcn.00406f14
movzx edx, byte [ebp - 0xc]
dec edx
and dl, 0x3f
add dl, 0x21
mov byte [eax], dl
mov eax, dword [ebp - 0xc]
add eax, 2
mov ecx, 3
cdq
idiv ecx
lea eax, [eax + eax*2]
mov dword [ebp - 0xc], eax
mov edi, 2
xor eax, eax
mov dword [ebp - 0x10], eax
xor ebx, ebx
movzx eax, byte [ebp - 1]
sub al, 1
jb 0x4cc73a
sub al, 2
jb 0x4cc741
jmp 0x4cc746
mov ebx, 2
jmp 0x4cc746
mov ebx, 1
mov eax, esi
call fcn.00406f14
mov byte [eax + ebx - 1], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jge 0x4cc82a
test edi, edi
jle 0x4cc7a2
mov eax, esi
call fcn.00406f14
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shl eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [edx + ecx]
and eax, edx
mov ecx, edi
shr eax, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
sub edi, 6
inc ebx
mov eax, esi
call fcn.00406f14
mov byte [eax + ebx - 1], 0
jmp 0x4cc81e
test edi, edi
jge 0x4cc7e8
mov eax, edi
cdq
xor eax, edx
sub eax, edx
mov edi, eax
mov eax, esi
call fcn.00406f14
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shr eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
and al, byte [edx + ecx]
mov ecx, edi
shl al, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
mov eax, 8
sub eax, edi
mov edi, eax
inc dword [ebp - 0x10]
jmp 0x4cc81e
mov eax, esi
call fcn.00406f14
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [edx + ecx]
and dl, 0x3f
mov ecx, dword [esi]
movzx ecx, byte [ecx + ebx - 1]
or dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
inc dword [ebp - 0x10]
mov eax, esi
call fcn.00406f14
mov byte [eax + ebx - 1], 0
mov edi, 2
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jl 0x4cc75e
movzx eax, byte [ebp - 1]
sub al, 1
jb 0x4cc83b
sub al, 2
jb 0x4cc875
jmp 0x4cc8bd
cmp edi, 2
jne 0x4cc841
dec ebx
mov eax, ebx
sub eax, 2
jl 0x4cc8bd
inc eax
mov dword [ebp - 0x14], eax
mov edi, 2
mov eax, esi
call fcn.00406f14
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x4eb3c8]
movzx edx, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x4cc851
jmp 0x4cc8bd
cmp edi, 2
jne 0x4cc87b
dec ebx
test ebx, ebx
jle 0x4cc8b8
mov dword [ebp - 0x14], ebx
mov edi, 1
mov eax, esi
call fcn.00406f14
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x4eb3cc]
movzx edx, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x4cc887
jmp 0x4cc8b8
inc ebx
mov eax, esi
call fcn.00406f14
mov byte [eax + ebx - 1], 0x3d
test bl, 3
jne 0x4cc8ab
mov eax, esi
xor ecx, ecx
mov edx, ebx
call fcn.004072e8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4e7e68
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, 0x4e0bc4
call fcn.0040a80c
xor eax, eax
push ebp
push 0x4e7fb0
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.00404704
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
call fcn.004463b0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x20]
call fcn.0042253c
test al, al
jne 0x4e7f39
xor eax, eax
push ebp
push 0x4e7f2d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
call fcn.004463b0
mov edx, dword [ebp - 0x24]
mov eax, 0x4f1644
mov ecx, 0x4e7fcc
call fcn.0040777c
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.00404704
mov eax, dword [ebp - 0x28]
mov cl, 1
mov edx, dword [0x4f1644]
call fcn.00445ec4
push 1
push 0
push 0
mov eax, dword [0x4f1644]
call fcn.00407540
push eax
push 0x4e7ff8
push 0
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e7f88
mov eax, dword [0x4ebdf4]
mov eax, dword [eax]
call fcn.004a9630
mov eax, dword [0x4ebdf4]
mov eax, dword [eax]
mov dl, 1
call fcn.004ab200
mov eax, dword [0x4ebdf4]
mov eax, dword [eax]
mov edx, 0x4e8010
call fcn.004a9068
mov ecx, dword [0x4ebbf8]
mov eax, dword [0x4ebdf4]
mov eax, dword [eax]
mov edx, dword [0x4e0150]
call fcn.004a9648
mov eax, dword [0x4ebdf4]
mov eax, dword [eax]
call fcn.004a9798
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e7fb7
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00406978
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00406978
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
mov ecx, 0x4bdf3a6b
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
mov eax, section..data_1
nop
nop
mov ebx, 0x42f314
mov ecx, 0x11a62f6f
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4048c8
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x472adc]
sub esp, 0x1c
push ebx
push edi
push dword [eax + 0x10]
mov edi, ecx
push dword [eax + 0x18]
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x404a1b
cmp byte [edi + 1], al
je 0x404a17
cmp byte [edi + 0x31], al
je 0x404926
sub esp, 0x18
lea eax, [edi + 0x34]
mov ecx, esp
mov edx, str.TLS_Handshake...______
push eax
call fcn.0040531e
sub esp, 0x14
mov ecx, esp
push 0x465fa4
call fcn.00402093
call fcn.0041b441
add esp, 0x30
call fcn.00420bb2
mov dword [edi + 0x4c], eax
test eax, eax
jne 0x404941
sub esp, 0x18
mov ecx, esp
push str.TLS_Error_1
jmp 0x404a7b
mov edx, dword [edi + 4]
mov ecx, eax
call fcn.00420de1
cmp eax, 1
je 0x404987
sub esp, 0x18
mov ecx, esp
push str.TLS_Error_2
call fcn.00402093
sub esp, 0x18
mov ecx, esp
push 0x465f08
call fcn.00402093
call fcn.0041b441
add esp, 0x30
mov ecx, dword [edi + 0x4c]
call fcn.00420bf2
and dword [edi + 0x4c], 0
jmp 0x404a97
mov ecx, dword [edi + 0x4c]
call fcn.00421992
cmp eax, 1
je 0x4049c4
sub esp, 0x18
mov ecx, esp
push str.TLS_Authentication_Failed
call fcn.00402093
sub esp, 0x18
mov ecx, esp
push 0x465f08
call fcn.00402093
call fcn.0041b441
mov ecx, dword [edi + 0x4c]
add esp, 0x30
call fcn.00421004
jmp 0x404976
mov ecx, dword [edi + 0x4c]
call fcn.00420d58
mov dword [edi + 0x50], eax
test eax, eax
jne 0x4049f9
sub esp, 0x18
mov ecx, esp
push str.TLS_Error_3
call fcn.00402093
sub esp, 0x18
mov ecx, esp
push 0x465f08
call fcn.00402093
call fcn.0041b441
add esp, 0x30
xor ebx, ebx
push ebx
push 1
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push 1
push ebx
push ebx
mov dword [edi + 0x70], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x6c], eax
mov al, 1
jmp 0x404a99
cmp byte [edi + 0x31], 0
je 0x404a97
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
sub ecx, 0x2736
je 0x404a97
sub ecx, 0x17
je 0x404a71
mov edx, eax
lea ecx, [ebp - 0x1c]
call fcn.0041ca33
sub esp, 0x18
mov edx, str.Connection_Failed:
mov ecx, esp
push eax
call fcn.004052fd
sub esp, 0x14
mov ecx, esp
push 0x465f08
call fcn.00402093
call fcn.0041b441
add esp, 0x30
lea ecx, [ebp - 0x1c]
call fcn.00401fd8
jmp 0x404a97
sub esp, 0x18
mov ecx, esp
push str.Connection_Refused
call fcn.00402093
sub esp, 0x18
mov ecx, esp
push 0x465f08
call fcn.00402093
call fcn.0041b441
add esp, 0x30
xor al, al
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x404aa1
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp + 0xc]
call fcn.0040247c
push 4
pop esi
xor ebx, ebx
lea ecx, [ebp - 0x20]
push ebx
add eax, esi
push 0xc
mov dword [ebp - 8], eax
call fcn.0040520c
push esi
lea eax, [edi + 0x2c]
push eax
push ebx
lea ecx, [ebp - 0x20]
call fcn.004051e3
push eax
call fcn.00436860
add esp, 0xc
lea eax, [ebp - 8]
lea ecx, [ebp - 0x20]
push esi
push eax
push esi
call fcn.004051e3
push eax
call fcn.00436860
add esp, 0xc
lea eax, [ebp + 8]
lea ecx, [ebp - 0x20]
push esi
push eax
push 8
call fcn.004051e3
push eax
call fcn.00436860
add esp, 0xc
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x20]
push eax
call fcn.00403376
cmp byte [edi + 1], bl
jne 0x404b40
push ebx
lea ecx, [ebp - 0x20]
call fcn.0040247c
push eax
lea ecx, [ebp - 0x20]
call fcn.00401fab
push eax
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
jmp 0x404b7b
or ebx, 0xffffffff
push ebx
push dword [edi + 0x70]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ecx
lea ecx, [ebp - 0x20]
call fcn.0040247c
push eax
lea ecx, [ebp - 0x20]
call fcn.00401fab
mov ecx, dword [edi + 0x50]
mov edx, eax
call fcn.00420f8c
pop ecx
mov esi, eax
pop ecx
push dword [edi + 0x70]
test esi, esi
cmove esi, ebx
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [ebp - 0x20]
call fcn.00401fd8
lea ecx, [ebp + 0xc]
call fcn.00401fd8
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x404b96
Capabilities:
Receive data
Receive data on socket

Disassembly:
push esi
push edi
mov edi, ecx
cmp byte [edi + 1], 0
je 0x404bcd
push 0xffffffffffffffff
push dword [edi + 0x6c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0xc]
push ecx
push dword [esp + 0x14]
mov ecx, dword [edi + 0x4c]
call fcn.00420fc8
pop ecx
pop ecx
push dword [edi + 0x6c]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, esi
jmp 0x404be0
push 0
push dword [esp + 0x14]
push dword [esp + 0x14]
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_recv]
pop edi
pop esi
ret 0xc

Function at 0x404be5
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
mov dword [ecx + 8], eax
xor eax, eax
push eax
push eax
push ecx
push 0x404c01
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret 4