joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b5ac8
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, 0x100
mov dl, 1
mov dword [ebp - 0x20c], edi
movzx eax, dl
mov cl, dl
sar cl, 7
and cl, 0x1b
mov byte [ebp + ebx - 0x204], dl
mov byte [ebp + eax - 0x104], bl
mov al, dl
add al, al
inc ebx
xor cl, al
xor dl, cl
cmp ebx, edi
jl 0x4b5af0
push 0xa
mov cl, 1
lea edx, [esi + 0x2a34]
pop edi
movzx eax, cl
shl eax, 0x18
mov dword [edx], eax
mov al, cl
sar al, 7
lea edx, [edx + 4]
and al, 0x1b
add cl, cl
xor cl, al
sub edi, 1
jne 0x4b5b21
and dword [esi + 0x17c0], edi
lea eax, [esi + 0x238]
mov dword [esi + 0x234], 0x63
inc edi
mov dword [ebp - 0x208], eax
movzx eax, byte [ebp + edi - 0x104]
lea ecx, [ebp - 0x105]
sub ecx, eax
mov al, byte [ecx]
mov bl, al
rol bl, 1
xor al, bl
rol bl, 1
mov dl, bl
rol bl, 1
xor dl, al
mov al, bl
rol al, 1
movzx ecx, al
movzx eax, dl
xor ecx, eax
movzx eax, bl
xor ecx, eax
mov eax, dword [ebp - 0x208]
xor ecx, 0x63
mov dword [eax], ecx
add eax, 4
mov dword [esi + ecx*4 + 0x1634], edi
inc edi
mov dword [ebp - 0x208], eax
cmp edi, 0x100
jl 0x4b5b59
lea ebx, [esi + 0x634]
mov edi, 0xff
mov dl, byte [ebx - 0x400]
mov cl, dl
mov al, dl
add al, al
sar cl, 7
and cl, 0x1b
xor cl, al
movzx eax, dl
movzx esi, cl
shl esi, 8
xor esi, eax
shl esi, 8
xor esi, eax
movzx eax, cl
shl esi, 8
xor esi, eax
movzx eax, dl
xor esi, eax
mov al, byte [ebx + 0x1000]
mov dword [ebx], esi
ror esi, 8
mov dword [ebx + 0x400], esi
ror esi, 8
mov dword [ebx + 0x800], esi
ror esi, 8
mov dword [ebx + 0xc00], esi
test al, al
je 0x4b5cbd
movzx esi, al
xor edx, edx
mov eax, dword [ebp - 0xf6]
movzx eax, al
movzx ecx, byte [ebp + esi - 0x104]
add eax, ecx
movzx ecx, byte [ebp + esi - 0x104]
div edi
mov eax, dword [ebp - 0xfb]
movzx eax, al
add eax, ecx
mov ecx, 0xff
movzx edi, byte [ebp + edx - 0x204]
xor edx, edx
div ecx
movzx ecx, byte [ebp + esi - 0x104]
movzx eax, byte [ebp + edx - 0x204]
xor edx, edx
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0xf7]
movzx eax, al
add eax, ecx
mov ecx, 0xff
div ecx
movzx ecx, byte [ebp + esi - 0x104]
movzx eax, byte [ebp + edx - 0x204]
xor edx, edx
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0xf9]
movzx eax, al
add eax, ecx
mov ecx, 0xff
div ecx
mov eax, dword [ebp - 0x208]
mov ecx, dword [ebp - 0x210]
movzx edx, byte [ebp + edx - 0x204]
jmp 0x4b5cc5
xor edi, edi
xor eax, eax
xor ecx, ecx
xor edx, edx
shl edi, 8
xor edi, eax
shl edi, 8
xor edi, ecx
shl edi, 8
xor edi, edx
mov dword [ebx + 0x1400], edi
ror edi, 8
mov dword [ebx + 0x1800], edi
ror edi, 8
mov dword [ebx + 0x1c00], edi
ror edi, 8
mov dword [ebx + 0x2000], edi
add ebx, 4
sub dword [ebp - 0x20c], 1
mov edi, 0xff
jne 0x4b5bb9
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 0x4b62b1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x24], ecx
lea ecx, [eax + 0x38]
mov dword [ebp - 0x20], eax
mov ebx, dword [ecx]
push esi
mov esi, dword [ecx + 4]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [eax + 0x40]
mov eax, dword [eax + 0x44]
shld esi, ebx, 3
shld eax, ecx, 3
push edi
mov edi, dword [ebp + 0x10]
shl ecx, 3
shl ebx, 3
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
push 0x10
pop edx
test edi, edi
jle 0x4b6324
cmp edi, edx
mov eax, edx
cmovb eax, edi
push eax
mov eax, dword [ebp - 0x20]
add eax, 0x168
push eax
push dword [ebp - 0x24]
call fcn.00568520
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
push 0x10
pop edx
mov eax, ebx
or eax, esi
jne 0x4b6335
mov eax, ecx
or eax, dword [ebp - 0x18]
je 0x4b640b
push edx
xor esi, esi
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.005683c0
mov ecx, dword [ebp - 0x18]
lea edi, [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov eax, ecx
shr eax, 0x18
add esp, 0xc
mov byte [ebp - 0x14], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0x13], al
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x12], al
mov eax, dword [ebp - 0x18]
mov byte [ebp - 0x11], cl
mov ecx, edx
shrd ecx, eax, 0x18
mov eax, dword [ebp - 0x18]
mov byte [ebp - 0x10], cl
mov ecx, edx
shrd ecx, eax, 0x10
mov eax, edx
mov byte [ebp - 0xd], dl
mov edx, dword [ebp - 0x28]
mov byte [ebp - 0xf], cl
mov ecx, dword [ebp - 0x18]
shrd eax, ecx, 8
mov ecx, ebx
mov byte [ebp - 5], bl
mov byte [ebp - 0xe], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, edx
shr eax, 8
mov byte [ebp - 0xa], al
mov eax, edx
shrd ecx, eax, 0x18
mov eax, edx
mov byte [ebp - 9], dl
mov byte [ebp - 8], cl
mov ecx, ebx
shrd ecx, eax, 0x10
mov eax, ebx
mov ebx, dword [ebp - 0x20]
shrd eax, edx, 8
add ebx, 0x158
mov byte [ebp - 7], cl
push 0x10
mov byte [ebp - 6], al
mov edx, ebx
pop ecx
mov al, byte [edi]
xor byte [edx], al
inc edi
inc edx
sub ecx, 1
jne 0x4b63de
push ebx
push ebx
push dword [ebp - 0x2c]
call fcn.004b66c1
mov edi, dword [ebp + 0x10]
add esp, 0xc
test edi, edi
jle 0x4b640b
mov ecx, dword [ebp - 0x24]
mov al, byte [ebx + esi]
xor byte [ecx + esi], al
inc esi
cmp esi, edi
jl 0x4b6400
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 0x4b6447
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov eax, edi
lea ebx, [esi + 0x38]
cdq
add dword [ebx], eax
mov dword [ebp - 0x2c], esi
adc dword [ebx + 4], edx
test edi, edi
jle 0x4b654c
mov edx, 0xfffffeb9
lea ecx, [esi + 0x157]
sub edx, esi
mov dword [ebp - 0x30], edx
push 0x10
pop eax
cmp edi, eax
cmovb eax, edi
mov dword [ebp - 0x20], eax
add byte [ecx], 1
jne 0x4b64a5
dec ecx
lea eax, [edx + ecx]
cmp eax, 0xc
jg 0x4b6497
push 0x10
lea eax, [ebp - 0x14]
push eax
lea eax, [esi + 0x148]
push eax
push dword [esi + 0x30]
call fcn.004b36a3
add esp, 0x10
test eax, eax
je 0x4b655e
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4b651b
mov edi, dword [ebp + 0x10]
lea ecx, [esi + 0x158]
mov dword [ebp - 0x24], ecx
lea ebx, [ebp - 0x14]
mov esi, dword [ebp - 0x24]
mov ecx, ebx
sub edi, ecx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
mov edx, ebx
sub ecx, edx
mov dword [ebp - 0x28], ecx
mov dl, byte [ebx]
xor dl, byte [edi + ebx]
movzx eax, byte [edi + ebx]
cmp dword [ebp + 0xc], 1
movzx ecx, dl
cmovne ecx, eax
mov eax, dword [ebp - 0x28]
xor byte [esi], cl
mov byte [eax + ebx], dl
inc ebx
inc esi
sub dword [ebp - 0x1c], 1
jne 0x4b64ef
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp + 0x18]
lea ebx, [esi + 0x38]
mov eax, esi
add eax, 0x158
push eax
push eax
push ebx
call fcn.004b66c1
mov eax, dword [ebp - 0x20]
lea ecx, [esi + 0x157]
add dword [ebp + 0x10], eax
sub edi, eax
add dword [ebp - 0x18], eax
add esp, 0xc
mov edx, dword [ebp - 0x30]
mov dword [ebp + 0x18], edi
test edi, edi
jg 0x4b648c
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00565e42
leave
ret
xor eax, eax
jmp 0x4b654f

