joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49af03
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x214
mov eax, dword [0x93500c]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
xor esi, esi
lea ecx, [esp + 8]
push esi
push esi
push 0x20
push str.NGDiscovery::InitDiscoveryLib
push 0x12fd268
push dword [0x12fd28c]
call fcn.004203f9
mov eax, dword [0x12fa948]
test eax, eax
jne 0x49af97
push 0x190
lea eax, [esp + 0x84]
push esi
push eax
call fcn.005e1980
add esp, 0xc
lea eax, [esp + 0x80]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x49af92
push eax
push str.WSAStartup_failed__err_d
push 0x2a
lea eax, [esp + 0x14]
push 0x80
push eax
call fcn.0042077f
add esp, 0x14
push 2
pop esi
jmp 0x49af9d
mov eax, dword [0x12fa948]
inc eax
mov dword [0x12fa948], eax
lea ecx, [esp + 8]
call fcn.004204d2
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0052bbde
mov esp, ebp
pop ebp
ret

Function at 0x4a03b3
Capabilities:
Set socket configuration

Disassembly:
push 0xac
mov eax, 0x6703e6
call fcn.005bea6f
mov dword [ebp - 0xb4], ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0xa4]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push ebx
push ebx
push 0xb0
push str.NGDiscovery::CWSDSession::AddMembership
push 0x12fd5d4
push dword [0x12fd28c]
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xb8], edi
call fcn.004203f9
push 0x3a
push esi
mov dword [ebp - 4], ebx
call fcn.005e4700
pop ecx
pop ecx
test eax, eax
je 0x4a0497
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa8], ebx
push eax
push ebx
xor edx, edx
mov ecx, edi
call fcn.004a000d
mov ecx, dword [ebp - 0xa8]
test ecx, ecx
je 0x4a045a
cmp dword [ecx + 0x10], 0x1c
jne 0x4a0455
mov esi, dword [ecx + 0x18]
lea edi, [ebp - 0x28]
add esi, 8
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xb8]
mov esi, dword [ebp - 0xb0]
jmp 0x4a045a
call fcn.004a0046
push esi
call fcn.004a13fb
push 0x14
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0xb4]
push 0xc
push 0x29
push dword [eax + 0x3070]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x4a04fe
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push edi
push str.setsockopt_IPV6_ADD_MEMBERSHIP___s__failed__err_d
push 0xba
jmp 0x4a04e8
mov esi, dword [sym.imp.WS2_32.dll_inet_addr]
push edi
call esi
push dword [ebp - 0xb0]
mov dword [ebp - 0xac], eax
call esi
push 8
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xac]
push eax
mov eax, dword [ebp - 0xb4]
push 0xc
push ebx
push dword [eax + 0x3070]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x4a04fe
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push edi
push str.setsockopt_IP_ADD_MEMBERSHIP___s__failed__err_d
push 0xc5
lea eax, [ebp - 0xa4]
push 0x80
push eax
call fcn.0042077f
add esp, 0x18
jmp 0x4a0500
mov bl, 1
lea ecx, [ebp - 0xa4]
call fcn.004204d2
mov al, bl
call fcn.005bea19
ret 8
Function at 0x4a3800
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, edx
mov dword [ebp - 8], ecx
test ebx, ebx
jne 0x4a3817
xor eax, eax
jmp 0x4a38fc
push esi
mov esi, dword [ebp + 8]
push edi
push 3
pop edi
jmp 0x4a3866
movzx ecx, byte [ebx]
movzx eax, byte [ebx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 2]
shl ecx, 8
push 4
or ecx, eax
pop edx
mov eax, ecx
dec edx
and eax, 0x3f
shr ecx, 6
mov al, byte [eax + 0x729d30]
mov byte [ebp + edx - 4], al
test edx, edx
jg 0x4a3839
mov ecx, dword [ebp - 8]
lea edx, [ebp - 4]
push 4
call fcn.004a2509
pop ecx
test eax, eax
jne 0x4a38ac
sub esi, edi
add ebx, edi
cmp esi, 2
jg 0x4a3821
test esi, esi
jle 0x4a38f8
xor ecx, ecx
mov edx, ecx
test esi, esi
jle 0x4a389b
mov edi, esi
mov dword [ebp - 0xc], esi
lea edx, [esi + 1]
movzx eax, byte [ebx]
shl ecx, 8
or ecx, eax
inc ebx
sub edi, 1
jne 0x4a3883
push 3
pop edi
cmp esi, edi
jge 0x4a38ca
mov edx, dword [ebp - 0xc]
mov eax, edi
sub eax, edx
inc edx
add edx, eax
shl ecx, 8
sub eax, 1
jne 0x4a38a2
jmp 0x4a38ca
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x16138]
jmp 0x4a38fa
mov eax, ecx
dec edx
and eax, 0x3f
shr ecx, 6
mov al, byte [eax + 0x729d30]
mov byte [ebp + edx - 4], al
test edx, edx
jg 0x4a38b7
cmp esi, edi
jge 0x4a38dc
mov byte [ebp + edi - 4], 0x3d
dec edi
cmp edi, esi
jg 0x4a38d2
mov ebx, dword [ebp - 8]
lea edx, [ebp - 4]
push 4
mov ecx, ebx
call fcn.004a2509
pop ecx
test eax, eax
je 0x4a38f8
mov eax, dword [ebx + 0x16138]
jmp 0x4a38fa
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a452f
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x93500c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
inc esi
cmp dword [0x12fa94c], 0
mov dword [ecx + 0x1613c], esi
jne 0x4a4576
lea eax, [ebp - 0x198]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4a4570
or eax, 0xffffffff
jmp 0x4a4578
mov dword [0x12fa94c], esi
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0052bbde
mov esp, ebp
pop ebp
ret
Function at 0x4ac3d7
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
push edi
mov edi, dword [ebp + 0xc]
push 3
pop ebx
test esi, esi
jne 0x4ac422
lea eax, [edi + 2]
cdq
idiv ebx
lea edx, [eax*4 + 1]
call fcn.004a5ac7
mov esi, eax
test esi, esi
jne 0x4ac41f
mov eax, dword [ebp - 8]
mov dword [eax + 0x16138], 0x10
xor eax, eax
jmp 0x4ac4fa
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], esi
mov byte [esi], 0
test edx, edx
jne 0x4ac433
mov eax, esi
jmp 0x4ac4fa
cmp edi, 2
jle 0x4ac48a
xor edx, edx
lea eax, [edi - 3]
div ebx
mov edx, dword [ebp - 4]
inc eax
imul ecx, eax, 0xfffffffd
mov dword [ebp + 8], eax
add edi, ecx
mov dword [ebp + 0xc], edi
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
push 4
or ecx, eax
pop edi
mov eax, ecx
dec edi
and eax, 0x3f
shr ecx, 6
mov al, byte [eax + 0x729d30]
mov byte [edi + esi], al
test edi, edi
jg 0x4ac466
add esi, 4
add edx, ebx
sub dword [ebp + 8], 1
jne 0x4ac44e
mov edi, dword [ebp + 0xc]
mov byte [esi], 0
test edi, edi
jle 0x4ac4f7
xor eax, eax
xor ecx, ecx
mov dword [ebp + 8], eax
test edi, edi
jle 0x4ac4b7
mov dword [ebp - 8], edi
mov dword [ebp + 8], edi
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
inc edx
sub edi, 1
jne 0x4ac4a2
mov edi, dword [ebp + 0xc]
cmp edi, ebx
jge 0x4ac4cb
mov edx, dword [ebp + 8]
mov eax, ebx
sub eax, edx
inc edx
add edx, eax
shl ecx, 8
sub eax, 1
jne 0x4ac4c1
jmp 0x4ac4e2
lea edx, [edi + 1]
jmp 0x4ac4e2
mov eax, ecx
dec edx
and eax, 0x3f
shr ecx, 6
mov al, byte [eax + 0x729d30]
mov byte [edx + esi], al
test edx, edx
jg 0x4ac4d0
cmp edi, ebx
jge 0x4ac4f3
mov byte [ebx + esi], 0x3d
dec ebx
cmp ebx, edi
jg 0x4ac4ea
mov byte [esi + 4], 0
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bd750
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esp, ebp
pop ebp
ret 4

