joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a3850
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fac18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
call fcn.00464470
mov eax, dword [esp + 0x30]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x2c], 0
call fcn.004646d0
mov edx, dword [esp + 0x34]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
lea ecx, [esp + 0x10]
call fcn.00464700
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [esi + 0x10]
push edx
push 0x50a
push esi
call fcn.004971d0
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.004644e0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 8

Function at 0x4a38f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fac38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
mov byte [esp + 0xc], 1
mov dword [esp + 8], 8
call fcn.00464470
lea eax, [esp + 8]
push 8
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0
call fcn.00464700
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.004646d0
mov edx, dword [esp + 0x40]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.00464700
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
push edx
push eax
push ecx
mov ecx, dword [esi + 0x10]
push esi
call fcn.004971d0
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call fcn.004644e0
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc
Function at 0x4a5930
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x58]
test eax, eax
je 0x4a599e
mov edi, dword [sym.imp.kernel32.dll_GetTickCount]
call edi
mov edx, dword [esi + 0x4c]
mov ecx, eax
sub ecx, edx
cmp ecx, 0x3e8
jl 0x4a599e
mov eax, dword [esi + 0x50]
xor edx, edx
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
lea eax, [eax + eax*4]
mov dword [esi + 0x58], 1
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
div ecx
mov dword [esi + 0x54], eax
call edi
mov dword [esi + 0x4c], eax
mov dword [esi + 0x44], 0
call edi
add eax, 0x3e8
test eax, eax
mov dword [esi + 0x48], eax
jne 0x4a599e
mov dword [esi + 0x48], 1
mov edi, dword [esi + 0x54]
shr edi, 1
jne 0x4a59b0
mov ecx, dword [esi + 0x10]
call fcn.00496f10
pop edi
pop esi
ret
cmp edi, 0x80000
jbe 0x4a59bd
mov edi, 0x80000
mov ecx, dword [esi + 0x10]
call fcn.00496f30
add eax, edi
pop edi
pop esi
ret

Function at 0x4a5dc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fade8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, ecx
lea ecx, [esp + 0x10]
mov byte [esp + 0xc], 0
mov eax, dword [esi + 0x70]
mov dword [esp + 8], eax
call fcn.00464470
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x30], 0
call fcn.00496f10
push eax
lea ecx, [esp + 0x14]
call fcn.00464590
lea ecx, [esp + 8]
push 8
push ecx
lea ecx, [esp + 0x18]
call fcn.00464700
lea edx, [esp + 4]
lea eax, [esp + 0x10]
push edx
push eax
mov ecx, esi
call fcn.004a2cf0
mov ecx, dword [esp + 0x14]
mov dl, byte [esp + 4]
mov byte [ecx + 4], dl
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov edx, dword [esi + 0x70]
push eax
push ecx
mov ecx, dword [esi + 0x10]
push edx
push esi
call fcn.004971d0
mov eax, dword [esp + 4]
test eax, eax
je 0x4a5e5e
mov ecx, esi
call fcn.004a2f50
jmp 0x4a5e6b
mov eax, fcn.004a5dc0
xor ecx, ecx
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call fcn.004644e0
mov ecx, dword [esp + 0x28]
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret

Function at 0x4a80d0
Capabilities:
Set file attributes

Disassembly:
push esi
push edi
call fcn.004a8020
mov eax, dword [eax + 0x14]
xor esi, esi
test eax, eax
je 0x4a80e9
push eax
call dword [sym.imp.advapi32.dll_ImpersonateLoggedOnUser]
mov esi, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
test esi, esi
mov edi, eax
je 0x4a8105
call dword [sym.imp.advapi32.dll_RevertToSelf]
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x4a81f0
Capabilities:
Create directory

Disassembly:
push esi
push edi
call fcn.004a8020
mov eax, dword [eax + 0x14]
xor esi, esi
test eax, eax
je 0x4a8209
push eax
call dword [sym.imp.advapi32.dll_ImpersonateLoggedOnUser]
mov esi, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test esi, esi
mov edi, eax
je 0x4a8225
call dword [sym.imp.advapi32.dll_RevertToSelf]
mov eax, edi
pop edi
pop esi
ret 8
Function at 0x4a8230
Capabilities:
Move file

Disassembly:
push esi
push edi
call fcn.004a8020
mov eax, dword [eax + 0x14]
xor esi, esi
test eax, eax
je 0x4a8249
push eax
call dword [sym.imp.advapi32.dll_ImpersonateLoggedOnUser]
mov esi, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call dword [sym.imp.kernel32.dll_MoveFileA]
test esi, esi
mov edi, eax
je 0x4a8265
call dword [sym.imp.advapi32.dll_RevertToSelf]
mov eax, edi
pop edi
pop esi
ret 8
Function at 0x4a94c0
Capabilities:
Log keystrokes

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
push 0
neg eax
sbb eax, eax
xor ecx, ecx
and eax, 2
test esi, esi
mov esi, dword [esp + 0xc]
setne cl
or eax, ecx
mov edx, esi
push eax
and edx, 0xff
push 0
push edx
call dword [sym.imp.user32.dll_MapVirtualKeyA]
push eax
push esi
call fcn.004a9500
add esp, 0x10
pop esi
ret

