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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
mov edx, 4
push edi
xor ecx, ecx
mov dword [ebp - 8], esi
mov edi, dword [esi + 0x1c]
sub edi, dword [esi + 0x18]
sar edi, 2
mov eax, edi
mov dword [ebp - 0x14], edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004df0e7
mov ebx, eax
lea eax, [edi*4]
push eax
push 0
push ebx
mov dword [ebp - 4], ebx
call fcn.006287f0
add esp, 0x10
xor ecx, ecx
test edi, edi
jle 0x43992e
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
sub eax, edx
sar eax, 2
cmp eax, ecx
jbe 0x439a4b
mov eax, dword [edx + ecx*4]
mov dword [ebx + ecx*4], eax
inc ecx
cmp ecx, edi
jl 0x439910
mov eax, edi
mov ebx, dword [ebx]
cdq
mov ecx, eax
mov eax, 0x34
xor ecx, edx
sub ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 4]
lea ecx, [eax + 6]
imul ecx, dword [esi + 4]
mov dword [ebp - 0xc], ecx
test ecx, ecx
je 0x439a18
lea eax, [edi - 1]
mov dword [ebp - 0x18], eax
lea eax, [edx - 4]
lea eax, [eax + edi*4]
mov dword [ebp - 0x1c], eax
mov eax, ecx
shr eax, 2
and eax, 3
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4399c6
nop word [eax + eax]
mov esi, dword [edx + eax*4 - 4]
lea edi, [ebx*4]
mov ecx, esi
mov edx, ebx
xor ebx, dword [ebp - 0xc]
shr ecx, 5
xor edi, ecx
shr edx, 3
mov ecx, esi
shl ecx, 4
xor edx, ecx
mov ecx, eax
and ecx, 3
add edi, edx
xor ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 + 8]
mov edx, dword [ebp - 4]
xor ecx, esi
add ecx, ebx
xor edi, ecx
sub dword [edx + eax*4], edi
mov ebx, dword [edx + eax*4]
sub eax, 1
jne 0x439980
mov ecx, dword [ebp - 0x1c]
lea edi, [ebx*4]
mov edx, ebx
and eax, 3
xor eax, dword [ebp - 0x10]
shr edx, 3
mov esi, dword [ecx]
mov ecx, esi
shr ecx, 5
xor edi, ecx
mov ecx, esi
shl ecx, 4
xor edx, ecx
mov ecx, dword [ebp - 8]
add edi, edx
mov edx, dword [ebp - 4]
mov eax, dword [ecx + eax*4 + 8]
mov ecx, dword [ebp - 0xc]
xor eax, esi
mov esi, dword [ebp - 8]
xor ebx, ecx
add eax, ebx
xor edi, eax
sub dword [edx], edi
sub ecx, dword [esi + 4]
mov ebx, dword [edx]
mov dword [ebp - 0xc], ecx
jne 0x439965
mov edi, dword [ebp - 0x14]
xor ecx, ecx
test edi, edi
jle 0x439a3b
mov ebx, dword [ebp - 0x14]
mov eax, dword [esi + 0x1c]
mov edi, dword [esi + 0x18]
sub eax, edi
sar eax, 2
cmp eax, ecx
jbe 0x439a4b
mov eax, dword [edx + ecx*4]
mov dword [edi + ecx*4], eax
inc ecx
cmp ecx, ebx
jl 0x439a21
push edx
call fcn.004df0e2
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x92faf0
call fcn.00624a60
int3
Function at 0x439a60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7202a0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x96c07c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [edi + 0x30]
or esi, 0xffffffff
sub edx, 0x10
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x439aa3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi + 0x18]
mov eax, esi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x439abd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi + 8]
mov eax, esi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x439ad7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi]
sub edx, 0x10
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x439aee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44ed70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x725a80
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x96c07c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0xac]
test ecx, ecx
je 0x44edc2
cmp ecx, 1
je 0x44edc2
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebx + 0xc]
push eax
push ecx
mov ecx, 0x933280
call fcn.00405440
add esp, 4
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00412be0
add esp, 0xc
mov esi, eax
mov ecx, 0x933254
mov dword [ebp - 4], 0
call fcn.00405440
push eax
lea eax, [ebp + 8]
push esi
push eax
call fcn.004031b0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [edi + 0x8c0]
push dword [eax]
call fcn.004e5295
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edx, dword [ebp + 8]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44ee34
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x44ee53
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0
push edi
push 0x44f020
push 0
push 0
mov byte [edi + 0x1128], 1
call fcn.0062e2ef
add esp, 0x18
mov dword [edi + 0x112c], eax
lea eax, [edi + 0x10d0]
mov ecx, ebx
push 0
push eax
call fcn.00451a10
mov byte [edi + 0x1128], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x457650
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, dword [edi + 0xac]
test ecx, ecx
je 0x457671
cmp ecx, 1
je 0x457671
pop edi
xor eax, eax
pop esi
pop ebp
ret 4
push 0
push 0
push esi
push 0x457890
push 0
push 0
mov byte [esi + 0x7778], 1
call fcn.0062e2ef
add esp, 0x18
mov dword [esi + 0x777c], eax
lea eax, [esi + 0x7720]
mov ecx, edi
push 0
push eax
call fcn.00451a10
pop edi
mov byte [esi + 0x7778], 0
pop esi
pop ebp
ret 4

Function at 0x462f50
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [edx]
mov eax, 0xc6ef3720
push edi
mov edi, dword [edx + 4]
mov ebx, 0x20
mov dword [ebp - 4], ecx
nop dword [eax + eax]
mov edx, esi
mov ecx, esi
shl ecx, 4
dec ebx
shr edx, 5
xor edx, ecx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 4]
mov ecx, eax
shr ecx, 0xb
add edx, esi
and ecx, 3
mov ecx, dword [ebx + ecx*4]
add ecx, eax
add eax, 0x61c88647
xor edx, ecx
sub edi, edx
mov edx, edi
mov ecx, edi
shl ecx, 4
shr edx, 5
xor edx, ecx
mov ecx, eax
and ecx, 3
add edx, edi
mov ecx, dword [ebx + ecx*4]
mov ebx, dword [ebp - 8]
add ecx, eax
xor edx, ecx
sub esi, edx
test ebx, ebx
jne 0x462f70
mov eax, dword [ebp + 8]
mov dword [eax + 4], edi
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x465010
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10c4]
mov dword [esi + 0xf94], eax
cmp eax, 0xffffffff
jne 0x465052
push 0xa
mov ecx, 0x93da40
call fcn.00405440
push ecx
mov ecx, esp
push eax
call fcn.00403de0
mov edx, 1
lea ecx, [edx + 0x1f]
call fcn.0042c1d0
add esp, 8
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 3
mov dword [esi + 0x12d8], 1
mov dword [esi + 0x7b00], 1
call fcn.00468990
push 0
push 0
push esi
push 0x4650d0
push 0
push 0
call fcn.0062e2ef
add esp, 0x18
mov dword [esi + 0x12dc], eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x465090
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push 0
push 3
mov dword [esi + 0x12d8], 0
mov dword [esi + 0x7b00], 1
call fcn.00468990
push 0
push 0
push esi
push 0x4650d0
push 0
push 0
call fcn.0062e2ef
add esp, 0x18
mov dword [esi + 0x12dc], eax
pop esi
ret
Function at 0x4691a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x728028
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x96c07c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0xac]
test ecx, ecx
je 0x4691ee
cmp ecx, 1
je 0x4691ee
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, 0x93fea4
call fcn.00405440
push eax
lea eax, [edi + 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004031b0
add esp, 0xc
mov dword [ebp - 4], 0
lea ecx, [esi + 0x10e0]
push dword [eax]
call fcn.004e5295
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46923f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0
push esi
push 0x4693c0
push 0
push 0
mov byte [esi + 0x7b60], 1
call fcn.0062e2ef
add esp, 0x18
mov dword [esi + 0x7b64], eax
lea eax, [esi + 0x7b08]
mov ecx, edi
push 0
push eax
call fcn.00451a10
mov byte [esi + 0x7b60], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x46c790
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x46c79b
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x46c857
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x7c27a0]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x7c27a0]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x7c27a0]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x7c27a0]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x7c27a0]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x7c27a0]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x7c27a0]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x7c27a0]
sub edi, 1
jne 0x46c7b0
pop edi
test esi, esi
je 0x46c87a
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x7c27a0]
sub esi, 1
jne 0x46c860
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x46dd20
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, ecx
mov ebx, edx
test edi, edi
jne 0x46dd3b
pop edi
mov eax, 0xffffff9a
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x18], 0
je 0x46dd30
cmp dword [edi + 0x7c], 0
je 0x46dd4c
call fcn.0046e190
lea eax, [ebp - 8]
mov ecx, edi
push eax
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 0xc]
call fcn.0046daa0
add esp, 8
test eax, eax
je 0x46dd70
pop edi
mov eax, 0xffffff99
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0x84
call fcn.0062f6e0
mov esi, eax
add esp, 4
test esi, esi
je 0x46ddb3
push 0x4000
call fcn.0062f6e0
mov ecx, dword [ebp - 4]
add esp, 4
mov dword [esi + 0x44], ecx
mov ecx, dword [ebp - 8]
mov dword [esi], eax
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], 0
test eax, eax
jne 0x46ddbf
push esi
call fcn.0062f6eb
add esp, 4
pop esi
pop edi
mov eax, 0xffffff98
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x40], 0
mov ecx, dword [edi + 0x34]
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], 0
mov eax, dword [edi + 0x34]
mov dword [esi + 0x64], eax
mov eax, dword [edi]
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0x68], eax
mov dword [esi + 0x18], 0
test ecx, ecx
je 0x46de1a
lea ecx, [esi + 4]
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.0046ca90
test eax, eax
jne 0x46de1a
mov dword [esi + 0x40], 1
mov eax, dword [edi + 0x40]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x5c], eax
mov al, byte [edi + 0x30]
and al, 1
mov byte [esi + 0x6c], al
mov eax, dword [edi + 0x30]
shr eax, 3
test al, 1
je 0x46de3d
mov al, byte [edi + 0x39]
jmp 0x46de40
mov al, byte [edi + 0x3f]
mov byte [esi + 0x80], al
mov ecx, 0xc
xor eax, eax
cmp byte [esi + 0x6c], al
cmovne eax, ecx
mov dword [esi + 0x7c], eax
mov dword [esi + 0x70], 0x12345678
mov dword [esi + 0x74], 0x23456789
mov dword [esi + 0x78], 0x34567890
test ebx, ebx
je 0x46debe
nop
mov al, byte [ebx]
test al, al
je 0x46debe
mov ecx, dword [esi + 0x70]
movsx eax, al
xor eax, dword [esi + 0x70]
movzx eax, al
shr ecx, 8
mov eax, dword [eax*4 + 0x7c27a0]
xor eax, ecx
mov ecx, dword [esi + 0x78]
mov dword [esi + 0x70], eax
movzx eax, al
add eax, dword [esi + 0x74]
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 0x74], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x7c27a0]
mov dword [esi + 0x78], ecx
add ebx, 1
jne 0x46de70
mov eax, dword [ebp - 0xc]
add eax, 0x1e
add eax, dword [edi + 0x78]
mov dword [esi + 0x3c], eax
xor eax, eax
mov dword [esi + 8], 0
mov dword [edi + 0x7c], esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48ca80
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x728703
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x96c07c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004e1bac
mov dword [esi], 0x7399cc
mov dword [ebp - 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0x7396b4
mov edi, dword [ebp + 8]
lea ebx, [esi + 0x20]
mov dword [ebx], 0
xor eax, eax
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], 0
cmp dword [edi + 0xc], eax
mov byte [ebp - 4], 1
sete al
mov dword [esi + 0x30], eax
test eax, eax
je 0x48cb6e
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x50]
push dword [edi + 4]
call dword [0x738238]
push eax
mov ecx, esi
call fcn.004e2468
mov ecx, dword [ebx + 0xc]
sub ecx, dword [ebx + 4]
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
push ecx
push eax
push dword [edi + 4]
call dword [0x738234]
lea edi, [esi + 0x10]
push eax
mov ecx, edi
call fcn.004e24a9
test edi, edi
jne 0x48cb4d
xor eax, eax
jmp 0x48cb50
mov eax, dword [edi + 4]
push eax
push dword [esi + 4]
call fcn.004e2b5e
push dword [esi + 0x24]
mov dword [esi + 0x18], eax
mov ecx, esi
push dword [ebx]
lea eax, [ebp - 0x18]
push eax
call fcn.004e2ec6
jmp 0x48cb80
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4a5730
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor edx, edx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x1505
add eax, esi
mov ecx, eax
sub ecx, esi
push edi
xor edi, edi
cmp esi, eax
cmova ecx, edx
mov dword [ebp + 8], ecx
test ecx, ecx
je 0x4a5779
mov al, byte [esi]
push eax
call fcn.004b2cc0
movsx ecx, al
lea esi, [esi + 1]
mov eax, ebx
inc edi
shl eax, 5
add esp, 4
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp edi, dword [ebp + 8]
jb 0x4a5757
pop edi
pop esi
movzx eax, bl
pop ebx
pop ebp
ret

Function at 0x4a6b30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4a6b4e
cmp dword [esi + 0x6c], 0
je 0x4a6b4e
push 2
push 3
push esi
call fcn.004b3280
add esp, 0xc
push dword [ebp + 0xc]
call fcn.004b36e0
add esp, 4
test esi, esi
je 0x4a6b6e
cmp dword [esi + 0x6c], 0
je 0x4a6b6e
push 3
push esi
call fcn.004b32c0
add esp, 8
pop esi
pop ebp
ret
Function at 0x4b0570
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x608], 0
je 0x4b05b4
push esi
push 1
push edi
call fcn.004a1fd0
push dword [edi + 0x594]
mov eax, dword [edi + 0x608]
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.004a1fd0
add esp, 0x24
mov eax, esi
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0xc]
cmp eax, 2
ja 0x4b05ea
push dword [edi + 0x590]
lea eax, [eax + eax*2]
push 1
add eax, 0x73d188
push 2
push eax
call fcn.0063a494
push dword [edi + 0x590]
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0063a494
add esp, 0x20
xor eax, eax
pop edi
pop ebp
ret

Function at 0x4b2930
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
call fcn.004b2960
add esp, 4
mov dword [ebp + 0x10], eax
pop ebp
jmp fcn.0064475e
Function at 0x4bf4a0
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.0062e2ef
add esp, 0x18
test eax, eax
je 0x4bf4c2
cmp eax, 0xffffffff
jne 0x4bf4c4
xor eax, eax
pop ebp
ret

Function at 0x4c1320
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1cc
mov eax, dword [0x96c07c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x97c514], 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x15c], ebx
jne 0x4c1356
call fcn.004c3fb0
test al, al
je 0x4c1367
mov byte [0x97c514], 1
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00623060
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0xa0c]
test eax, eax
je 0x4c1388
push 0x400
push eax
call fcn.00689e70
add esp, 8
call fcn.004c3fb0
test al, al
jne 0x4c1356
push esi
push edi
nop word [eax + eax]
mov esi, 2
mov dword [ebp - 0x154], 4
lea eax, [ebp - 0x44]
mov dword [ebp - 0x148], esi
mov dword [ebp - 0x150], eax
nop
lea eax, [ebp - 0x18c]
push eax
call fcn.004b3300
push 1
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x17c], xmm0
movups xmmword [ebp - 0x16c], xmm0
call fcn.004b0510
movups xmm1, xmmword [ebp - 0x17c]
add esp, 8
lea ecx, [esi - 1]
movaps xmm0, xmm1
psrldq xmm0, 4
movd eax, xmm0
push eax
movd eax, xmm1
push eax
push 0
push ecx
call fcn.00623d80
imul esi, dword [ebp - 0x164]
mov edi, eax
lea eax, [ebp - 0x19c]
mov ebx, edx
push eax
mov dword [ebp - 0x158], esi
call fcn.004b3300
mov esi, dword [eax + 8]
lea eax, [ebp - 0x1ac]
push eax
call fcn.004b3300
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x148]
inc eax
mov dword [ebp - 0x14c], eax
mov eax, esi
cdq
add eax, dword [ecx]
push 0
push dword [ebp - 0x14c]
adc edx, dword [ecx + 4]
push edx
push eax
call fcn.00623d80
shld edx, eax, 8
shl eax, 8
xor ebx, edx
xor edi, eax
mov dword [ebp - 0x168], ebx
lea eax, [ebp - 0x1bc]
mov dword [ebp - 0x16c], edi
push eax
call fcn.004b3300
lea esi, [eax + 8]
lea eax, [ebp - 0x1cc]
push eax
call fcn.004b3300
add esp, 8
mov ecx, dword [eax]
add ecx, dword [esi]
mov eax, dword [ebp - 0x148]
mov esi, dword [ebp - 0x14c]
add eax, 2
imul ecx, eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x148], esi
shl ecx, 0x10
xor eax, ecx
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x150]
movups xmm0, xmmword [ebp - 0x16c]
movups xmmword [eax], xmm0
add eax, 0x10
sub dword [ebp - 0x154], 1
mov dword [ebp - 0x150], eax
jne 0x4c13b0
movsd xmm0, qword [0x740c00]
lea eax, [ebp - 0x44]
sub esp, 8
movsd qword [esp], xmm0
push 0x40
push eax
call fcn.00689b90
add esp, 0x10
call fcn.004c3fb0
test al, al
je 0x4c1390
lea eax, [ebp - 0x144]
mov byte [ebp - 0x144], 0
push 0x100
push eax
call fcn.00689db0
add esp, 8
cmp byte [ebp - 0x144], 0
pop edi
pop esi
je 0x4c154a
lea eax, [ebp - 0x144]
push 0x400
push eax
call fcn.00689e70
add esp, 8
call fcn.004c3fb0
test al, al
jne 0x4c1356
push str.libcurl_is_now_using_a_weak_random_seed__n
push dword [ebp - 0x15c]
call fcn.004b06d0
add esp, 8
call fcn.004c3fb0
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.00623060
mov esp, ebp
pop ebp
ret
Function at 0x4cd760
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
lea eax, [ecx - 0xc8]
mov edx, dword [edi]
cmp eax, 0x64
jb 0x4cd78f
push str.Couldnt_set_desired_mode
push edx
call fcn.004b05f0
add esp, 8
lea eax, [esi + 0x11]
pop edi
pop esi
pop ebp
ret
cmp ecx, 0xc8
je 0x4cd7a6
push ecx
push str.Got_a__03d_response_code_instead_of_the_assumed_200_n
push edx
call fcn.004b06d0
add esp, 0xc
mov eax, dword [ebp + 0x10]
cmp eax, 0x13
jne 0x4cd7bd
push edi
call fcn.004cd4c0
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebp
ret
cmp eax, 0x14
jne 0x4cd7d1
push edi
call fcn.004cc520
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebp
ret
cmp eax, 0x15
jne 0x4cd7e5
push edi
call fcn.004cd4a0
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebp
ret
cmp eax, 0x16
jne 0x4cd7f5
push edi
call fcn.004cd640
mov esi, eax
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
ret

Function at 0x4def90
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x96b004]
mov edi, eax
add esp, 4
test edi, edi
jne 0x4defbd
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x4df004
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call eax
mov eax, dword [edi + 8]
add eax, dword [esi + 0xc]
push dword [edi + 4]
mov dword [ebp - 4], eax
push eax
mov eax, dword [esi + 8]
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov dword [ebp + 0x10], ebx
jmp 0x4df00a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [edi + 4]
mov eax, dword [esi]
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [ebp + 0x10]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x4df06b
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], eax
nop word [eax + eax]
movzx eax, byte [ebx]
xor al, 0x36
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor al, 0x5c
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub dword [ebp + 0x10], 1
jne 0x4df030
mov ebx, dword [ebp - 8]
cmp ebx, dword [esi + 0x10]
jae 0x4df097
mov eax, dword [esi + 4]
push 1
push 0x745ade
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x745adf
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x4df070
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x6488ef
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.006485b2

Function at 0x6488fa
Capabilities:
Read file on windows

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