joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5e9460
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x634828
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
push 0
lea ecx, [esp + 8]
call fcn.004ec5b0
mov ecx, dword [esp + 0x28]
lea eax, [esp + 4]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x24], 0
call fcn.005e97b0
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
push ecx
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x10]
push edx
push eax
push ecx
mov ecx, esi
call fcn.005e94f0
lea ecx, [esp + 4]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004ec7b0
mov ecx, dword [esp + 0x14]
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x18
Function at 0x5f4070
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x635291
push eax
mov eax, dword [esp + 0x28]
mov dword fs:[0], esp
mov edx, dword [esp + 0x20]
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x30]
push edi
or ecx, 0x400000
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0044f490
test al, al
je 0x5f4197
push 0x64
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x38], eax
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x18], ebx
je 0x5f40e8
push 8
mov ecx, eax
call fcn.00493ab0
mov edi, eax
jmp 0x5f40ea
xor edi, edi
or ebp, 0xffffffff
push 1
push edi
mov ecx, esi
mov dword [esp + 0x20], ebp
call fcn.00462420
push 0x64
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x38], eax
cmp eax, ebx
mov dword [esp + 0x18], 1
je 0x5f4120
push 8
mov ecx, eax
call fcn.00493ab0
mov ebx, eax
mov dword [esp + 0x18], ebp
mov ebp, dword [esi + 0x1ac]
push 0x44
mov dword [esi + 0x1a4], ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
mov dword [esp + 0x18], 2
je 0x5f415e
push 0
push ebp
push 0x20f0
push 1
push ebx
mov ecx, eax
call fcn.00491c00
jmp 0x5f4160
xor eax, eax
mov edx, dword [edi]
push eax
mov eax, dword [edi + 0x34]
mov ecx, edi
push eax
mov dword [esp + 0x20], 0xffffffff
call dword [edx + 0x10]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x31c]
mov ecx, dword [esi + 0x1a4]
mov dword [esi + 0x1a0], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x320]
mov al, 1
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x1c
Function at 0x5f525c
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x635528
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov edx, dword [esp + 0x4c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x54]
mov eax, dword [esi + 0x198]
test eax, eax
je 0x5f53dd
test cl, 2
je 0x5f53dd
test edx, edx
jl 0x5f53dd
push ebp
push edi
lea ecx, [esi + 0x270]
push edx
lea ebp, [eax + 2]
lea edx, [esp + 0x60]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
mov edx, dword [esi]
push 0
push 0
lea ecx, [esp + 0x14]
push 0
push ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x58], 0
push ecx
push eax
mov ecx, esi
call dword [edx + 0x168]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x48], 0xffffffff
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x5f52e3
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5f52e3
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
lea eax, [esp + 0x2c]
push 0xe
push eax
call fcn.0049c3a0
add esp, 8
mov esi, dword [esp + 0x50]
push eax
mov ecx, esi
mov dword [esp + 0x4c], 1
mov edx, dword [esi]
call dword [edx + 0x88]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0xffffffff
call fcn.0047d2b0
lea eax, [esp + 0x18]
push 0xd
push eax
call fcn.0049c3a0
add esp, 8
push 0x64
lea ecx, [esp + 0x1c]
push 1
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], 2
call fcn.00475e40
mov edx, dword [esi]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
mov byte [esp + 0x4c], 3
call dword [edx + 0x30]
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 2
call fcn.0047d2b0
lea ecx, [esp + 0x18]
push 0x64
push ecx
lea ecx, [esp + 0x18]
call fcn.004768f0
mov edx, dword [esi]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
mov byte [esp + 0x4c], 4
call dword [edx + 0x34]
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 2
call fcn.0047d2b0
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov eax, dword [edx + 0xc]
lea edi, [ecx + 4]
mov ecx, dword [edx + 4]
mov edx, dword [edx]
sub eax, 2
inc ecx
push eax
add edx, ebp
mov ebp, dword [esi]
push edi
push ecx
push edx
mov ecx, esi
call dword [ebp + 0xf0]
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], 0xffffffff
call fcn.0047d2b0
pop edi
pop ebp
pop esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret 0x10
mov eax, dword [esp + 0x48]
push ecx
push edx
mov edx, dword [esp + 0x54]
push edx
push eax
mov ecx, esi
call fcn.005d77a0
mov ecx, dword [esp + 0x38]
pop esi
mov dword fs:[0], ecx
add esp, 0x40
ret 0x10
Function at 0x608a60
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x637538
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
mov edi, dword [esp + 0x64]
lea ecx, [esp + 0x28]
lea esi, [edi + 0xc]
push esi
call fcn.00408f80
mov eax, dword [esi + 8]
mov cl, byte [esi + 0xc]
mov dl, byte [esi + 0xd]
mov dword [esp + 0x30], eax
mov al, byte [esi + 0xe]
mov byte [esp + 0x34], cl
mov cl, byte [esi + 0xf]
mov byte [esp + 0x35], dl
mov dl, byte [esi + 0x10]
mov ebx, vtable.wxColour.0
mov byte [esp + 0x36], al
mov byte [esp + 0x37], cl
mov byte [esp + 0x38], dl
mov dword [esp + 0x28], ebx
lea esi, [edi + 0x20]
lea ecx, [esp + 0x14]
push esi
mov dword [esp + 0x5c], 0
call fcn.004091c0
mov eax, dword [esi + 8]
mov cl, byte [esi + 0xc]
mov dl, byte [esi + 0xd]
mov dword [esp + 0x1c], eax
mov al, byte [esi + 0xe]
mov byte [esp + 0x20], cl
mov cl, byte [esi + 0xf]
mov byte [esp + 0x21], dl
mov dl, byte [esi + 0x10]
mov byte [esp + 0x22], al
mov byte [esp + 0x23], cl
mov byte [esp + 0x24], dl
mov dword [esp + 0x14], ebx
mov al, byte [esp + 0x68]
mov esi, dword [esp + 0x60]
mov bl, 1
mov ecx, esi
test al, al
mov eax, dword [esi]
mov byte [esp + 0x58], bl
je 0x608bcc
push 0x64
call dword [eax + 0x3c]
mov ecx, dword [edi + 4]
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x40]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [esp + 0x5c], 2
call dword [edx + 0x88]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], bl
call fcn.0047d2b0
mov ecx, dword [edi + 4]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x40]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [esp + 0x5c], 3
call dword [edx + 0x8c]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], bl
call fcn.0047d2b0
mov ecx, dword [edi + 4]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x40]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
push 0x64
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 4
call fcn.004768f0
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [esp + 0x5c], 5
call dword [edx + 0x38]
lea ecx, [esp + 0xc]
mov byte [esp + 0x58], 4
call fcn.0047d2b0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], bl
call fcn.0047d2b0
jmp 0x608c19
push 0x6a
call dword [eax + 0x3c]
mov edx, dword [esi]
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call dword [edx + 0x88]
mov edx, dword [esi]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call dword [edx + 0x8c]
lea ecx, [esp + 0x14]
push 0x64
push ecx
lea ecx, [esp + 0x14]
call fcn.004768f0
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [esp + 0x5c], 6
call dword [edx + 0x38]
lea ecx, [esp + 0xc]
mov byte [esp + 0x58], bl
call fcn.0047d2b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 0
call fcn.0047d2b0
lea ecx, [esp + 0x28]
mov dword [esp + 0x58], 0xffffffff
call fcn.0047d2b0
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret
Function at 0x60a9a0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x637793
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
lea ebp, [esi + 0x18]
push ebp
call fcn.0060dc10
push 0xc
mov dword [esp + 0x30], 0
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0xc], edi
test edi, edi
mov byte [esp + 0x2c], 1
je 0x60a9f4
mov ecx, edi
call fcn.004f5520
jmp 0x60a9f6
xor edi, edi
mov eax, dword [ebp]
mov dword [esi + 0x10], edi
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov eax, dword [eax - 8]
push ecx
push eax
push 0
push 0
mov ecx, esi
call fcn.0060aab0
mov edx, dword [esp + 0x18]
mov dword [esi + 0x14], 0
push edx
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x14], vtable.wxHtmlTagsCache.0
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], vtable.wxObject.0
call fcn.004e8d50
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x1004919
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x10054f8
call fcn.01004d44
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x1008470
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x100472e
cmp eax, esi
jne 0x1004721
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x1004731
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1004708
xor esi, esi
inc esi
mov eax, dword [0x100846c]
cmp eax, esi
jne 0x1004744
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x100477f
mov eax, dword [0x100846c]
test eax, eax
jne 0x1004779
mov dword [0x100846c], esi
push 0x1001178
push 0x100116c
call fcn.01004685
pop ecx
pop ecx
test eax, eax
je 0x100477f
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x1004849
mov dword [0x1008138], esi
mov eax, dword [0x100846c]
cmp eax, esi
jne 0x10047a3
push 0x1001168
push 0x1001160
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x100846c], 2
cmp dword [ebp - 0x1c], ebx
jne 0x10047b0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x100847c], ebx
je 0x10047d1
push 0x100847c
call fcn.01004cb9
pop ecx
test eax, eax
je 0x10047d1
push ebx
push 2
push ebx
call dword [0x100847c]
push dword [0x1008120]
push dword [0x1008124]
push dword [0x100811c]
call fcn.010028d9
add esp, 0xc
mov dword [0x1008134], eax
cmp dword [0x1008128], ebx
jne 0x100482f
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x1008138], ebx
jne 0x100483d
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1008134]
call fcn.01004d89
ret
call fcn.01004e91
jmp 0x10046e6

Function at 0x432001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x1da42644
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x5e8e035e
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x406e5a
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
push 0x40
push 0x1000
push dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x406e94
push 6
call fcn.004a32c5
add esp, 4
jmp 0x406e99
mov esp, ebp
pop ebp
ret 4
Function at 0x414c03
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x414c30
push 6
call fcn.004a32c5
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
mov eax, 0
sete al
jmp 0x414c44
mov esp, ebp
pop ebp
ret 4

Function at 0x419475
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], esp
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x4194a5
push 6
call fcn.004a32c5
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
mov eax, 0
setne al
jmp 0x4194b9
mov esp, ebp
pop ebp
ret 4

Function at 0x4194bf
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 0xc], 0
jne 0x4194da
call fcn.0041954a
mov dword [ebp + 8], eax
mov dword [ebp - 4], esp
push dword [ebp + 8]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x419506
push 6
call fcn.004a32c5
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x419530
push 6
call fcn.004a32c5
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
mov eax, 0
sete al
jmp 0x419544
mov esp, ebp
pop ebp
ret 8
Function at 0x41daee
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.004a5060
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41db33
push ebx
call fcn.004a32bf
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x100
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x41db61
push 6
call fcn.004a32c5
add esp, 4
mov eax, dword [ebp - 4]
test eax, eax
je 0x41db7d
push eax
mov ebx, eax
call fcn.004018e0
inc eax
push eax
call fcn.004a32b9
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x41db82
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41db93
push ebx
call fcn.004a32bf
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x47e574
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.004a4610
add esp, 0x1c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0x40
push dword [ebp - 8]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x47e5de
push 6
call fcn.004a32c5
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x47e651
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.004a4610
add esp, 0x1c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0x40
push dword [ebp - 8]
push dword [ebp + 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x47e647
push 6
call fcn.004a32c5
add esp, 4
jmp 0x47e659
mov eax, dword [ebp - 4]
jmp 0x47e659
mov esp, ebp
pop ebp
ret 8
Function at 0x482949
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x482984
push 6
call fcn.004a32c5
add esp, 4
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.004a44b0
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4829e7
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.004a4610
add esp, 0x1c
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x482a0b
push 6
call fcn.004a32c5
add esp, 4
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.004a44b0
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x482a6e
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.004a4610
add esp, 0x1c
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x482a92
push 6
call fcn.004a32c5
add esp, 4
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.004a44b0
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x482af5
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.004a4610
add esp, 0x1c
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x482afd
mov esp, ebp
pop ebp
ret
Function at 0x486db9
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x486dff
push 6
call fcn.004a32c5
add esp, 4
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x503e22]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.0040148c
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x184
call fcn.004a5060
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x486e52
push ebx
call fcn.004a32bf
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x486e8b
push 6
call fcn.004a32c5
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x486ea7
push eax
mov ebx, eax
call fcn.004018e0
inc eax
push eax
call fcn.004a32b9
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x486eac
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x486ebd
push ebx
call fcn.004a32bf
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4

Function at 0x4a3990
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x114
mov eax, dword [esp + 0x11c]
push ebp
push esi
push edi
push eax
call fcn.004aa420
mov esi, dword [esp + 0x138]
mov ebp, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 4
xor edx, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x10], edx
test ebp, ebp
je 0x4a3a7e
test ecx, ecx
je 0x4a3a7e
inc ecx
push ebx
push ecx
call fcn.004da206
mov ebx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5c
mov edx, ecx
mov esi, edi
mov edi, ebx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004c9a90
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4a3a12
mov byte [esi], 0
inc esi
lea eax, [esp + 0x10]
push eax
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4a3a66
lea ecx, [esp + 0x18]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push edx
push eax
push 0
push esi
push ecx
mov dword [esp + 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4a3a53
cmp eax, 0xea
jne 0x4a3a5b
mov dword [esp + 0x14], 1
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.004da22f
mov eax, dword [esp + 0x18]
add esp, 4
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x114
ret
pop edi
pop esi
mov eax, edx
pop ebp
add esp, 0x114
ret
Function at 0x4a3fe0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x4a3ffe
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x4a3ff3
pop esi
ret

Function at 0x4a4630
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 0x28]
sub esp, 0x18
push ebx
push ebp
xor ebx, ebx
xor ebp, ebp
cmp eax, 0x80000301
push edi
ja 0x4a46b0
je 0x4a46a1
cmp eax, 0x80000101
ja 0x4a469a
je 0x4a46a1
cmp eax, reloc.WSOCK32.dll_connect
je 0x4a467d
cmp eax, 0x80000005
jne 0x4a46c5
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], 3
test eax, eax
je 0x4a470b
mov ebx, dword [eax + 4]
lea ebp, [eax + 8]
jmp 0x4a470b
mov ebp, dword [esp + 0x44]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0xc], 1
mov ebx, ecx
inc ebx
jmp 0x4a470b
cmp eax, 0x80000201
jne 0x4a46c5
mov ebx, 4
lea ebp, [esp + 0x44]
mov dword [esp + 0xc], ebx
jmp 0x4a470b
cmp eax, 0x80000401
je 0x4a46f6
cmp eax, 0x80000501
je 0x4a46e2
cmp eax, 0x80000601
je 0x4a46ce
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
fld qword [esp + 0x44]
mov ebx, 4
mov dword [esp + 0xc], ebx
call fcn.004c9b50
jmp 0x4a4703
fld dword [esp + 0x44]
mov ebx, 4
mov dword [esp + 0xc], ebx
call fcn.004c9b50
jmp 0x4a4703
mov eax, dword [esp + 0x44]
mov ebx, 4
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
lea ebp, [esp + 0x10]
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004aa420
mov edi, dword [esp + 0x3c]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov dword [esp + 0x20], edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x18], 0
test edx, edx
je 0x4a47e6
test ecx, ecx
je 0x4a47e6
inc ecx
push esi
push ecx
call fcn.004da206
mov edi, dword [esp + 0x40]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5c
mov eax, ecx
mov esi, edi
mov edi, edx
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x2c], edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004c9a90
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4a4788
mov byte [esi], 0
inc esi
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x18]
push 0
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4a47dc
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push ebx
push ebp
push eax
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4a47d1
mov dword [esp + 0x1c], 1
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.004da22f
add esp, 4
pop esi
mov eax, dword [esp + 0x18]
pop edi
pop ebp
pop ebx
add esp, 0x18
ret