Function at 0x4b65d4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
xor eax, eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x14]
push edi
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
push esi
push ebx
push ecx
push dword [ebp + 8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004b665c
mov ecx, ebx
lea edi, [ebp - 0x14]
shl ecx, 3
add esp, 0x10
mov eax, ecx
shl bl, 3
sar eax, 0x18
mov byte [ebp - 8], al
mov eax, ecx
sar ecx, 8
sar eax, 0x10
sub edi, esi
push 0x10
mov byte [ebp - 6], cl
mov ecx, esi
mov byte [ebp - 7], al
mov byte [ebp - 5], bl
pop edx
mov al, byte [edi + ecx]
xor byte [ecx], al
inc ecx
sub edx, 1
jne 0x4b6632
push esi
push esi
push dword [ebp + 8]
call fcn.004b66c1
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
Function at 0x4b665c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x14]
push 0x10
push 0
push edi
call fcn.005683c0
mov esi, dword [ebp + 0x10]
add esp, 0xc
test esi, esi
jle 0x4b66ba
mov eax, dword [ebp + 0xc]
push ebx
push 0x10
pop ebx
cmp esi, ebx
cmovb ebx, esi
test ebx, ebx
je 0x4b669e
mov edx, eax
mov ecx, edi
sub edx, edi
mov edi, ebx
mov al, byte [edx + ecx]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x4b6690
mov edi, dword [ebp + 0x14]
push edi
push edi
push dword [ebp + 8]
call fcn.004b66c1
mov eax, dword [ebp + 0xc]
sub esi, ebx
add eax, ebx
add esp, 0xc
mov dword [ebp + 0xc], eax
test esi, esi
jg 0x4b667c
pop ebx
xor eax, eax
pop edi
inc eax
pop esi
pop ebp
ret

