joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47dd9c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c0
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x3c0]
push edi
mov edi, dword [ebp + 8]
mov ebx, 0x3bc
push ebx
push 0
push eax
call fcn.005683c0
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov dword [ebp - 0x3c0], ebx
mov dword [ebp - 0xa0], 3
mov dword [ebp - 0x3bc], edi
mov dword [ebp - 0x3b8], eax
push 4
pop ecx
mov dword [ebp - 0x3b4], ecx
test esi, esi
je 0x47de0a
push 6
pop ecx
mov dword [ebp - 0x3b4], ecx
mov dword [ebp - 0x3ac], esi
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x47de20
or ecx, 1
mov dword [ebp - 0x3b0], eax
mov dword [ebp - 0x3b4], ecx
push 0x80
lea eax, [ebp - 0x3a8]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
lea eax, [ebp - 0x3c0]
push eax
push dword [ebp + 0x18]
call esi
cmp dword [ebp + 0x18], 0
mov ecx, eax
jne 0x47de5a
lea eax, [ebp - 0x3c0]
push eax
push 4
call esi
mov ecx, eax
xor eax, eax
test ecx, ecx
mov ecx, dword [ebp - 4]
pop edi
setne al
xor ecx, ebp
pop esi
pop ebx
call fcn.00565e42
leave
ret

Function at 0x47e9c6
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x47e9f3
push 0x80
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
xor ecx, ecx
mov dword [esi], eax
test eax, eax
pop esi
setne cl
mov eax, ecx
pop ebp
ret
push str.Pointer_is_NULL_n
push 0x199
push str.C:_actions_runner_workclientclientcorewindows_nativeui_win32.c
call fcn.00453f4f
int3

Function at 0x47effc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
inc eax
pop ebp
ret

Function at 0x47ff9e
Capabilities:
Initialize winhttp library

Disassembly:
push esi
push 0x160
push str.C:_actions_runner_workclientclientcorewindowsproxyresolver_win32.c
push 2
push 0x1830
call fcn.004554a5
xor esi, esi
mov dword [0x5f1d24], eax
push esi
push str.winhttp.dll
call fcn.0045b46e
mov ecx, dword [0x5f1d24]
add esp, 0x18
mov dword [ecx + 8], eax
test eax, eax
je 0x480073
push 0x47f983
call fcn.0045c212
mov eax, dword [0x5f1d24]
mov dword [esp], str.WinHttpCreateProxyResolver
push dword [eax + 8]
call fcn.0045ed2c
mov ecx, dword [0x5f1d24]
push str.WinHttpGetProxyForUrlEx
push dword [ecx + 8]
mov dword [ecx + 0xc], eax
call fcn.0045ed2c
mov ecx, dword [0x5f1d24]
push str.WinHttpGetProxyResult
push dword [ecx + 8]
mov dword [ecx + 0x10], eax
call fcn.0045ed2c
mov ecx, dword [0x5f1d24]
push str.WinHttpFreeProxyResult
push dword [ecx + 8]
mov dword [ecx + 0x14], eax
call fcn.0045ed2c
mov ecx, dword [0x5f1d24]
add esp, 0x20
mov dword [ecx + 0x18], eax
cmp dword [ecx + 0xc], esi
je 0x480053
push 0x10000000
jmp 0x480054
push esi
push esi
push esi
push esi
push str.DIRECT
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ecx, dword [0x5f1d24]
mov dword [ecx], eax
xor eax, eax
cmp dword [ecx], esi
pop esi
setne al
ret
xor eax, eax
pop esi
ret
Function at 0x4813f7
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045e2d5

