joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ad00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x677588
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x71906c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
push 0x10
push 0x701348
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00406e90
mov dword [ebp - 4], 0
call fcn.0041d150
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
mov ebx, dword [ebp - 0x28]
mov edx, 0x811c9dc5
cmovae esi, ebx
mov dword [ebp - 0x2c], eax
mov edi, dword [eax + 4]
xor ecx, ecx
cmp dword [ebp - 0x18], ecx
jbe 0x41ad95
nop word [eax + eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x18]
jb 0x41ad80
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 0x2c]
and eax, edx
mov ecx, dword [ecx + 0xc]
mov esi, dword [ecx + eax*8]
add eax, eax
mov edx, dword [ecx + eax*4]
inc eax
mov dword [ebp - 0x30], edx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x34], eax
cmp edx, edi
jne 0x41adba
mov eax, edi
jmp 0x41adbe
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x41adf3
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 8]
push eax
call fcn.00418e50
test al, al
je 0x41addd
mov esi, dword [esi]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
jmp 0x41adb2
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00418e50
test al, al
mov ecx, edi
cmove ecx, esi
jmp 0x41adf5
mov ecx, edi
cmp ecx, edi
je 0x41ae37
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00419df0
mov eax, dword [ebp - 0x38]
mov esi, dword [eax + 0x20]
mov edi, dword [eax + 0x24]
cmp esi, edi
je 0x41ae34
mov ebx, dword [ebp - 0x3c]
nop dword [eax]
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x41ae87
mov eax, dword [ecx]
push ebx
call dword [eax + 8]
add esi, 0x28
cmp esi, edi
jne 0x41ae20
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x41ae66
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x41ae5c
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ae82
push ecx
push ebx
call fcn.0042d6b0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d065
mov esp, ebp
pop ebp
ret
call fcn.0050cc3e
call fcn.00427c77
int3
Function at 0x41ae90
Capabilities:
Create thread
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x677918
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x71906c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
call fcn.0041c8d0
add eax, 0x30
lea ecx, [ebp - 0x50]
push eax
call fcn.004069f0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x40], 0
jbe 0x41af14
sub esp, 0x18
lea eax, [ebp - 0x50]
mov dword [ebp - 0x58], esp
mov esi, esp
push 0x3a8
sub esp, 0x18
mov ecx, esp
push eax
call fcn.004069f0
push esi
call fcn.004cca9a
add esp, 0x20
mov byte [ebp - 4], 1
call fcn.004176d0
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.004cec63
push 0x34
call fcn.0042d6e1
mov ebx, eax
add esp, 4
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0xf
mov byte [ebx + 4], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0xf
mov byte [ebx + 0x1c], 0
call fcn.004176d0
mov ecx, eax
call fcn.004ce936
mov byte [ebx], al
call fcn.0041c8d0
add eax, 0x48
lea ecx, [ebp - 0x28]
push eax
call fcn.004069f0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebx + 4]
call fcn.004068d0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x41afa3
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41af99
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b0a8
push edx
push ecx
call fcn.0042d6b0
add esp, 8
call fcn.0041c8d0
add eax, 0x30
lea ecx, [ebp - 0x28]
push eax
call fcn.004069f0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebx + 0x1c]
call fcn.004068d0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x41aff4
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41afea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b0ad
push edx
push ecx
call fcn.0042d6b0
add esp, 8
mov esi, dword [ebp - 0x54]
add esi, 0x14
cmp dword [esi + 4], 0
jne 0x41b024
push 0
push 0
push 1
push 0
call dword [0x68148c]
push esi
push 0
push 0x402960
mov dword [esi + 8], eax
call fcn.0050c914
add esp, 0xc
mov dword [esi + 4], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x700e2c
mov dword [ebp - 0x14], eax
push eax
push ebx
push 0x64
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00402a40
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x41b05c
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x41b08c
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b082
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b0b2
push edx
push ecx
call fcn.0042d6b0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d065
mov esp, ebp
pop ebp
ret
call fcn.0050cc3e
call fcn.0050cc3e
call fcn.0050cc3e
int3
Function at 0x422d90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov ebx, ecx
call fcn.0041a4f0
cmp dword [ebx + 0x14], 0x10
mov esi, ebx
mov dword [ebp - 4], eax
mov edi, dword [eax + 4]
jb 0x422db0
mov esi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
cmp dword [ebx + 0x10], ecx
jbe 0x422dd5
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebx + 0x10]
jb 0x422dc0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 4]
and eax, edx
mov ecx, dword [ecx + 0xc]
mov esi, dword [ecx + eax*8]
add eax, eax
mov edx, dword [ecx + eax*4]
inc eax
mov dword [ebp - 8], edx
lea eax, [ecx + eax*4]
mov dword [ebp - 0xc], eax
cmp edx, edi
jne 0x422dfa
mov eax, edi
jmp 0x422dfe
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x422e2d
push ebx
lea eax, [esi + 8]
push eax
call fcn.00418e50
test al, al
je 0x422e1a
mov esi, dword [esi]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
jmp 0x422df2
lea eax, [esi + 8]
push eax
push ebx
call fcn.00418e50
test al, al
mov ecx, edi
cmove ecx, esi
jmp 0x422e2f
mov ecx, edi
cmp ecx, edi
je 0x422e63
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00419df0
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 0x20]
mov edi, dword [eax + 0x24]
cmp esi, edi
je 0x422e63
nop dword [eax]
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x422e6a
mov eax, dword [ecx]
call dword [eax + 8]
add esi, 0x28
cmp esi, edi
jne 0x422e50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00427c77
int3