Function at 0x4b6a29
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004b697b

Function at 0x4b6f72
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x4b6ff0
mov eax, dword [0x5ecac0]
cmp dword [esi + 0x24], eax
jne 0x4b6fd7
xor edi, edi
mov dword [esi + 0x38], 0x67452301
push 0x40
lea eax, [esi + 0x48]
mov dword [esi + 0x30], edi
push edi
push eax
mov dword [esi + 0x34], edi
mov dword [esi + 0x3c], 0xefcdab89
mov dword [esi + 0x40], 0x98badcfe
mov dword [esi + 0x44], 0x10325476
mov dword [esi + 0x88], edi
call fcn.005683c0
push 0x10
lea eax, [esi + 0x8c]
push edi
push eax
call fcn.005683c0
add esp, 0x18
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret
push dword [esi + 0x24]
push eax
push esi
push str.Class_mismatch_pointer__0x_p:_expected_0x_08x_but_was_0x_08x__n
push 0xe2
push str.C:_actions_runner_workclientclientcoremd5.c
call fcn.00453f4f
push str.Pointer_is_NULL_n
push 0xe2
push str.C:_actions_runner_workclientclientcoremd5.c
call fcn.00453f4f
int3

Function at 0x4b7be8
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x4b7c6d
mov eax, dword [0x5ecb00]
cmp dword [esi + 0x24], eax
jne 0x4b7c54
xor edi, edi
mov dword [esi + 0x38], 0x67452301
push 0x40
lea eax, [esi + 0x4c]
mov dword [esi + 0x30], edi
push edi
push eax
mov dword [esi + 0x34], edi
mov dword [esi + 0x3c], 0xefcdab89
mov dword [esi + 0x40], 0x98badcfe
mov dword [esi + 0x44], 0x10325476
mov dword [esi + 0x48], 0xc3d2e1f0
mov dword [esi + 0x8c], edi
call fcn.005683c0
push 0x14
lea eax, [esi + 0x90]
push edi
push eax
call fcn.005683c0
add esp, 0x18
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret
push dword [esi + 0x24]
push eax
push esi
push str.Class_mismatch_pointer__0x_p:_expected_0x_08x_but_was_0x_08x__n
push 0xf7
push str.C:_actions_runner_workclientclientcore_sha1.c
call fcn.00453f4f
push str.Pointer_is_NULL_n
push 0xf7
push str.C:_actions_runner_workclientclientcore_sha1.c
call fcn.00453f4f
int3
Function at 0x4b903c
Capabilities:
Hash data using sha384

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x4b90bd
mov eax, dword [0x5ecbfc]
cmp dword [esi + 0x24], eax
jne 0x4b90a4
push 0x80
xor edi, edi
lea eax, [esi + 0x80]
push edi
push eax
call fcn.005683c0
push dword [esi + 0x108]
push edi
push dword [esi + 0x104]
call fcn.005683c0
push 0x40
lea eax, [esi + 0x40]
push 0x5ecc80
push eax
call fcn.00568520
add esp, 0x24
mov dword [esi + 0x100], edi
mov dword [esi + 0x30], edi
xor eax, eax
mov dword [esi + 0x34], edi
inc eax
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
pop edi
pop esi
pop ebp
ret
push dword [esi + 0x24]
push eax
push esi
push str.Class_mismatch_pointer__0x_p:_expected_0x_08x_but_was_0x_08x__n
push 0x198
push 0x5a7a58
call fcn.00453f4f
push str.Pointer_is_NULL_n
push 0x198
push 0x5a7a58
call fcn.00453f4f
int3

Function at 0x4b9518
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x4b958d
mov eax, dword [0x5ecbf8]
cmp dword [esi + 0x24], eax
jne 0x4b9574
push 0x40
xor edi, edi
lea eax, [esi + 0x58]
push edi
push eax
call fcn.005683c0
push dword [esi + 0xa0]
push edi
push dword [esi + 0x9c]
call fcn.005683c0
push 0x20
lea eax, [esi + 0x38]
push 0x5ecc00
push eax
call fcn.00568520
add esp, 0x24
mov dword [esi + 0x98], edi
mov dword [esi + 0x30], edi
xor eax, eax
mov dword [esi + 0x34], edi
inc eax
pop edi
pop esi
pop ebp
ret
push dword [esi + 0x24]
push eax
push esi
push str.Class_mismatch_pointer__0x_p:_expected_0x_08x_but_was_0x_08x__n
push 0x181
push 0x5a7a58
call fcn.00453f4f
push str.Pointer_is_NULL_n
push 0x181
push 0x5a7a58
call fcn.00453f4f
int3

Function at 0x4b9bed
Capabilities:
Hash data using sha512

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x4b9c6e
mov eax, dword [0x5ecbfc]
cmp dword [esi + 0x24], eax
jne 0x4b9c55
push 0x80
xor edi, edi
lea eax, [esi + 0x80]
push edi
push eax
call fcn.005683c0
push dword [esi + 0x108]
push edi
push dword [esi + 0x104]
call fcn.005683c0
push 0x40
lea eax, [esi + 0x40]
push 0x5ecc40
push eax
call fcn.00568520
add esp, 0x24
mov dword [esi + 0x100], edi
mov dword [esi + 0x30], edi
xor eax, eax
mov dword [esi + 0x34], edi
inc eax
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
pop edi
pop esi
pop ebp
ret
push dword [esi + 0x24]
push eax
push esi
push str.Class_mismatch_pointer__0x_p:_expected_0x_08x_but_was_0x_08x__n
push 0x18c
push 0x5a7a58
call fcn.00453f4f
push str.Pointer_is_NULL_n
push 0x18c
push 0x5a7a58
call fcn.00453f4f
int3
Function at 0x4c42bf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor bl, bl
push 0x10
pop esi
lea ecx, [edi + 0x20]
mov al, byte [edx]
mov byte [ecx - 0x10], al
mov al, byte [ecx - 0x20]
xor al, byte [edx]
inc edx
mov byte [ecx], al
inc ecx
sub esi, 1
jne 0x4c42d3
mov esi, dword [ebp + 0xc]
xor ecx, ecx
xor edx, edx
movzx eax, bl
mov al, byte [eax + str._.C]
xor byte [edx + edi], al
mov bl, byte [edx + edi]
inc edx
cmp edx, 0x30
jl 0x4c42ed
add bl, cl
inc ecx
cmp ecx, 0x12
jl 0x4c42eb
mov edx, dword [ebp + 0x10]
sub esi, edx
push 0x10
pop edi
mov al, byte [edx + 0xf]
movzx ecx, byte [esi + edx]
movzx eax, al
xor ecx, eax
mov al, byte [ecx + str._.C]
xor byte [edx], al
mov al, byte [edx]
inc edx
sub edi, 1
jne 0x4c4315
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
pop ebp
ret

