joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ff80
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x4d5f60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov esi, ecx
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov dword [esp + 0x34], 0
call fcn.004b7771
mov ecx, esi
mov byte [esp + 0x30], 0
call fcn.0044f5a0
test eax, eax
je 0x45019a
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + 0x11c8]
push ecx
push 0
push 0x180
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x34]
lea ebp, [esi + 0xbe8]
push eax
mov ecx, ebp
call fcn.00403130
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, ebp
call fcn.00402200
mov edx, dword [esp + 0x34]
lea ebx, [esi + 0x6d8]
push edx
mov ecx, ebx
call fcn.00403130
mov eax, dword [esp + 0x34]
mov ecx, ebx
push eax
call fcn.00402200
mov ecx, dword [esp + 0x34]
lea edi, [esi + 0x1c8]
push ecx
mov ecx, edi
call fcn.00403130
mov edx, dword [esp + 0x34]
mov ecx, edi
push edx
call fcn.00402200
push str.SoftwareMicrosoftWindowsCurrentVersion56718_EndCity_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [esi + 0x5c]
push str.SoftwareMicrosoftWindowsCurrentVersion56718_EndCity_
call fcn.004078d0
mov eax, dword [esi + 0x11c8]
push 0
push 0
push 0x18b
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, eax
mov eax, dword [0x5317dc]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
mov byte [esp + 0x2c], 2
mov dword [esp + 0x10], eax
mov byte [esp + 0x2c], 3
mov dword [esp + 0x14], eax
xor edi, edi
mov byte [esp + 0x2c], 4
test ecx, ecx
jle 0x45012a
lea ecx, [esp + 0x18]
push ecx
push edi
lea ecx, [esi + 0x11ac]
call fcn.004c19b4
push edi
lea edx, [esp + 0x18]
push 0x5054b4
push edx
call fcn.004b1390
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [eax - 8]
push eax
cmp ecx, 1
jle 0x4500de
lea eax, [esp + 0x14]
push 0x526e84
push eax
jmp 0x4500e8
lea ecx, [esp + 0x14]
push str.10_s
push ecx
call fcn.004b1390
add esp, 0xc
lea edx, [esp + 0x18]
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.004b7771
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 4
call fcn.0043eeb0
mov ecx, dword [esi + 0x5c]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersion56718_EndCity_
call fcn.00406510
mov eax, dword [esp + 0x1c]
inc edi
cmp edi, eax
jl 0x4500a1
mov ecx, ebp
call fcn.00403160
mov eax, dword [esp + 0x34]
mov ecx, ebp
push eax
call fcn.004b6fd4
mov ecx, ebx
call fcn.00403160
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, ebx
call fcn.004b6fd4
lea edi, [esi + 0x1c8]
mov ecx, edi
call fcn.00403160
mov edx, dword [esp + 0x34]
mov ecx, edi
push edx
call fcn.004b6fd4
mov ecx, esi
call fcn.0044f230
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 3
call fcn.004b79fc
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.004b79fc
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 0
call fcn.004b79fc
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004b79fc
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 4
Function at 0x455f20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d72ef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x30], 3
mov dword [edi + 0x6c], 0
mov eax, dword [0x5317dc]
mov dword [esp + 0x14], eax
mov byte [esp + 0x30], 4
mov dword [esp + 0x10], eax
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0x34], 5
call fcn.004b7771
mov ecx, dword [0x5317dc]
mov byte [esp + 0x30], 6
mov dword [esp + 0xc], ecx
lea edx, [esp + 0x40]
mov bl, 7
push edx
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], bl
call fcn.004b7b35
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0xc]
push eax
call fcn.004b104f
mov esi, eax
cmp esi, 0xffffffff
jne 0x455fe8
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push 0x51deb8
push edx
call fcn.004b1390
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add esp, 0xc
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.004b0d1d
test eax, eax
je 0x4560d3
jmp 0x4560d0
push esi
lea edx, [esp + 0x20]
push 0
push edx
lea ecx, [esp + 0x18]
call fcn.004b0ea3
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 8
call fcn.004b7b35
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call fcn.004b79fc
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push 0x51deb8
push ecx
call fcn.004b1390
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x18]
push edx
push eax
call fcn.004b0d1d
test eax, eax
je 0x456046
add dword [edi + 0x6c], eax
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x20]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0xc]
sub eax, esi
dec eax
push eax
push edx
call fcn.004b0f39
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 9
call fcn.004b7b35
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], bl
call fcn.004b79fc
lea eax, [esp + 0x14]
lea ecx, [esp + 0xc]
push eax
call fcn.004b7b35
mov ecx, dword [esp + 0x44]
push ecx
lea ecx, [esp + 0x10]
call fcn.004b104f
mov esi, eax
cmp esi, 0xffffffff
jne 0x455fe8
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push 0x51deb8
push eax
call fcn.004b1390
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
add esp, 0xc
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.004b0d1d
test eax, eax
je 0x4560d3
add dword [edi + 0x6c], eax
mov esi, dword [esp + 0x38]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.004b7771
mov ebx, 1
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 6
call fcn.004b79fc
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 5
call fcn.004b79fc
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 4
call fcn.004b79fc
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 3
call fcn.004b79fc
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 2
call fcn.004b79fc
lea ecx, [esp + 0x40]
mov byte [esp + 0x30], bl
call fcn.004b79fc
lea ecx, [esp + 0x44]
mov byte [esp + 0x30], 0
call fcn.004b79fc
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0x10
Function at 0x457d00
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push 0
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov esi, dword [esi + 0x7c]
test esi, esi
je 0x457d1f
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop esi
ret
Function at 0x459fa8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4d7d1a
call fcn.004a1664
sub esp, 0x18
cmp dword [0x534ad0], 0
push esi
jne 0x459fde
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
mov ecx, 0x534ac0
call fcn.0045a276
mov dword [eax], 0x13
jmp 0x45a03d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x45a012
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
mov ecx, 0x534ac0
call fcn.0045a276
mov dword [eax], 0x10
jmp 0x45a03d
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x45a044
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
mov ecx, 0x534ac0
call fcn.0045a276
mov dword [eax], 0xf
xor eax, eax
jmp 0x45a0ca
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
mov edi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0x2800
push eax
push edi
lea ecx, [ebp - 0x24]
call fcn.00468a1e
and dword [ebp - 4], 0
push 0x114
call fcn.004b3c5b
pop ecx
mov ecx, eax
mov dword [ebp + 8], ecx
test ecx, ecx
mov byte [ebp - 4], 1
pop edi
je 0x45a08d
call fcn.0046606a
mov esi, eax
jmp 0x45a08f
xor esi, esi
and byte [ebp - 4], 0
test esi, esi
je 0x45a0ba
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.00466515
test eax, eax
je 0x45a0ba
push esi
mov ecx, 0x534c98
call fcn.00461701
mov esi, eax
call fcn.00459df6
jmp 0x45a0bc
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00468a62
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x45e3c2
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi], ebx
jle 0x45e437
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor edi, edi
mov eax, dword [esi + 4]
add eax, edi
movzx ecx, word [eax + 2]
cmp ecx, dword [esp + 0x14]
jne 0x45e42f
mov al, byte [eax]
and al, 4
cmp al, 4
jne 0x45e3fb
push 0x10
call ebp
and ax, 0x8000
cmp ax, 0x8000
jne 0x45e42f
mov eax, dword [esi + 4]
mov al, byte [edi + eax]
and al, 8
cmp al, 8
jne 0x45e415
push 0x11
call ebp
and ax, 0x8000
cmp ax, 0x8000
jne 0x45e42f
mov eax, dword [esi + 4]
mov al, byte [edi + eax]
and al, 0x10
cmp al, 0x10
jne 0x45e440
push 0x12
call ebp
and ax, 0x8000
cmp ax, 0x8000
je 0x45e440
inc ebx
add edi, 6
cmp ebx, dword [esi]
jl 0x45e3d6
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov ecx, dword [esi + 4]
lea eax, [ebx + ebx*2]
push 6
lea eax, [ecx + eax*2]
push eax
push dword [esp + 0x20]
call fcn.004a1690
add esp, 0xc
push 1
pop eax
jmp 0x45e439
Function at 0x463973
Capabilities:
Check os version

