joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b210
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0x10
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x28]
mov ecx, esi
push edi
mov edx, ecx
xor eax, eax
mov edi, ebp
push 0xf0000040
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov dword [esp + 0x14], 0
and ecx, 3
mov dword [esp + 0x10], 0
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x14]
push eax
push 0
push 0
push ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 4
mov dword [esp + 0x40], esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x41b305
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
push 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x41b2e5
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
push 0
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x41b2e5
mov ecx, dword [esp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
lea edx, [esp + 0x18]
push 0
lea eax, [esp + 0x18]
push edx
push eax
push 4
push ecx
call edi
test eax, eax
je 0x41b2e5
cmp esi, dword [esp + 0x14]
jb 0x41b2e5
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x2c]
push 0
push edx
push ebp
push 2
push eax
call edi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41b2f4
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41b305
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
pop esi
pop ebp
add esp, 0x10
ret

Function at 0x41c890
Capabilities:
Hash data via wincrypt

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 4]
mov ecx, dword [esp + 8]
push 0
push eax
mov eax, dword [edx + 4]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
ret

Function at 0x41cb60
Capabilities:
Query environment variable

Disassembly:
push ebx
push ebp
push esi
mov esi, 1
push edi
xor ebp, ebp
push esi
push ebp
call dword [0x9f0298]
mov edi, eax
add esp, 8
test edi, edi
je 0x41cbb4
mov eax, dword [esp + 0x14]
push esi
push edi
push eax
mov ebp, edi
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
test esi, esi
je 0x41cbcc
cmp esi, ebx
je 0x41cbcc
cmp esi, 0x8000
ja 0x41cbcc
cmp esi, ebx
jb 0x41cbc5
push esi
push edi
call dword [0x9f0298]
mov edi, eax
add esp, 8
test edi, edi
jne 0x41cb7c
push ebp
call dword [0x9f0294]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
call dword [0x9f0294]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x424e90
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x88
mov eax, dword [esp + 0x8c]
push ebx
push ebp
push esi
mov ebx, dword [eax + 0x780]
push edi
mov edi, dword [eax]
mov dword [esp + 0x10], 0x80
mov edx, dword [ebx + 0x144]
lea eax, [esp + 0x10]
lea ebp, [ebx + 0x14c]
lea ecx, [esp + 0x18]
push eax
push ecx
mov eax, dword [ebp]
mov ecx, dword [ebx + 0x14]
add edx, 4
push 0
push edx
push eax
push ecx
mov dword [esp + 0x2c], edi
call dword [sym.imp.WS2_32.dll_recvfrom]
mov dword [ebx + 0x13c], eax
mov eax, dword [ebx + 0x138]
test eax, eax
jne 0x424f19
mov ecx, dword [esp + 0x10]
lea esi, [esp + 0x18]
mov edx, ecx
lea edi, [ebx + 0xb8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [ebx + 0x138], eax
mov eax, dword [ebx + 0x13c]
mov esi, 4
cmp eax, esi
jge 0x424f4a
push str.Received_too_short_packet
push edi
call fcn.0040e1d0
add esp, 8
mov dword [ebx + 0xc], 7
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x88
ret
push ebp
call fcn.004250c0
and eax, 0xffff
add esp, 4
mov dword [ebx + 0xc], eax
add eax, 0xfffffffd
cmp eax, 3
ja case.default.0x424f67
jmp dword [eax*4 + 0x4250b0]
cmp dword [ebx + 0x13c], esi
jle case.0x424f67.4
push ebp
call fcn.00424a70
mov cx, word [ebx + 0x30]
add esp, 4
inc ecx
cmp cx, ax
jne case.0x424f67.4
mov edx, dword [ebx + 0x13c]
mov eax, dword [ebp]
mov ecx, dword [esp + 0x9c]
sub edx, esi
add eax, esi
push edx
push eax
push 1
push ecx
call fcn.0040e700
mov esi, eax
add esp, 0x10
test esi, esi
je 0x424fd0
push 5
push ebx
call fcn.004241c0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret
mov eax, dword [ebx + 0x13c]
mov ecx, dword [edi + 0x98]
sub eax, 4
cdq
add ecx, eax
mov dword [edi + 0x98], ecx
mov ebp, dword [edi + 0x9c]
adc ebp, edx
mov dword [edi + 0x9c], ebp
mov eax, dword [edi + 0x98]
mov edx, ebp
push edx
push eax
push edi
call fcn.0041b680
jmp 0x425079
push ebp
call fcn.00424a70
mov ebp, dword [ebp]
and eax, 0xffff
add ebp, esi
mov esi, dword [ebx + 0x13c]
sub esi, 4
mov dword [ebx + 8], eax
push esi
push ebp
call fcn.004250e0
add esp, 0xc
cmp eax, esi
jae case.0x424f67.4
push ebp
push str.TFTP_error:__s_n
push edi
call fcn.0040e110
jmp 0x425079
mov ecx, dword [ebx + 0x13c]
mov edx, dword [ebp]
sub ecx, 2
add edx, 2
push ecx
push edx
push ebx
call fcn.00425110
add esp, 0xc
test eax, eax
je case.0x424f67.4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret
push str.Internal_error:_Unexpected_packet
push 0x9f2d28
push edi
call fcn.0040e1d0
add esp, 0xc
mov eax, dword [esp + 0x9c]
push eax
call fcn.0041b860
add esp, 4
test eax, eax
je 0x424f3d
push 5
push ebx
call fcn.004241c0
add esp, 8
mov eax, 0x2a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret
Function at 0x4272c0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4272f9
mov ecx, dword [esp + 0x194]
push eax
push str.WSAStartup_failed___d_
push ecx
call fcn.0040e1d0
add esp, 0xc
mov eax, 2
add esp, 0x190
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ax, word [esp]
cmp al, 2
jne 0x427319
xor edx, edx
mov dl, ah
test dl, dl
jne 0x427319
xor eax, eax
add esp, 0x190
ret
mov eax, dword [esp + 0x194]
push str.insufficient_winsock_version_to_support_telnet
push eax
call fcn.0040e1d0
add esp, 8
mov eax, 2
add esp, 0x190
ret

Function at 0x4274a0
Capabilities:
Send data
Send data on socket

Disassembly:
mov al, byte [esp + 0xc]
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push edi
push 0
lea ecx, [esp + 0x14]
mov edx, dword [esi + 0x408]
mov edi, dword [esi]
push 3
push ecx
push edx
mov byte [esp + 0x20], 0xff
mov byte [esp + 0x21], bl
mov byte [esp + 0x22], al
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jge 0x4274ed
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push edi
call fcn.0040e1d0
add esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
push eax
push ebx
push str.SENT
push ecx
call fcn.00427510
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x428690
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push edi
mov eax, dword [eax]
mov dword [esp + 8], eax
mov edi, dword [eax + 0x128]
mov eax, dword [esp + 0x14]
cmp eax, 0x1f
jne 0x4287f9
push ebp
push esi
lea ebp, [edi + 0x1cb0]
lea esi, [edi + 0x1eb0]
cmp ebp, esi
mov dword [esi], ebp
jae 0x4286cd
mov byte [ebp], 0xff
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov eax, dword [esi]
cmp eax, esi
jae 0x4286db
mov byte [eax], 0xfa
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov eax, dword [esi]
cmp eax, esi
jae 0x4286e9
mov byte [eax], 0x1f
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov cx, word [edi + 0x1ca8]
mov ebx, dword [sym.imp.WS2_32.dll_htons]
push ecx
call ebx
mov dx, word [edi + 0x1caa]
mov dword [esp + 0x1c], eax
push edx
call ebx
mov ecx, dword [esi]
cmp ecx, esi
jae 0x428718
mov dl, byte [esp + 0x1c]
mov byte [ecx], dl
mov ecx, dword [esi]
inc ecx
mov dword [esi], ecx
mov ecx, dword [esi]
cmp ecx, esi
jae 0x428729
mov dl, byte [esp + 0x1d]
mov byte [ecx], dl
mov ecx, dword [esi]
inc ecx
mov dword [esi], ecx
mov ecx, dword [esi]
cmp ecx, esi
jae 0x428736
mov byte [ecx], al
mov ecx, dword [esi]
inc ecx
mov dword [esi], ecx
mov ecx, dword [esi]
cmp ecx, esi
jae 0x428743
mov byte [ecx], ah
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov eax, dword [esi]
cmp eax, esi
jae 0x428751
mov byte [eax], 0xff
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov eax, dword [esi]
cmp eax, esi
jae 0x42875f
mov byte [eax], 0xf0
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov eax, dword [esi]
mov ebx, dword [esp + 0x10]
mov ecx, eax
lea edx, [edi + 0x1cb2]
sub ecx, ebp
mov dword [edi + 0x1eb4], eax
sub ecx, 2
mov dword [esi], ebp
push ecx
push edx
push 0x3e
push ebx
call fcn.00428380
add esp, 0x10
mov esi, dword [sym.imp.WS2_32.dll_send]
push 0
push 3
push ebp
mov ebp, dword [esp + 0x24]
mov eax, dword [ebp + 0x408]
push eax
call esi
test eax, eax
jge 0x4287b8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.0040e1d0
add esp, 0xc
lea ecx, [edi + 0x1cb3]
push 4
push ecx
push ebp
call fcn.00428800
mov edx, dword [ebp + 0x408]
add esp, 0xc
add edi, 0x1cb7
push 0
push 2
push edi
push edx
call esi
pop esi
pop ebp
test eax, eax
jge 0x4287f9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.0040e1d0
add esp, 0xc
pop edi
pop ebx
pop ecx
ret
Function at 0x42adc0
Capabilities:
Check http status code

Disassembly:
mov ecx, dword [esp + 8]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
shr eax, 0x1f
mov ebx, dword [edi]
add edx, eax
cmp edx, 2
je 0x42adfc
push str.Couldnt_set_desired_mode
push ebx
call fcn.0040e1d0
add esp, 8
mov eax, 0x11
pop edi
pop esi
pop ebx
ret
cmp ecx, 0xc8
je 0x42ae13
push ecx
push str.Got_a__03d_response_code_instead_of_the_assumed_200_n
push ebx
call fcn.0040e110
add esp, 0xc
mov eax, dword [esp + 0x18]
cmp eax, 0x13
jne 0x42ae2b
push edi
call fcn.00429780
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebx
ret
cmp eax, 0x14
jne 0x42ae3f
push edi
call fcn.0042ae70
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebx
ret
cmp eax, 0x15
jne 0x42ae53
push edi
call fcn.0042af80
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebx
ret
cmp eax, 0x16
jne 0x42ae63
push edi
call fcn.0042afa0
add esp, 4
mov esi, eax
mov eax, esi
pop edi
pop esi
pop ebx
ret

Function at 0x42b5b0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
mov ebp, dword [ebx + 0x40c]
mov esi, dword [ebx]
lea eax, [esp + 0x20]
push edi
lea ecx, [esp + 0x10]
push eax
push ecx
push ebp
or edi, 0xffffffff
mov dword [esp + 0x30], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x42b5fe
lea edx, [esp + 0x24]
lea eax, [esp + 0x10]
push edx
push eax
push ebp
mov dword [esp + 0x30], 0x10
call dword [sym.imp.WS2_32.dll_accept]
mov edi, eax
push ebp
push ebx
call fcn.004140c0
add esp, 8
cmp edi, 0xffffffff
jne 0x42b628
push str.Error_accept__ing_server_connect
push esi
call fcn.0040e1d0
add esp, 8
mov eax, 0x1e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push str.Connection_accepted_from_server_n
push esi
call fcn.0040e110
push 1
push edi
mov dword [ebx + 0x544], 0
mov dword [ebx + 0x40c], edi
call fcn.004388f0
mov dword [ebx + 0x85c], 1
mov eax, dword [esi + 0x600]
add esp, 0x10
test eax, eax
je 0x42b6a1
push 1
push esi
call fcn.0040e0b0
mov ecx, dword [esi + 0x604]
push 1
push edi
push ecx
call dword [esi + 0x600]
push 0
push esi
mov edi, eax
call fcn.0040e0b0
add esp, 0x1c
test edi, edi
je 0x42b6a1
push ebx
call fcn.0042a0c0
add esp, 4
mov eax, 0x2a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
Function at 0x436630
Capabilities:
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push 0
lea eax, [esp + 8]
push 0
push eax
lea ecx, [esp + 0x18]
push 4
push ecx
push 0
push 0
push 0x4004747b
push esi
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
jne 0x436672
lea edx, [esp + 0xc]
push 4
push edx
push 0x1001
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
pop esi
pop ecx
ret

Function at 0x436f70
Capabilities:
Get socket status

Disassembly:
mov eax, dword [esp + 8]
sub esp, 8
test eax, eax
push ebx
mov ebx, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x20]
je 0x436f8a
cmp dword [eax], 0
jne 0x436fa4
test ebx, ebx
je 0x436f93
cmp dword [ebx], 0
jne 0x436fa4
test esi, esi
je 0x437038
cmp dword [esi], 0
je 0x437038
mov ecx, dword [esp + 0x24]
push ebp
test ecx, ecx
lea ebp, [esp + 0xc]
jge 0x436fb5
xor ebp, ebp
jmp 0x436ff8
jle 0x436fec
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ecx
mov dword [esp + 0xc], edx
mov ecx, 0x3e8
cdq
idiv ecx
lea eax, [edx + edx*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x1c]
shl edx, 3
mov dword [esp + 0x10], edx
jmp 0x436ff8
test ecx, ecx
jne 0x436ff8
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
test esi, esi
je 0x437005
cmp dword [esi], 0
je 0x437005
mov edx, esi
jmp 0x437007
xor edx, edx
test ebx, ebx
je 0x437014
cmp dword [ebx], 0
je 0x437014
mov ecx, ebx
jmp 0x437016
xor ecx, ecx
test eax, eax
je 0x43701f
cmp dword [eax], 0
jne 0x437021
xor eax, eax
push ebp
push edx
push ecx
push eax
mov eax, dword [esp + 0x28]
inc eax
push eax
call dword [sym.imp.WS2_32.dll_select]
pop ebp
pop esi
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00436f40
add esp, 4
pop esi
pop ebx
add esp, 8
ret
Function at 0x43bf00
Capabilities:
Move file