Function at 0x4c476d
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x4c47eb
mov eax, dword [0x5ecda0]
cmp dword [esi + 0x24], eax
jne 0x4c47d2
xor edi, edi
mov dword [esi + 0x38], 0x67452301
push 0x40
lea eax, [esi + 0x48]
mov dword [esi + 0x30], edi
push edi
push eax
mov dword [esi + 0x34], edi
mov dword [esi + 0x3c], 0xefcdab89
mov dword [esi + 0x40], 0x98badcfe
mov dword [esi + 0x44], 0x10325476
mov dword [esi + 0x88], edi
call fcn.005683c0
push 0x10
lea eax, [esi + 0x8c]
push edi
push eax
call fcn.005683c0
add esp, 0x18
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret
push dword [esi + 0x24]
push eax
push esi
push str.Class_mismatch_pointer__0x_p:_expected_0x_08x_but_was_0x_08x__n
push 0xd0
push str.C:_actions_runner_workclientclientcoremd4.c
call fcn.00453f4f
push str.Pointer_is_NULL_n
push 0xd0
push str.C:_actions_runner_workclientclientcoremd4.c
call fcn.00453f4f
int3
Function at 0x5245be
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
push edi
cmp dword [ebp + 0xc], esi
je 0x52462f
push ebx
mov ebx, dword [ebp + 8]
test bl, 1
je 0x5245d6
inc esi
jmp 0x5245e9
test bl, 0x10
je 0x5245e0
push 2
pop esi
jmp 0x5245e9
push 4
test bl, 2
pop eax
cmovne esi, eax
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
test bl, 8
jne 0x5245fd
push 0x11
call edi
test ax, ax
je 0x524600
or esi, 0x20
test bl, 4
jne 0x52460e
push 0x10
call edi
test ax, ax
je 0x524611
or esi, 8
test bl, 0x20
pop ebx
jne 0x524620
push 0x12
call edi
test ax, ax
je 0x524623
or esi, 0x10
mov eax, dword [ebp + 0xc]
pop edi
mov dword [eax], esi
xor eax, eax
inc eax
pop esi
pop ebp
ret
push str.Pointer_is_NULL_n
push 0x31b
push str.C:_actions_runner_workclientclient_skinwindows_skinwindow.c
call fcn.00453f4f
int3

Function at 0x537ed8
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00547fce