Disassembly:
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x4639da
push 1
mov esi, 0x94
pop ebx
push esi
call fcn.004a09f6
mov edi, eax
pop ecx
test edi, edi
je 0x463a32
push esi
push 0
push edi
call fcn.004a1580
add esp, 0xc
mov dword [edi], esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [edi + 4]
cmp eax, 4
jne 0x4639bd
push 5
jmp 0x463a2a
cmp eax, 5
jne 0x463a2b
cmp dword [edi + 8], 0
jne 0x4639cc
push 6
jmp 0x463a2a
cmp eax, 5
jne 0x463a2b
cmp dword [edi + 8], ebx
jne 0x463a2b
push 7
jmp 0x463a2a
cmp al, 4
jae 0x4639e2
xor ebx, ebx
jmp 0x463a32
push 2
mov esi, 0x94
pop ebx
push esi
call fcn.004a09f6
mov edi, eax
pop ecx
test edi, edi
je 0x463a32
push esi
push 0
push edi
call fcn.004a1580
add esp, 0xc
mov dword [edi], esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [edi + 4]
cmp eax, 4
jne 0x463a2b
cmp dword [edi + 8], 0xa
jne 0x463a1e
push 3
jmp 0x463a2a
cmp eax, 4
jne 0x463a2b
cmp dword [edi + 8], 0x5a
jne 0x463a2b
push eax
pop ebx
push edi
call fcn.004a09ae
pop ecx
pop edi
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x46408d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x4640f8
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4640f8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
mov edi, eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0x52f43c
mov ebx, eax
push dword [ebp + 8]
call fcn.004a1d8c
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x4640f8
push esi
push 1
push ebx
push edi
call fcn.004a1c22
push esi
call fcn.004a1ba5
add esp, 0x14
push 1
pop eax
jmp 0x4640fa
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4640ff
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
lea eax, [ebp - 0x104]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x46412e
push dword [ebp + 0x10]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x208]
push eax
push 0
lea eax, [ebp - 0x104]
push 0x52f448
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x464194
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.004a1da0
pop ecx
lea eax, [ebp - 0x104]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [ebp + eax - 0x105], 0x5c
push dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push eax
je 0x46418d
push str._s_s
push dword [ebp + 8]
call fcn.004a0634
add esp, 0x10
jmp 0x4641a5
push 0x5052f0
jmp 0x464180
lea eax, [ebp - 0x208]
push eax
push dword [ebp + 8]
call fcn.004a1da0
pop ecx
pop ecx
cmp dword [ebp + 0x14], 0
je 0x4641c6
push 0x5054e4
push dword [ebp + 8]
call fcn.004a1db0
push dword [ebp + 0x14]
push dword [ebp + 8]
call fcn.004a1db0
add esp, 0x10
leave
ret
Function at 0x465334
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0
push dword [edi + 0xac]
lea esi, [edi + 0xac]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [sym.imp.USER32.dll_KillTimer]
push 0x3e8
push dword [esi]
call ebx
push 0x3f2
push dword [esi]
call ebx
and dword [edi + 0x11c], 0
pop edi
pop esi
pop ebx
ret

Function at 0x4657de
Capabilities:
Check os version

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x4657f6
cmp al, 5
sbb eax, eax
and eax, 2
add eax, 6
ret
push 8
pop eax
ret

Function at 0x468c72
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4d8655
call fcn.004a1664
sub esp, 0x24
mov al, byte [ebp + 0xb]
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x10], ebx
and byte [ebx + 0xc], 0
lea ecx, [ebx + 4]
mov byte [ecx], al
mov al, byte [ebp + 0xb]
mov byte [ecx + 1], al
call fcn.00467e76
mov al, byte [ebp + 0xb]
and byte [ebx + 0xac], 0
lea ecx, [ebx + 0xa4]
xor edi, edi
mov dword [ebp - 4], edi
mov byte [ecx], al
mov al, byte [ebp + 0xb]
mov byte [ecx + 1], al
call fcn.00469f7c
mov eax, dword [ebp + 8]
push 0x33
mov dword [ebx + 0xa0], eax
lea eax, [ebx + 0x6c]
push edi
push eax
mov byte [ebp - 4], 1
mov dword [ebx], 0x4e2814
call fcn.004a1580
push 0x33
lea eax, [ebx + 0x34]
push edi
push eax
call fcn.004a1580
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
add esp, 0x18
push 0xf
call esi
push 8
mov dword [ebx + 0x14], eax
call esi
push 0x1e
mov dword [ebx + 0x18], eax
push 0x3c
push edi
lea eax, [ebp - 0x30]
push edi
push eax
mov dword [ebx + 0x1c], 0xff
mov dword [ebx + 0x68], edi
call fcn.004624f8
mov esi, eax
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x20]
lea esi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0x14
and dword [ebx + 0x30], 0
movsd dword es:[edi], dword [esi]
lea eax, [ebx + 0x6c]
push 0x33
mov esi, 0x533b8c
push eax
lea edi, [ebx + 0x30]
push esi
push str.NAME
push 1
mov ecx, ebx
call fcn.00468d77
push 4
push edi
push esi
push str.AUTOPLACE
push 6
mov ecx, ebx
call fcn.00468d77
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x46f168
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
xor eax, eax
cmp dword [esi + 0x124], eax
jne 0x46f1c7
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
push ecx
push eax
push esi
push 0x46f1ca
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
movzx ecx, word [esi + 0x118]
mov dword [esi + 0x11c], eax
mov eax, dword [esi + 0xac]
or ecx, 0x10000
push eax
push ecx
push 0x111
push eax
mov dword [esi + 0x124], 1
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop esi
leave
ret
Function at 0x477c94
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
push ebx
push esi
push edi
lea eax, [ebp - 0x420]
mov esi, ecx
push 0x400
push eax
push dword [esi + 0xac]
call dword [sym.imp.USER32.dll_GetWindowTextA]
and byte [ebp - 0x21], 0
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0xac]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0x14]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [eax + 0x15c], 0
jne 0x477cfd
mov ebx, dword [ebp + 8]
push 1
push dword [eax + 0x14]
add eax, 0xf4
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
call fcn.004627a6
add esp, 0x14
jmp 0x477d16
mov ecx, esi
call fcn.0045d5d3
push dword [esi + 0xac]
mov ebx, dword [ebp + 8]
push ebx
push 0x1795
push eax
call edi
push 0
push 0
push 0x31
push dword [esi + 0xac]
call edi
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ebx
call edi
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x14]
push dword [eax + 0xf0]
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
push 1
push ebx
mov dword [ebp - 0x1c], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0xfffffffffffffff0
mov dword [ebp - 0x18], eax
push dword [esi + 0xac]
call dword [sym.imp.USER32.dll_GetWindowLongA]
and dword [ebp + 8], 0
push 2
mov edx, eax
pop ecx
and edx, ecx
mov dword [ebp - 0x20], eax
cmp dl, cl
jne 0x477d73
mov dword [ebp + 8], ecx
push 1
mov edx, eax
pop ecx
and edx, ecx
cmp dl, cl
jne 0x477d81
mov dword [ebp + 8], ecx
mov edx, eax
mov ecx, 0x200
and edx, ecx
cmp edx, ecx
jne 0x477d92
or dword [ebp + 8], 0x24
mov ecx, eax
and ecx, 0xc
cmp cl, 0xc
jne 0x477da2
or dword [ebp + 8], 0x20
jmp 0x477da6
or dword [ebp + 8], 0x10
mov ecx, eax
and cx, 0x80
cmp cl, 0x80
jne 0x477db6
or byte [ebp + 9], 8
and eax, 0xb
cmp al, 0xb
jne 0x477dc1
or dword [ebp + 8], 0x20
mov ecx, esi
call fcn.0045d87a
test eax, eax
je 0x477dd0
or byte [ebp + 0xa], 2
push dword [ebp - 4]
mov ecx, dword [ebp - 0x20]
mov eax, 0x2000
push dword [ebp - 8]
and ecx, eax
cmp ecx, eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push ebx
jne 0x477dfe
call dword [sym.imp.GDI32.dll_IntersectClipRect]
mov eax, dword [ebp + 8]
mov esi, dword [esi + 0x14]
or ax, 0x2010
push eax
jmp 0x477e0a
call dword [sym.imp.GDI32.dll_IntersectClipRect]
mov esi, dword [esi + 0x14]
push dword [ebp + 8]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x10]
add esi, 0x160
push eax
push esi
push ebx
call fcn.00464047
add esp, 0x18
push dword [ebp - 0x1c]
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [ebp - 0x14]
push ebx
call edi
push dword [ebp - 0x18]
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x47be8b
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, ecx
push edi
and dword [esi + 0xc], 0
lea edi, [esi + 0xc]
mov dword [esi + 4], ebx
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp dword [esi + 4], 0
mov dword [esi], eax
je 0x47bed7
cmp dword [esi + 8], 0
je 0x47bed7
push dword [esp + 0x14]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
je 0x47bed7
push edi
push 0x40
push dword [esp + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop edi
pop esi
pop ebx
ret 8

Function at 0x481ab6
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4d9330
call fcn.004a1664
sub esp, 0x11c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x14], esi
cmp dword [esi + 0xfc], ebx
jne 0x481ba8
mov edi, dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f89
push ebx
call edi
cmp eax, ebx
mov dword [esi + 0xfc], eax
jne 0x481ba8
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.0045d983
mov esi, 0x104
lea eax, [ebp - 0x128]
push esi
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004a1580
add esp, 0xc
lea eax, [ebp - 0x128]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x128]
push eax
call fcn.004a19d0
pop ecx
push eax
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x24]
call fcn.0045dd64
mov esi, str.winhlp32.exe
push esi
call fcn.004a19d0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.00485eea
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x481b6d
mov eax, 0x4e2720
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
cmp esi, ebx
je 0x481b93
push 0x6a
push esi
call edi
cmp eax, ebx
je 0x481b93
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xfc], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x24]
call fcn.0045d983
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x48ae1f
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x545a90]
push ebx
xor ebx, ebx
push edi
cmp eax, ebx
jne 0x48ae45
cmp dword [0x545a88], ebx
jne 0x48ae45
push dword [ebp + 0x14]
push dword [ebp + 0x10]
jmp 0x48b004
mov ecx, dword [ebp + 0x10]
cmp ecx, 0xfffffff2
jne 0x48af70
mov edi, dword [ebp + 8]
cmp dword [edi + 0x6a0], ebx
je 0x48ae63
xor eax, eax
jmp 0x48b018
lea eax, [ebp - 8]
push esi
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebp - 4]
mov esi, 0x545a68
push dword [ebp - 8]
push esi
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x48aec2
push dword [0x545a88]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_KillTimer]
or dword [0x5307c8], 0xffffffff
or dword [0x5307d0], 0xffffffff
or dword [0x5307cc], 0xffffffff
push ebx
push 1
mov dword [0x545a88], ebx
push dword [ebp + 0xc]
push edi
call fcn.004881f1
add esp, 0x10
jmp 0x48af68
cmp dword [0x5307c8], ebx
jne 0x48aedf
push dword [ebp - 4]
lea ebx, [edi + 8]
push dword [ebp - 8]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00489e82
jmp 0x48aef5
push dword [ebp - 4]
lea ebx, [edi + 0x354]
push dword [ebp - 8]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00489f0c
add esp, 0x14
cmp dword [0x5307d0], eax
mov dword [0x5307cc], eax
je 0x48af63
lea edi, [ebp - 0x18]
lea eax, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
push ebx
movsd dword es:[edi], dword [esi]
call fcn.00489f3e
mov esi, dword [ebp + 0xc]
pop ecx
pop ecx
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x24]
neg eax
push eax
mov eax, dword [ebp - 0x28]
neg eax
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push esi
call dword [sym.imp.USER32.dll_GetWindowDC]
mov edi, eax
lea eax, [ebp - 0x18]
push 0xffffffffffffffff
push eax
push edi
push esi
push ebx
call fcn.00489e55
add esp, 0x14
push edi
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0x5307cc]
mov dword [0x5307d0], eax
xor eax, eax
pop esi
jmp 0x48b018
cmp ecx, 0xfffd
jne 0x48af9d
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_KillTimer]
push ebx
push 0x37
push 0xfffe
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x545a90], eax
jmp 0x48ae5c
cmp ecx, 0xfffe
jne 0x48b000
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx eax, word [ebp - 4]
movzx ecx, word [ebp - 8]
shl eax, 0x10
or eax, ecx
push eax
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0048a44b
mov eax, dword [0x5307d4]
add esp, 0x10
cmp eax, 0xffffffff
je 0x48ae5c
push ebx
push eax
push dword [0x545a8c]
push dword [ebp + 0xc]
call fcn.00489cd7
add esp, 0x10
jmp 0x48ae5c
push dword [ebp + 0x14]
push ecx
mov eax, dword [ebp + 8]
push 0x113
push dword [ebp + 0xc]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_CallWindowProcA]
pop edi
pop ebx
leave
ret
Function at 0x49561a
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x4d9bf8
call fcn.004a1664
push ecx
push ebx
push esi
push edi
lea esi, [ebp + 8]
push dword [ebp + 0x1c]
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push dword [ebp + 0x18]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0046dd54
mov al, byte [ebp + 0x1f]
xor esi, esi
lea ecx, [ebx + 0x30]
push esi
mov dword [ebp - 4], esi
mov byte [ecx], al
call fcn.0045d983
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 0x50], esi
mov dword [ebx + 0x58], esi
mov dword [ebx + 0x4c], esi
mov dword [ebx + 0x48], esi
mov dword [ebx + 0x44], esi
pop edi
mov dword [ebx], 0x4e4cf0
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x18