joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404ae0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x404bc6
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x404bb5
jg 0x404b20
test edx, edx
je 0x404bb5
nop dword [eax]
call fcn.00406440
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x404b74
jg 0x404b37
test esi, esi
je 0x404b74
cmp ebx, eax
jg 0x404b47
jl 0x404b41
cmp edi, esi
jae 0x404b47
mov esi, edi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push esi
push eax
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.0040c740
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x404b99
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [ecx]
movzx eax, byte [eax]
push eax
call dword [edx + 0xc]
cmp eax, 0xffffffff
je 0x404baf
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x404b20
jl 0x404baf
test edi, edi
jne 0x404b20
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x404be8
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x404bea
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x404c68
jg 0x404bfd
test esi, esi
je 0x404c68
test eax, eax
jl 0x404c4c
jg 0x404c07
test ebx, ebx
je 0x404c4c
cmp edi, eax
jg 0x404c17
jl 0x404c11
cmp esi, ebx
jae 0x404c17
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.0040c740
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
sub esi, ebx
sbb edi, dword [esp + 0x14]
add edx, ebx
mov eax, dword [ecx + 0x30]
sub dword [eax], ebx
mov eax, dword [ecx + 0x20]
add dword [eax], ebx
test edi, edi
jl 0x404c68
jg 0x404c4f
test esi, esi
je 0x404c68
jmp 0x404c4f
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x404c68
push eax
push esi
push 1
push edx
call fcn.00410636
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x404c80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x404cb2
jl 0x404ca5
test ecx, ecx
jne 0x404cb2
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x404d72
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.00406460
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x404d1e
jg 0x404cdd
test esi, esi
je 0x404d1e
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x404cf5
mov eax, dword [esp + 0x10]
jl 0x404cef
cmp eax, esi
jae 0x404cf5
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.0040c740
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x404d3f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x404d5b
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x404cc4
jl 0x404d5b
test ecx, ecx
jne 0x404cc4
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x404db1
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x404db1
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.0040c740
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
cmp dword [ebx + 0x4c], 0
mov ecx, edi
je 0x404e20
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [esi], eax
jne 0x404dd7
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [esi], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
mov ecx, edi
cmp edi, 0xfff
jbe 0x404e09
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.00410c8d
sub edi, eax
add esp, 0x10
add esi, eax
mov ecx, edi
cmp eax, 0xfff
jne 0x404e34
cmp edi, eax
ja 0x404de5
test ecx, ecx
je 0x404e20
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.00410c8d
mov ecx, edi
add esp, 0x10
sub ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, ecx
sbb edx, 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4051a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x43d008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x4051d0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a2a0
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x40520c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x40520c
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a2a0
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x4052f4
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x405234
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x405267
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.0040f51e
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a2a0
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
sub eax, 0
je 0x4052c7
sub eax, 1
je 0x4052c7
sub eax, 2
jne 0x4052f4
push dword [esi + 0x4c]
movsx eax, byte [ebp - 0x25]
push eax
call fcn.0040f51e
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a2a0
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x4052e4
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00410636
add esp, 0x10
cmp edi, eax
jne 0x4052f4
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x4051f7
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a2a0
mov esp, ebp
pop ebp
ret 4
Function at 0x406170
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x43d008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x40622a
cmp byte [esi + 0x3d], 0
je 0x40622a
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x406218
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4061e0
sub eax, 1
je 0x4061e4
sub eax, 2
jne 0x406218
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a2a0
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x406201
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00410636
add esp, 0x10
cmp edi, eax
jne 0x406218
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a2a0
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a2a0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0040a2a0
mov esp, ebp
pop ebp
ret

Function at 0x406840
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c310
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x43d008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0040a4b0
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0040b28e
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 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 0x41c810
Capabilities:
Read file on windows

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

Function at 0x4217fe
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00421351
Function at 0x401dd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xa1844
call fcn.0040c6e0
mov eax, dword [0x415004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
mov dword [ebp - 0xa1820], 0
push eax
push eax
push eax
mov word [ebp - 0xa180c], ax
lea eax, [ebp - 0xa181c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0xa1820]
mov dword [ebp - 0xa181c], 0x10001
push eax
mov dword [ebp - 0xa1818], 0x5622
mov dword [ebp - 0xa1814], 0x5622
mov dword [ebp - 0xa1810], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0xa17fc
lea eax, [ebp - 0xa1808]
push 0
push eax
call fcn.00403620
add esp, 0xc
xor eax, eax
mov ebx, eax
mov cl, al
shl cl, 4
mov edx, eax
shr ebx, 8
and bl, cl
shr edx, 4
mov cl, al
shl cl, 2
xor bl, cl
mov cl, al
add cl, cl
xor bl, dl
and cl, dl
or bl, cl
mov byte [ebp + eax - 0xa1808], bl
inc eax
cmp eax, 0xa17fc
jb 0x401e54
lea eax, [ebp - 0xa1808]
mov dword [ebp - 0xa183c], 0xa17fc
mov dword [ebp - 0xa1840], eax
lea eax, [ebp - 0xa1840]
push 0x20
push eax
push dword [ebp - 0xa1820]
mov dword [ebp - 0xa1838], 0
mov dword [ebp - 0xa1834], 0
mov dword [ebp - 0xa1830], 0
mov dword [ebp - 0xa182c], 0
mov dword [ebp - 0xa1828], 0
mov dword [ebp - 0xa1824], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0xa1840]
push eax
push dword [ebp - 0xa1820]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0xa1840]
push eax
push dword [ebp - 0xa1820]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0xa1820]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00402765
mov esp, ebp
pop ebp
ret
Function at 0x401f40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x50c40
call fcn.0040c6e0
mov eax, dword [0x415004]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x50c20], 0
push eax
push eax
push eax
mov word [ebp - 0x50c0c], ax
lea eax, [ebp - 0x50c1c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x50c20]
mov dword [ebp - 0x50c1c], 0x10001
push eax
mov dword [ebp - 0x50c18], 0x2b11
mov dword [ebp - 0x50c14], 0x2b11
mov dword [ebp - 0x50c10], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0x50bfe
lea eax, [ebp - 0x50c08]
push 0
push eax
call fcn.00403620
add esp, 0xc
xor eax, eax
mov dl, al
mov cl, al
shl dl, 4
add cl, cl
and dl, al
xor dl, cl
mov ecx, eax
shr ecx, 4
and dl, cl
mov cl, al
shl cl, 2
xor dl, cl
xor dl, 7
mov byte [ebp + eax - 0x50c08], dl
inc eax
cmp eax, 0x50bfe
jb 0x401fc3
lea eax, [ebp - 0x50c08]
mov dword [ebp - 0x50c3c], 0x50bfe
mov dword [ebp - 0x50c40], eax
lea eax, [ebp - 0x50c40]
push 0x20
push eax
push dword [ebp - 0x50c20]
mov dword [ebp - 0x50c38], 0
mov dword [ebp - 0x50c34], 0
mov dword [ebp - 0x50c30], 0
mov dword [ebp - 0x50c2c], 0
mov dword [ebp - 0x50c28], 0
mov dword [ebp - 0x50c24], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0x50c40]
push eax
push dword [ebp - 0x50c20]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0x50c40]
push eax
push dword [ebp - 0x50c20]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0x50c20]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402765
mov esp, ebp
pop ebp
ret
Function at 0x402370
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x50c40
call fcn.0040c6e0
mov eax, dword [0x415004]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x50c20], 0
push eax
push eax
push eax
mov word [ebp - 0x50c0c], ax
lea eax, [ebp - 0x50c1c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x50c20]
mov dword [ebp - 0x50c1c], 0x10001
push eax
mov dword [ebp - 0x50c18], 0x2b11
mov dword [ebp - 0x50c14], 0x2b11
mov dword [ebp - 0x50c10], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0x50bfe
lea eax, [ebp - 0x50c08]
push 0
push eax
call fcn.00403620
add esp, 0xc
xor eax, eax
mov edx, eax
mov ecx, eax
shr ecx, 1
shr edx, 8
and dl, cl
mov ecx, eax
shr ecx, 3
and cl, 0x17
xor dl, cl
movsx ecx, al
movsx edx, dl
imul edx, ecx
mov byte [ebp + eax - 0x50c08], dl
inc eax
cmp eax, 0x50bfe
jb 0x4023f3
lea eax, [ebp - 0x50c08]
mov dword [ebp - 0x50c3c], 0x50bfe
mov dword [ebp - 0x50c40], eax
lea eax, [ebp - 0x50c40]
push 0x20
push eax
push dword [ebp - 0x50c20]
mov dword [ebp - 0x50c38], 0
mov dword [ebp - 0x50c34], 0
mov dword [ebp - 0x50c30], 0
mov dword [ebp - 0x50c2c], 0
mov dword [ebp - 0x50c28], 0
mov dword [ebp - 0x50c24], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0x50c40]
push eax
push dword [ebp - 0x50c20]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0x50c40]
push eax
push dword [ebp - 0x50c20]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0x50c20]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402765
mov esp, ebp
pop ebp
ret
Function at 0x402570
Capabilities:
Create thread
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_MessageBoxW]
push edi
push 0x34
push str.JSON.exe_by_pankoza__GDI_Only_
push str.This_is_a_Short_GDI_Only__Run_
push 0
call esi
cmp eax, 7
jne 0x40259d
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x34
push 0x412ca0
push str.Are_you_sure__It_will_still_move_your_mouse_and_it_contains_flashing_lights___NOT_for_epilepsy
push 0
call esi
cmp eax, 7
jne 0x4025ba
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x4024d0
push 0
push 0
call ebx
push 0x3e8
call edi
push 0
push 0
push 0
push 0x401340
push 0
push 0
call ebx
push 0
push 0
push 0
push 0x4012e0
push 0
push 0
mov esi, eax
call ebx
call fcn.00401dd0
push 0x7530
call edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_InvalidateRect]
push 0
push 0
push 0
call ebx
push 0
push 0
push 0
push 0x4013d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x402540
push 0
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.00401f40
push 0x7530
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call edi
push 0
push 0
push 0
call ebx
push 0
push 0
push 0
push 0x4015e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
call fcn.004020a0
push 0x7530
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call edi
push 0
push 0
push 0
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x4018a0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x401a10
push 0
push 0
mov edi, eax
call esi
push 0
push 0
push 0
push 0x401ab0
push 0
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.00402210
push 0x7530
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call edi
push 0
push 0
push 0
call ebx
push 0
push 0
push 0
push 0x401c00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.00402370
push 0x7530
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x401cca
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
mov esi, ebx
push ebx
push ebx
push ebx
call edi
xor byte [esi + section..BSS], 0xb1
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x11
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x3d
push ebx
push ebx
push ebx
call edi
xor byte [esi + section..BSS], 0xf9
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x9f
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x96
push ebx
push ebx
push ebx
call edi
xor byte [esi + section..BSS], 0x39
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0xe4
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0xeb
push ebx
push ebx
push ebx
call edi
xor byte [esi + section..BSS], 0x7b
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x14
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0xf1
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0xc6
push ebx
push ebx
push ebx
call edi
xor byte [esi + section..BSS], 0xe6
push ebx
push ebx
push ebx
call edi
xor byte [esi + section..BSS], 9
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x5c
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x1b
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x9e
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0xb7
push ebx
push ebx
push ebx
call edi
xor byte [esi + section..BSS], 3
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x27
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0xd5
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x1b
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x35
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0xec
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x1d
push ebx
push ebx
push ebx
call edi
xor byte [esi + section..BSS], 0xf7
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0xc0
push ebx
push ebx
push ebx
call edi
add byte [esi + section..BSS], 0x19
inc esi
cmp esi, 0x2d200
jb 0x401cd7
pop edi
pop esi
pop ebx
ret
Function at 0x401123
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [esp + 0x14]
lea eax, [esp + 0x18]
mov edi, ecx
push eax
call fcn.0040117e
xor ebp, ebp
pop ecx
pop ecx
mov ebx, dword [eax]
mov dword [eax], ebp
cmp dword [esp + 0x14], ebp
je 0x401152
push 4
push dword [esp + 0x18]
call fcn.0040219e
pop ecx
pop ecx
lea esi, [edi + 4]
push esi
push ebp
push ebx
push 0x401107
push ebp
push ebp
call fcn.00407377
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x401174
pop edi
pop esi
pop ebp
pop ebx
ret 4
push 6
mov dword [esi], ebp
call fcn.00401ecb
int3

Function at 0x40157f
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 0xc], esi
jbe 0x40167a
push ebx
push ebp
push edi
mov edi, dword [esp + 0x14]
mov ebx, 0xb83bf
mov ebp, str._d_The_remote_protocol_ID:
push ebx
push ebp
call fcn.00401924
xor byte [esi + edi], 0xd5
push ebx
push ebp
call fcn.00401924
xor byte [esi + edi], 0x7d
push ebx
push ebp
call fcn.00401924
add byte [esi + edi], 0xe6
push ebx
push ebp
call fcn.00401924
add byte [esi + edi], 0x1f
push ebx
push ebp
call fcn.00401924
xor byte [esi + edi], 0x11
push ebx
push ebp
call fcn.00401924
xor byte [esi + edi], 0x6f
push ebx
push ebp
call fcn.00401924
xor byte [esi + edi], 0x80
push ebx
push ebp
call fcn.00401924
xor byte [esi + edi], 0x74
add esp, 0x40
push ebx
push ebp
call fcn.00401924
xor byte [esi + edi], 0x37
push ebx
push ebp
call fcn.00401924
add byte [esi + edi], 0x41
push ebx
push ebp
call fcn.00401924
add byte [esi + edi], 0x1b
push ebx
push ebp
call fcn.00401924
add byte [esi + edi], 0x13
push ebx
push ebp
call fcn.00401924
add byte [esi + edi], 0xc6
push ebx
push ebp
call fcn.00401924
xor byte [esi + edi], 0x8e
push ebx
push ebp
call fcn.00401924
add byte [esi + edi], 0x88
push ebx
push ebp
call fcn.00401924
add byte [esi + edi], 0xfe
add esp, 0x40
push ebx
push ebp
call fcn.00401924
add byte [esi + edi], 0xfa
push ebx
push ebp
call fcn.00401924
xor byte [esi + edi], 0xf2
add esp, 0x10
inc esi
cmp esi, dword [esp + 0x18]
jb 0x40159d
pop edi
pop ebp
pop ebx
pop esi
ret