joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001d380
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Create thread
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002f1d3
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1003b040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], esi
mov dword [esi], eax
mov dword [esi + 4], 0
mov dword [ebp - 4], 0
push 0xa0
mov dword [esi + 4], 0
call fcn.1002ce5f
add esp, 4
mov dword [esi + 4], eax
lea esi, [eax + 0x10]
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0x14]
mov ecx, esi
mov dword [ebp - 0x18], esi
push dword [eax]
call fcn.1000ced0
lea edi, [esi + 0x18]
xorps xmm0, xmm0
mov dword [ebp - 0x24], edi
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov byte [ebp - 4], 4
lea esi, [edi + 0x24]
mov dword [ebp - 0x14], esi
push 0x44
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1002ce5f
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 5
xorps xmm0, xmm0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov word [edi + 0x38], 1
movups xmmword [edi + 0x48], xmm0
push 8
movq qword [edi + 0x58], xmm0
mov dword [edi + 0x60], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x64], 0xffffffff
mov dword [edi + 0x3c], 2
mov dword [edi + 0x68], 0
call fcn.1002ce5f
mov dword [ebp - 0x14], eax
mov dword [eax], edi
mov dword [eax + 4], 0x1001ba20
lea esi, [edi + 0x70]
mov byte [ebp - 4], 6
push esi
push 0
push eax
push 0x1001d710
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x20
mov dword [edi + 0x6c], eax
test eax, eax
je 0x1001d534
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [ecx], edx
mov ecx, dword [eax + 4]
mov dword [ecx + 4], edx
mov ecx, dword [eax + 4]
mov dword [ecx + 8], edx
mov ecx, dword [eax + 4]
mov byte [ecx + 0xc], 0
mov ecx, dword [eax + 4]
mov byte [ecx + 0xd], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002ce51
mov esp, ebp
pop ebp
ret 0x14
push 6
mov dword [esi], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x10027340
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp + 0xc]
push eax
push ecx
push dword [ebp + 8]
mov ecx, 0x100652c8
call fcn.1000be10
add esp, 0xc
push 0x100652c8
push 1
call fcn.10015420
mov ebx, 0xc8cf88
push 0xfffffffffffffff0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0xc00000
jne 0x100273d1
push 0
push 0xf020
push 0x112
push dword [ebx]
call dword [sym.imp.USER32.dll_PostMessageA]
push 6
push dword [ebx]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x41010
push str.CLEO_error
push 0x100652c8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push 0xf120
push 0x112
push dword [ebx]
call dword [sym.imp.USER32.dll_PostMessageA]
push 9
push dword [ebx]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
pop ebp
ret
push 0x41010
push str.CLEO_error
push 0x100652c8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ebx
pop ebp
ret

Function at 0x1002c200
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp + 0xc]
push eax
push ecx
push dword [ebp + 8]
mov ecx, 0x10065ac8
call fcn.1000be10
add esp, 0xc
push 0x10065ac8
push 1
call fcn.10015420
mov ebx, 0xc8cf88
push 0xfffffffffffffff0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0xc00000
jne 0x1002c291
push 0
push 0xf020
push 0x112
push dword [ebx]
call dword [sym.imp.USER32.dll_PostMessageA]
push 6
push dword [ebx]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x41010
push str.CLEO_error
push 0x10065ac8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push 0xf120
push 0x112
push dword [ebx]
call dword [sym.imp.USER32.dll_PostMessageA]
push 9
push dword [ebx]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
pop ebp
ret
push 0x41010
push str.CLEO_error
push 0x10065ac8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ebx
pop ebp
ret
Function at 0x1002c2d0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100305df
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x1003b040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x14], edi
push 0x20
movzx eax, word [esi + 0xdd]
mov word [edi], ax
mov byte [edi + 4], 0
mov dword [edi + 0xb4], 0
mov dword [edi + 0xb8], 0
call fcn.1002ce5f
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0xb4], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [edi + 0xc4], 0
movups xmmword [edi + 0xc8], xmm0
mov dword [edi + 0xd8], 0
mov dword [edi + 0xdc], 0xf
mov byte [edi + 0xc8], 0
movups xmmword [edi + 0xe0], xmm0
mov dword [edi + 0xf0], 0
mov dword [edi + 0xf4], 0xf
mov byte [edi + 0xe0], 0
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x10]
mov dword [edi + 8], eax
lea eax, [esi + 0x18]
push 0x20
push eax
lea eax, [edi + 0x10]
push eax
call sub.VCRUNTIME140.dll_memmove
movzx eax, word [esi + 0x38]
add esp, 0x10
mov word [edi + 0x30], ax
cmp byte [esi + 0xdc], 0
mov eax, dword [sym.CLEO.asi_missionLocals]
jne 0x1002c3c3
lea eax, [esi + 0x3c]
push 0x80
push eax
lea eax, [edi + 0x34]
push eax
call sub.VCRUNTIME140.dll_memmove
movzx eax, byte [esi + 0xc5]
add esp, 0xc
mov byte [edi + 0xbc], al
mov ax, word [esi + 0xd0]
mov word [edi + 0xbe], ax
movzx eax, byte [esi + 0xd2]
mov byte [edi + 0xc0], al
cmp byte [esi + 0xdf], 0
jne 0x1002c41b
cmp dword [0x1006236c], 0xf
mov ecx, 0x10062358
cmova ecx, dword [0x10062358]
jmp 0x1002c42c
cmp dword [esi + 0x148], 0xf
lea ecx, [esi + 0x134]
jbe 0x1002c42c
mov ecx, dword [ecx]
mov edx, ecx
lea eax, [edx + 1]
mov dword [ebp - 0x10], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x1002c434
sub edx, dword [ebp - 0x10]
push edx
push ecx
lea ecx, [edi + 0xc8]
call fcn.10014ab0
cmp byte [esi + 0xdf], 0
jne 0x1002c469
cmp dword [0x10062384], 0xf
mov ecx, 0x10062370
cmova ecx, dword [0x10062370]
jmp 0x1002c47a
cmp dword [esi + 0x160], 0xf
lea ecx, [esi + 0x14c]
jbe 0x1002c47a
mov ecx, dword [ecx]
mov edx, ecx
lea eax, [edx + 1]
mov dword [ebp - 0x10], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x1002c482
sub edx, dword [ebp - 0x10]
push edx
push ecx
lea ecx, [edi + 0xe0]
call fcn.10014ab0
movzx ecx, word [0x10061024]
xor eax, eax
xorps xmm0, xmm0
movups xmmword [esi + 0x18], xmm0
movups xmmword [esi + 0x28], xmm0
mov word [esi + 0x38], ax
mov byte [esi + 0xc5], al
mov word [esi + 0xd0], ax
mov byte [esi + 0xd2], al
mov eax, edi
mov word [edi + 2], cx
mov word [esi + 0xdd], cx
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 0x1002c692
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x1002c6b9
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x1002c6bc
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.1002c66e
pop esi
leave
ret 8
Function at 0x1a348d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x147f000]
push edi
or ebp, 0xffffffff
jmp 0x1a348f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1a348f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1a348e8
mov eax, 1
add ebx, ebx
jne 0x1a3490b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1a3491c
jne 0x1a3493b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1a3493b
dec eax
add ebx, ebx
jne 0x1a34928
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1a34900
add ebx, ebx
jne 0x1a34937
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1a3498d
xor ecx, ecx
sub eax, 3
jb 0x1a34953
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1a349c2
sar eax, 1
mov ebp, eax
jmp 0x1a3495e
add ebx, ebx
jne 0x1a3495e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1a3492c
inc ecx
add ebx, ebx
jne 0x1a3496c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1a3492c
add ebx, ebx
jne 0x1a34979
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1a3496e
jne 0x1a3498a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1a3496e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1a349ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1a3499e
jmp 0x1a348ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1a349ac
add edi, ecx
jmp 0x1a348ee
pop esi
mov edi, esi
mov ecx, 0x4ca7fd
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x1a349e7
cmp byte [edi], 0x65
jne 0x1a349cc
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x1a349ca
lea edi, [esi + 0x15f8000]
mov eax, dword [edi]
or eax, eax
je 0x1a34a2f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x25cb7a4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x25cb8d4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1a349ed
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x25cb8dc]
or eax, eax
je 0x1a34a29
mov dword [ebx], eax
add ebx, 4
jmp 0x1a34a0a
call dword [esi + 0x25cb8d8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1a34a60
cmp al, 0xef
ja 0x1a34a53
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1a34a35
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1a34a42
mov ebp, dword [esi + 0x25cb8e0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1a34a94
sub esp, 0xffffff80
jmp 0x92006c
Function at 0x428610
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5e86bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.005c3604
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x428692
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.005bf6b3
mov eax, dword [eax]
push 0x1dd8fb4
push eax
call fcn.004ac754
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.005c388f
test bl, bl
je 0x428692
push 0x1dd8fb4
lea ecx, [esp + 0xc]
call fcn.005c3c6b
push 0x1dd8fc0
lea ecx, [esp + 0xc]
call fcn.005c3c6b
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4286ce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.005c388f
jmp 0x428799
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x428752
lea edx, [esp + 0x7c]
push 0x1dd8fbc
push edx
call fcn.004ac754
add esp, 8
test eax, eax
je 0x428752
lea eax, [esp + 0x7c]
push 0x1dd8fb8
push eax
call fcn.004ac754
add esp, 8
test eax, eax
je 0x428752
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4286e2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.005c388f
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4
Function at 0x428fc0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5e873b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x1df2e58]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4290f8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x429026
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.005c388f
xor eax, eax
jmp 0x42916f
push 0x1dd8ffc
lea ecx, [esp + 0xc]
call fcn.005c3a18
push esi
lea ecx, [esp + 0xc]
call fcn.005c3ca7
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x1dd8ff4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x42914d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x1dd8fec
push closesocket
call fcn.004e4990
test eax, eax
jne 0x42914d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x1dd8fd8
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.004e4990
test eax, eax
jne 0x42914d
lea eax, [esp + 0x14]
push 0x1dd8fd0
push eax
call fcn.004ad976
mov esi, eax
add esp, 8
test esi, esi
jne 0x42912c
lea ecx, [esp + 0x14]
push 0x1dd8fcc
push ecx
call fcn.004ad8f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42912c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42912f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.005c39c8
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42903e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.005c388f
xor eax, eax
jmp 0x42916f
mov byte [esi], 0
push 0x1dd8fc8
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.005c388f
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x43e540
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x43e5ae
cmp si, 0x69
ja 0x43e5ae
add esi, 0xffd0
cmp si, 0x11
je 0x43e57e
push 0x11
call edi
test ax, ax
jge 0x43e57e
or esi, 0x2000
cmp si, 0x10
je 0x43e593
push 0x10
call edi
test ax, ax
jge 0x43e593
or esi, 0x4000
cmp si, 0x12
je 0x43e5a8
push 0x12
call edi
test ax, ax
jge 0x43e5a8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x43e5bb
mov esi, 0xbd
jmp 0x43e56f
cmp si, 0x6e
jne 0x43e5c8
mov esi, 0xbe
jmp 0x43e56f
cmp si, 0x6f
jne 0x43e569
mov esi, 0xbf
jmp 0x43e56f

Function at 0x43ffa0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x1e07fa0]
xor edx, edx
cmp eax, edx
jne 0x43ffc6
xor eax, eax
mov byte [eax + 0x1e07ea0], al
inc eax
cmp eax, 0x100
jl 0x43ffae
mov dword [0x1e07fa0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x1e07ea0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x440057
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x44002a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x43fff8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4400d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x440123
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x44010a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4527e0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5eaa38
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.0044d0a0
test eax, eax
je 0x4528e8
lea ecx, [esp + 0xc]
call fcn.0041fae0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.0044d0a0
mov ecx, eax
call fcn.0044a7c0
test eax, eax
je 0x4528cf
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x4528cf
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4528cf
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.0041fce0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x4528b1
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4528cf
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x1e083f8]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x1d836e0
call fcn.0041fce0
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x452940
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.0044d0a0
test eax, eax
je 0x452a2f
mov ecx, edi
call fcn.0044d0a0
mov ecx, eax
call fcn.0044a670
test eax, eax
jne 0x452a2f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x452a2f
mov eax, dword [0x1e083f8]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x4529a2
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.0044d0a0
mov ecx, eax
call fcn.0044a8a0
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x452a2f
cmp ebx, eax
jne 0x452a2f
cmp dword [esp + 0x10], eax
jne 0x452a15
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x455720
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5eaca8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x455759
inc eax
mov dword [esi + 0x10], eax
jmp 0x45586c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x45576d
mov eax, 0xffffffc7
jmp 0x45586e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x45577e
cmp dword [esi + 8], eax
jne 0x45576d
cmp dword [esi + 8], eax
jne 0x455797
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x455797
mov eax, 0xffffffc7
jmp 0x45586e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4557ab
push eax
mov ecx, ebx
call fcn.00454f50
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.0041fae0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x4557dc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.0041fb00
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.004546c0
test eax, eax
mov dword [esp + 0x38], eax
je 0x45580f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x1d83710
call fcn.0041fce0
mov eax, dword [esp + 0x38]
jmp 0x45586e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00455580
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x455853
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004555a0
mov esi, eax
test esi, esi
jne 0x455883
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00455580
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x455825
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x1d83710
call fcn.0041fce0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x1d83710
call fcn.0041fce0
mov eax, esi
jmp 0x45586e

Function at 0x45a100
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x45a160
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x45a160
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x45a160
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x45a160
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x45a1a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret