joyce8/EMBER2024-capa huggingface dataset:
Function at 0x476f9c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x476fb3
add esp, 0xfffffff0
call fcn.00403648
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421be0
mov eax, dword [0x48d6b8]
cmp word [eax + 2], 0
jne 0x476fdb
mov eax, dword [0x48d6b8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00478704
mov eax, dword [0x48d7b4]
cmp word [eax + 2], 0
jne 0x476ff5
mov eax, dword [0x48d7b4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004788fc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416970]
call fcn.004032b4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416970]
call fcn.004032b4
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x424204]
call fcn.0042bdd8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x47717c
mov eax, dword [0x48d5ac]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042c1a8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x478eac
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x48d5ac]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040cbac
test eax, eax
je 0x4770ea
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408c90
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cbd4
test eax, eax
je 0x4770fe
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404368
mov eax, dword [0x48d434]
cmp byte [eax], 0
jne 0x477132
mov eax, ebx
call fcn.004772a4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00479088
mov eax, ebx
call fcn.00479a4c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x477172
call fcn.004036a0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x477524
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x48ebf4]
cmp dword [eax + 0x30], 0
je 0x4775ce
cmp dword [ebx + 0x94], 0
jne 0x4775c8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4774b4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4775c8
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x47758e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4775c8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00419240
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x47759d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x478130
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x478165
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004041e8
jmp 0x478172
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040414c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x479264
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4792a5
mov eax, esi
call fcn.0045f6dc
test al, al
je 0x4792a5
mov eax, dword [ebx + 0x84]
call fcn.0045f3d8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4792a5
push 0
mov eax, dword [ebx + 0x84]
call fcn.0045f3d8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x47ac00
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x47ac89
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x48ec1c
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x47ac73
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040b4e4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x47aca0
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x48d838]
mov dl, 1
mov eax, dword [0x479c2c]
call fcn.0040be14
call fcn.00403ab0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ac90
lea eax, [ebp - 0x1c]
call fcn.004040f8
ret
Function at 0x47b354
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.0047b278
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.004034e0
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x47b3b8
call fcn.0047ab48
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x47b3aa
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.004034e0
pop esi
pop ebx
ret

Function at 0x47b3dc
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.004045b8
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00402cf8
test ebx, ebx
je 0x47b427
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret

Function at 0x47b504
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x47b535
mov ecx, dword [0x48d948]
mov dl, 1
mov eax, dword [0x479c2c]
call fcn.0040bdd8
call fcn.00403ab0
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x47b562
mov ecx, dword [0x48d6ac]
mov dl, 1
mov eax, dword [0x479c2c]
call fcn.0040bdd8
call fcn.00403ab0
xor eax, eax
push ebp
push 0x47b5e3
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.004034e0
cmp byte [ebp + 8], 0
je 0x47b5bd
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0047b46c
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
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 edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0047b2d4
jmp 0x47b5d9
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0047ae34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47b600
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x47b60c
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x47b63d
mov ecx, dword [0x48d734]
mov dl, 1
mov eax, dword [0x479c2c]
call fcn.0040bdd8
call fcn.00403ab0
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x47b66a
mov ecx, dword [0x48d6ac]
mov dl, 1
mov eax, dword [0x479c2c]
call fcn.0040bdd8
call fcn.00403ab0
xor eax, eax
push ebp
push 0x47b6e6
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.004034e0
cmp byte [ebp + 8], 0
je 0x47b6c2
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0047b46c
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
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 eax, dword [ebp - 4]
call fcn.0047b354
jmp 0x47b6dc
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0047ae34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47b703
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x47b8c8
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0047b0fc
xor eax, eax
push ebp
push 0x47ba39
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x47ba23
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x47b913
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x47b91d
call fcn.00403b5c
jmp 0x47ba40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041b6c8
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x47ba18
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x47b9cb
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x47b9b8
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004034e0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.0047b880
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x47ba4c]
cmp dl, byte [eax + 0x28]
je 0x47ba1f
call fcn.0040bcf0
jmp 0x47ba1f
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041b6e8
jmp 0x47ba1f
cmp ecx, ebx
jge 0x47b9e7
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041b6e8
jmp 0x47b91d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041b6c8
cmp edx, dword [esp + 4]
jne 0x47ba07
cmp eax, dword [esp]
pop edx
pop eax
jne 0x47b91d
push ebp
call fcn.0047b880
pop ecx
jmp 0x47ba1f
push ebp
call fcn.0047b880
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ba40
mov eax, dword [ebp - 4]
call fcn.0047b108
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47ba50
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47bb72
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0047b0fc
xor eax, eax
push ebp
push 0x47bb55
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x47baa0
call fcn.00403b5c
jmp 0x47bb5c
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x47bb3f
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x47bb3f
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004034e0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x47bb3f
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040b4e4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x47bb8c
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x48d838]
mov dl, 1
mov eax, dword [0x479c2c]
call fcn.0040be14
call fcn.00403ab0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47bb5c
mov eax, dword [ebp - 4]
call fcn.0047b108
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47bb79
lea eax, [ebp - 0x28]
call fcn.004040f8
ret
Function at 0x47bbd8
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47bd22
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0047b0fc
xor eax, eax
push ebp
push 0x47bd05
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x47bc3d
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x47bc3d
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x47bcef
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x47bc50
call fcn.00403b5c
jmp 0x47bd0c
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x47bcef
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x47bcef
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004034e0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x47bcef
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040b4e4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x47bd3c
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x48d838]
mov dl, 1
mov eax, dword [0x479c2c]
call fcn.0040be14
call fcn.00403ab0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47bd0c
mov eax, dword [ebp - 4]
call fcn.0047b108
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47bd29
lea eax, [ebp - 0x28]
call fcn.004040f8
ret

Function at 0x47d654
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov edx, 0xc
mov eax, 0x48d1c4
mov ecx, 0x48d194
mov ebx, dword [ecx]
xor ebx, dword [eax]
not ebx
mov dword [eax], ebx
add ecx, 4
add eax, 4
dec edx
jne 0x47d664
mov edx, 0xc
mov eax, 0x48d224
mov ecx, 0x48d1f4
mov ebx, dword [ecx]
xor ebx, dword [eax]
not ebx
mov dword [eax], ebx
add ecx, 4
add eax, 4
dec edx
jne 0x47d684
mov edx, 0x48d1c4
mov eax, 0x48d194
mov ecx, 0x30
call fcn.00406e40
mov edx, 0x48d224
mov eax, 0x48d1f4
mov ecx, 0x30
call fcn.00406e40
mov eax, 0x48d1c4
mov edx, 0x30
call fcn.00406e48
mov eax, 0x48d224
mov edx, 0x30
call fcn.00406e48
pop ebx
ret
Function at 0x47dac8
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
test ebx, ebx
js 0x47dadf
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x47dad8
mov ecx, esp
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor ebx, ebx
mov eax, dword [ebp - 4]
mov byte [eax + ebx], 0
inc ebx
cmp ebx, 0x10
jne 0x47daec
xor eax, eax
mov dword [ebp - 0x10], eax
mov ebx, 4
lea eax, [ebp - 0x24]
xor edx, edx
mov dword [eax], edx
add eax, 4
dec ebx
jne 0x47db06
lea esi, [ebp - 0x24]
xor ebx, ebx
mov eax, dword [ebp - 0x10]
push eax
push 0x10
mov edi, ebx
shl edi, 2
lea eax, [esi + edi]
mov ecx, dword [ebp - 8]
xor edx, edx
call fcn.0047d99c
add dword [ebp - 0x10], 0x10
mov eax, dword [ebp - 0x10]
push eax
push 2
lea eax, [esi + edi]
mov ecx, dword [ebp - 8]
mov edx, 0x16
call fcn.0047d99c
add dword [ebp - 0x10], 2
inc ebx
cmp ebx, 4
jne 0x47db15
xor ebx, ebx
mov edx, 0xa
sub edx, ebx
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + edx*4]
mov eax, 2
sub eax, ebx
xor edx, dword [ebp + eax*4 - 0x24]
mov ecx, dword [ebp + eax*4 - 0x20]
and ecx, 0xffff
xor edx, ecx
mov dword [ebp + eax*4 - 0x24], edx
inc ebx
cmp ebx, 3
jne 0x47db53
xor eax, eax
mov dword [ebp - 0x14], eax
xor ebx, ebx
lea ecx, [ebp - 0x24]
mov esi, dword [ebp - 0xc]
lea eax, [ebx + 4]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + eax*4]
imul dword [ecx]
xor edx, edx
div dword [esi]
mov eax, edx
xor eax, dword [esi + 0x20]
xor eax, dword [ebp - 0x14]
mov edx, dword [ecx]
and edx, 0xffff
mov dword [ebp - 0x14], edx
mov edx, ebx
add edx, edx
mov edi, dword [ebp - 4]
lea edx, [edi + edx]
push edx
mov edx, eax
and dl, 0xff
pop edi
mov byte [edi], dl
mov edx, ebx
add edx, edx
mov edi, dword [ebp - 4]
lea edx, [edi + edx + 1]
push edx
movzx eax, ax
shr eax, 8
pop edx
mov byte [edx], al
inc ebx
add esi, 4
add ecx, 4
cmp ebx, 4
jne 0x47db8e
xor eax, eax
mov dword [ebp - 0x24], eax
lea esi, [ebp - 0x24]
mov eax, dword [ebp - 0x10]
push eax
push 0x10
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, esi
call fcn.0047d99c
lea esi, [ebp - 0x24]
mov al, byte [esi + 1]
xor al, byte [esi]
xor al, 0x3d
mov byte [esi], al
mov al, 0xf8
xor ebx, ebx
mov edx, dword [ebp - 4]
xor al, byte [edx + ebx]
inc ebx
cmp ebx, 8
jne 0x47dc0e
cmp al, byte [esi + 1]
je 0x47dc24
or eax, 0xffffffff
jmp 0x47dc28
xor eax, eax
mov al, byte [esi]
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x28]
mov esp, ebp
pop ebp
ret 4
Function at 0x47dd54
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
test esi, esi
js 0x47dd6e
mov edi, dword [ebx + esi*4]
dec esi
push edi
jns 0x47dd67
mov dword [ebp + 0xc], esp
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov esi, dword [ebp + 0xc]
add esi, 0x10
mov edi, 0x49edc0
mov eax, ebx
add eax, eax
mov edx, dword [ebp - 8]
movzx eax, byte [edx + eax + 1]
shl eax, 8
mov edx, ebx
add edx, edx
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + edx]
or eax, edx
mov dword [ebp - 0x14], eax
mov edx, dword [esi - 0x10]
mov eax, dword [esi]
call fcn.0047dd18
xor edx, edx
div dword [esi - 0x10]
mov ecx, edx
mov eax, dword [esi + 0x10]
xor eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x10]
imul ecx
xor edx, edx
div dword [esi - 0x10]
mov dword [edi], edx
mov eax, dword [edi]
and eax, 0xffff
mov dword [ebp - 0x10], eax
inc ebx
add edi, 4
add esi, 4
cmp ebx, 4
jne 0x47dd8c
mov eax, dword [0x49edcc]
and eax, 0xffff
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov edx, 2
sub edx, ebx
mov eax, dword [edx*4 + 0x49edc0]
mov ecx, eax
and ecx, 0xffff
mov dword [ebp - 0x10], ecx
mov ecx, 0xa
sub ecx, ebx
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi + ecx*4]
xor ecx, eax
xor ecx, dword [ebp - 0x14]
mov dword [edx*4 + 0x49edc0], ecx
inc ebx
cmp ebx, 3
jne 0x47ddf3
xor eax, eax
xor ebx, ebx
mov edx, dword [ebp - 4]
mov byte [edx + ebx], 0
inc ebx
cmp ebx, 0xb
jne 0x47de35
mov dword [0x49edd0], 0x49edc0
xor ebx, ebx
push 0
push 0x10
mov esi, ebx
shl esi, 2
mov edx, dword [0x49edd0]
lea ecx, [edx + esi]
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.0047d99c
push 0x16
push 2
mov edx, dword [0x49edd0]
lea ecx, [edx + esi]
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.0047d99c
inc ebx
cmp ebx, 4
jne 0x47de4e
mov byte [0x49edd4], 0xf8
xor ebx, ebx
mov edx, dword [ebp - 8]
mov dl, byte [edx + ebx]
xor byte [0x49edd4], dl
inc ebx
cmp ebx, 8
jne 0x47de90
mov dword [0x49edd0], 0x49edc0
mov edx, dword [0x49edd0]
mov cl, byte [0x49edd4]
mov byte [edx + 1], cl
mov dl, byte [ebp - 0xc]
xor dl, byte [0x49edd4]
xor dl, 0x3d
mov ecx, dword [0x49edd0]
mov byte [ecx], dl
push 0
push 0x10
mov ecx, dword [0x49edd0]
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.0047d99c
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 8

Function at 0x47df84
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov ebx, edx
dec ebx
test ebx, ebx
jl 0x47dfaa
inc ebx
xor ecx, ecx
mov eax, ecx
mov edi, 3
cdq
idiv edi
mov al, byte [edx + 0x48d274]
xor byte [esi + ecx], al
inc ecx
dec ebx
jne 0x47df93
pop edi
pop esi
pop ebx
ret