Disassembly:
push ebx
push ebp
push esi
push edi
call fcn.00416520
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
push 1
push ebx
push ebp
mov esi, eax
mov edi, edx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x43bf61
push edi
push esi
call fcn.00416520
push edx
push eax
call fcn.004165c0
add esp, 0x10
test edx, edx
jl 0x43bf68
jg 0x43bf3e
test eax, eax
jb 0x43bf68
test edx, edx
jg 0x43bf68
jl 0x43bf4b
cmp eax, 0x3e8
ja 0x43bf68
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x43bf23
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x440aa0
Capabilities:
Get hostname

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push esi
mov byte [esi], 0
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
mov byte [esi + edi - 1], 0
jne 0x440ad2
push 0x2e
push esi
call fcn.009b07f0
add esp, 8
test eax, eax
je 0x440ad0
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
ret

Function at 0x440b20
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
sub esp, 0x20
push 0xf0000040
push 1
push 0
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esp + 0x18], 8
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x440b49
add esp, 0x20
ret
mov eax, dword [esp + 0x2c]
xor ecx, ecx
mov dword [esp + 0xc], ecx
lea edx, [esp + 0x18]
mov dword [esp + 0x10], ecx
push edx
mov dword [esp + 0x18], ecx
push eax
mov dword [esp + 0x20], ecx
mov byte [esp + 0x14], 8
mov dword [esp + 0x24], ecx
mov byte [esp + 0x15], 2
mov dword [esp + 0x18], 0x6601
mov dword [esp + 0x1c], 8
call fcn.00440c20
lea ecx, [esp + 0x20]
push 8
push ecx
call fcn.00446260
mov ecx, dword [esp + 0x10]
add esp, 0x10
lea edx, [esp + 8]
lea eax, [esp + 0xc]
push edx
push 0
push 0
push 0x14
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x440bc8
mov edx, dword [esp]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
add esp, 0x20
ret
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov edx, dword [ecx]
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov edx, dword [esp + 4]
mov dword [eax + 4], ecx
lea ecx, [esp + 4]
push edx
mov edx, dword [esp + 0xc]
push ecx
push eax
push 0
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov ecx, dword [esp]
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 1
add esp, 0x20
ret
Function at 0x446310
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push 0xf0000040
push 1
lea edi, [esi + 4]
push 0
push 0
push esi
mov dword [esi], 0
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x44634e
mov eax, dword [esi]
push edi
push 0
push 0
push 0x8002
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop edi
pop esi
ret