Function at 0x4a9580
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [0x5378a0]
test eax, eax
jne 0x4a95fa
call fcn.0045d480
test eax, eax
je 0x4a95fa
push esi
mov esi, dword [sym.imp.kernel32.dll_CreateEventA]
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0
mov dword [0x53786c], eax
call esi
mov dword [0x537868], eax
lea eax, [esp + 4]
push eax
push 0
push 0
push 0x4a9600
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
mov esi, eax
push 0xf
push esi
call dword [sym.imp.kernel32.dll_SetThreadPriority]
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
push 0x4a97e0
call fcn.004c2c04
add esp, 4
mov dword [0x5378a0], 1
pop esi
pop ecx
ret

Function at 0x4a9a70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x18]
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
xor edi, edi
mov byte [esp + 8], cl
test esi, esi
mov byte [esp + 0x20], dl
jle 0x4a9b6a
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0x20]
push ebx
and ecx, 0xff
push ebp
and esi, 0xff
lea edx, [ecx + 1]
and edx, 0x800000ff
jns 0x4a9ac4
dec edx
or edx, 0xffffff00
inc edx
mov byte [esp + 0x10], dl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov bl, byte [ecx + eax]
mov byte [esp + 0x18], bl
and ebx, 0xff
add ebx, esi
and ebx, 0x800000ff
jns 0x4a9af1
dec ebx
or ebx, 0xffffff00
inc ebx
mov byte [esp + 0x28], bl
mov bl, byte [esp + 0x18]
mov esi, dword [esp + 0x28]
mov byte [esp + 0x14], bl
and esi, 0xff
mov ebp, dword [esp + 0x14]
and ebp, 0xff
mov bl, byte [esi + eax]
mov byte [ecx + eax], bl
mov bl, byte [esp + 0x14]
mov byte [esi + eax], bl
xor ebx, ebx
mov bl, byte [ecx + eax]
add ebx, ebp
and ebx, 0x800000ff
jns 0x4a9b35
dec ebx
or ebx, 0xffffff00
inc ebx
mov ebp, dword [esp + 0x20]
and ebx, 0xff
mov bl, byte [ebx + eax]
xor byte [edi + ebp], bl
mov ebx, dword [esp + 0x24]
inc edi
cmp edi, ebx
jl 0x4a9ab1
mov cl, byte [esp + 0x28]
pop ebp
pop ebx
pop edi
mov byte [eax + 0x100], dl
mov byte [eax + 0x101], cl
pop esi
add esp, 0xc
ret
pop edi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop esi
add esp, 0xc
ret

Function at 0x4a9b80
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], ecx
ret
Function at 0x4abf90
Capabilities:
Read file on windows

Disassembly:
mov al, byte [0x537978]
sub esp, 0x68
push edi
xor edi, edi
test al, al
jne 0x4ac0b0
push esi
push edi
push str._dev_urandom
mov byte [0x537978], 1
call fcn.004ce7be
mov esi, eax
add esp, 8
test esi, esi
jle 0x4abfdb
push 0x14
push 0x537920
push esi
call fcn.004cc2c5
push esi
mov edi, eax
call fcn.004cc0de
add esp, 0x10
test edi, edi
jne 0x4abfe5
call fcn.004ae010
mov dword [0x5378e8], eax
lea eax, [esp + 8]
push eax
call fcn.004d2810
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
and edx, 0xffff
mov dword [0x5378ec], ecx
mov dword [0x5378f0], edx
call sub.kernel32.dll_GetCurrentProcessId
push 0x5378f8
mov word [0x5378f4], ax
mov word [0x5378f6], 0
call fcn.004ac0c0
push 0x53790c
call fcn.004ac150
add esp, 0xc
test edi, edi
pop esi
jne 0x4ac043
call fcn.004ae010
mov dword [0x537934], eax
lea eax, [esp + 0x10]
push eax
call fcn.004a9b80
push 0x50
lea ecx, [esp + 0x18]
push 0x5378e8
push ecx
call fcn.004a9bb0
lea edx, [esp + 0x20]
push edx
push 0x537938
call fcn.004abea0
add esp, 0x18
mov eax, 0x14
mov cl, byte [eax + 0x537924]
mov byte [eax + 0x537938], cl
inc eax
cmp eax, 0x40
jb 0x4ac075
push 0x40
push 0x537938
call fcn.004adc80
add esp, 8
mov ecx, 0x10
xor eax, eax
mov edi, 0x537938
rep stosd dword es:[edi], eax
mov ecx, 0x14
mov edi, 0x5378e8
rep stosd dword es:[edi], eax
pop edi
add esp, 0x68
ret
Function at 0x4b0780
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
push esi
call fcn.004b0a50
push esi
mov edi, eax
call fcn.004b0b70
mov edx, dword [esp + 0x28]
add esp, 8
mov esi, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 3
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4b07c3
mov dword [esp + 0x20], 8
add edx, 0x78
jmp 0x4b07cb
mov dword [esp + 0x20], 0xfffffff8
mov dword [esp + 0x10], 0x10
mov ecx, esi
lea eax, [esi + esi]
shr ecx, 0x1f
or ecx, eax
xor ebx, ebx
mov bl, byte [edx + 6]
mov ebp, ecx
shr ebp, 0x18
and ebp, 0x3f
xor eax, eax
mov al, byte [edx + 5]
xor ebp, ebx
mov ebx, ecx
mov ebp, dword [ebp*4 + 0x530048]
shr ebx, 0x14
and ebx, 0x3f
xor ebx, eax
mov eax, dword [ebx*4 + 0x52ff48]
mov ebx, ecx
xor ebp, eax
xor eax, eax
mov al, byte [edx + 4]
shr ebx, 0x10
and ebx, 0x3f
xor ebx, eax
mov eax, dword [ebx*4 + 0x52fe48]
xor ebx, ebx
mov bl, byte [edx + 3]
xor ebp, eax
mov eax, ecx
shr eax, 0xc
and eax, 0x3f
xor eax, ebx
mov ebx, dword [eax*4 + 0x52fd48]
mov eax, ecx
xor ebp, ebx
xor ebx, ebx
mov bl, byte [edx + 2]
shr eax, 8
and eax, 0x3f
xor eax, ebx
mov ebx, dword [eax*4 + 0x52fc48]
mov eax, ecx
xor ebp, ebx
xor ebx, ebx
mov bl, byte [edx + 1]
and ecx, 0x3f
shr eax, 4
and eax, 0x3f
xor eax, ebx
mov ebx, dword [eax*4 + 0x52fb48]
xor eax, eax
mov al, byte [edx]
xor ebp, ebx
xor ecx, eax
mov eax, esi
and eax, 1
mov ebx, dword [ecx*4 + 0x52fa48]
mov ecx, esi
shr ecx, 0x1b
shl eax, 5
or ecx, eax
xor eax, eax
mov al, byte [edx + 7]
xor ebp, ebx
xor ecx, eax
xor edi, ebp
mov eax, dword [ecx*4 + 0x530148]
mov ecx, dword [esp + 0x20]
xor eax, edi
mov edi, esi
mov esi, eax
mov eax, dword [esp + 0x10]
sub edx, ecx
dec eax
mov dword [esp + 0x10], eax
jne 0x4b07d3
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add edx, 0x80
mov eax, edi
dec ecx
mov edi, esi
mov esi, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
jne 0x4b07ae
mov ecx, dword [esp + 0x24]
push ecx
push eax
push edi
call fcn.004b0900
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x4b1c60
Capabilities:
Terminate process

Disassembly:
cmp dword [esp + 4], 1
jne 0x4b1c85
mov eax, dword [esp + 8]
push eax
push str.CRITICAL_EXCEPTION:__s_exiting._n
push 0x533b80
call fcn.004c5daf
add esp, 0xc
push 1
call fcn.004c5cbc
mov ecx, dword [esp + 8]
push ecx
push str.WARNING:__s_n
push 0x533b80
call fcn.004c5daf
add esp, 0xc
ret

Function at 0x4b1ca0
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
mov dword [0x537bf4], 0
mov dword [eax + 4], 0x67452301
mov dword [eax + 8], 0xefcdab89
mov dword [eax + 0xc], 0x98badcfe
mov dword [eax + 0x10], 0x10325476
mov dword [eax + 0x14], 0xc3d2e1f0
mov dword [eax], 0
ret
Function at 0x4b23f0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0xc]
xor eax, eax
mov ah, byte [esp + 4]
mov edx, dword [esp + 0x10]
mov al, byte [esp + 8]
and ecx, 0xff
shl eax, 8
or eax, ecx
mov ecx, dword [0x537bf4]
shl eax, 8
and edx, 0xff
or eax, edx
mov edx, dword [0x537bf0]
sar ecx, 5
mov dword [edx + ecx*4], eax
mov eax, dword [0x537bf4]
add eax, 0x20
cmp eax, 0x200
mov dword [0x537bf4], eax
jne 0x4b244d
mov dword [0x537bf4], 0
jmp fcn.004b2040
ret

Function at 0x4b24e0
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov dword [0x53afb4], 0
mov dword [0x53afc0], 1
push 0
push 0x400
push 0x4b25a0
call fcn.004c5f4b
mov edi, dword [sym.imp.kernel32.dll_Sleep]
add esp, 0xc
xor esi, esi
push 0
call edi
mov eax, dword [0x53afb4]
test eax, eax
jne 0x4b2525
inc esi
cmp esi, 0x14
jl 0x4b2512
mov dword [0x53afc0], 0
push 0
call edi
mov eax, dword [0x53afb4]
shr eax, 3
mov ecx, dword [0x53afb4]
xor eax, ecx
shr eax, 3
mov edx, dword [0x53afbc]
xor eax, edx
mov ecx, dword [0x53afb4]
xor eax, ecx
mov dword [0x53afb4], eax
mov edx, dword [0x53afb4]
and edx, 7
mov dword [0x53afb4], edx
mov eax, dword [0x53afb4]
mov dword [0x53afbc], eax
mov ecx, dword [0x53afb8]
shl ecx, 3
mov edx, dword [0x53afb4]
xor ecx, edx
mov dword [0x53afb8], ecx
mov eax, dword [0x53afb8]
pop edi
pop esi
ret
Function at 0x4cd333
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x5365a8
cmp edx, dword [eax]
je 0x4cd355
add eax, 8
inc ecx
cmp eax, 0x536638
jl 0x4cd346
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x5365a8]
jne 0x4cd483
mov eax, dword [0x53a734]
cmp eax, 1
je 0x4cd45d
test eax, eax
jne 0x4cd386
cmp dword [0x533b3c], 1
je 0x4cd45d
cmp edx, 0xfc
je 0x4cd483
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4cd3bd
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004c8ce0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c68f0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4cd400
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c68f0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x50a474
push edi
call fcn.004c59e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004c8ce0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c8cf0
lea eax, [ebp - 0xa0]
push 0x50a454
push eax
call fcn.004c8cf0
push dword [esi + 0x5365ac]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c8cf0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004ceae6
add esp, 0x2c
pop edi
jmp 0x4cd483
lea eax, [ebp + 8]
lea esi, [esi + 0x5365ac]
push 0
push eax
push dword [esi]
call fcn.004c68f0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.kernel32.dll_GetStdHandle]
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
pop esi
leave
ret

Function at 0x4d61ac
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x4d61ce
cmp dword [edi + 0x3c], 0
jne 0x4d61ce
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.004e903c
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.kernel32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.004d61fb
pop edi
pop esi
pop ebx
ret 8

Function at 0x4d6249
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.004e903c
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.kernel32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x4d627a
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.004d628d
pop edi
pop esi
pop ebx
ret 8
Function at 0x4d7885
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4d78bd
push dword [esi + 0x1c]
call dword [sym.imp.user32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004dad23
push eax
push dword [esi + 0x1c]
call dword [sym.imp.user32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004dacfb
jmp 0x4d78c9
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4d9416
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4d9458
call fcn.004e903c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.kernel32.dll_FindResourceA]
cmp eax, edi
je 0x4d9458
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
cmp eax, edi
jne 0x4d944f
xor eax, eax
jmp 0x4d9460
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004d9466
pop edi
pop esi
pop ebx
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push 0x10
lea eax, [ebp - 0x14]
push 0
mov esi, ecx
push eax
call fcn.004c61e0
add esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 4]
call sub.wsock32.dll_getsockname
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov esi, ecx
test esi, esi
je 0x4ec9c2
push dword [ebp - 0x12]
call sub.wsock32.dll_ntohs
mov ecx, dword [ebp + 0xc]
push dword [ebp - 0x10]
movzx eax, ax
mov dword [ecx], eax
call sub.wsock32.dll_inet_ntoa
mov ecx, dword [ebp + 8]
push eax
call fcn.004daa05
mov eax, esi
pop esi
leave
ret 8

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

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call sub.wsock32.dll_recv
ret 0xc
Function at 0x5532eb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xf8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x78]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x553357
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x18]
jae 0x5533a0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.0056c510
add esp, 8
test eax, eax
jne 0x55339e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + eax*2]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x5533a2
jmp 0x55334e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x55f43a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x55f44a
xor eax, eax
jmp 0x55f613
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x55f5cb
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x5819fc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x5819fc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x5819fc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x5819fc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x5819fc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x5819fc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x5819fc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x5819fc]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 8
mov dword [ebp + 0x10], ecx
jmp 0x55f453
cmp dword [ebp + 0x10], 0
je 0x55f60d
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp + 8]
xor ecx, eax
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
mov eax, dword [ecx*4 + 0x5819fc]
xor eax, edx
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x10], 0
jne 0x55f5d1
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret