joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412a9f
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
push ebx
push esi
mov esi, eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, ebx
mov dword [ebp - 4], eax
jbe 0x412c57
push edi
mov eax, esi
call fcn.0040110e
push dword [ebp - 4]
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov edi, eax
push edi
push dword [ebp - 4]
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x414d24
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x412b25
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x30]
mov dword [esi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [esi], ecx
mov ecx, dword [eax + 0x14]
mov dword [esi + 0xc], ecx
mov ecx, dword [eax + 0x10]
mov dword [esi + 8], ecx
mov ecx, dword [eax + 0x24]
mov dword [esi + 0x10], ecx
mov eax, dword [eax + 0x28]
mov dword [esi + 0x14], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x412b8a
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
push str._4.4X_4.4X
lea eax, [ebp - 0x38]
push 0x14
push eax
call sub.msvcrt.dll__snwprintf
add esp, 0x14
lea eax, [ebp - 0x238]
push eax
push 0x4144cc
lea eax, [ebp - 0x38]
push eax
push edi
call fcn.004129b0
test eax, eax
jne 0x412b9f
movzx ecx, word [eax + str.040904E4]
mov word [ebp + eax - 0x38], cx
inc eax
inc eax
cmp cx, bx
jne 0x412b75
jmp 0x412b9f
xor eax, eax
movzx ecx, word [eax + str.040904E4]
mov word [ebp + eax - 0x38], cx
inc eax
inc eax
cmp cx, bx
jne 0x412b8c
lea eax, [esi + 0x18]
push eax
push 0x4161dc
lea eax, [ebp - 0x38]
push eax
push edi
call fcn.004129b0
lea eax, [esi + 0x218]
push eax
push 0x4161f4
lea eax, [ebp - 0x38]
push eax
push edi
call fcn.004129b0
lea eax, [esi + 0x418]
push eax
push 0x416214
lea eax, [ebp - 0x38]
push eax
push edi
call fcn.004129b0
lea eax, [esi + 0x618]
push eax
push 0x41622c
lea eax, [ebp - 0x38]
push eax
push edi
call fcn.004129b0
lea eax, [esi + 0x818]
push eax
push 0x41624c
lea eax, [ebp - 0x38]
push eax
push edi
call fcn.004129b0
lea eax, [esi + 0xa18]
push eax
push 0x416264
lea eax, [ebp - 0x38]
push eax
push edi
call fcn.004129b0
lea eax, [esi + 0xc18]
push eax
push 0x416280
lea eax, [ebp - 0x38]
push eax
push edi
call fcn.004129b0
add esi, 0xe18
push esi
push str.OriginalFileName
lea eax, [ebp - 0x38]
push eax
push edi
call fcn.004129b0
xor ebx, ebx
push edi
inc ebx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4
Function at 0x42bc30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x42bc56
xor eax, eax
jmp 0x42bcdd
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
add eax, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0x4550
je 0x42bc71
xor eax, eax
jmp 0x42bcdd
mov edx, dword [ebp - 8]
add edx, 0x18
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0x10b
je 0x42bc97
cmp dword [ebp - 0x14], 0x20b
je 0x42bcb7
jmp 0x42bcdb
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x5c], 0xe
ja 0x42bca4
xor eax, eax
jmp 0x42bcdd
mov eax, dword [ebp - 0xc]
xor ecx, ecx
cmp dword [eax + 0xd0], 0
setne cl
mov eax, ecx
jmp 0x42bcdd
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x6c], 0xe
ja 0x42bcca
xor eax, eax
jmp 0x42bcdd
mov ecx, dword [ebp - 0x10]
xor eax, eax
cmp dword [ecx + 0xe0], 0
setne al
jmp 0x42bcdd
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x42bcf0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x453540]
jne 0x42bcf9
ret
jmp fcn.0042bd00

Function at 0x42f990
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x454524], 1
jne 0x42f9ad
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x454520], 1
mov cl, byte [ebp + 0x10]
mov byte [0x45451c], cl
cmp dword [ebp + 0xc], 0
jne 0x42fa12
cmp dword [0x455e48], 0
je 0x42fa00
mov edx, dword [0x455e44]
sub edx, 4
mov dword [0x455e44], edx
mov eax, dword [0x455e44]
cmp eax, dword [0x455e48]
jb 0x42fa00
mov ecx, dword [0x455e44]
cmp dword [ecx], 0
je 0x42f9fe
mov edx, dword [0x455e44]
call dword [edx]
jmp 0x42f9cf
push 0x453058
push 0x453050
call fcn.0042fac0
add esp, 8
push 0x453064
push 0x45305c
call fcn.0042fac0
add esp, 8
cmp dword [0x454528], 0
jne 0x42fa4b
push 0xffffffffffffffff
call fcn.0042dce0
add esp, 4
and eax, 0x20
je 0x42fa4b
mov dword [0x454528], 1
call fcn.0042e310
cmp dword [ebp + 0x10], 0
je 0x42fa53
jmp 0x42fa69
mov dword [0x454524], 1
mov eax, dword [ebp + 8]
push eax
call fcn.0042fa70
add esp, 4
pop ebp
ret
Function at 0x10002910
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push edi
test ebx, ebx
je 0x100029db
cmp dword [esp + 0x1c], 0
je 0x100029db
mov edi, dword [esp + 0x20]
cmp edi, 7
jb 0x100029db
push 0x40
lea eax, [edi + 7]
push 0x1000
push eax
push 0
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
je 0x100029db
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 0x18]
push eax
push 0x40
push edi
push ebx
call ebp
test eax, eax
je 0x100029db
test edi, edi
jbe 0x10002991
mov ebp, ebx
mov eax, esi
sub ebp, esi
mov ecx, edi
jmp 0x10002980
mov dl, byte [eax + ebp]
mov byte [eax], dl
inc eax
sub ecx, 1
jne 0x10002980
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [esp + 0x1c]
lea eax, [ebx + edi]
mov dword [esi + edi + 1], eax
mov ecx, 0xe0ff
mov word [esi + edi + 5], cx
mov byte [esi + edi], 0xb8
mov eax, ecx
lea ecx, [esp + 0x18]
push ecx
mov dword [ebx + 1], edx
mov edx, dword [esp + 0x1c]
push edx
push edi
push ebx
mov byte [ebx], 0xb8
mov word [ebx + 5], ax
call ebp
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push 0x20
push ecx
push esi
call ebp
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret

Function at 0x100029f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x18]
mov ecx, dword [edi]
lea eax, [esp + 0x10]
push eax
add esi, esi
push 0x40
add esi, esi
push 0
add ecx, esi
push ecx
mov dword [esp + 0x20], 0
call ebx
mov edx, dword [edi]
mov ebp, dword [edx + esi]
mov ecx, dword [esp + 0x1c]
lea eax, [edx + esi]
mov dword [eax], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [edi]
lea edx, [esp + 0x10]
push edx
push eax
push 0
add ecx, esi
push ecx
call ebx
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
pop ecx
ret
Function at 0x10005f70
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0x14
mov eax, dword [0x1000a380]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
mov esi, dword [esp + 0x20]
sub eax, esi
sub eax, 5
mov ecx, 0x90909090
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
mov word [esp + 0x14], cx
mov ecx, eax
mov edx, eax
mov byte [esp + 0xd], al
push edi
mov edi, dword [esp + 0x2c]
shr eax, 0x18
mov byte [esp + 0x14], al
lea eax, [esp + 0xc]
push eax
push 0x40
push edi
shr ecx, 8
shr edx, 0x10
push esi
mov byte [esp + 0x20], 0xe9
mov byte [esp + 0x22], cl
mov byte [esp + 0x23], dl
mov dword [esp + 0x1c], 0
call ebx
push edi
lea ecx, [esp + 0x14]
push ecx
push esi
call sub.MSVCR90.dll_memcpy
mov eax, dword [esp + 0x18]
add esp, 0xc
lea edx, [esp + 0xc]
push edx
push eax
push edi
push esi
call ebx
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10006c18
add esp, 0x14
ret

Function at 0x10006110
Capabilities:
Create thread
Terminate process

Disassembly:
sub esp, 0x108
mov eax, dword [0x1000a380]
xor eax, esp
mov dword [esp + 0x104], eax
cmp dword [esp + 0x110], 1
push esi
push edi
mov edi, dword [esp + 0x114]
jne 0x100061b5
mov esi, dword [sym.imp.USER32.dll_MessageBoxA]
push 0x40
push str.BACA_SEBELUM_DI_GUNAKAN
push str.Cara_Guna_:__n_Untuk_Cheat_Aimbot_Datar___Jangan_Sekali_Kali_Mengeker_Pada_Saat_ON_Cheat__n_Untuk_Cheat_Aimbot_Datar___OFF_Kan_Saat_Death___Modar____n_Untuk_Cheat_Chaos_Kick___ON_Kan_Selama_3___4_Detik_Lalu_OFF__n_Untuk_Cheat_Chaos_Kick___Jika_Tidak_Akan_BugTrap__n_Untuk_Cheat_Replace___Jangan_Di_ON_Kan_Saat_Mulai_Permainan__n_Untuk_Cheat_Replace___ON_Kan_Saat_Sehabis_Mati___Death_Ke_1_Atau_Lebih____n_Untuk_Cheat_Replace___Jika_Tidak_Akan_Menyebab_Kan_Banned
push 0
call esi
push 0x104
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 8]
push str.FullHack.dll
push ecx
call dword [sym.imp.MSVCR90.dll_strstr]
add esp, 8
test eax, eax
ja 0x1000618d
push 0x10
push str.Warning
push str.Error_Runtime_401_n_nPlease_Dont_Rename_File_DLL
push 0
call esi
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x10006010
push 0
push 0
call esi
push 0
push 0
push 0
push 0x10002a60
push 0
push 0
call esi
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.10006c18
add esp, 0x108
ret 0xc
Function at 0x10006c18
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000a380]
jne 0x10006c22
repz ret
jmp fcn.10007150
Function at 0x401280
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [edx], 2
movdqa xmmword [ecx], xmm0
ret
Function at 0x407830
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
xor esi, esi
lea eax, [edx + eax*2]
mov dword [ebp - 0x10], eax
movzx eax, byte [edx + 1]
cmp byte [edx], ch
lea edx, [edx + 2]
lea edi, [esi + eax]
jne 0x407880
cmp esi, edi
ja 0x4078eb
cmp edi, dword [ebp + 0x10]
ja 0x4078f9
add esi, dword [ebp + 0xc]
nop word [eax + eax]
test eax, eax
je 0x407882
dec eax
cmp byte [esi], cl
lea esi, [esi + 1]
jne 0x407870
jmp 0x4078df
ja 0x407889
cmp edx, dword [ebp - 0x10]
mov esi, edi
jne 0x407845
mov edi, dword [ebp + 0x18]
movzx ecx, cx
mov al, 1
add edi, ebx
nop word cs:[eax + eax]
nop dword [eax]
movzx edx, byte [ebx]
lea esi, [ebx + 1]
test dl, dl
js 0x4078c0
mov ebx, esi
sub ecx, edx
jns 0x4078d7
jmp 0x4078e1
cmp esi, edi
je 0x407908
movzx esi, byte [ebx + 1]
and edx, 0x7f
add ebx, 2
shl edx, 8
or edx, esi
sub ecx, edx
js 0x4078e1
xor al, 1
cmp ebx, edi
jne 0x4078a0
jmp 0x4078e1
xor eax, eax
and al, 1
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
mov edx, edi
push 0x4290a4
call fcn.00418f30
mov edx, dword [ebp + 0x10]
mov ecx, edi
push 0x4290a4
call fcn.00418ce0
mov ecx, 0x429094
call fcn.00418f90
int3
Function at 0x4185e7
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
test eax, eax
je 0x418626
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x418626
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x418626
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x418626
cmp dword [ecx + 0x74], 0xe
jbe 0x418626
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x44c760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x436015
lea edi, [esi - 0x35015]
push edi
or ebp, 0xffffffff
jmp 0x44c782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x44c789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44c778
mov eax, 1
add ebx, ebx
jne 0x44c79b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x44c7ac
jne 0x44c7cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44c7cb
dec eax
add ebx, ebx
jne 0x44c7b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x44c790
add ebx, ebx
jne 0x44c7c7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x44c81d
xor ecx, ecx
sub eax, 3
jb 0x44c7e3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x44c852
sar eax, 1
mov ebp, eax
jmp 0x44c7ee
add ebx, ebx
jne 0x44c7ee
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44c7bc
inc ecx
add ebx, ebx
jne 0x44c7fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44c7bc
add ebx, ebx
jne 0x44c809
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x44c7fe
jne 0x44c81a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x44c7fe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x44c83c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x44c82e
jmp 0x44c77e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x44c83c
add edi, ecx
jmp 0x44c77e
pop esi
mov edi, esi
mov ecx, 0x3d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x44c85a
cmp byte [edi], 1
jne 0x44c85a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x44c85f
lea edi, [esi + 0x4a000]
mov eax, dword [edi]
or eax, eax
je 0x44c8ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4c498]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4c580]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x44c88c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4c588]
or eax, eax
je 0x44c8c8
mov dword [ebx], eax
add ebx, 4
jmp 0x44c8a9
call dword [esi + 0x4c584]
mov ebp, dword [esi + 0x4c58c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x44c902
sub esp, 0xffffff80
jmp 0x403a80
Function at 0x10039b5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push dword [0x1006950]
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
neg esi
sbb esi, esi
inc esi
jne 0x1003a6a
mov edi, 0x1006910
push edi
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [0x100690c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1003a58
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x1003a27
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [0x100690c]
call dword [sym.imp.KERNEL32.dll_ClearCommError]
neg eax
sbb eax, eax
neg eax
dec eax
jmp 0x1003a79
push 0xffffffffffffffff
push ebx
push 0x100694c
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
sub eax, ebx
je 0x1003a46
dec eax
jne 0x1003a41
xor esi, esi
inc esi
or eax, 0xffffffff
jmp 0x1003a66
push ebx
lea eax, [ebp - 8]
push eax
push edi
push dword [0x100690c]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
cmp dword [ebp - 8], 1
jae 0x1003a62
xor eax, eax
jmp 0x1003a79
movzx eax, byte [ebp - 1]
cmp esi, ebx
je 0x1003a79
push dword [0x1006950]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1003bd9
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
xor ecx, ecx
push ebx
inc ecx
xor ebx, ebx
cmp dword [0x100690c], ebx
mov dword [ebp - 4], ecx
jne 0x1003d50
mov al, byte [0x1006d84]
test al, 2
je 0x1003d50
test cl, al
je 0x1003d50
mov eax, dword [0x1006940]
cmp eax, ebx
je 0x1003c33
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x1006940]
cmp eax, ebx
je 0x1003c33
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1006940], ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
mov edi, 0x1001204
push edi
push dword [0x1007408]
mov dword [0x1007410], 0x12c
mov dword [0x1007414], ebx
mov dword [0x1007404], ebx
call esi
push edi
push dword [0x100740c]
call esi
call fcn.01003882
test eax, eax
jne 0x1003ca1
push edi
push dword [0x1006d88]
mov dword [0x1006d90], 0x12c
mov dword [0x1006d94], ebx
mov dword [0x1006d84], ebx
call esi
push edi
push dword [0x1006d8c]
call esi
mov dword [ebp - 4], ebx
jmp 0x1003d4e
push dword [0x100694c]
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
call edi
push dword [0x1006950]
call edi
xor eax, eax
mov edi, 0x1006910
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [0x100694c]
mov dword [0x1006920], eax
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push 0x1003aa8
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [0x1006940], eax
jne 0x1003d14
push 0x10068f0
push dword [0x100690c]
call dword [sym.imp.KERNEL32.dll_SetCommState]
push dword [0x100690c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x100690c], ebx
mov dword [0x1007414], ebx
jmp 0x1003c99
push dword [0x1006d88]
mov eax, dword [0x1006d90]
push dword [0x1007408]
mov dword [0x1007410], eax
mov dword [0x1007414], 2
mov dword [0x1007404], 0x43
call esi
push dword [0x1006d88]
push dword [0x100740c]
call esi
pop edi
pop esi
mov eax, dword [ebp - 4]
pop ebx
leave
ret

Function at 0x10040b9
Capabilities:
Create pipe
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
or dword [0x1006b7c], 0xffffffff
push esi
push edi
xor esi, esi
push 0xc0000004
mov dword [0x1006b78], esi
mov dword [0x1006b74], esi
call fcn.01003d5c
mov edi, eax
cmp edi, esi
je 0x1004158
lea eax, [ebp - 0x10]
push eax
push 0x7530
push esi
push esi
push 1
push 6
push 3
push 0x1001210
mov dword [ebp - 0x10], 0xc
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push edi
mov dword [0x1006b7c], eax
call dword [sym.imp.msvcrt.dll_free]
cmp dword [0x1006b7c], 0xffffffff
pop ecx
jne 0x1004131
mov dword [0x1006b7c], esi
jmp 0x1004158
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x100402f
push esi
push esi
mov dword [0x1006004], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
mov dword [0x1006b78], eax
jne 0x100415c
call fcn.01003e6c
xor eax, eax
jmp 0x100415f
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x1004392
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor ebx, ebx
xor esi, esi
cmp dword [0x1006b80], ebx
push edi
je 0x10043bc
mov byte [0x100763a], bl
mov byte [0x1007639], bl
mov byte [0x1007638], bl
mov dword [0x1006b80], ebx
mov edi, dword [ebp + 8]
test edi, 0xe000
je 0x10043d0
xor esi, esi
inc esi
and edi, 0xff
push 3
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov byte [ebp + 8], al
call fcn.01004353
push ebx
add esi, 2
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_keybd_event]
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x1004569
Capabilities:
Set registry value

Disassembly:
push ecx
mov eax, dword [0x1006d84]
push ebp
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
or eax, 2
push 4
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
push 4
xor ebp, ebp
push ebp
push 0x1001344
push dword [0x1007628]
call esi
test eax, eax
jne 0x1004625
mov eax, dword [0x1006d88]
cmp eax, ebp
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, 0x1001340
jne 0x10045ba
push 2
push ebx
jmp 0x10045c8
push eax
call edi
lea eax, [eax + eax + 2]
push eax
push dword [0x1006d88]
push 1
push ebp
push 0x1001328
push dword [0x1007628]
call esi
cmp eax, ebp
jne 0x1004623
mov eax, dword [0x1006d8c]
cmp eax, ebp
jne 0x10045ea
push 2
push ebx
jmp 0x10045f8
push eax
call edi
lea eax, [eax + eax + 2]
push eax
push dword [0x1006d8c]
push 1
push ebp
push 0x100131c
push dword [0x1007628]
call esi
cmp eax, ebp
jne 0x1004623
push 4
push 0x1006d90
push 4
push ebp
push 0x1001310
push dword [0x1007628]
call esi
pop edi
pop ebx
pop esi
pop ebp
pop ecx
ret

Function at 0x1004629
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
lea eax, [ebp - 4]
push eax
push 0x1006d84
lea eax, [ebp - 8]
push eax
xor edi, edi
push edi
push 0x1001344
push dword [0x1007628]
mov dword [0x1006d84], edi
mov dword [ebp - 4], 4
call esi
mov eax, dword [0x1006d88]
or dword [0x1006d84], 2
cmp eax, edi
je 0x10046a3
lea ecx, [ebp - 4]
push ecx
push eax
lea eax, [ebp - 8]
push eax
push edi
push 0x1001328
push dword [0x1007628]
mov dword [ebp - 4], 0x208
call esi
test eax, eax
je 0x10046a3
push 0x1001204
push dword [0x1006d88]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [0x1006d8c]
cmp eax, edi
je 0x10046df
lea ecx, [ebp - 4]
push ecx
push eax
lea eax, [ebp - 8]
push eax
push edi
push 0x100131c
push dword [0x1007628]
mov dword [ebp - 4], 0x208
call esi
test eax, eax
je 0x10046df
push 0x1001204
push dword [0x1006d8c]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 4]
push eax
push 0x1006d90
lea eax, [ebp - 8]
push eax
push edi
push 0x1001310
push dword [0x1007628]
mov dword [ebp - 4], 4
call esi
test eax, eax
pop edi
pop esi
je 0x1004711
mov dword [0x1006d90], 0x12c
leave
ret