joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100196d8
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword [0x10063018]
push ebx
xor ebx, ebx
push esi
inc ebx
push edi
mov edi, ecx
cmp eax, ebx
jne 0x10019700
mov eax, dword [0x10063020]
xor esi, esi
cmp dword [eax], esi
jne 0x10024b64
mov dword [edi], esi
mov eax, ebx
pop edi
pop esi
pop ebx
ret
cmp dword [0x100633b8], ebx
jne 0x1001974a
mov esi, dword [0x10062fc4]
test esi, esi
jne 0x10024b54
test eax, eax
jne 0x10024b45
cmp dword [0x10062fb4], 5
jb 0x10024b3b
mov eax, dword fs:[0x30]
mov ecx, 0x10063018
mov eax, dword [eax + 0xa0]
add eax, 0xc
mov dword [0x10063020], eax
mov eax, ebx
xchg dword [ecx], eax
jmp 0x100196e9
push ebx
jmp 0x10024b47
mov dword [0x10063018], 2
push 0x32
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
xor eax, eax
jmp 0x100196fc
push edi
mov ecx, esi
call dword [0x10064524]
call esi
jmp 0x100196fc
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
mov ecx, dword [0x10063020]
cmp dword [ecx], eax
jne 0x100196f8
mov esi, ebx
jmp 0x100196f8
Function at 0x1001aba0
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10062338]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea edx, [ebp - 0x20c]
mov eax, edx
push esi
mov esi, 0x104
sub ecx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
lea eax, [esi + 0x7ffffefa]
test eax, eax
je 0x1001abf6
movzx eax, word [ecx + edx]
test ax, ax
je 0x1001abf6
mov word [edx], ax
add edx, 2
sub esi, 1
jne 0x1001abd6
jmp 0x1001abfa
test esi, esi
jne 0x1001abfd
sub edx, 2
xor eax, eax
mov ecx, 0x104
mov word [edx], ax
lea eax, [ebp - 0x20c]
lea ecx, [ecx]
cmp word [eax], 0
je 0x1001ac1e
add eax, 2
sub ecx, 1
jne 0x1001ac10
mov edx, 0x104
mov esi, ecx
mov eax, edx
sub eax, ecx
neg esi
sbb esi, esi
and esi, eax
test ecx, ecx
je 0x1001ac78
lea eax, [ebp - 0x20c]
lea eax, [eax + esi*2]
push edi
sub edx, esi
je 0x1001ac6f
mov edi, 0x10008994
mov ecx, 0x7ffffffe
sub edi, eax
lea ecx, [ecx]
test ecx, ecx
je 0x1001ac6b
movzx esi, word [edi + eax]
test si, si
je 0x1001ac6b
mov word [eax], si
dec ecx
add eax, 2
sub edx, 1
jne 0x1001ac50
jmp 0x1001ac6f
test edx, edx
jne 0x1001ac72
sub eax, 2
xor ecx, ecx
mov word [eax], cx
pop edi
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x1f0003
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
mov esi, eax
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x214], esi
call fcn.1001d416
test al, al
jne 0x1001acc0
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 2
je 0x1001acfa
push ecx
mov ecx, dword [ebp + 4]
mov edx, 0xc9
call fcn.1002cf25
mov esi, eax
jmp 0x1001acfc
lea edx, [ebp - 0x210]
mov dword [ebp - 0x210], 0
mov ecx, esi
call fcn.1001ad20
mov esi, eax
test esi, esi
jns 0x1001acee
push esi
push ecx
mov ecx, dword [ebp + 4]
mov edx, 0xcf
call fcn.1002cf3a
jmp 0x1001acfc
mov eax, dword [ebp - 0x210]
cdq
mov dword [ebx], eax
mov dword [ebx + 4], edx
xor esi, esi
lea ecx, [ebp - 0x214]
call fcn.1001d16e
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001bb90
mov esp, ebp
pop ebp
ret 8

Function at 0x1001b3b0
Capabilities:
Set global application hook

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [0x10062fec], 0
jne 0x1001b43a
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
cmp byte [ebp + 0xc], 0
push 0
push dword [0x100629d8]
mov dword [0x10062fec], eax
je 0x1001b3f2
push sym.tiptsf.dll_RestrictedModeMsgWndProc
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x10062fdc], eax
mov eax, 1
pop ebp
ret 8
push 0x1001b460
push 0xa
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
push 0
push dword [0x100629d8]
mov dword [0x10062fe8], eax
push 0x10016960
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
push 0
push dword [0x100629d8]
mov dword [0x10062fe4], eax
push 0x10018040
push 4
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x10062fe0], eax
jmp 0x1001b3e9
xor eax, eax
jmp 0x1001b3ee
Function at 0x1001c180
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x1001c1be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x1001c1b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x1001c1c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x1001c1a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1001c290
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x1001c2c1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1001c2c1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x1001c2c1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x1001ed49
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x1001edf8
call fcn.10014ac0
mov ecx, dword [0x100629c4]
cmp ecx, 2
je 0x1001ed77
xor eax, eax
cmp ecx, 1
sete al
jmp 0x1001ee72
push 0x10063028
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_InitializeCriticalSection]
push ecx
push ecx
call fcn.1001ee76
call fcn.10015f30
sub esp, 0xc
call fcn.10015000
mov eax, dword [ebp + 8]
push 0x10008a18
mov dword [0x100629d8], eax
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push 0x10008d10
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push 0x10008c44
mov dword [0x100629d0], eax
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push 0x10008cd8
mov dword [0x100629d4], eax
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push 0x10008a54
mov dword [0x100629cc], eax
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [0x100629c8], eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsAlloc]
mov dword [0x10062340], eax
mov cl, 1
jmp 0x1001edff
cmp eax, 2
jne 0x1001ee06
xor cl, cl
call fcn.100147c0
jmp 0x1001ee6f
cmp eax, 3
jne 0x1001ee1e
call fcn.10014e70
xor cl, cl
call fcn.10015110
call fcn.10014ec0
jmp 0x1001ee6f
test eax, eax
jne 0x1001ee6f
mov ecx, dword [0x100629c4]
cmp ecx, 2
jne 0x1001ed6a
mov cl, 1
call fcn.10015110
call fcn.10014e70
call fcn.10014ec0
mov eax, dword [0x10062340]
cmp eax, 0xffffffff
je 0x1001ee5a
push eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsFree]
or dword [0x10062340], 0xffffffff
call fcn.1001eea1
push 0x10063028
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_DeleteCriticalSection]
call fcn.10015060
xor eax, eax
inc eax
pop ebp
ret 0xc
Function at 0x10025e24
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020f0d
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x10062338]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x174]
mov dword [ebx], 0x100053d0
mov dword [ebx + 4], 0x100053ac
mov dword [ebx + 8], 0x10005388
mov dword [ebx + 0xc], 0x10005370
mov dword [ebx + 0x10], 0x10005358
mov dword [ebx + 0x14], 0x10005344
mov dword [ebx + 0x18], 0x10005330
mov dword [ebx + 0x1c], 0x10005320
mov dword [ebx + 0x20], 0x10005308
mov dword [ebx + 0x24], 0x100052f0
mov dword [ebx + 0x28], 0x100052dc
mov dword [ebx + 0x2c], 0x100052cc
mov dword [ebx + 0x30], 0x100052bc
mov dword [ebx + 0x34], 0x100052a0
mov dword [ebx + 0x38], 0x10005290
mov dword [ebx + 0x3c], 0x10005270
mov dword [ebx + 0x40], 0x10005260
mov dword [ebx + 0x44], 0x10005250
mov dword [ebx + 0x48], 0x1000523c
mov dword [ebx + 0x4c], 0x10005218
mov dword [ebx + 0x50], 0xc0000001
test eax, eax
je 0x10025ef7
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [ebx + 0x174], 0
push 0
mov ecx, ebx
call fcn.10034492
mov edi, dword [0x100629c0]
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10064524]
mov ecx, edi
call esi
mov ecx, ebx
call fcn.1003232b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1002b91f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x100214c5
call fcn.1001c799
mov edx, dword [ebp + 0x10]
xor esi, esi
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x41c], edx
mov dword [ebp - 0x428], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x418], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x420], edi
test edi, edi
jne 0x1002b980
call fcn.100279f3
mov esi, eax
jmp 0x1002ba98
push esi
push ebx
push dword [ebp - 0x41c]
push edi
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FindResourceExW]
mov ebx, eax
test ebx, ebx
jne 0x1002b99f
call fcn.100279f3
jmp 0x1002ba8f
push ebx
push edi
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
mov dword [ebp - 0x424], eax
test eax, eax
je 0x1002b995
push ebx
push edi
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x41c], ebx
lea ecx, [ebx + 1]
cmp ecx, ebx
jae 0x1002b9eb
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1002b9e1
lea ecx, [ebp - 0x418]
call fcn.1002922c
mov esi, 0x8007000e
jmp 0x1002bab1
push 2
pop edx
mov byte [ebp - 4], 2
call fcn.10024f93
cmp eax, 0x400
jbe 0x1002ba12
push eax
lea ecx, [ebp - 0x418]
call fcn.1002777e
mov eax, dword [ebp - 0x418]
jmp 0x1002ba1e
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 1
jmp 0x1002ba48
test eax, eax
jne 0x1002ba53
mov esi, 0x8007000e
jmp 0x1002ba91
push ebx
push eax
push ebx
push dword [ebp - 0x424]
push esi
push 3
call dword [sym.imp.api_ms_win_core_string_l1_1_0.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x1002b995
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x430]
push dword [ebp - 0x418]
call fcn.1002b7c8
mov esi, eax
push edi
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1002bab1
lea ecx, [ebp - 0x418]
call fcn.1002922c
lea ecx, [ebp - 0x428]
call fcn.1002594e
mov eax, esi
call fcn.1001c6eb
ret 0x10
Function at 0x1002d2f9
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
push esi
push edi
test edx, edx
jne 0x1002d316
mov ecx, 0x80004005
call fcn.10027a94
xor eax, eax
mov edi, edx
mov dword [ebp - 4], eax
mov esi, eax
mov ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 8], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 4]
jne 0x1002d327
sub ecx, dword [ebp - 8]
sar ecx, 1
inc ecx
lea edi, [edi + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x1002d31f
push esi
push edx
push 7
xor eax, eax
push eax
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x1002d35d
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
push edi
test edx, edx
jne 0x1002d378
mov ecx, 0x80004005
call fcn.10027a94
mov ecx, edx
xor ebx, ebx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x1002d37f
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push ebx
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x1002f4d2
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor esi, esi
lea eax, [ebp - 8]
push eax
push 0x10062c48
push 1
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [0x10063188], esi
mov dword [0x10063184], esi
mov dword [0x10063180], esi
mov dword [0x1006317c], esi
call dword [sym.imp.api_ms_win_core_version_l1_1_0.dll_GetFileVersionInfoSizeExW]
mov ebx, eax
test ebx, ebx
jne 0x1002f51c
inc esi
jmp 0x1002f59f
push edi
push ebx
call fcn.1001b624
mov edi, eax
pop ecx
test edi, edi
jne 0x1002f531
mov esi, 0x8007000e
jmp 0x1002f59e
push ebx
push esi
push edi
call sub.msvcrt.dll_memset
add esp, 0xc
push edi
push ebx
push esi
push 0x10062c48
push 3
call dword [sym.imp.api_ms_win_core_version_l1_1_0.dll_GetFileVersionInfoExW]
test eax, eax
jne 0x1002f557
mov esi, 0x80004005
jmp 0x1002f597
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x1000874c
push edi
call dword [sym.imp.api_ms_win_core_version_l1_1_0.dll_VerQueryValueW]
test eax, eax
je 0x1002f597
mov ecx, dword [ebp - 4]
movzx eax, word [ecx + 0xa]
mov dword [0x10063188], eax
movzx eax, word [ecx + 8]
mov dword [0x10063184], eax
movzx eax, word [ecx + 0xe]
mov dword [0x10063180], eax
movzx ecx, word [ecx + 0xc]
mov dword [0x1006317c], ecx
push edi
call fcn.1001b64d
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0xc

Function at 0x1002fabd
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], ebx
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1002fb28
cmp dword [ebp - 4], 1
je 0x1002fafd
cmp dword [ebp - 4], 2
jne 0x1002fb18
mov ecx, dword [ebp - 8]
test esi, esi
je 0x1002fb22
test ecx, ecx
je 0x1002fb1d
test cl, 1
jne 0x1002fb18
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], bx
je 0x1002fb22
push 0xd
pop eax
jmp 0x1002fb28
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x10031660
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.100311bd
or al, 0xbd
int1
scasd eax, dword es:[edi]
lea eax, [ebp - 0x84]
push eax
call fcn.100311cd
push eax
push esi
push dword [ebp + 8]
call fcn.10031182
add esp, 0x10
mov dword [ebp - 0xc0], eax
push 0x40
push 0x1000
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x100319b6
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.1003112e
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x1003172d
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.1003112e
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
push es
jb 0x100316fa
call fcn.100311bd
sbb ebx, dword [ebp + esi*8 + 0x3c7e8ba1]
add edi, esi
mov dword [ebp - 0x88], edi
mov eax, dword [edi + 0x80]
cmp eax, ebx
je 0x100319ac
add eax, esi
mov dword [ebp - 0x44], eax
cmp dword [eax + 4], ebx
jne 0x10031762
cmp dword [eax + 0xc], ebx
je 0x10031805
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.100311bd
sbb dword [ebx], 0xffffff89
dec byte [ebx + 0xa087]
add byte [ebx], bh
ret
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10048d72
Capabilities:
Get keyboard layout
Log keystrokes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
xor eax, eax
mov ebx, ecx
push eax
mov dword [ebp - 0x1c], ebx
mov edi, 0x80004005
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, ebx
mov dword [ebp - 0x14], eax
xor ecx, ecx
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, cx
jne 0x10048d9a
sub esi, edx
sar esi, 1
mov dword [ebp - 0x18], esi
test esi, esi
jle 0x10048ef7
lea ebx, [esi + esi]
xor ecx, ecx
push 0x1c
pop edx
mov eax, ebx
mov dword [ebp - 0x20], ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1001b624
mov dword [ebp - 0x24], eax
pop ecx
test eax, eax
je 0x10048ef7
xor ecx, ecx
lea edi, [eax + 4]
mov edx, ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x14]
mov eax, esi
mov dword [ebp - 0xc], edx
mov ebx, esi
mov dword [ebp - 8], edi
test ecx, ecx
je 0x10048e65
neg eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
lea esi, [edi - 4]
push ecx
xor ecx, ecx
mov dword [esi], 1
push ecx
movzx eax, word [eax + edx*2]
push eax
mov word [edi], ax
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov word [edi + 2], ax
xor eax, eax
mov dword [edi + 4], eax
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov edx, dword [ebp - 0x10]
add eax, edx
add dword [ebp - 4], 2
mov dword [edi + 8], eax
xor eax, eax
mov dword [edi + 0xc], eax
add edi, 0x18
mov eax, dword [ebp - 0xc]
push 7
pop ecx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
or dword [edi + 0x20], 2
inc eax
inc edx
mov dword [ebp - 0xc], eax
add edi, 0x38
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], edi
mov edx, eax
cmp eax, ebx
jl 0x10048dfc
jmp 0x10048ed2
xor edx, edx
neg eax
mov ecx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x1c]
lea esi, [edi - 4]
push edx
mov dword [esi], 1
movzx eax, word [eax + ecx*2]
push eax
mov word [edi], ax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov word [edi + 2], ax
xor eax, eax
mov dword [edi + 4], eax
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov edx, dword [ebp - 0x10]
add eax, edx
add dword [ebp - 4], 2
mov dword [edi + 8], eax
xor eax, eax
mov dword [edi + 0xc], eax
add edi, 0x18
push 7
pop ecx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
push eax
or dword [edi + 0x20], 2
inc ecx
inc edx
mov dword [ebp - 0x14], ecx
add edi, 0x38
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], edi
pop edx
cmp ecx, ebx
jl 0x10048e71
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
push 0x1c
push esi
push ebx
call dword [sym.imp.USER32.dll_SendInput]
sub ebx, eax
neg ebx
push esi
sbb ebx, ebx
and ebx, 0x80004005
mov edi, ebx
call fcn.1001b64d
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1005cf5d
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x100636e0]
push esi
push edi
test eax, eax
jne 0x1005cf76
call fcn.1005d032
test eax, eax
je 0x1005cfc2
mov eax, dword [0x100636e0]
cmp eax, 1
jne 0x1005cf92
push 0xd
push 8
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
push eax
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
test eax, eax
je 0x1005cfc2
jmp 0x1005d008
push eax
call dword [sym.imp.api_ms_win_core_interlocked_l1_1_0.dll_InterlockedPopEntrySList]
mov ecx, eax
test ecx, ecx
je 0x1005cfab
xor eax, eax
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, ecx
jmp 0x1005d008
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x1005cfc6
xor eax, eax
jmp 0x1005d008
mov eax, dword [esi]
push dword [0x100636e0]
call dword [sym.imp.api_ms_win_core_interlocked_l1_1_0.dll_InterlockedPopEntrySList]
mov edi, eax
test edi, edi
je 0x1005cfec
push 0x8000
push 0
push esi
call dword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualFree]
mov eax, edi
jmp 0x1005d008
lea edi, [esi + 0xff0]
push esi
push dword [0x100636e0]
call dword [sym.imp.api_ms_win_core_interlocked_l1_1_0.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x1005cff2
mov eax, esi
pop edi
pop esi
ret
Function at 0x428fdb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x436064]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004224d2
and dword [ebp - 0x14], 0
cmp dword [0x43945c], 0
mov dword [ebp - 0x18], eax
jne 0x42908e
push 0x431a48
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x429136
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x431a3c
push ebx
call edi
test eax, eax
je 0x429136
mov esi, dword [sym.imp.KERNEL32.DLL_EncodePointer]
push eax
call esi
push 0x431a2c
push ebx
mov dword [0x43945c], eax
call edi
push eax
call esi
push 0x431a18
push ebx
mov dword [0x439460], eax
call edi
push eax
call esi
push 0x4319fc
push ebx
mov dword [0x439464], eax
call edi
push eax
call esi
mov dword [0x43946c], eax
test eax, eax
je 0x42908e
push 0x4319e4
push ebx
call edi
push eax
call esi
mov dword [0x439468], eax
mov eax, dword [0x439468]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.DLL_DecodePointer]
cmp eax, ecx
je 0x4290e7
cmp dword [0x43946c], ecx
je 0x4290e7
push eax
call esi
push dword [0x43946c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4290e7
test ebx, ebx
je 0x4290e7
call edi
test eax, eax
je 0x4290de
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4290de
test byte [ebp - 8], 1
jne 0x4290e7
or dword [ebp + 0x10], 0x200000
jmp 0x42911a
mov eax, dword [0x439460]
cmp eax, dword [ebp - 0x18]
je 0x42911a
push eax
call esi
test eax, eax
je 0x42911a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42911a
mov eax, dword [0x439464]
cmp eax, dword [ebp - 0x18]
je 0x42911a
push eax
call esi
test eax, eax
je 0x42911a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43945c]
call esi
test eax, eax
je 0x429136
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x429138
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041cec2
leave
ret