Function at 0x4817f5
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x34]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push 0x2f
xorps xmm0, xmm0
mov dword [ebp - 0x38], esi
push esi
push eax
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
call fcn.005683c0
add esp, 0xc
test edi, edi
je 0x48190f
push 0x108
push esi
push edi
call fcn.005683c0
add esp, 0xc
test ebx, ebx
je 0x48188d
cmp byte [ebx], 0
je 0x48188d
push 0x100
push ebx
push edi
call fcn.0046f46a
add esp, 0xc
movaps xmm0, xmmword [0x5a1550]
lea eax, [ebp - 0x38]
mov ebx, dword [sym.imp.WS2_32.dll_getaddrinfo]
push eax
lea eax, [ebp - 0x58]
push eax
push esi
push edi
movups xmmword [ebp - 0x58], xmm0
call ebx
cmp eax, 0x2af9
je 0x4818a0
push esi
lea eax, [edi + 0x100]
push eax
push edi
jmp 0x4818eb
push 0x100
push edi
call fcn.004816d7
pop ecx
pop ecx
test eax, eax
jne 0x48185e
jmp 0x481900
lea eax, [ebp - 0x38]
mov dword [ebp - 0x58], esi
push eax
lea eax, [ebp - 0x58]
push eax
push esi
push edi
call ebx
test eax, eax
jne 0x4818f5
mov eax, dword [ebp - 0x38]
jmp 0x4818bf
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x4818f5
cmp dword [eax + 4], 2
jne 0x4818b8
push 2
push esi
push esi
push 0x2f
lea ecx, [ebp - 0x34]
push ecx
push dword [eax + 0x10]
push dword [eax + 0x18]
call dword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
jne 0x4818f5
push esi
lea eax, [edi + 0x100]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0046f36a
mov esi, eax
add esp, 0xc
push dword [ebp - 0x38]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00565e42
leave
ret
push str.Pointer_is_NULL_n
push 0x625
push str.C:_actions_runner_workclientclientcore_socket.c
call fcn.00453f4f
int3
Function at 0x4849db
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x1c]
push edi
cmp dword [ebx + 0x8c], 0x33
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x208], edi
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x210], esi
jl 0x484a59
and dword [ebp - 0x208], 0
lea eax, [ebp - 0x208]
push eax
mov eax, dword [ebx + 0x45c]
push dword [eax + 8]
call fcn.004a4e0a
push dword [ebp + 0x20]
push esi
push dword [ebp + 0x18]
push dword [ebp - 0x20c]
push dword [ebp + 0x10]
push edi
push dword [ebp - 0x208]
push ebx
call fcn.00484b18
add esp, 0x28
jmp 0x484b06
mov ecx, dword [ebp + 0x10]
xor edi, edi
mov eax, ecx
and ecx, 1
cdq
sub eax, edx
mov esi, eax
lea eax, [ebp - 0x204]
push 0x100
push edi
sar esi, 1
push eax
add esi, ecx
call fcn.005683c0
push 0x100
lea eax, [ebp - 0x104]
push edi
push eax
call fcn.005683c0
push 0x100
lea eax, [ebp - 0x204]
push eax
push dword [ebp + 0x18]
push dword [ebp - 0x20c]
push esi
push dword [ebp - 0x208]
push 0x5eca84
push ebx
call fcn.00484b18
push 0x100
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0x18]
mov eax, dword [ebp - 0x208]
push dword [ebp - 0x20c]
add eax, esi
push esi
push eax
push 0x5ecac4
push ebx
call fcn.00484b18
add esp, 0x58
cmp dword [ebp + 0x20], edi
jle 0x484b06
mov edx, dword [ebp - 0x210]
mov cl, byte [ebp + edi - 0x104]
xor cl, byte [ebp + edi - 0x204]
mov byte [edx + edi], cl
inc edi
cmp edi, dword [ebp + 0x20]
jl 0x484aef
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00565e42
leave
ret

Function at 0x495ae7
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
or dword [ebp - 8], 0xffffffff
lea eax, [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
push esi
push edi
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x14], 0xc
push eax
lea eax, [ebp - 4]
xor esi, esi
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], esi
inc edi
push eax
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x495b7e
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
test bl, 4
je 0x495b32
push dword [ebp - 8]
jmp 0x495b35
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x495b53
push dword [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 4]
call esi
xor eax, eax
jmp 0x495b7d
push 0x166
push str.C:_actions_runner_workclientclientcorewindowsplatform_pipe.cc
push edi
push 0x10
call fcn.004554a5
mov edx, dword [ebp - 4]
add esp, 0x10
mov ecx, dword [ebp - 8]
mov dword [eax], 0x5a50d4
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
pop ebx
pop edi
pop esi
leave
ret
Function at 0x495c41
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x294
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x28c], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x280
mov dword [ebp - 0x294], eax
lea eax, [ebp - 0x284]
push 0
push eax
call fcn.005683c0
add esp, 0xc
mov edi, 0x1388
test esi, esi
je 0x495d75
push 0x140
lea eax, [ebp - 0x284]
push esi
push eax
call fcn.00492329
add esp, 0xc
mov dword [ebp - 0x290], 0xc
xor esi, esi
lea eax, [ebp - 0x28c]
mov dword [ebp - 0x288], esi
push esi
push eax
push 1
push 0x5a5058
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test bl, 1
je 0x495d21
mov ebx, 0xfa
jmp 0x495cd9
xor esi, esi
push esi
push esi
push 3
lea eax, [ebp - 0x290]
push eax
push esi
push 0xc0000000
lea eax, [ebp - 0x284]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x495d4f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x495d4f
push ebx
lea eax, [ebp - 0x284]
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
sub edi, ebx
test edi, edi
jg 0x495cd7
jmp 0x495d4f
lea eax, [ebp - 0x290]
shr ebx, 1
push eax
mov eax, dword [ebp - 0x294]
not ebx
push esi
push eax
push eax
push 0xff
and ebx, 1
lea eax, [ebp - 0x284]
push ebx
push 3
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov esi, eax
cmp dword [ebp - 0x28c], 0
je 0x495d64
push dword [ebp - 0x28c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00565e42
leave
ret
push str.Pointer_is_NULL_n
push 0x110
push str.C:_actions_runner_workclientclientcorewindowsplatform_pipe.cc
call fcn.00453f4f
int3

Function at 0x4a5f63
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
je 0x4a5f72
pop ebp
jmp fcn.00547fce
push str.Pointer_is_NULL_n
push 0x14
push str.C:_actions_runner_workclientclientcorecrc.c
call fcn.00453f4f
int3
Function at 0x4a5f84
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x48], eax
test edi, edi
je 0x4a6163
test esi, esi
jne 0x4a5fbe
push str.Pointer_is_NULL_n
push 0x11f
jmp 0x4a616d
test eax, eax
jne 0x4a5fd1
push str.Pointer_is_NULL_n
push 0x120
jmp 0x4a616d
lea eax, [ebp - 0x30]
push eax
call fcn.004a6281
lea eax, [ebp - 0x34]
push eax
call fcn.004a6281
lea eax, [ebp - 0x38]
push eax
call fcn.004a6281
mov ebx, 0x5ecac4
push ebx
push dword [ebp - 0x30]
call fcn.004a6892
push ebx
push dword [ebp - 0x34]
call fcn.004a6892
push ebx
push dword [ebp - 0x38]
call fcn.004a6892
push dword [ebp + 0xc]
push edi
push dword [ebp - 0x30]
call fcn.004a6994
push dword [ebp - 0x34]
push dword [ebp - 0x30]
call fcn.004a6178
push dword [ebp + 0x14]
push esi
push dword [ebp - 0x34]
call fcn.004a6614
mov eax, dword [ebp + 0x20]
add esp, 0x44
movzx eax, ax
xor ebx, ebx
dec eax
mov dword [ebp - 0x3c], ebx
cdq
push 0x14
pop ecx
idiv ecx
xor ecx, ecx
inc eax
movzx eax, ax
mov dword [ebp - 0x4c], eax
cmp cx, ax
jae 0x4a6133
mov edi, dword [ebp - 0x38]
xor esi, esi
inc esi
push 0x14
mov dword [ebp - 0x40], esi
pop eax
push eax
lea eax, [ebp - 0x2c]
push 0
push eax
call fcn.005683c0
push edi
push dword [ebp - 0x34]
call fcn.004a6178
and dword [ebp - 0x44], 0
mov eax, esi
shr eax, 0x18
add esp, 0x14
mov byte [ebp - 0x18], al
mov eax, esi
shr eax, 0x10
mov byte [ebp - 0x17], al
mov eax, esi
shr eax, 8
cmp dword [ebp + 0x18], 0
mov byte [ebp - 0x16], al
lea eax, [ebx + 1]
mov byte [ebp - 0x15], al
jle 0x4a60f2
mov esi, dword [ebp - 0x44]
push 4
pop ecx
push ecx
lea eax, [ebp - 0x18]
push eax
push edi
call fcn.004a6614
push edi
call fcn.004a642a
push 0x14
lea eax, [ebp - 0x18]
push eax
push edi
call fcn.004a6524
add esp, 0x1c
xor ecx, ecx
push 0x14
pop edx
mov al, byte [ebp + ecx - 0x18]
xor byte [ebp + ecx - 0x2c], al
inc ecx
sub edx, 1
jne 0x4a60cd
push edi
push dword [ebp - 0x30]
call fcn.004a6178
pop ecx
inc esi
pop ecx
movzx eax, si
push 0x14
pop ecx
cmp eax, dword [ebp + 0x18]
jl 0x4a60a8
xor ecx, ecx
imul esi, ebx, 0x14
mov ebx, dword [ebp - 0x48]
lea eax, [esi + ecx]
movzx edx, ax
push 0x14
cmp edx, dword [ebp + 0x20]
jge 0x4a611a
movzx eax, cx
inc ecx
mov al, byte [ebp + eax - 0x2c]
mov byte [edx + ebx], al
pop eax
cmp cx, ax
jb 0x4a60fa
jmp 0x4a611b
pop eax
mov ebx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x40]
inc ebx
inc esi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], esi
cmp bx, word [ebp - 0x4c]
jb 0x4a6062
lea eax, [ebp - 0x30]
push eax
call fcn.004a62e0
lea ecx, [ebp - 0x34]
push ecx
call fcn.004a62e0
lea ecx, [ebp - 0x38]
push ecx
call fcn.004a62e0
mov ecx, dword [ebp - 4]
add esp, 0xc
xor eax, eax
xor ecx, ebp
inc eax
pop edi
pop esi
pop ebx
call fcn.00565e42
leave
ret
push str.Pointer_is_NULL_n
push 0x11e
push str.C:_actions_runner_workclientclientcorehmac.c
call fcn.00453f4f
int3
Function at 0x4a642a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x4a650f
mov eax, dword [0x5eca3c]
cmp dword [esi + 0x24], eax
jne 0x4a64f6
xor edi, edi
mov dword [ebp + 8], edi
cmp dword [esi + 0x3c], edi
jne 0x4a6458
xor eax, eax
pop edi
pop esi
pop ebp
ret
cmp dword [esi + 0x38], 0xffffffff
je 0x4a6469
push edi
push edi
push esi
call fcn.004a6614
add esp, 0xc
push ebx
push dword [esi + 0x3c]
call fcn.004a4db9
mov ebx, eax
push ebx
push edi
push dword [esi + 0x40]
call fcn.005683c0
push dword [esi + 0x3c]
call fcn.004a4cdf
push ebx
push dword [esi + 0x40]
push dword [esi + 0x3c]
call fcn.004a4d48
add esp, 0x20
test dword [esi + 0x34], 0xfffffffc
jle 0x4a64b8
mov ecx, edi
mov eax, dword [esi + 0x30]
xor dword [eax + ecx*4], 0x6a6a6a6a
inc edi
mov eax, dword [esi + 0x34]
movzx ecx, di
sar eax, 2
cmp ecx, eax
jl 0x4a64a0
push dword [esi + 0x3c]
call fcn.004a5982
lea eax, [ebp + 8]
push eax
push dword [esi + 0x34]
push dword [esi + 0x30]
push dword [esi + 0x3c]
call fcn.004a52ef
lea eax, [ebp + 8]
push eax
push ebx
push dword [esi + 0x40]
push dword [esi + 0x3c]
call fcn.004a52ef
push dword [esi + 0x3c]
call fcn.004a4cdf
add esp, 0x28
xor eax, eax
inc eax
pop ebx
jmp 0x4a6454
push dword [esi + 0x24]
push eax
push esi
push str.Class_mismatch_pointer__0x_p:_expected_0x_08x_but_was_0x_08x__n
push 0xa1
push str.C:_actions_runner_workclientclientcorehmac.c
call fcn.00453f4f
push str.Pointer_is_NULL_n
push 0xa1
push str.C:_actions_runner_workclientclientcorehmac.c
call fcn.00453f4f
int3
Function at 0x4a6614
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x4a670c
mov eax, dword [0x5eca3c]
cmp dword [esi + 0x24], eax
jne 0x4a66f3
xor edi, edi
mov dword [ebp + 8], edi
cmp dword [esi + 0x3c], edi
jne 0x4a6642
xor eax, eax
pop edi
pop esi
pop ebp
ret
mov eax, dword [esi + 0x38]
cmp eax, 0xffffffff
je 0x4a66d0
cmp eax, dword [esi + 0x34]
jle 0x4a6675
push dword [esi + 0x3c]
call fcn.004a4cdf
push dword [esi + 0x3c]
call fcn.004a4db9
push eax
push dword [esi + 0x30]
mov dword [esi + 0x38], eax
push dword [esi + 0x3c]
call fcn.004a4d48
add esp, 0x14
mov eax, dword [esi + 0x34]
sub eax, dword [esi + 0x38]
push eax
mov eax, dword [esi + 0x30]
add eax, dword [esi + 0x38]
push edi
push eax
call fcn.005683c0
add esp, 0xc
test dword [esi + 0x34], 0xfffffffc
jle 0x4a66af
mov ecx, edi
mov eax, dword [esi + 0x30]
xor dword [eax + ecx*4], 0x36363636
inc edi
mov eax, dword [esi + 0x34]
movzx ecx, di
sar eax, 2
cmp ecx, eax
jl 0x4a6697
push dword [esi + 0x3c]
call fcn.004a5982
lea eax, [ebp + 8]
push eax
push dword [esi + 0x34]
push dword [esi + 0x30]
push dword [esi + 0x3c]
call fcn.004a52ef
add esp, 0x14
or dword [esi + 0x38], 0xffffffff
cmp dword [ebp + 0x10], 0
jbe 0x4a66eb
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 0x3c]
call fcn.004a52ef
add esp, 0x10
xor eax, eax
inc eax
jmp 0x4a663e
push dword [esi + 0x24]
push eax
push esi
push str.Class_mismatch_pointer__0x_p:_expected_0x_08x_but_was_0x_08x__n
push 0x82
push str.C:_actions_runner_workclientclientcorehmac.c
call fcn.00453f4f
push str.Pointer_is_NULL_n
push 0x82
push str.C:_actions_runner_workclientclientcorehmac.c
call fcn.00453f4f
int3
Function at 0x4b26b5
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push 0x40
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.005683c0
and dword [ebp - 0x48], 0
add esp, 0xc
xorps xmm0, xmm0
movlpd qword [ebp - 0x58], xmm0
test edi, edi
je 0x4b2862
cmp dword [ebp - 0x4c], 0
je 0x4b2862
lea eax, [ebp - 0x58]
push eax
push esi
call fcn.004a3266
pop ecx
pop ecx
test eax, eax
je 0x4b2862
lea eax, [ebp - 0x48]
push eax
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.004a30ef
add esp, 0x10
test eax, eax
je 0x4b2862
cmp dword [ebp - 0x48], 0x40
jne 0x4b2862
mov eax, 0x5a4d
cmp word [ebp - 0x44], ax
jne 0x4b2862
mov ecx, dword [ebp - 8]
test ebx, ebx
je 0x4b2756
mov dword [ebx], ecx
xor eax, eax
add ecx, dword [ebp - 0x58]
push 0
adc eax, dword [ebp - 0x54]
push eax
push ecx
push esi
call fcn.004a321e
add esp, 0x10
test eax, eax
je 0x4b2862
lea eax, [ebp - 0x48]
push eax
push edi
push esi
call fcn.004a31de
add esp, 0xc
test eax, eax
je 0x4b2862
cmp dword [ebp - 0x48], 4
jne 0x4b2862
cmp dword [edi], 0x4550
jne 0x4b2862
lea ecx, [ebp - 0x48]
push ecx
lea eax, [edi + 4]
push 0x14
push eax
push esi
mov dword [ebp - 0x50], eax
call fcn.004a30ef
add esp, 0x10
test eax, eax
je 0x4b2862
cmp dword [ebp - 0x48], 0x14
jne 0x4b2862
lea eax, [ebp - 0x48]
push eax
lea ebx, [edi + 0x18]
push ebx
push esi
call fcn.004a319e
add esp, 0xc
test eax, eax
je 0x4b2862
cmp dword [ebp - 0x48], 2
jne 0x4b2862
movzx eax, word [ebx]
mov ecx, 0x10b
cmp ax, cx
je 0x4b283d
mov ecx, 0x20b
cmp ax, cx
jne 0x4b2862
mov eax, dword [edi]
mov edi, dword [ebp - 0x4c]
push 0x14
push dword [ebp - 0x50]
mov dword [edi], eax
lea eax, [edi + 4]
push eax
call fcn.00568520
mov ax, word [ebx]
mov ebx, 0xee
mov word [edi + 0x18], ax
lea eax, [ebp - 0x48]
push eax
push ebx
lea eax, [edi + 0x1a]
push eax
push esi
call fcn.004a30ef
add esp, 0x1c
test eax, eax
je 0x4b2862
cmp dword [ebp - 0x48], ebx
jne 0x4b2862
push 0x40
jmp 0x4b285f
lea eax, [ebp - 0x48]
mov ebx, 0xde
push eax
push ebx
lea eax, [edi + 0x1a]
push eax
push esi
call fcn.004a30ef
add esp, 0x10
test eax, eax
je 0x4b2862
cmp dword [ebp - 0x48], ebx
jne 0x4b2862
push 0x20
pop eax
jmp 0x4b2865
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00565e42
leave
ret
Function at 0x4b39d7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
push esi
test ebx, ebx
je 0x4b3b2d
mov edx, dword [0x5eca78]
cmp dword [ebx + 0x24], edx
jne 0x4b3b14
test ecx, ecx
jne 0x4b3a2b
push str.Pointer_is_NULL_n
push 0x1ea
jmp 0x4b3b37
test eax, eax
jne 0x4b3a3e
push str.Pointer_is_NULL_n
push 0x1eb
jmp 0x4b3b37
push 0x10
pop eax
cmp dword [ebp + 0x10], eax
jl 0x4b3b41
mov esi, dword [ebp + 0x1c]
test esi, esi
jle 0x4b3b03
push edi
cmp esi, eax
jae 0x4b3a7c
push eax
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.005683c0
push 0x10
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.005683c0
mov ecx, dword [ebp - 0x28]
add esp, 0x18
push 0x10
pop eax
cmp esi, eax
mov edi, esi
cmova edi, eax
lea eax, [ebp - 0x24]
push edi
push ecx
push eax
call fcn.00568520
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
call fcn.004b3c83
and dword [ebp - 0x38], 0
add esp, 0x18
test edi, edi
je 0x4b3ad7
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x14]
mov esi, dword [ebp - 0x38]
lea ecx, [ebp - 0x14]
sub edx, eax
mov eax, dword [ebp - 0x2c]
sub eax, ecx
mov dword [ebp - 0x34], eax
mov ebx, eax
lea ecx, [ebp - 0x14]
add ecx, esi
mov al, byte [edx + ecx]
xor al, byte [ecx]
inc esi
mov byte [ebx + ecx], al
cmp esi, edi
jl 0x4b3abf
mov esi, dword [ebp + 0x1c]
mov ebx, dword [ebp - 0x3c]
push edi
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x30]
call fcn.00568520
mov ecx, dword [ebp - 0x28]
add esp, 0xc
add dword [ebp - 0x2c], edi
sub esi, edi
add ecx, edi
mov dword [ebp + 0x1c], esi
mov dword [ebp - 0x28], ecx
push 0x10
pop eax
test esi, esi
jg 0x4b3a56
pop edi
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00565e42
leave
ret
push dword [ebx + 0x24]
push edx
push ebx
push str.Class_mismatch_pointer__0x_p:_expected_0x_08x_but_was_0x_08x__n
push 0x1e4
push str.C:_actions_runner_workclientclientcore_aes.c
call fcn.00453f4f
push str.Pointer_is_NULL_n
push 0x1e4
push str.C:_actions_runner_workclientclientcore_aes.c
call fcn.00453f4f
push dword [ebp + 0x10]
push eax
push str.Assertion_failed__IVLength___AES_BLOCKSIZE__nInitialization_vector_too_small_for_AES___d:_d_
push 0x1ec
push str.C:_actions_runner_workclientclientcore_aes.c
call fcn.00453f4f
int3