Function at 0x446d20
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea eax, [ecx + eax*2 + 0xc]
push eax
call dword [0x9f0290]
mov edi, eax
add esp, 4
test edi, edi
jne 0x446d43
pop edi
pop esi
ret
lea eax, [edi + 0xc]
push ebx
mov dword [edi], esi
mov dword [edi + 4], eax
mov ebx, dword [esi + 0xc]
mov edx, eax
add edx, ebx
mov ebx, dword [esp + 0x18]
mov dword [edi + 8], edx
mov ecx, dword [esi + 0x10]
cmp ebx, ecx
push ebp
jbe 0x446d8e
push eax
call dword [esi]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 4]
push ebx
push eax
push ecx
call dword [esi + 4]
mov ebx, dword [edi + 8]
mov eax, dword [esi + 0xc]
mov edx, dword [edi + 4]
add ebx, eax
push edx
push ebx
call dword [esi + 8]
mov eax, dword [esi + 0x14]
add esp, 0x18
mov dword [esp + 0x1c], eax
jmp 0x446d92
mov ebx, dword [esp + 0x18]
mov ecx, dword [edi + 4]
push ecx
call dword [esi]
mov edx, dword [edi + 8]
push edx
call dword [esi]
mov eax, dword [esp + 0x24]
add esp, 8
xor ebp, ebp
test eax, eax
jbe 0x446df8
mov dword [esp + 0x1c], eax
mov ebp, eax
mov al, byte [ebx]
mov cl, byte [0x9e79ac]
xor al, cl
lea ecx, [esp + 0x14]
mov byte [esp + 0x14], al
mov edx, dword [edi + 4]
push 1
push ecx
push edx
call dword [esi + 4]
mov al, byte [ebx]
mov dl, byte [0x9e79ad]
xor al, dl
lea ecx, [esp + 0x20]
mov byte [esp + 0x20], al
mov edx, dword [edi + 8]
push 1
push ecx
push edx
inc ebx
call dword [esi + 4]
mov eax, dword [esp + 0x34]
add esp, 0x18
dec eax
mov dword [esp + 0x1c], eax
jne 0x446db1
cmp ebp, dword [esi + 0x10]
jae 0x446e24
mov eax, dword [edi + 4]
push 1
push 0x9e79ac
push eax
call dword [esi + 4]
mov ecx, dword [edi + 8]
push 1
push 0x9e79ad
push ecx
call dword [esi + 4]
mov eax, dword [esi + 0x10]
add esp, 0x18
inc ebp
cmp ebp, eax
jb 0x446dfd
pop ebp
mov eax, edi
pop ebx
pop edi
pop esi
ret
Function at 0x447970
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x14]
sub esp, 0x10
xor ecx, ecx
test edx, edx
je 0x447a76
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
cmp edx, 0x40
jb 0x447a58
lea eax, [edx - 1]
add eax, ebx
cmp edi, eax
ja 0x4479ae
lea eax, [edx - 1]
add eax, edi
cmp eax, ebx
jae 0x447a58
lea eax, [edx - 1]
add eax, esi
cmp edi, eax
ja 0x4479c4
lea eax, [edx - 1]
add eax, edi
cmp eax, esi
jae 0x447a58
mov eax, edx
mov edx, esi
sub edx, ebx
and eax, 0xffffffc0
mov dword [ebp - 4], edx
mov edx, edi
sub edx, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], edx
lea eax, [ebx + 0x10]
mov ebx, dword [ebp - 4]
mov edx, esi
sub edx, edi
mov dword [ebp - 0xc], edx
lea edx, [edi + 0x20]
nop word [eax + eax]
movups xmm0, xmmword [eax - 0x10]
mov edi, dword [ebp - 8]
lea eax, [eax + 0x40]
movups xmm1, xmmword [ecx + esi]
lea edx, [edx + 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x40]
movups xmmword [edx - 0x60], xmm1
movups xmm1, xmmword [ebx + eax - 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x30]
movups xmmword [edi + eax - 0x40], xmm1
mov edi, dword [ebp - 0xc]
movups xmm1, xmmword [edi + edx - 0x40]
mov edi, dword [ebp + 0x10]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x20]
movups xmmword [edx - 0x40], xmm1
movups xmm1, xmmword [ecx + esi + 0x30]
add ecx, 0x40
pxor xmm1, xmm0
movups xmmword [edx - 0x30], xmm1
cmp ecx, dword [ebp - 0x10]
jb 0x4479f0
mov edx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
cmp ecx, edx
jae 0x447a73
sub esi, ebx
lea eax, [ecx + ebx]
sub edi, ebx
sub edx, ecx
mov cl, byte [eax + esi]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
mov byte [eax + edi - 1], cl
sub edx, 1
jne 0x447a61
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44a750
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x9f0274]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x1000
call fcn.009b222d
push 0x41
mov edi, eax
xor esi, esi
lea eax, [ebp - 0x48]
push esi
push eax
call fcn.009afc00
push 0x1000
push esi
push edi
call fcn.009afc00
add esp, 0x1c
xor ecx, ecx
nop
mov al, cl
add al, 0x41
mov byte [ebp + ecx - 0x48], al
inc ecx
cmp ecx, 0x1a
jl 0x44a790
xor ecx, ecx
mov al, cl
add al, 0x61
mov byte [ebp + ecx - 0x2e], al
inc ecx
cmp ecx, 0x1a
jl 0x44a7a0
xor ecx, ecx
mov al, cl
add al, 0x30
mov byte [ebp + ecx - 0x14], al
inc ecx
cmp ecx, 0xa
jl 0x44a7b0
mov ebx, dword [ebp + 0xc]
xor edx, edx
mov word [ebp - 0xa], 0x2f2b
test ebx, ebx
je 0x44a8ed
mov ecx, dword [ebp + 8]
mov al, byte [ecx]
dec ebx
mov byte [ebp + edx - 0x50], al
inc ecx
mov al, byte [ebp - 0x4e]
inc edx
mov ah, byte [ebp - 0x4f]
mov byte [ebp - 0x4a], al
mov al, byte [ebp - 0x50]
mov dword [ebp + 8], ecx
mov byte [ebp - 0x55], ah
mov byte [ebp - 0x49], al
cmp edx, 3
jne 0x44a848
mov cl, byte [ebp - 0x49]
shr al, 2
and cl, 3
mov byte [ebp - 0x54], al
mov al, ah
shl cl, 4
shr al, 4
add cl, al
mov al, byte [ebp - 0x4a]
mov byte [ebp - 0x53], cl
mov cl, ah
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, byte [ebp - 0x4a]
and al, 0x3f
mov byte [ebp - 0x52], cl
mov byte [ebp - 0x51], al
xor eax, eax
nop dword [eax]
movzx ecx, byte [ebp + eax - 0x54]
inc eax
mov cl, byte [ebp + ecx - 0x48]
mov byte [esi + edi], cl
inc esi
cmp eax, 4
jl 0x44a830
mov ecx, dword [ebp + 8]
xor edx, edx
test ebx, ebx
jne 0x44a7d4
test edx, edx
je 0x44a8ed
mov eax, edx
cmp edx, 3
jge 0x44a87a
cmp eax, 3
jae 0x44a900
mov byte [ebp + eax - 0x50], 0
inc eax
cmp eax, 3
jl 0x44a85e
mov ah, byte [ebp - 0x4e]
mov cl, byte [ebp - 0x4f]
mov bl, byte [ebp - 0x50]
jmp 0x44a883
mov cl, byte [ebp - 0x55]
mov bl, byte [ebp - 0x49]
mov ah, byte [ebp - 0x4a]
mov al, bl
and bl, 3
shr al, 2
mov byte [ebp - 0x54], al
mov al, cl
shr al, 4
and cl, 0xf
shl bl, 4
add bl, al
shl cl, 2
mov al, ah
mov byte [ebp - 0x53], bl
shr al, 6
lea ebx, [edx + 1]
add cl, al
and ah, 0x3f
mov byte [ebp - 0x52], cl
xor ecx, ecx
mov byte [ebp - 0x51], ah
test ebx, ebx
jle 0x44a8d2
nop word [eax + eax]
movzx eax, byte [ebp + ecx - 0x54]
inc ecx
mov al, byte [ebp + eax - 0x48]
mov byte [esi + edi], al
inc esi
cmp ecx, ebx
jl 0x44a8c0
cmp edx, 3
jge 0x44a8ed
mov eax, 3
lea ecx, [esi + edi]
sub eax, edx
push eax
push 0x3d
push ecx
call fcn.009afc00
add esp, 0xc
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.009aeb72
mov esp, ebp
pop ebp
ret
call fcn.009aea97
int3