Function at 0x5382d7
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ebx
mov bl, byte [ebp + 0xc]
lea eax, [ebp + 0xf]
push esi
mov esi, dword [ebp + 8]
push 1
push eax
mov byte [ebp + 0xf], bl
mov eax, dword [esi + 0x10028]
not eax
push eax
call fcn.00537ed8
mov ecx, dword [esi + 0x10030]
not eax
mov dword [esi + 0x10028], eax
not ecx
movzx eax, al
add eax, dword [esi + 0x1002c]
imul eax, eax, 0x8088405
push 1
inc eax
mov dword [esi + 0x1002c], eax
shr eax, 0x18
mov byte [ebp + 0xf], al
lea eax, [ebp + 0xf]
push eax
push ecx
call fcn.00537ed8
add esp, 0x18
not eax
mov dword [esi + 0x10030], eax
mov al, bl
pop esi
pop ebx
pop ebp
ret
Function at 0x538efc
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push edi
mov edi, ecx
cmp dword [edi + 0x64], 0
je 0x538f16
push dword [edi + 0x64]
call esi
cmp dword [edi + 0x70], 0
je 0x538f21
push dword [edi + 0x70]
call esi
xor ebx, ebx
cmp dword [edi + 0x78], ebx
je 0x538fef
push 0x5f2148
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test byte [edi + 0x78], 1
je 0x538f46
push dword [edi + 0x7c]
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
test byte [edi + 0x78], 2
je 0x538f58
push dword [edi + 0x80]
call fcn.0056cf17
pop ecx
test byte [edi + 0x78], 4
je 0x538f6a
push dword [edi + 0x84]
call fcn.0056a1e0
pop ecx
mov ecx, dword [0x5f2140]
mov eax, dword [ecx + 4]
add eax, 0xfffffffc
cmp dword [eax], edi
jne 0x538f85
mov dword [ecx + 4], eax
mov esi, dword [0x5f2140]
jmp 0x538fc6
push str.warning:_removing_Breakpad_handler_out_of_order_n
push 2
call fcn.00577e7d
pop ecx
push eax
call fcn.00539d58
mov esi, dword [0x5f2140]
pop ecx
pop ecx
mov eax, dword [esi]
jmp 0x538fc1
cmp dword [eax], edi
jne 0x538fbe
push eax
lea eax, [ebp - 4]
mov ecx, esi
push eax
call fcn.00539c2d
mov esi, dword [0x5f2140]
mov eax, dword [eax]
jmp 0x538fc1
add eax, 4
cmp eax, dword [esi + 4]
jne 0x538fa4
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jne 0x538fe4
mov ecx, esi
call fcn.00539bba
push 0xc
push esi
call fcn.005660aa
pop ecx
pop ecx
mov dword [0x5f2140], ebx
push 0x5f2148
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea esi, [edi + 0xc]
cmp dword [esi], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jne 0x53903b
push 1
push dword [edi + 0x88]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [edi + 0x88]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
and dword [edi + 0x88], 0
lea eax, [edi + 0x90]
push eax
call ebx
push dword [edi + 0xa8]
call esi
push dword [edi + 0xac]
call esi
lea esi, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [0x5f2160], eax
jne 0x53904f
push 0x5f2148
call ebx
lea ecx, [edi + 0xc0]
call fcn.00539ba1
lea ecx, [edi + 0x40]
call fcn.0044d858
lea ecx, [edi + 0x28]
call fcn.0044d858
lea ecx, [edi + 0x10]
call fcn.0044d858
mov ecx, esi
call fcn.00538eaa
pop edi
pop esi
pop ebx
leave
ret
Function at 0x547fce
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0054826b
Function at 0x5671f7
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x567236
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x567236
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x567236
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x567236
cmp dword [ecx + 0x74], 0xe
jbe 0x567236
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x5716c0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x5f4248]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x571700
cmp byte [ebx], 0xa
jne 0x571700
or byte [eax + edi + 0x28], 4
jmp 0x571705
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x571803
mov al, byte [edx]
cmp al, 0x1a
je 0x5717e5
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x571734
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x571759
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x571763
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x571716
jmp 0x571803
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x5717e0
cmp dword [ebp - 0xc], 0
je 0x5717e0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x5f4248]
test byte [eax + edi + 0x28], 0x48
je 0x5717ba
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x5717a5
mov byte [esi], dl
jmp 0x5717b6
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x5f4248]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x571803
cmp byte [ebp - 1], 0xa
jne 0x5717c9
cmp esi, ebx
jne 0x5717c9
mov byte [esi], 0xa
jmp 0x571802
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00570392
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x571803
mov byte [esi], 0xd
jmp 0x571802
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x5f4248]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x5717ff
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x571803
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret