joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4310a0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, eax
test edi, edi
je 0x431172
xor eax, eax
cmp eax, str.FILE
je 0x431172
cmp dword [ebp + 8], eax
je 0x431172
push esi
push str.FILE
push 0x6e
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4310e8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4310f0
pop esi
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
call fcn.00401020
test al, al
je 0x43114b
push 0
lea edx, [ebp - 8]
push edx
push esi
push ebx
push edi
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x43115c
lea esi, [ebp - 4]
call fcn.00401000
pop ebx
pop esi
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 8], esi
lea esi, [ebp - 4]
jne 0x43114e
call fcn.00401000
pop ebx
pop esi
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret
xor al, al
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x431180
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [eax + 0x14], 0
push esi
je 0x4311b2
cmp dword [eax + 0x18], 8
jb 0x431192
mov esi, dword [eax + 4]
jmp 0x431195
lea esi, [eax + 4]
test esi, esi
je 0x4311b2
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4311b6
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
je 0x4311ba
xor eax, eax
pop esi
ret
test al, 0x10
je 0x4311b2
mov eax, 1
pop esi
ret

Function at 0x4311d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4c17d0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0047e260
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.00477b1d
mov esp, ebp
pop ebp
ret
Function at 0x40a130
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
lea edx, [esp + 0x10]
mov esi, 4
mov eax, dword [edi + 0xe4]
mov ebx, dword [edi + 0xec]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x5ed380]
sub esi, 1
jne 0x40a150
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x3e94], ebx
jne 0x40a186
push esi
push dword [esp + 0x14]
push 4
push ebx
call fcn.004081c0
add esp, 0x10
pop edi
pop esi
mov eax, ebx
pop ebx
ret 4

Function at 0x40a1f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov edx, ecx
push esi
push edi
lea esi, [esp + 8]
mov edi, 0x10
movss xmm1, dword [edx + 0x100]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0x104]
subss xmm0, xmm1
mov ecx, dword [edx + 0xe4]
movss dword [esp + 8], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [esp + 0xc], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [esp + 0x10], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [edx + 0xec]
subss xmm0, xmm2
mov edx, dword [eax + ecx*4 - 4]
movss dword [esp + 0x14], xmm0
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x5ed380]
sub edi, 1
jne 0x40a261
pop edi
not edx
pop esi
mov eax, edx
add esp, 0x10
ret 4

Function at 0x40a960
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x14]
test edi, edi
je 0x40a970
mov dword [edi], 0
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.0040aa90
mov esi, eax
add esp, 8
test esi, esi
jne 0x40a989
pop edi
pop esi
ret
push ebx
push ebp
push esi
call fcn.005b969a
mov ebp, eax
add esp, 4
cmp ebp, 0xffffffff
je 0x40aa74
push 2
push 0
push esi
call fcn.005b8ffc
add esp, 0xc
test eax, eax
jne 0x40aa74
push esi
call fcn.005b969a
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x40aa74
push 0
push ebp
push esi
call fcn.005b8ffc
add esp, 0xc
test eax, eax
jne 0x40aa74
mov eax, dword [0x653a14]
test eax, eax
je 0x40a9eb
inc dword [eax + 0xb0]
push dword [0x653a18]
mov eax, dword [esp + 0x24]
add eax, ebx
push eax
call dword [section..data]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x40aa74
push esi
push ebx
push 1
push ebp
call fcn.005b8bea
add esp, 0x10
cmp eax, ebx
je 0x40aa47
push esi
call fcn.005b8638
mov eax, dword [0x653a14]
add esp, 4
test eax, eax
je 0x40aa30
dec dword [eax + 0xb0]
push dword [0x653a18]
push ebp
call dword [0x64d004]
add esp, 8
xor eax, eax
pop ebp
pop ebx
pop edi
pop esi
ret
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x40aa5e
push eax
lea eax, [ebx + ebp]
push 0
push eax
call fcn.005b4c50
add esp, 0xc
push esi
call fcn.005b8638
add esp, 4
test edi, edi
je 0x40aa6d
mov dword [edi], ebx
mov eax, ebp
pop ebp
pop ebx
pop edi
pop esi
ret
push esi
call fcn.005b8638
add esp, 4
xor eax, eax
pop ebp
pop ebx
pop edi
pop esi
ret
Function at 0x40ad00
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0xc]
not ebx
push edi
mov edi, dword [esp + 0x14]
mov eax, ebx
test edi, edi
je 0x40ad62
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x40ad46
cmp edi, 2
jb 0x40ad46
cmp byte [esi], cl
jne 0x40ad46
cmp byte [esi + 1], cl
jne 0x40ad46
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x5ed380]
jmp 0x40ad17
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x5ed380]
test edi, edi
jne 0x40ad17
pop edi
pop esi
not eax
pop ebx
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x40ad98
nop dword [eax]
cmp cl, 0x23
jne 0x40ad7f
cmp byte [esi], cl
jne 0x40ad7f
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x5ed380]
test cl, cl
jne 0x40ad70
pop edi
pop esi
not eax
pop ebx
ret
Function at 0x40c690
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
cmp dword [edi + 0x5ae8], 0
lea esi, [edi + 0x5aec]
je 0x40c709
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x40c6c4
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.00418f50
push dword [esp + 0x14]
mov ecx, esi
mov dword [esi], 0
push dword [esp + 0x14]
call fcn.00418b00
mov edx, dword [esi]
mov ecx, 0x653a10
push dword [edi + 0x5ae8]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5af4]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call fcn.005b98c4
add esp, 0x10
pop edi
pop esi
ret
push dword [esp + 0x14]
mov ecx, esi
push dword [esp + 0x14]
call fcn.00418b00
pop edi
pop esi
ret
Function at 0x413ac0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [0x653a14]
push esi
mov esi, dword [esp + 8]
mov dword [eax + 0x5a7c], 0
test esi, esi
je 0x413b18
lea eax, [esp + 8]
mov dword [esp + 8], 0
push edi
push eax
call fcn.00413b20
push 0x5ee92c
push esi
mov edi, eax
call fcn.0040aa90
mov esi, eax
add esp, 0xc
test esi, esi
je 0x413b17
push esi
push dword [esp + 0x10]
push 1
push edi
call fcn.005b98c4
push esi
call fcn.005b8638
add esp, 0x14
pop edi
pop esi
ret

Function at 0x4176d0
Capabilities:
Read file on windows