Function at 0x4bd770
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4f0c2f
Capabilities:
Write file on windows

Disassembly:
push 0x2c
mov eax, 0x67fb59
call fcn.005bea6f
mov esi, ecx
mov dword [ebp - 0x30], esi
xor ebx, ebx
cmp dword [esi + 0x38], ebx
je 0x4f0d64
cmp byte [esi + 0x3d], bl
je 0x4f0d64
or edi, 0xffffffff
mov dword [ebp - 4], edi
mov eax, dword [esi]
push edi
call dword [eax + 0xc]
cmp eax, edi
mov dword [ebp - 4], 2
mov dword [ebp - 4], edi
sete al
test al, al
je 0x4f0c7a
xor al, al
jmp 0x4f0d66
push ebx
push 8
lea ecx, [ebp - 0x2c]
call fcn.004bbd15
lea eax, [esi + 0x40]
mov dword [ebp - 4], 3
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 4
lea edi, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
cmovae edi, dword [ebp - 0x2c]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 6
lea esi, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
cmovae esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
lea ebx, [ebp - 0x38]
mov byte [ebp - 4], 3
add eax, edi
push ebx
push eax
mov ecx, dword [ecx + 0x38]
push esi
push dword [ebp - 0x34]
mov edx, dword [ecx]
call dword [edx + 0x20]
xor ebx, ebx
sub eax, ebx
je 0x4f0ce1
sub eax, 1
jne 0x4f0d45
mov esi, dword [ebp - 0x30]
jmp 0x4f0ce7
mov esi, dword [ebp - 0x30]
mov byte [esi + 0x3d], bl
mov byte [ebp - 4], 8
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
cmovae eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x38]
sub edi, eax
je 0x4f0d27
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
cmovae eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 3
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.005f948a
add esp, 0x10
cmp edi, eax
jne 0x4f0d50
cmp byte [esi + 0x3d], 0
je 0x4f0d4e
test edi, edi
jne 0x4f0c92
push ebx
push 8
lea ecx, [ebp - 0x2c]
call fcn.0041e061
jmp 0x4f0c92
dec eax
sub eax, 1
jne 0x4f0d54
inc eax
jmp 0x4f0d52
mov bl, 1
mov al, bl
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0041bd9d
mov al, bl
jmp 0x4f0d66
mov al, 1
call fcn.005bea19
ret
Function at 0x4f73a0
Capabilities:
Monitor local ipv4 address changes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.IPHLPAPI.DLL_NotifyAddrChange]
mov esp, ebp
pop ebp
ret 8

Function at 0x4f7630
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_WSAConnect]
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x4ff1ae
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x88
mov eax, dword [0x93500c]
xor eax, esp
mov dword [esp + 0x84], eax
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push edi
push 0xb0
push str.NGIOStack::CBufferedHTTPTransaction::StartTransaction
push 0x13002e0
push dword [0x12fe200]
lea ecx, [esp + 0x28]
call fcn.004203f9
mov eax, dword [ebp + 8]
test eax, eax
jne 0x4ff1fc
mov esi, 0x80004005
jmp 0x4ff228
mov dword [esi + 4], eax
lea eax, [esp + 0xc]
push eax
push edi
push esi
push 0x4ff576
push edi
push edi
call fcn.005f6863
xor ecx, ecx
mov dword [esi + 0x50], eax
add esp, 0x18
mov esi, 0x80004005
test eax, eax
cmovne esi, ecx
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x10]
call fcn.004204d2
mov ecx, dword [esp + 0x8c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.0052bbde
mov esp, ebp
pop ebp
ret 4
Function at 0x501fb1
Capabilities:
Encode data using base64

Disassembly:
push 0x10
mov eax, 0x684579
call fcn.005bea3b
mov eax, edx
mov dword [ebp - 0x10], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 1
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], ecx
mov byte [ebp - 4], 0x18
mov byte [ebp - 4], 1
mov dword [ebx + 0x14], 7
mov byte [ebp - 4], 1
cmp dword [ebx + 0x14], 8
mov dword [ebx + 0x10], ecx
jb 0x501ffc
mov ecx, dword [ebx]
jmp 0x501ffe
mov ecx, ebx
xor edx, edx
mov byte [ebp - 4], 0x1d
mov word [ecx], dx
and dword [ebp - 4], edx
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0x1e
mov esi, dword [eax]
mov dword [ebp - 4], 0x27
mov byte [ebp - 4], 0x24
jmp 0x502110
mov al, byte [esi]
mov ecx, ebx
movzx edi, al
inc esi
mov eax, edi
shr eax, 2
movzx eax, word [eax*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push eax
push 1
call fcn.0041ca5d
mov eax, dword [ebp - 0x10]
and edi, 3
mov dword [ebp - 4], 0x2a
mov ecx, ebx
mov eax, dword [eax + 4]
mov byte [ebp - 4], 0
cmp esi, eax
je 0x5020de
mov al, byte [esi]
inc esi
movzx eax, al
mov dword [ebp - 0x14], eax
shr eax, 4
shl edi, 4
or eax, edi
movzx eax, word [eax*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push eax
push 1
call fcn.0041ca5d
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0x30
mov eax, dword [eax + 4]
mov byte [ebp - 4], 0
cmp esi, eax
je 0x5020cd
mov al, byte [esi]
inc esi
mov ecx, dword [ebp - 0x14]
movzx edi, al
and ecx, 0xf
shl ecx, 2
mov eax, edi
shr eax, 6
or ecx, eax
movzx eax, word [ecx*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ecx, ebx
push eax
push 1
call fcn.0041ca5d
and edi, 0x3f
movzx eax, word [edi*2 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push eax
jmp 0x5020fd
mov eax, dword [ebp - 0x14]
and eax, 0xf
movzx eax, word [eax*8 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push eax
jmp 0x5020f2
shl edi, 5
movzx eax, word [edi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push eax
push 1
call fcn.0041ca5d
push 0x3d
push 1
mov ecx, ebx
call fcn.0041ca5d
push 0x3d
push 1
mov ecx, ebx
call fcn.0041ca5d
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0x24
mov eax, dword [eax + 4]
mov byte [ebp - 4], 0
cmp esi, eax
jne 0x50202a
mov eax, ebx
call fcn.005bea04
ret
Function at 0x5029df
Capabilities:
Encode data using xor

Disassembly:
push 0x28
mov eax, 0x6848d6
call fcn.005bea6f
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x30], edi
xor eax, eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], 7
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
mov byte [ebp - 4], 0x1d
mov word [eax], cx
push 0x24
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x1e
call fcn.0041bb9b
mov ebx, esi
push 0xa
pop ecx
mov eax, ebx
cdq
idiv ecx
lea ecx, [ebp - 0x28]
mov ebx, eax
mov eax, edx
cdq
xor eax, edx
sub eax, edx
movsx ax, byte [eax + 0x86a5c8]
movzx eax, ax
push eax
push 1
call fcn.0041ca5d
test ebx, ebx
jne 0x502a40
test esi, esi
jns 0x502a7b
push 0x2d
push 1
lea ecx, [ebp - 0x28]
call fcn.0041ca5d
mov byte [ebp - 4], 0x1e
lea esi, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae esi, dword [ebp - 0x28]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x1e
push eax
lea ecx, [ebp - 0x28]
call fcn.0041f405
push dword [eax]
push esi
call fcn.005029b6
pop ecx
pop ecx
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.0041f1fc
xor eax, eax
inc eax
mov dword [ebp - 0x2c], eax
push 0
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x28
call fcn.0041746a
mov byte [ebp - 4], 0
mov eax, edi
call fcn.005bea19
ret

Function at 0x502ad3
Capabilities:
Encode data using xor

Disassembly:
push 0x34
mov eax, 0x68496f
call fcn.005bea6f
mov edi, ecx
mov dword [ebp - 0x38], edi
xor eax, eax
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 7
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
xor ecx, ecx
mov byte [ebp - 4], 0x1d
mov word [eax], cx
push 0x24
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0x1e
call fcn.0041bb9b
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push ebx
push 0
push 0xa
push ebx
push esi
call fcn.00613c80
mov dword [ebp - 0x38], ebx
pop ebx
mov esi, eax
mov ebx, edx
mov eax, ecx
lea ecx, [ebp - 0x2c]
cdq
xor eax, edx
sub eax, edx
movsx ax, byte [eax + 0x86a5c8]
movzx eax, ax
push eax
push 1
call fcn.0041ca5d
mov eax, esi
or eax, ebx
jne 0x502b36
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jg 0x502b87
jl 0x502b7b
cmp dword [ebp + 8], ebx
jae 0x502b87
push 0x2d
push 1
lea ecx, [ebp - 0x2c]
call fcn.0041ca5d
mov byte [ebp - 4], 0x1e
lea esi, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x1e
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041f405
push dword [eax]
push esi
call fcn.005029b6
pop ecx
pop ecx
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.0041f1fc
xor eax, eax
inc eax
mov dword [ebp - 0x30], eax
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0x28
call fcn.0041746a
mov byte [ebp - 4], bl
mov eax, edi
call fcn.005bea19
ret
Function at 0x502bdd
Capabilities:
Encode data using xor

Disassembly:
push 0x34
mov eax, 0x68496f
call fcn.005bea6f
mov edi, ecx
mov dword [ebp - 0x38], edi
xor eax, eax
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 7
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
xor ecx, ecx
mov byte [ebp - 4], 0x1d
mov word [eax], cx
push 0x24
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0x1e
call fcn.0041bb9b
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push ebx
push 0
push 0xa
push ebx
push esi
call fcn.00613be0
mov dword [ebp - 0x38], ebx
pop ebx
mov esi, eax
mov ebx, edx
mov eax, ecx
lea ecx, [ebp - 0x2c]
cdq
xor eax, edx
sub eax, edx
movsx ax, byte [eax + 0x86a5c8]
movzx eax, ax
push eax
push 1
call fcn.0041ca5d
mov eax, esi
or eax, ebx
jne 0x502c40
mov byte [ebp - 4], 0x1e
lea esi, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x1e
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041f405
push dword [eax]
push esi
call fcn.005029b6
pop ecx
pop ecx
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.0041f1fc
xor eax, eax
inc eax
mov dword [ebp - 0x30], eax
push 0
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0x28
call fcn.0041746a
mov byte [ebp - 4], 0
mov eax, edi
call fcn.005bea19
ret
Function at 0x50771d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xc
mov eax, 0x686488
call fcn.005beaa6
mov esi, ecx
mov edi, dword [ebp + 0x10]
sub edi, dword [ebp + 0xc]
je 0x5078dd
mov dword [ebp - 4], 1
mov byte [ebp - 4], 4
mov byte [ebp - 4], 0
mov eax, dword [esi + 8]
sub eax, dword [esi + 4]
or ecx, 0xffffffff
mov dword [ebp - 4], ecx
cmp eax, edi
jae 0x50788f
mov dword [ebp - 4], 0xd
mov eax, dword [esi + 4]
sub eax, dword [esi]
mov dword [ebp - 4], ecx
not eax
cmp eax, edi
jae 0x507779
push str.vector_T__too_long
call fcn.005abad5
mov dword [ebp - 4], 0x14
mov eax, dword [esi + 4]
sub eax, dword [esi]
mov dword [ebp - 4], ecx
add eax, edi
push eax
mov ecx, esi
call fcn.00500de4
mov dword [ebp - 0x14], eax
or dword [ebp - 4], 0xffffffff
push 1
push 1
push eax
call fcn.00416a6c
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0x20
mov byte [ebp - 4], 0x1f
mov byte [ebp - 4], 0x1e
mov byte [ebp - 4], 0x1d
mov ecx, dword [esi]
mov byte [ebp - 4], 0x22
mov byte [ebp - 4], 0x21
mov byte [ebp - 4], 0x1d
push eax
push dword [ebp + 8]
push ecx
call fcn.00500e77
add esp, 0xc
mov byte [ebp - 4], 0x24
mov byte [ebp - 4], 0x23
mov byte [ebp - 4], 0x1d
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00500e77
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 0x27
mov byte [ebp - 4], 0x26
mov byte [ebp - 4], 0x25
mov byte [ebp - 4], 0x1d
mov eax, dword [esi + 4]
mov byte [ebp - 4], 0x29
mov byte [ebp - 4], 0x28
mov byte [ebp - 4], 0x1d
push ecx
push eax
push dword [ebp + 8]
call fcn.00500e77
add esp, 0xc
mov dword [ebp - 4], 0x2f
mov eax, dword [esi + 4]
sub eax, dword [esi]
or dword [ebp - 4], 0xffffffff
add edi, eax
or dword [ebp - 4], 0xffffffff
cmp dword [esi], 0
je 0x507851
or dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
sub eax, dword [esi]
push 1
push eax
push dword [esi]
call fcn.00416ac3
add esp, 0xc
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
add eax, ecx
mov dword [esi + 8], eax
or dword [ebp - 4], 0xffffffff
lea eax, [ecx + edi]
mov dword [esi + 4], eax
or dword [ebp - 4], 0xffffffff
mov dword [esi], ecx
jmp 0x5078dd
mov dword [ebp - 4], ecx
mov eax, dword [esi + 4]
mov dword [ebp - 4], ecx
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00500e77
add esp, 0xc
or dword [ebp - 4], 0xffffffff
mov edx, dword [esi + 4]
lea eax, [edx + edi]
mov ecx, dword [ebp + 8]
cmp ecx, edx
je 0x5078cb
cmp edx, eax
je 0x5078cb
mov byte [ebp + 0x10], 0
push dword [ebp + 0x10]
push eax
call fcn.00507908
pop ecx
pop ecx
mov dword [ebp - 4], 0x62
or dword [ebp - 4], 0xffffffff
add dword [esi + 4], edi
or dword [ebp - 4], 0xffffffff
call fcn.005bea04
ret 0x10
Function at 0x51c8cc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x14
mov eax, 0x68978c
call fcn.005beaa6
mov esi, ecx
mov dword [ebp - 0x1c], esi
or dword [ebp - 4], 0xffffffff
xor ebx, ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [ebp - 4], 0xc
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
cdq
push 0x4c
pop ecx
idiv ecx
mov edi, eax
or eax, 0xffffffff
mov dword [ebp - 4], eax
mov dword [esi], ebx
mov dword [ebp - 4], eax
mov dword [esi + 4], ebx
mov dword [ebp - 4], eax
mov dword [esi + 8], ebx
test edi, edi
je 0x51c9f7
mov dword [ebp - 4], eax
cmp edi, 0x35e50d7
jbe 0x51c937
push str.vector_T__too_long
call fcn.005abad5
mov dword [ebp - 4], eax
push 1
push ecx
push edi
call fcn.00416a6c
add esp, 0xc
or dword [ebp - 4], 0xffffffff
mov dword [esi], eax
or dword [ebp - 4], 0xffffffff
mov dword [esi + 4], eax
or dword [ebp - 4], 0xffffffff
imul eax, edi, 0x4c
add eax, dword [esi]
mov dword [esi + 8], eax
mov dword [ebp - 4], 0x35
mov byte [ebp - 4], 0x34
mov byte [ebp - 4], 0x33
mov byte [ebp - 4], 0x38
mov byte [ebp - 4], 0x37
mov byte [ebp - 4], 0x3b
mov byte [ebp - 4], 0x3a
mov byte [ebp - 4], 0x39
mov byte [ebp - 4], 0x36
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x3e
mov byte [ebp - 4], 0x3d
mov byte [ebp - 4], 0x41
mov byte [ebp - 4], 0x40
mov byte [ebp - 4], 0x3f
mov byte [ebp - 4], 0x3c
mov eax, dword [ecx]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x32
mov eax, dword [esi]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0x43
mov byte [ebp - 4], 0x42
mov byte [ebp - 4], 0x32
mov byte [ebp + 8], bl
push ecx
mov dword [ebp - 0x20], esp
mov byte [ebp - 4], 0x44
mov byte [ebp - 4], 0x32
push dword [ebp + 8]
push esi
push eax
call fcn.0051caf7
add esp, 0x10
mov byte [ebp - 4], 0x47
mov byte [ebp - 4], 0x46
mov byte [ebp - 4], 0x45
mov byte [ebp - 4], 0x32
mov dword [esi + 4], eax
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.005bea04
ret 4