Function at 0x43eae0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
imul ecx, eax, 0
movsx edx, byte [ebp + 0xc]
mov eax, dword [ebp + 8]
xor edx, dword [eax + ecx]
and edx, 0xff
mov ecx, 4
imul eax, ecx, 0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax]
shr eax, 8
xor eax, dword [edx*4 + 0x6853e8]
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + edx], eax
mov edx, 4
shl edx, 0
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + ecx]
and ecx, 0xff
mov eax, dword [ebp + 8]
add ecx, dword [eax + edx]
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx], ecx
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
imul eax, dword [edx + ecx], 0x8088405
add eax, 1
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
mov eax, 4
shl eax, 1
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov ecx, dword [edx + ecx]
shr ecx, 0x18
mov edx, dword [ebp + 8]
xor ecx, dword [edx + eax]
and ecx, 0xff
mov eax, 4
shl eax, 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax]
shr eax, 8
xor eax, dword [ecx*4 + 0x6853e8]
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
pop ebp
ret
Function at 0x4b9790
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67c17b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x71906c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0044ecf0
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.004b9920
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0x18
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], 0x686158
mov edx, dword [ebp - 0x10]
add edx, 0x1c
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [eax], 0x686178
mov ecx, dword [ebp - 0x10]
mov dword [ecx], 0x68f504
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x10], 0x68f51c
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], 0x68f52c
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1c], 0x68f534
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x20], 0
mov eax, dword [ebp - 0x10]
add eax, 0x2c
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], 0x6ff304
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00430290
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x784], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x788], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x78c], 6
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4d446b
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x4d67f4
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov eax, dword [eax]
mov edi, 0xb54cda56
mov dword [ebp + 0xc], eax
lea esi, [ecx - 1]
push 0x34
pop eax
div ecx
mov dword [ebp - 8], esi
imul eax, eax, 0x61c88647
sub edi, eax
cmp esi, 1
jb 0x4d68f7
test edi, edi
je 0x4d68f7
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push ebx
mov eax, dword [ebp - 8]
mov ebx, edi
shr ebx, 2
and ebx, 3
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], ebx
test eax, eax
je 0x4d68a2
mov edx, dword [ecx + esi*4 - 4]
mov eax, edx
mov ecx, dword [ebp + 0xc]
mov esi, ecx
shr eax, 5
shl esi, 2
xor esi, eax
shr ecx, 3
mov eax, edx
shl eax, 4
xor ecx, eax
mov eax, dword [ebp - 4]
add esi, ecx
and eax, 3
mov ecx, dword [ebp + 0x10]
xor eax, ebx
mov ecx, dword [ecx + eax*4]
mov eax, edi
xor eax, dword [ebp + 0xc]
xor ecx, edx
add ecx, eax
mov eax, dword [ebp - 4]
xor esi, ecx
mov ecx, dword [ebp + 8]
sub dword [ecx + eax*4], esi
mov esi, eax
mov edx, dword [ecx + esi*4]
sub esi, 1
mov dword [ebp + 0xc], edx
mov dword [ebp - 4], esi
jne 0x4d684e
mov eax, dword [ebp - 8]
mov eax, dword [ecx + eax*4]
and esi, 3
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
xor esi, dword [ebp - 0xc]
shr eax, 5
shl edx, 2
xor edx, eax
shr ecx, 3
mov eax, dword [ebp + 8]
mov eax, dword [eax + ebx*4]
shl eax, 4
xor ecx, eax
mov eax, dword [ebp + 0x10]
add edx, ecx
mov ecx, dword [eax + esi*4]
mov esi, ebx
mov eax, dword [ebp + 8]
xor ecx, dword [eax + esi*4]
mov eax, edi
xor eax, dword [ebp + 0xc]
add ecx, eax
xor edx, ecx
mov ecx, dword [ebp + 8]
sub dword [ecx], edx
mov edx, dword [ecx]
mov dword [ebp + 0xc], edx
add edi, 0x61c88647
jne 0x4d6839
pop ebx
pop edi
pop esi
leave
ret
Function at 0x4d68fb
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
lea edi, [esi - 1]
mov eax, dword [ecx + edi*4]
mov dword [ebp + 0xc], eax
cmp edi, 1
jb 0x4d69ec
push 0x34
xor edx, edx
pop eax
div esi
add eax, 6
je 0x4d69ec
sub ebx, 0x61c88647
dec eax
mov dword [ebp - 8], ebx
shr ebx, 2
mov dword [ebp - 0xc], eax
and ebx, 3
xor eax, eax
mov dword [ebp - 4], eax
test edi, edi
je 0x4d699b
mov edx, dword [ecx + eax*4 + 4]
mov esi, edx
mov eax, dword [ebp + 0xc]
mov ecx, edx
shr eax, 5
shl esi, 2
xor esi, eax
shr ecx, 3
mov eax, dword [ebp + 0xc]
shl eax, 4
xor ecx, eax
mov eax, dword [ebp - 4]
add esi, ecx
and eax, 3
mov ecx, dword [ebp + 0x10]
xor eax, ebx
mov ecx, dword [ecx + eax*4]
xor ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
xor eax, edx
add ecx, eax
mov eax, dword [ebp - 4]
xor esi, ecx
mov ecx, dword [ebp + 8]
add dword [ecx + eax*4], esi
mov edx, dword [ecx + eax*4]
inc eax
mov dword [ebp + 0xc], edx
mov dword [ebp - 4], eax
cmp eax, edi
jb 0x4d694a
mov edx, dword [ecx]
mov esi, edx
mov eax, dword [ebp + 0xc]
mov ecx, edx
shr eax, 5
shl esi, 2
xor esi, eax
shr ecx, 3
mov eax, dword [ebp + 0xc]
shl eax, 4
xor ecx, eax
mov eax, dword [ebp + 0x10]
add esi, ecx
mov ecx, dword [ebp - 4]
and ecx, 3
xor ecx, ebx
mov ebx, dword [ebp - 8]
mov ecx, dword [eax + ecx*4]
mov eax, ebx
xor ecx, dword [ebp + 0xc]
xor eax, edx
add ecx, eax
xor esi, ecx
mov ecx, dword [ebp + 8]
add dword [ecx + edi*4], esi
mov eax, dword [ecx + edi*4]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4d692e
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4eae70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov ecx, edx
mov eax, edx
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [edx*4 + 0x72b840], eax
inc edx
cmp edx, 0x100
jb 0x4eae72
push esi
mov eax, 0x72b844
mov esi, 0x1c0
mov edx, dword [eax - 4]
lea eax, [eax + 0x10]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x72b840]
mov dword [eax + 0x3ec], edx
mov edx, dword [eax - 0x10]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x72b840]
mov dword [eax + 0x3f0], edx
mov edx, dword [eax - 0xc]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x72b840]
mov dword [eax + 0x3f4], edx
mov edx, dword [eax - 8]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x72b840]
mov dword [eax + 0x3f8], edx
sub esi, 1
jne 0x4eaf17
mov dword [0x72b830], 0x4ec4d0
mov dword [0x72b828], 0x4ec4d0
mov dword [0x72b82c], 0x4ec570
call fcn.004ec2e0
mov ecx, dword [0x72b828]
test eax, eax
mov edx, 0x4ec570
cmove ecx, edx
mov dword [0x72b828], ecx
pop esi
ret
Function at 0x4ec9a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
push edi
xor edi, edi
mov esi, dword [esi]
and esi, 7
cmp eax, 5
jae 0x4ec9c0
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
add dword [ebp + 0x10], 5
mov ecx, dword [ebp + 8]
push ebx
lea ebx, [eax - 4]
add ebx, ecx
mov dword [ebp - 4], ebx
lea eax, [edi + ecx]
cmp eax, ebx
jae 0x4ec9e9
mov cl, byte [eax]
and cl, 0xfe
cmp cl, 0xe8
je 0x4ec9e6
inc eax
cmp eax, ebx
jb 0x4ec9d7
mov ecx, dword [ebp + 8]
mov edx, eax
sub edx, edi
mov edi, eax
sub edx, ecx
sub edi, ecx
cmp eax, ebx
jae 0x4ecaed
cmp edx, 2
jbe 0x4eca72
xor esi, esi
movzx edx, byte [eax + 4]
lea ecx, [edx + 1]
test cl, 0xfe
jne 0x4ecad9
movzx ecx, byte [eax + 3]
mov ebx, dword [ebp + 0x10]
shl edx, 8
add ebx, edi
or edx, ecx
movzx ecx, byte [eax + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 1]
shl edx, 8
or edx, ecx
mov ecx, edx
add edx, ebx
sub ecx, ebx
cmp dword [ebp + 0x18], 0
cmove edx, ecx
mov dword [ebp + 0xc], edx
mov ebx, edx
test esi, esi
je 0x4ecaa9
and esi, 6
shl esi, 2
mov ecx, esi
shr edx, cl
inc edx
test dl, 0xfe
jne 0x4ecaa7
mov ebx, 0x100
shl ebx, cl
mov ecx, dword [ebp + 0x10]
dec ebx
xor ebx, dword [ebp + 0xc]
add ecx, edi
cmp dword [ebp + 0x18], 0
je 0x4ecaa5
add ebx, ecx
jmp 0x4ecaa7
mov ecx, edx
shr esi, cl
test esi, esi
je 0x4eca02
cmp esi, 4
ja 0x4eca97
cmp esi, 3
je 0x4eca97
mov ecx, esi
shr ecx, 1
movzx ecx, byte [ecx + eax + 1]
inc ecx
test cl, 0xfe
jne 0x4eca02
mov ecx, dword [ebp + 8]
or esi, 8
shr esi, 1
inc edi
jmp 0x4ec9d0
sub ebx, ecx
xor esi, esi
mov ecx, ebx
mov byte [eax + 1], bl
shr ecx, 8
mov byte [eax + 2], cl
mov ecx, ebx
shr ebx, 0x18
and bl, 1
shr ecx, 0x10
neg bl
mov byte [eax + 3], cl
mov ecx, dword [ebp + 8]
mov byte [eax + 4], bl
mov eax, 5
mov ebx, dword [ebp - 4]
add edi, eax
jmp 0x4ec9d0
mov ecx, dword [ebp + 8]
or esi, 8
mov eax, 1
shr esi, 1
add edi, eax
jmp 0x4ec9d0
mov eax, dword [ebp + 0x14]
mov ecx, edx
shr esi, cl
xor ecx, ecx
cmp edx, 2
pop ebx
cmovbe ecx, esi
mov dword [eax], ecx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x528507
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005281ca

Function at 0x528512
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0052834b
Function at 0x546630
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x6f2], 0
je 0x5466b3
cmp dword [edi + 0x1b0], 0
je 0x54667d
push esi
push 1
push edi
call fcn.00538390
push dword [edi + 0x14c]
mov eax, dword [edi + 0x1b0]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call eax
push 0
push edi
mov esi, eax
call fcn.00538390
add esp, 0x24
mov eax, esi
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0xc]
cmp eax, 2
ja 0x5466b3
push dword [edi + 0x148]
lea eax, [eax + eax*2]
push 1
add eax, 0x6a49e0
push 2
push eax
call fcn.00511037
push dword [edi + 0x148]
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00511037
add esp, 0x20
xor eax, eax
pop edi
pop ebp
ret

Function at 0x548ce0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
call fcn.00403480
add esp, 4
mov dword [ebp + 0x10], eax
pop ebp
jmp fcn.00528a62

Function at 0x54cbc0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x54cbde
cmp dword [esi + 0x78], 0
je 0x54cbde
push 2
push 3
push esi
call fcn.0054c180
add esp, 0xc
push dword [ebp + 0xc]
call fcn.0054c5b0
add esp, 4
test esi, esi
je 0x54cbfe
cmp dword [esi + 0x78], 0
je 0x54cbfe
push 3
push esi
call fcn.0054c1c0
add esp, 8
pop esi
pop ebp
ret
Function at 0x5592b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call fcn.0050c9a0
add esp, 0x18
test eax, eax
je 0x5592d2
cmp eax, 0xffffffff
jne 0x5592d4
xor eax, eax
pop ebp
ret

Function at 0x55cb30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c8
mov eax, dword [0x71906c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x7277fd], 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x158], ebx
jne 0x55cb66
call fcn.0055d3b0
test al, al
je 0x55cb77
mov byte [0x7277fd], 1
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042d065
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x5a8]
test eax, eax
je 0x55cb98
push 0x400
push eax
call fcn.005b40a0
add esp, 8
call fcn.0055d3b0
test al, al
jne 0x55cb66
push esi
push edi
nop word [eax + eax]
mov ebx, 2
mov dword [ebp - 0x150], 4
lea eax, [ebp - 0x44]
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x14c], eax
nop
lea eax, [ebp - 0x188]
push eax
call fcn.0054c200
push 0
push 1
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x178], xmm0
movups xmmword [ebp - 0x168], xmm0
call fcn.00555a60
lea eax, [ebp - 0x198]
push eax
call fcn.0054c200
mov esi, dword [eax + 8]
lea eax, [ebp - 0x1a8]
push eax
call fcn.0054c200
add esp, 0x14
mov ecx, eax
mov eax, esi
inc ebx
cdq
mov dword [ebp - 0x154], ebx
add eax, dword [ecx]
push 0
adc edx, dword [ecx + 4]
push ebx
push edx
push eax
call fcn.0042dd10
movups xmm1, xmmword [ebp - 0x178]
mov esi, dword [ebp - 0x148]
mov edi, eax
mov ebx, edx
dec esi
movaps xmm0, xmm1
movd eax, xmm1
psrldq xmm0, 4
movd ecx, xmm0
shld ebx, edi, 8
push ecx
push eax
push 0
push esi
shl edi, 8
call fcn.0042dd10
xor edi, eax
xor ebx, edx
lea eax, [ebp - 0x1b8]
mov dword [ebp - 0x168], edi
push eax
mov dword [ebp - 0x164], ebx
call fcn.0054c200
lea esi, [eax + 8]
lea eax, [ebp - 0x1c8]
push eax
call fcn.0054c200
mov edx, dword [ebp - 0x148]
add esp, 8
mov ebx, dword [ebp - 0x154]
mov dword [ebp - 0x148], ebx
mov ecx, dword [eax]
add ecx, dword [esi]
lea eax, [edx + 2]
imul edx, dword [ebp - 0x160]
imul ecx, eax
mov eax, dword [ebp - 0x14c]
shl ecx, 0x10
xor ecx, edx
mov dword [ebp - 0x160], ecx
movups xmm0, xmmword [ebp - 0x168]
movups xmmword [eax], xmm0
add eax, 0x10
sub dword [ebp - 0x150], 1
mov dword [ebp - 0x14c], eax
jne 0x55cbc0
movsd xmm0, qword [0x6a9070]
lea eax, [ebp - 0x44]
sub esp, 8
movsd qword [esp], xmm0
push 0x40
push eax
call fcn.005b3ce0
add esp, 0x10
call fcn.0055d3b0
test al, al
je 0x55cba0
lea eax, [ebp - 0x144]
mov byte [ebp - 0x144], 0
push 0x100
push eax
call fcn.005b3ef0
add esp, 8
cmp byte [ebp - 0x144], 0
pop edi
pop esi
je 0x55cd46
lea eax, [ebp - 0x144]
push 0x400
push eax
call fcn.005b40a0
add esp, 8
call fcn.0055d3b0
test al, al
jne 0x55cb66
push str.libcurl_is_now_using_a_weak_random_seed__n
push dword [ebp - 0x158]
call fcn.00546780
add esp, 8
call fcn.0055d3b0
xor edx, edx
mov ecx, 0x23
test al, al
pop ebx
cmovne ecx, edx
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042d065
mov esp, ebp
pop ebp
ret