Disassembly:
push edi
mov edi, dword [0x653a14]
cmp byte [edi + 0x5a78], 0
lea eax, [edi + 0x20]
jne 0x4177e7
mov ecx, dword [eax]
push ebx
push ebp
test ecx, ecx
je 0x4177de
push esi
push 0x5ee928
push ecx
call fcn.0040aa90
mov esi, eax
add esp, 8
test esi, esi
je 0x4177da
push esi
call fcn.005b969a
mov ebp, eax
add esp, 4
cmp ebp, 0xffffffff
je 0x4177d1
push 2
push 0
push esi
call fcn.005b8ffc
add esp, 0xc
test eax, eax
jne 0x4177d1
push esi
call fcn.005b969a
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x4177d1
push 0
push ebp
push esi
call fcn.005b8ffc
add esp, 0xc
test eax, eax
jne 0x4177d1
mov eax, dword [0x653a14]
test eax, eax
je 0x417768
inc dword [eax + 0xb0]
push dword [0x653a18]
push ebx
call dword [section..data]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4177d1
push esi
push ebx
push 1
push ebp
call fcn.005b8bea
add esp, 0x10
push esi
cmp eax, ebx
je 0x4177b9
call fcn.005b8638
add esp, 4
mov eax, dword [0x653a14]
test eax, eax
je 0x4177a7
dec dword [eax + 0xb0]
push dword [0x653a18]
push ebp
call dword [0x64d004]
add esp, 8
jmp 0x4177da
call fcn.005b8638
add esp, 4
test ebx, ebx
je 0x417798
push ebx
push ebp
call fcn.0040c250
add esp, 8
jmp 0x417798
push esi
call fcn.005b8638
add esp, 4
lea eax, [edi + 0x20]
pop esi
pop ebp
mov byte [edi + 0x5a78], 1
pop ebx
movss xmm0, dword [edi + 0x5a7c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x417835
subss xmm0, dword [edi + 0x18]
comiss xmm1, xmm0
movss dword [edi + 0x5a7c], xmm0
jb 0x417835
mov eax, dword [eax]
test eax, eax
je 0x417824
push eax
call fcn.00413ac0
add esp, 4
mov dword [edi + 0x5a7c], 0
pop edi
ret
mov byte [edi + 0x96], 1
mov dword [edi + 0x5a7c], 0
pop edi
ret
Function at 0x41c6f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5de010
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x64e2c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x54]
mov edi, dword [esi + 0x5c]
shl edx, 4
sub edx, dword [esi + 0x54]
lea ebx, [edi + edx*8]
cmp edi, ebx
je 0x41c752
nop dword [eax + eax]
mov eax, dword [edi]
test eax, eax
je 0x41c74b
cmp byte [edi + 8], 0
je 0x41c74b
push eax
call fcn.0040c7f0
add esp, 4
mov dword [edi], 0
add edi, 0x78
cmp edi, ebx
jne 0x41c730
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x3c]
lea eax, [edx + eax*4]
mov dword [ebp - 0x10], eax
cmp edx, eax
je 0x41c793
mov edi, dword [edx]
mov eax, dword [esi + 0x5c]
mov ebx, dword [edi + 0x34]
cmp ebx, eax
jb 0x41c78b
mov ecx, dword [esi + 0x54]
shl ecx, 4
sub ecx, dword [esi + 0x54]
lea eax, [eax + ecx*8]
cmp ebx, eax
jae 0x41c78b
xor eax, eax
mov dword [edi + 0x34], 0
mov word [edi + 0x38], ax
add edx, 4
cmp edx, dword [ebp - 0x10]
jne 0x41c762
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x41c7b8
push eax
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
call fcn.0040c7f0
add esp, 4
mov dword [esi + 0x5c], 0
mov eax, dword [esi + 0x50]
test eax, eax
je 0x41c7dd
push eax
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
call fcn.0040c7f0
add esp, 4
mov dword [esi + 0x50], 0
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x46c], 0xffffffff
mov dword [esi + 0x468], 0xffffffff
test eax, eax
je 0x41c801
push eax
call fcn.0040c7f0
add esp, 4
mov eax, dword [esi + 0x20]
test eax, eax
je 0x41c811
push eax
call fcn.0040c7f0
add esp, 4
xor ebx, ebx
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [esi + 0x19], 0
cmp dword [esi + 0x3c], ebx
jle 0x41c89a
nop word [eax + eax]
mov eax, dword [esi + 0x44]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x41c894
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.0041c9a0
mov eax, dword [edi + 0x28]
mov byte [ebp - 4], 1
test eax, eax
je 0x41c85c
push eax
call fcn.0040c7f0
add esp, 4
mov eax, dword [edi + 0x1c]
mov byte [ebp - 4], 2
test eax, eax
je 0x41c870
push eax
call fcn.0040c7f0
add esp, 4
mov eax, dword [edi + 8]
mov byte [ebp - 4], 3
test eax, eax
je 0x41c884
push eax
call fcn.0040c7f0
add esp, 4
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.0040c7f0
add esp, 4
inc ebx
cmp ebx, dword [esi + 0x3c]
jl 0x41c830
mov eax, dword [esi + 0x44]
test eax, eax
je 0x41c8bf
push eax
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
call fcn.0040c7f0
add esp, 4
mov dword [esi + 0x44], 0
mov byte [esi + 0x18], 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
Function at 0x41ca50
Capabilities:
Enumerate pe sections

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, ecx
cmp esi, 8
ja 0x41cb5f
test byte [edi], 2
jne 0x41cb5f
mov eax, dword [edi + 0x468]
lea esi, [esi + esi*2]
mov ecx, dword [edi + 0x50]
movss xmm2, dword [esi*8 + 0x5ef968]
movss xmm4, dword [esi*8 + 0x5ef96c]
lea edx, [eax*8]
sub edx, eax
movzx eax, word [ecx + edx*4 + 4]
movd xmm5, eax
movzx eax, word [ecx + edx*4 + 6]
cvtdq2ps xmm5, xmm5
movd xmm3, eax
addss xmm5, dword [esi*8 + 0x5ef960]
mov eax, dword [esp + 0x14]
cvtdq2ps xmm3, xmm3
movaps xmm1, xmm5
addss xmm3, dword [esi*8 + 0x5ef964]
movss dword [eax + 4], xmm4
movss dword [eax], xmm2
mov ecx, dword [esi*8 + 0x5ef970]
mov edx, dword [esi*8 + 0x5ef974]
mov eax, dword [esp + 0x10]
addss xmm4, xmm3
movaps xmm0, xmm3
mov dword [eax], ecx
mov dword [eax + 4], edx
mulss xmm1, dword [edi + 0x2c]
mov eax, dword [esp + 0x18]
mulss xmm0, dword [edi + 0x30]
movss dword [eax], xmm1
movaps xmm1, xmm2
movss dword [eax + 4], xmm0
addss xmm1, xmm5
addss xmm5, dword [0x5f29bc]
movaps xmm0, xmm4
mulss xmm0, dword [edi + 0x30]
mulss xmm1, dword [edi + 0x2c]
movss dword [eax + 0xc], xmm0
movaps xmm0, xmm5
addss xmm5, xmm2
movss dword [eax + 8], xmm1
mulss xmm0, dword [edi + 0x2c]
mov eax, dword [esp + 0x1c]
mulss xmm3, dword [edi + 0x30]
movss dword [eax], xmm0
movss dword [eax + 4], xmm3
mulss xmm5, dword [edi + 0x2c]
mulss xmm4, dword [edi + 0x30]
pop edi
movss dword [eax + 8], xmm5
pop esi
movss dword [eax + 0xc], xmm4
mov al, 1
ret 0x14
pop edi
xor al, al
pop esi
ret 0x14

Function at 0x421ab0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x421ad7
push eax
mov dword [esi + 4], 0
mov dword [esi], 0
call fcn.0040c7f0
add esp, 4
mov dword [esi + 8], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x421afc
push eax
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
call fcn.0040c7f0
add esp, 4
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x421b21
push eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
call fcn.0040c7f0
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov eax, dword [esi + 0x44]
test eax, eax
je 0x421b62
push eax
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
call fcn.0040c7f0
add esp, 4
mov dword [esi + 0x44], 0
mov eax, dword [esi + 0x50]
test eax, eax
je 0x421b87
push eax
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
call fcn.0040c7f0
add esp, 4
mov dword [esi + 0x50], 0
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x421bac
push eax
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
call fcn.0040c7f0
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.0041c8e0
Function at 0x42a2f0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x2c
mov eax, dword [0x64e2c0]
xor eax, esp
mov dword [esp + 0x28], eax
push esi
push edi
call fcn.0040a290
mov edi, eax
lea eax, [esp + 0x20]
push eax
push dword [0x653a90]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
sub ecx, dword [esp + 0x20]
movd xmm0, eax
lea eax, [esp + 0x10]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
push eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 8], xmm1
movss dword [edi + 0xc], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x10]
sub ecx, dword [0x653a98]
mov edx, dword [esp + 0x14]
sbb edx, dword [0x653a9c]
call fcn.005b28c0
mov edx, dword [0x653aa4]
mov ecx, dword [0x653aa0]
cvtsd2ss xmm0, xmm0
movss dword [esp + 8], xmm0
call fcn.005b28c0
movss xmm1, dword [esp + 8]
cvtsd2ss xmm0, xmm0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
divss xmm1, xmm0
movss dword [edi + 0x10], xmm1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [0x653a98], eax
mov dword [0x653a9c], ecx
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [edi + 0xdd0], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [edi + 0xdd1], al
call esi
shr eax, 0xf
and al, 1
mov byte [edi + 0xdd3], 0
mov byte [edi + 0xdd2], al
call fcn.0040a290
cmp byte [eax + 0x8d], 0
lea esi, [eax + 0xdb4]
je 0x42a426
cvttss2si eax, dword [eax + 0xdb8]
cvttss2si ecx, dword [esi]
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push eax
push dword [0x653a90]
mov dword [esp + 0x10], ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [esi], 0xff7fffff
mov dword [esi + 4], 0xff7fffff
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x42a492
mov ecx, dword [0x653a90]
cmp eax, ecx
je 0x42a453
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x42a492
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x42a492
lea eax, [esp + 0x18]
push eax
push dword [0x653a90]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x42a492
movd xmm0, dword [esp + 0x18]
movd xmm1, dword [esp + 0x1c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi], xmm0
movss dword [esi + 4], xmm1
cmp byte [edi + 0x3c], 0
pop edi
pop esi
je 0x42a49f
or eax, 0xffffffff
jmp 0x42a4a4
call fcn.0040a530
cmp dword [0x64d018], eax
je 0x42a4b6
mov dword [0x64d018], eax
call fcn.0042a790
call fcn.0042a4e0
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.005b26e6
add esp, 0x2c
ret
Function at 0x42ede0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5de0fd
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x64e2c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.0042eba0
mov esi, dword [ebp - 0x1c]
cmp byte [esi + 0xd], 0
jne 0x42ee69
cmp dword [esi + 0x24], 0xf
lea eax, [esi + 0x10]
mov edx, dword [eax + 0x10]
jbe 0x42ee2e
mov eax, dword [eax]
cmp dword [edi + 0x14], 0xf
mov ecx, edi
jbe 0x42ee38
mov ecx, dword [edi]
push edx
push eax
push dword [edi + 0x10]
push ecx
call fcn.0042ed50
shr eax, 0x1f
add esp, 0x10
test al, al
jne 0x42ee69
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0x4ec4ec4
je 0x42ef49
mov ecx, dword [eax]
mov dword [ebp + 0xc], ecx
mov dword [ebp - 0x18], eax
push 0x34
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
call fcn.005b2e07
mov esi, eax
xorps xmm0, xmm0
add esp, 4
movups xmmword [esi + 0x10], xmm0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
movups xmm0, xmmword [edi]
movups xmmword [esi + 0x10], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x20], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 1
call fcn.004341a0
mov ecx, eax
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov eax, dword [ecx + 4]
test eax, eax
je 0x42eef9
lock inc dword [eax + 4]
mov eax, dword [ecx]
mov dword [esi + 0x28], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0xc]
push esi
push dword [ebp - 0x20]
mov dword [esi + 0x30], 0
push dword [ebp - 0x24]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov word [esi + 0xc], 0
call fcn.00430530
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, ecx
mov byte [ecx + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
call fcn.00430720
int3
Function at 0x42f7c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5de1d9
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x64e2c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
push 0x14
call fcn.005b2e07
mov edx, eax
add esp, 4
mov dword [ebp - 0x18], edx
test edx, edx
je 0x42f82a
xorps xmm0, xmm0
movq qword [edx], xmm0
mov dword [edx + 8], 0
mov dword [edx + 4], 1
mov dword [edx + 8], 1
mov dword [edx], vtable.std::_Ref_count_obj2_class_json11::JsonNull_.0
mov dword [edx + 0xc], vtable.json11::JsonNull.0
jmp 0x42f82c
xor edx, edx
lea eax, [edx + 0xc]
mov dword [edi + 4], 0
mov dword [edi], eax
mov dword [edi + 4], edx
lea eax, [ebp - 0xd]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 0xd], 1
push eax
call fcn.0042f280
mov dword [edi + 8], 0
add esp, 8
mov dword [edi + 0xc], 0
mov ecx, dword [eax]
mov dword [edi + 8], ecx
mov ecx, dword [eax + 4]
mov dword [edi + 0xc], ecx
mov dword [eax], 0
mov dword [eax + 4], 0
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 1
test esi, esi
je 0x42f8a8
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x42f8a8
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x42f8a8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0xd]
mov byte [ebp - 0xd], 0
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0042f280
mov dword [edi + 0x10], 0
add esp, 8
mov dword [edi + 0x14], 0
mov ecx, dword [eax]
mov dword [edi + 0x10], ecx
mov ecx, dword [eax + 4]
mov dword [edi + 0x14], ecx
mov dword [eax], 0
mov dword [eax + 4], 0
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x42f90a
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x42f90a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x42f90a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
xorps xmm0, xmm0
movups xmmword [edi + 0x18], xmm0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
lea esi, [edi + 0x3c]
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], esi
push 0x34
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005b2e07
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x439a50
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x28
mov eax, dword [0x64e2c0]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x439b12
cmp byte [esi + 0x3d], 0
je 0x439b12
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x439aff
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x439ac4
sub eax, 1
je 0x439ac8
sub eax, 2
jne 0x439aff
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.005b26e6
add esp, 0x28
ret
mov byte [esi + 0x3d], 0
mov edi, dword [esp + 8]
lea eax, [esp + 0xc]
sub edi, eax
je 0x439ae7
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.005b98c4
add esp, 0x10
cmp edi, eax
jne 0x439aff
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.005b26e6
add esp, 0x28
ret
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.005b26e6
add esp, 0x28
ret
mov ecx, dword [esp + 0x28]
mov al, 1
pop esi
xor ecx, esp
call fcn.005b26e6
add esp, 0x28
ret