joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100328d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1019a06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x785b44
call esi
mov eax, 0x785b44
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x785b44
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x787630
call esi
mov eax, 0x787630
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x787630
call esi
push 0x100328b0
push 0x78adcc
push 0xe8
call fcn.100bfb10
push 0x100328b0
push 0x78ae15
push 0xe8
call fcn.100bfb10
push 0x100328b0
push 0x78ae5e
push 0xe8
call fcn.100bfb10
push 0x10031770
push 0x78b09a
push 0xe8
call fcn.100bfb10
push 0x10031980
push 0x78b0cf
push 0xe8
call fcn.100bfb10
push 0x10032460
push 0x787620
push 0xe8
call fcn.100bfb10
add esp, 0x48
push 0x10031b20
push 0x787628
push 0xe8
call fcn.100bfb10
push 0x10032860
push 0x787748
push 0xe8
call fcn.100bfb10
push 0x10032750
push 0x7864b3
push 0xe8
call fcn.100bfb10
push 0x10032750
push 0x78641e
push 0xe8
call fcn.100bfb10
push 0x10032750
push 0x7863a8
push 0xe8
call fcn.100bfb10
push 0x10032750
push 0x786347
push 0xe8
call fcn.100bfb10
add esp, 0x48
push 0x10032750
push 0x7862e2
push 0xe8
call fcn.100bfb10
push 0x10032750
push 0x78628e
push 0xe8
call fcn.100bfb10
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop esi
call fcn.100e34d0
mov esp, ebp
pop ebp
ret
Function at 0x10032ab0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], 0
lea edi, [edx - 0xf]
push 1
mov esi, ecx
movd xmm1, edi
push 1
sub esp, 0x20
mov ebx, 0x637c60
cvtdq2ps xmm1, xmm1
lea eax, [esi - 8]
mov dword [esp + 0x1c], 0x3e2bedf6
mov dword [esp + 0x18], 0x3f400000
mov dword [esp + 0x14], 0
movd xmm0, eax
mov dword [esp + 0x10], 0
cvtdq2ps xmm0, xmm0
mov dword [esp + 0xc], 0x41700000
mov dword [esp + 8], 0x42ac0000
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
push 0xf069
call ebx
add esp, 0x30
add esi, 0x42
cmp dword [0x1030ea7c], 0
mov eax, 0x790b10
push 0xb
push 0xb
push edi
push esi
jne 0x10032c39
call eax
add esp, 0x10
test al, al
je 0x10032c05
push 1
mov eax, 0x791070
call eax
add esp, 4
test eax, eax
je 0x10032c05
cmp byte [0x8793386], 0
je 0x10032c05
mov eax, 0x83c080
call eax
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x1c], 0x3dc84620
mov dword [esp + 0x18], 0x3ddf6fce
mov dword [esp + 0x14], 0x3ed38c54
mov dword [esp + 0x10], 0x3f19999a
mov dword [esp + 0xc], 0x41300000
mov dword [esp + 8], 0x41300000
movss dword [esp + 4], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0xf069
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0x30
call esi
mov ecx, dword [0x1030ea80]
add ecx, 0xc8
cmp eax, ecx
jb 0x10032d5f
mov dword [0x1030ea7c], 1
call esi
pop edi
pop esi
mov dword [0x1030ea80], eax
pop ebx
ret
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3dc84620
mov dword [esp + 0x18], 0x3ddf6fce
mov dword [esp + 0x14], 0x3ed38c54
mov dword [esp + 0x10], 0x3ef74bc6
jmp 0x10032d2c
call eax
add esp, 0x10
test al, al
je 0x10032cfd
push 1
mov eax, 0x791070
call eax
add esp, 4
test eax, eax
je 0x10032cfd
cmp byte [0x8793386], 0
je 0x10032cfd
mov eax, 0x83c080
call eax
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x1c], 0x3dc84620
mov dword [esp + 0x18], 0x3ddf6fce
mov dword [esp + 0x14], 0x3ed38c54
mov dword [esp + 0x10], 0x3e041892
mov dword [esp + 0xc], 0x41300000
mov dword [esp + 8], 0x41300000
movss dword [esp + 4], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0xf069
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0x30
call esi
mov ecx, dword [0x1030ea80]
add ecx, 0xc8
cmp eax, ecx
jb 0x10032d5f
mov dword [0x1030ea7c], 0
call esi
pop edi
pop esi
mov dword [0x1030ea80], eax
pop ebx
ret
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3dc84620
mov dword [esp + 0x18], 0x3ddf6fce
mov dword [esp + 0x14], 0x3ed38c54
mov dword [esp + 0x10], 0x3c54fdf3
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mov dword [esp + 0xc], 0x41300000
mov dword [esp + 8], 0x41300000
movss dword [esp + 4], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0xf069
call ebx
add esp, 0x30
pop edi
pop esi
pop ebx
ret
Function at 0x10039950
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1019a06c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x100398e0
push 0x7d2b3d
push 0xe8
call fcn.100bfb10
push 0x10039890
push 0x789099
push 0xe9
call fcn.100bfb10
push 0x10039840
push 0x7890e2
push 0xe9
call fcn.100bfb10
push 0x10039380
push 0x78b0cf
push 0xe8
call fcn.100bfb10
push 0x100391c0
push 0x78b09a
push 0xe8
call fcn.100bfb10
push 0x10039090
push 0x787620
push 0xe8
call fcn.100bfb10
add esp, 0x48
push method.std::codecvt_char__char__struct__Mbstatet_.virtual_12
push 0x787628
push 0xe8
call fcn.100bfb10
push 0x10039170
push 0x787748
push 0xe8
call fcn.100bfb10
push 0x7867b3
push 0x7867a5
push 0xe9
call fcn.100bfb10
add esp, 0x24
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x787c7d
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 0x787c7d
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x787c7d
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0x10039010
push 0x7864b3
push 0xe8
call fcn.100bfb10
push 0x10039010
push 0x78641e
push 0xe8
call fcn.100bfb10
push 0x10039010
push 0x7863a8
push 0xe8
call fcn.100bfb10
push 0x10039010
push 0x786347
push 0xe8
call fcn.100bfb10
push 0x10039010
push 0x7862e2
push 0xe8
call fcn.100bfb10
push method.std::codecvt_wchar_t__char__struct__Mbstatet_.virtual_12
push 0x78628e
push 0xe8
call fcn.100bfb10
mov ecx, dword [ebp - 4]
add esp, 0x48
xor ecx, ebp
call fcn.100e34d0
mov esp, ebp
pop ebp
ret
Function at 0x1003e480
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x4034]
test eax, eax
je 0x1003e4ac
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x4034]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x4034], 0
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x1003e4c2
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 4], 0xffffffff
mov eax, dword [esi + 8]
test eax, eax
je 0x1003e4d7
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [esi + 8], 0
mov byte [esi + 0x4038], 0
pop esi
ret

Function at 0x1003e4e0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2008
call fcn.100e48a0
mov eax, dword [0x1019a06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
push 0x101a049c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x1019c484]
cmp ebx, 0xffffffff
je 0x1003e611
cmp byte [0x101a04b8], 0
je 0x1003e611
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x2004]
push esi
push edi
push eax
call fcn.101313f0
mov ecx, dword [0x101a0490]
add esp, 0xc
test ecx, ecx
jle 0x1003e55a
lea eax, [ecx + esi]
cmp eax, 0x2000
jg 0x1003e5e7
push esi
lea eax, [ebp - 0x2004]
push eax
jmp 0x1003e5b2
xor edi, edi
test esi, esi
jle 0x1003e5c7
push 0
lea eax, [ebp - 0x2004]
add eax, edi
push esi
push eax
push ebx
mov dword [ebp - 0x2008], eax
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x1003e58e
sub esi, eax
add edi, eax
test esi, esi
jle 0x1003e5c7
mov ebx, dword [0x1019c484]
jmp 0x1003e560
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1003e5e7
mov ecx, dword [0x101a0490]
lea eax, [ecx + esi]
cmp eax, 0x2000
jg 0x1003e5e7
push esi
push dword [ebp - 0x2008]
lea eax, [ecx + 0x1019e490]
push eax
call fcn.101313f0
add esp, 0xc
add dword [0x101a0490], esi
push 0x101a049c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop edi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e34d0
mov esp, ebp
pop ebp
ret 8
mov ecx, 0x1019c480
call fcn.1003e480
push 0x101a049c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e34d0
mov esp, ebp
pop ebp
ret 8
push 0x101a049c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop ebx
call fcn.100e34d0
mov esp, ebp
pop ebp
ret 8
Function at 0x10044e50
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x101e5350]
cmp eax, 0x5dc
jb 0x10044eef
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [0x101e5355], 1
mov dword [0x101e5350], eax
jne 0x10044e8a
mov byte [0x101e5355], 0
mov esp, ebp
pop ebp
ret
mov eax, 0x1035013c
nop
mov dword [eax], 0xffffffff
add eax, 8
cmp eax, 0x1035028c
jl 0x10044e90
mov edx, 4
mov dword [0x1034f9fc], 0
lea ecx, [ebp - 4]
mov dword [0x1034f9f4], 0
mov dword [ebp - 4], 0xe8f304c1
call fcn.100bae10
cmp dword [0x10242038], 2
jne 0x10044ede
mov eax, dword [0x105733ec]
mov byte [eax + 0x29], 1
mov esp, ebp
pop ebp
ret
mov byte [0x101e5355], 1
mov dword [0x101d5a80], 1
mov esp, ebp
pop ebp
ret

Function at 0x10047480
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x101e5350]
cmp eax, 0x5dc
jb 0x1004752d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [0x101e5355], 1
mov dword [0x101e5350], eax
jne 0x100474bc
mov byte [0x101e5355], 0
mov esp, ebp
pop ebp
ret
mov ecx, 0x10350298
call fcn.10046e40
mov edx, 4
mov dword [0x103502a0], 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0xe7f304c1
call fcn.100bae10
mov edx, 5
mov dword [ebp - 8], 0xe6f305c1
lea ecx, [ebp - 8]
mov dword [0x10350298], 0
mov byte [ebp - 4], 0
call fcn.100bae10
cmp dword [0x10242038], 2
jne 0x1004751c
mov eax, dword [0x105733f8]
mov byte [eax + 0x29], 1
mov esp, ebp
pop ebp
ret
mov byte [0x101e5355], 1
mov dword [0x101d5a80], 3
mov esp, ebp
pop ebp
ret
Function at 0x100560d0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1019a06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 4
push eax
push 0xf003f
push 0
push str.SOFTWAREWebzenMuConfig
push connect
mov bl, cl
mov dword [ebp - 0x10], 0x400
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 4
movzx eax, bl
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push str.Resolution
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push str.SOFTWAREWebzenMuConfig
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push str.Resolution
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov dword [0xe8c240], eax
mov eax, dword [ebp - 8]
pop ebx
cmp eax, 7
ja case.0x10056188.5
jmp dword [eax*4 + 0x100562c8]
mov dword [0xe61e58], 0x280
mov eax, 1
mov dword [0xe61e5c], 0x1e0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e34d0
mov esp, ebp
pop ebp
ret
mov dword [0xe61e58], 0x320
mov eax, 1
mov dword [0xe61e5c], 0x258
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e34d0
mov esp, ebp
pop ebp
ret
mov dword [0xe61e58], 0x400
mov eax, 1
mov dword [0xe61e5c], 0x300
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e34d0
mov esp, ebp
pop ebp
ret
mov dword [0xe61e58], 0x500
mov eax, 1
mov dword [0xe61e5c], 0x400
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e34d0
mov esp, ebp
pop ebp
ret
mov dword [0xe61e58], 0x556
mov eax, 1
mov dword [0xe61e5c], 0x300
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e34d0
mov esp, ebp
pop ebp
ret
mov dword [0xe61e58], 0x690
mov eax, 1
mov dword [0xe61e5c], 0x41a
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e34d0
mov esp, ebp
pop ebp
ret
mov dword [0xe61e58], 0x780
mov eax, 1
mov dword [0xe61e5c], 0x438
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e34d0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
mov dword [0xe61e58], 0x5a0
xor ecx, ebp
mov dword [0xe61e5c], 0x384
call fcn.100e34d0
mov esp, ebp
pop ebp
ret
Function at 0x10060770
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1019a06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.._Settings.ini
push 0x64
push 0x10314b78
push str.Tahoma
push str.FontName
push str.FontConfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x100609c0
push 0x4060d0
push 0xe8
call fcn.100bfb10
push fcn.10060940
push 0x4d2882
push 0xe8
call fcn.100bfb10
push 0x100609c0
push 0x4d28eb
push 0xe8
call fcn.100bfb10
push 0x100609c0
push 0x4d2957
push 0xe8
call fcn.100bfb10
push fcn.10060940
push 0x4d29c1
push 0xe8
call fcn.100bfb10
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
add esp, 0x3c
push eax
push 0x40
push 1
push 0x4060d5
call esi
lea eax, [ebp - 8]
mov byte [0x4060d5], 0x90
push eax
push dword [ebp - 8]
push 1
push 0x4060d5
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x4d2887
call esi
lea eax, [ebp - 8]
mov byte [0x4d2887], 0x90
push eax
push dword [ebp - 8]
push 1
push 0x4d2887
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x4d28f0
call esi
lea eax, [ebp - 8]
mov byte [0x4d28f0], 0x90
push eax
push dword [ebp - 8]
push 1
push 0x4d28f0
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x4d295c
call esi
lea eax, [ebp - 8]
mov byte [0x4d295c], 0x90
push eax
push dword [ebp - 8]
push 1
push 0x4d295c
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x4d29c6
call esi
lea eax, [ebp - 8]
mov byte [0x4d29c6], 0x90
push eax
push dword [ebp - 8]
push 1
push 0x4d29c6
call esi
cmp dword [0x10573564], 1
pop esi
push 0x10314b78
push 0
push dword [0x10573570]
push 0
push 0
jne 0x100608ec
push 1
jmp 0x100608ee
push 0
push dword [0x10573574]
push dword [0x1057356c]
push dword [0x10573560]
push 0x2bc
push 0
push 0
push dword [0x10573568]
push dword [0x10573464]
call dword [sym.imp.GDI32.dll_CreateFontA]
mov ecx, 0x10573468
mov dword [0x10573558], eax
call fcn.10060940
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [0x1057355c], eax
call fcn.100e34d0
mov esp, ebp
pop ebp
ret
Function at 0x10062810
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov eax, 3
mov word [ebp - 4], 0xcffc
sub eax, ecx
mov byte [ebp - 2], 0xab
push edi
mov dword [ebp - 8], eax
mov edi, 1
mov ebx, 2
mov eax, 4
xor esi, esi
sub edi, ecx
sub ebx, ecx
sub eax, ecx
mov dword [ebp - 0xc], eax
mov eax, 0xaaaaaaab
mul esi
shr edx, 1
lea eax, [edx + edx*2]
mov edx, esi
sub edx, eax
movzx eax, byte [ebp + edx - 4]
lea edx, [edi + ecx]
xor byte [ecx], al
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
lea eax, [edx + edx*2]
mov edx, esi
sub edx, eax
movzx eax, byte [ebp + edx - 3]
lea edx, [ebx + ecx]
xor byte [ecx + 1], al
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
lea eax, [edx + edx*2]
mov edx, esi
sub edx, eax
movzx eax, byte [ebp + edx - 2]
xor byte [ecx + 2], al
mov eax, 0xaaaaaaab
mov edx, dword [ebp - 8]
lea edx, [edx + ecx]
mul edx
shr edx, 1
lea eax, [edx + edx*2]
mov edx, esi
sub edx, eax
movzx eax, byte [ebp + edx - 1]
xor byte [ecx + 3], al
mov eax, 0xaaaaaaab
mov edx, dword [ebp - 0xc]
lea edx, [edx + ecx]
mul edx
lea ecx, [ecx + 5]
shr edx, 1
lea eax, [edx + edx*2]
mov edx, esi
sub edx, eax
add esi, 5
movzx eax, byte [ebp + edx]
xor byte [ecx - 1], al
cmp esi, 0x6e
jl 0x10062847
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10068290
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1019a06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
mov edi, ecx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
push esi
push 0
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
push edi
call dword [sym.imp.USER32.dll_ToAsciiEx]
pop edi
pop esi
cmp eax, 1
jne 0x100682fc
mov ax, word [ebp - 0x108]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e34d0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.100e34d0
mov esp, ebp
pop ebp
ret
Function at 0x1006adc0
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [0x1030ebf0], 0
movaps xmm6, xmm3
movss xmm5, dword [0xe7c3d4]
movaps xmm7, xmm2
movss xmm3, dword [ebp + 8]
movss dword [ebp - 0x10], xmm6
movss dword [ebp - 0x14], xmm7
movss dword [ebp - 4], xmm1
jne 0x1006ae20
movd xmm0, dword [0xe61e5c]
movd xmm4, dword [0xe61e58]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm4, xmm4
mulss xmm0, dword [0x1018c908]
divss xmm4, xmm0
movaps xmm0, xmm3
divss xmm0, xmm5
mulss xmm4, xmm0
jmp 0x1006ae27
movaps xmm4, xmm3
divss xmm4, xmm5
mov edx, dword [0x879340c]
cvttss2si eax, xmm1
movsx ecx, ax
cmp edx, ecx
jl 0x1006af5f
movaps xmm0, xmm6
divss xmm0, xmm5
cvttss2si eax, xmm0
cwde
add eax, ecx
cmp edx, eax
jg 0x1006af5f
mov edx, dword [0x8793410]
cvttss2si eax, xmm7
movsx ecx, ax
cmp edx, ecx
jl 0x1006af5f
cvttss2si eax, xmm4
cwde
add eax, ecx
cmp edx, eax
jg 0x1006af5f
movaps xmm0, xmm3
divss xmm0, dword [ebp + 0x10]
push 1
movss dword [ebp - 8], xmm0
movaps xmm0, xmm6
divss xmm0, dword [ebp + 0xc]
movss dword [ebp - 0xc], xmm0
call dword [sym.imp.USER32.dll_GetKeyState]
movss xmm2, dword [ebp - 8]
mov ecx, 0x8000
movss xmm0, dword [ebp - 0xc]
push ecx
mov dword [esp], 0
push 1
push 0
sub esp, 0x20
test cx, ax
mov eax, 0x637c60
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x18], xmm0
je 0x1006aedf
cvtps2pd xmm1, xmm2
addsd xmm1, xmm1
cvtpd2ps xmm0, xmm1
movss dword [esp + 0x14], xmm0
jmp 0x1006aee5
movss dword [esp + 0x14], xmm2
movss xmm0, dword [ebp + 8]
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp - 0x10]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x14]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 4]
movss dword [esp], xmm0
push 0x799c
call eax
add esp, 0x30
mov eax, 0x791050
push 1
call eax
add esp, 4
test al, al
je 0x1006af59
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x1059826c]
add ecx, 0x96
cmp ecx, eax
ja 0x1006af59
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1059826c], eax
mov al, 2
mov esp, ebp
pop ebp
ret
mov al, 1
mov esp, ebp
pop ebp
ret
movaps xmm1, xmm3
movss xmm0, dword [ebp - 4]
divss xmm1, dword [ebp + 0x10]
mov eax, 0x637c60
push ecx
mov dword [esp], 0
push 1
push 0
sub esp, 0x20
movaps xmm2, xmm6
divss xmm2, dword [ebp + 0xc]
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x18], xmm2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm3
movss dword [esp + 8], xmm6
movss dword [esp + 4], xmm7
movss dword [esp], xmm0
push 0x799c
call eax
add esp, 0x30
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x1006afd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1019a06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 0
push eax
lea eax, [ebp - 0xc]
mov esi, edx
push eax
push 0
push 0xf003f
mov ebx, dword [esi + 0x10]
mov edi, ecx
push 0
push 0
push 0
push str.SOFTWAREWebzenMuConfig
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x1006b02d
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e34d0
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x14], 0x10
jb 0x1006b035
mov esi, dword [esi]
cmp dword [edi + 0x14], 0x10
jb 0x1006b03d
mov edi, dword [edi]
push ebx
push esi
push 1
push 0
push edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100e34d0
mov esp, ebp
pop ebp
ret
Function at 0x1006d290
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1019a06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREWebzenMuConfig
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1006d44f
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor esi, esi
mov dword [0x10598270], eax
nop dword [eax]
test esi, esi
je 0x1006d2fb
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x38]
push str.ID__d
push eax
call sym.Main.dll_sprintf
add esp, 0xc
jmp 0x1006d30c
lea eax, [ebp - 0x38]
push 0x1018a848
push eax
call sym.Main.dll_sprintf
add esp, 8
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0xb
push eax
mov eax, dword [0x10598270]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [ecx*4 + 0x10598274]
push eax
push 0
push 0
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x44]
call edi
test eax, eax
jne 0x1006d3fb
cmp dword [ebp - 0x3c], 1
jb 0x1006d3fb
test esi, esi
je 0x1006d367
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x38]
push str.PW__d
push eax
call sym.Main.dll_sprintf
add esp, 0xc
jmp 0x1006d378
lea eax, [ebp - 0x38]
push 0x1018a84c
push eax
call sym.Main.dll_sprintf
add esp, 8
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0xb
push eax
mov eax, dword [0x10598270]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [ecx*4 + 0x1059827f]
push eax
push 0
push 0
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x44]
call edi
test eax, eax
jne 0x1006d3cd
cmp dword [ebp - 0x3c], 1
jb 0x1006d3cd
mov eax, dword [0x10598270]
lea ecx, [eax*8]
sub ecx, eax
mov dword [ecx*4 + 0x1059828c], esi
inc dword [0x10598270]
jmp 0x1006d427
mov eax, dword [0x10598270]
xorps xmm0, xmm0
lea ecx, [eax*8]
sub ecx, eax
movq qword [ecx*4 + 0x1059827f], xmm0
mov word [ecx*4 + 0x10598287], 0
mov byte [ecx*4 + 0x10598289], 0
jmp 0x1006d427
mov eax, dword [0x10598270]
xorps xmm0, xmm0
lea ecx, [eax*8]
sub ecx, eax
movq qword [ecx*4 + 0x10598274], xmm0
mov word [ecx*4 + 0x1059827c], 0
mov byte [ecx*4 + 0x1059827e], 0
inc esi
cmp esi, 5
jl 0x1006d2e0
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 4
push eax
push 0x10598228
push 0
push 0
push str.SavePass
push dword [ebp - 0x44]
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [0x10598228], 1
pop esi
call fcn.100e34d0
mov esp, ebp
pop ebp
ret