joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ded0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x20c
push ebp
push esi
push edi
mov esi, ecx
call fcn.0040d930
mov edi, dword [esp + 0x21c]
test edi, edi
je 0x40dfdb
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
call ebp
test eax, eax
je 0x40dfdb
lea eax, [esp + 0x10]
push 0
push eax
push 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x40dfdb
push ebx
mov bl, byte [esp + 0x228]
test bl, bl
je 0x40df39
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40df39
xor bl, bl
xor edx, edx
lea eax, [esp + 0x14]
test bl, bl
setne dl
push edx
push eax
call fcn.0044dcc0
test eax, eax
mov dword [esi + 4], eax
pop ebx
je 0x40dfc5
mov edi, dword [esp + 0x220]
test edi, edi
jne 0x40dfa8
push edi
lea ecx, [esp + 0x118]
push edi
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.0045b295
push edi
lea ecx, [esp + 0x12c]
push edi
lea edx, [esp + 0x28]
push ecx
lea eax, [esi + 8]
push edx
push eax
call fcn.0045b204
mov ecx, dword [esi + 4]
add esp, 0x28
xor eax, eax
test ecx, ecx
pop edi
pop esi
setne al
pop ebp
add esp, 0x20c
ret 0xc
push edi
call ebp
test eax, eax
je 0x40dfc5
push 0
push 0x4971a0
push edi
lea ecx, [esi + 8]
push 0
push ecx
call fcn.0045b204
add esp, 0x14
mov ecx, dword [esi + 4]
xor eax, eax
test ecx, ecx
pop edi
pop esi
setne al
pop ebp
add esp, 0x20c
ret 0xc
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x20c
ret 0xc
Function at 0x40eaad
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x478f4a
call fcn.0045b744
sub esp, 0x18
cmp dword [0x49a558], 0
push esi
jne 0x40eae3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
mov ecx, 0x49a548
call fcn.0040ed5b
mov dword [eax], 0x13
jmp 0x40eb42
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 0x40eb17
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
mov ecx, 0x49a548
call fcn.0040ed5b
mov dword [eax], 0x10
jmp 0x40eb42
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40eb49
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
mov ecx, 0x49a548
call fcn.0040ed5b
mov dword [eax], 0xf
xor eax, eax
jmp 0x40ebcf
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.0041e238
and dword [ebp - 4], 0
push 0x11c
call fcn.0046b7bf
pop ecx
mov ecx, eax
mov dword [ebp + 8], ecx
test ecx, ecx
mov byte [ebp - 4], 1
pop edi
je 0x40eb92
call fcn.0041ba0b
mov esi, eax
jmp 0x40eb94
xor esi, esi
and byte [ebp - 4], 0
test esi, esi
je 0x40ebbf
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.0041bee0
test eax, eax
je 0x40ebbf
push esi
mov ecx, 0x49a720
call fcn.004163ed
mov esi, eax
call fcn.0040e93c
jmp 0x40ebc1
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0041e27c
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x412f4f
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 0x412fc4
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 0x412fbc
mov al, byte [eax]
and al, 4
cmp al, 4
jne 0x412f88
push 0x10
call ebp
and ax, 0x8000
cmp ax, 0x8000
jne 0x412fbc
mov eax, dword [esi + 4]
mov al, byte [edi + eax]
and al, 8
cmp al, 8
jne 0x412fa2
push 0x11
call ebp
and ax, 0x8000
cmp ax, 0x8000
jne 0x412fbc
mov eax, dword [esi + 4]
mov al, byte [edi + eax]
and al, 0x10
cmp al, 0x10
jne 0x412fcd
push 0x12
call ebp
and ax, 0x8000
cmp ax, 0x8000
je 0x412fcd
inc ebx
add edi, 6
cmp ebx, dword [esi]
jl 0x412f63
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.0045b870
add esp, 0xc
push 1
pop eax
jmp 0x412fc6
Function at 0x4189ef
Capabilities:
Check os version

Disassembly:
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x418a56
push 1
mov esi, 0x94
pop ebx
push esi
call fcn.0045ac39
mov edi, eax
pop ecx
test edi, edi
je 0x418aae
push esi
push 0
push edi
call fcn.0045b660
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 0x418a39
push 5
jmp 0x418aa6
cmp eax, 5
jne 0x418aa7
cmp dword [edi + 8], 0
jne 0x418a48
push 6
jmp 0x418aa6
cmp eax, 5
jne 0x418aa7
cmp dword [edi + 8], ebx
jne 0x418aa7
push 7
jmp 0x418aa6
cmp al, 4
jae 0x418a5e
xor ebx, ebx
jmp 0x418aae
push 2
mov esi, 0x94
pop ebx
push esi
call fcn.0045ac39
mov edi, eax
pop ecx
test edi, edi
je 0x418aae
push esi
push 0
push edi
call fcn.0045b660
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 0x418aa7
cmp dword [edi + 8], 0xa
jne 0x418a9a
push 3
jmp 0x418aa6
cmp eax, 4
jne 0x418aa7
cmp dword [edi + 8], 0x5a
jne 0x418aa7
push eax
pop ebx
push edi
call fcn.0045abf1
pop ecx
pop edi
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x419109
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 0x419174
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x419174
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 0x491068
mov ebx, eax
push dword [ebp + 8]
call fcn.0045a0ea
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x419174
push esi
push 1
push ebx
push edi
call fcn.0045c0c5
push esi
call fcn.00459faf
add esp, 0x14
push 1
pop eax
jmp 0x419176
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x41917b
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 0x4191aa
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 0x491074
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x419210
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0045c200
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 0x419209
push str._s_s
push dword [ebp + 8]
call fcn.0045a0fd
add esp, 0x10
jmp 0x419221
push 0x48f800
jmp 0x4191fc
lea eax, [ebp - 0x208]
push eax
push dword [ebp + 8]
call fcn.0045c200
pop ecx
pop ecx
cmp dword [ebp + 0x14], 0
je 0x419242
push 0x48f60c
push dword [ebp + 8]
call fcn.0045c210
push dword [ebp + 0x14]
push dword [ebp + 8]
call fcn.0045c210
add esp, 0x10
leave
ret
Function at 0x41aac7
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 0x41af71
Capabilities:
Check os version

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

Function at 0x41e48c
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4798ed
call fcn.0045b744
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.0041d6c0
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.0041f7d9
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], 0x47d328
call fcn.0045b660
push 0x33
lea eax, [ebx + 0x34]
push edi
push eax
call fcn.0045b660
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.0041726d
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, 0x4971a0
push eax
lea edi, [ebx + 0x30]
push esi
push str.NAME
push 1
mov ecx, ebx
call fcn.0041e591
push 4
push edi
push esi
push str.AUTOPLACE
push 6
mov ecx, ebx
call fcn.0041e591
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x424c7d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
xor eax, eax
cmp dword [esi + 0x128], eax
jne 0x424cdc
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
push ecx
push eax
push esi
push 0x424cdf
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
movzx ecx, word [esi + 0x11c]
mov dword [esi + 0x120], eax
mov eax, dword [esi + 0xac]
or ecx, 0x10000
push eax
push ecx
push 0x111
push eax
mov dword [esi + 0x128], 1
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop esi
leave
ret
Function at 0x42de0b
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 0x42de74
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.0041756d
add esp, 0x14
jmp 0x42de8d
mov ecx, esi
call fcn.00412157
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 0x42deea
mov dword [ebp + 8], ecx
push 1
mov edx, eax
pop ecx
and edx, ecx
cmp dl, cl
jne 0x42def8
mov dword [ebp + 8], ecx
mov edx, eax
mov ecx, 0x200
and edx, ecx
cmp edx, ecx
jne 0x42df09
or dword [ebp + 8], 0x24
mov ecx, eax
and ecx, 0xc
cmp cl, 0xc
jne 0x42df19
or dword [ebp + 8], 0x20
jmp 0x42df1d
or dword [ebp + 8], 0x10
mov ecx, eax
and cx, 0x80
cmp cl, 0x80
jne 0x42df2d
or byte [ebp + 9], 8
and eax, 0xb
cmp al, 0xb
jne 0x42df38
or dword [ebp + 8], 0x20
mov ecx, esi
call fcn.004123fe
test eax, eax
je 0x42df47
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 0x42df7c
call dword [sym.imp.GDI32.dll_IntersectClipRect]
mov eax, dword [ebp + 8]
mov esi, dword [esi + 0x14]
or ax, 0x2010
push eax
lea eax, [ebp - 0x420]
push eax
jmp 0x42df9f
call dword [sym.imp.GDI32.dll_IntersectClipRect]
push dword [esi + 0xac]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
push dword [ebp + 8]
mov esi, dword [esi + 0x14]
test eax, eax
lea eax, [ebp - 0x420]
push eax
je 0x42dfb9
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x10]
push eax
add esi, 0x160
jmp 0x42dfd1
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x10]
push eax
add esi, 0x170
push esi
push ebx
call fcn.004190c3
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 0x431fc0
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, 0x47a086
call fcn.0045b744
push ecx
cmp dword [0x4ab4d4], 0
jne 0x432157
push ebx
push esi
push edi
call fcn.00431efe
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, str.LoadLibraryA
push edi
push eax
mov dword [0x4ab504], eax
call esi
mov ebx, str.LoadLibraryW
mov dword [0x4ab4d4], eax
push ebx
push dword [0x4ab504]
call esi
push str.LoadLibraryExA
mov dword [0x4ab4d8], eax
push dword [0x4ab504]
call esi
push str.LoadLibraryExW
mov dword [0x4ab4dc], eax
push dword [0x4ab504]
call esi
push str.GetProcAddress
mov dword [0x4ab4e0], eax
push dword [0x4ab504]
call esi
push 0x18
mov dword [0x4ab4e4], eax
call fcn.0046b7bf
pop ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
mov esi, str.Kernel32.dll
test eax, eax
je 0x432077
push 0
push 0x4324a4
push edi
push esi
mov ecx, eax
call fcn.0043222f
jmp 0x432079
xor eax, eax
or dword [ebp - 4], 0xffffffff
push 0x18
mov dword [0x4ab4e8], eax
call fcn.0046b7bf
pop ecx
mov dword [ebp - 0x10], eax
xor edi, edi
mov dword [ebp - 4], 1
cmp eax, edi
je 0x4320ab
push edi
push 0x4324bf
push ebx
push esi
mov ecx, eax
call fcn.0043222f
jmp 0x4320ad
xor eax, eax
or dword [ebp - 4], 0xffffffff
push 0x18
mov dword [0x4ab4ec], eax
call fcn.0046b7bf
pop ecx
mov dword [ebp - 0x10], eax
cmp eax, edi
mov dword [ebp - 4], 2
je 0x4320e1
push edi
push 0x4324da
push str.LoadLibraryExA
push esi
mov ecx, eax
call fcn.0043222f
jmp 0x4320e3
xor eax, eax
or dword [ebp - 4], 0xffffffff
push 0x18
mov dword [0x4ab4f0], eax
call fcn.0046b7bf
pop ecx
mov dword [ebp - 0x10], eax
cmp eax, edi
mov dword [ebp - 4], 3
je 0x432117
push edi
push 0x4324ff
push str.LoadLibraryExW
push esi
mov ecx, eax
call fcn.0043222f
jmp 0x432119
xor eax, eax
or dword [ebp - 4], 0xffffffff
push 0x18
mov dword [0x4ab4f4], eax
call fcn.0046b7bf
pop ecx
mov dword [ebp - 0x10], eax
cmp eax, edi
mov dword [ebp - 4], 4
je 0x43214d
push edi
push 0x432524
push str.GetProcAddress
push esi
mov ecx, eax
call fcn.0043222f
jmp 0x43214f
xor eax, eax
pop edi
pop esi
mov dword [0x4ab4f8], eax
pop ebx
mov ecx, dword [ebp - 0xc]
push 1
pop eax
mov dword fs:[0], ecx
leave
ret
Function at 0x43222f
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0x4ab4fc], 0
push esi
mov esi, ecx
jne 0x432253
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x18]
mov dword [0x4ab4fc], eax
mov eax, dword [0x4ab500]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [0x4ab500], esi
mov dword [esi + 0x10], edx
mov edx, dword [ebp + 0x14]
push ecx
push eax
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0x14], edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.004322f0
mov dword [esi + 0xc], eax
cmp eax, dword [0x4ab4fc]
jbe 0x43229c
cmp byte [eax], 0x68
jne 0x43229c
mov eax, dword [eax + 1]
mov dword [esi + 0xc], eax
push dword [esi + 0x14]
push dword [esi + 0x10]
push dword [esi + 0xc]
push dword [esi + 4]
call fcn.00432301
mov eax, esi
pop esi
leave
ret 0x10

Function at 0x43283d
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 0x432889
cmp dword [esi + 8], 0
je 0x432889
push dword [esp + 0x14]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
je 0x432889
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 0x438470
Capabilities:
Get common file path

Disassembly:
mov eax, 0x47a620
call fcn.0045b744
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 0x438562
mov edi, dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f89
push ebx
call edi
cmp eax, ebx
mov dword [esi + 0xfc], eax
jne 0x438562
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.00412527
mov esi, 0x104
lea eax, [ebp - 0x128]
push esi
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0045b660
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.0045bbb0
pop ecx
push eax
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x24]
call fcn.00412908
mov esi, str.winhlp32.exe
push esi
call fcn.0045bbb0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.0043c8c4
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x438527
mov eax, 0x47d22c
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
cmp esi, ebx
je 0x43854d
push 0x6a
push esi
call edi
cmp eax, ebx
je 0x43854d
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.00412527
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4414fc
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4ab5d0]
push ebx
xor ebx, ebx
push edi
cmp eax, ebx
jne 0x441522
cmp dword [0x4ab5c8], ebx
jne 0x441522
push dword [ebp + 0x14]
push dword [ebp + 0x10]
jmp 0x4416e1
mov ecx, dword [ebp + 0x10]
cmp ecx, 0xfffffff2
jne 0x44164d
mov edi, dword [ebp + 8]
cmp dword [edi + 0x6a0], ebx
je 0x441540
xor eax, eax
jmp 0x4416f5
lea eax, [ebp - 8]
push esi
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebp - 4]
mov esi, 0x4ab5a8
push dword [ebp - 8]
push esi
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x44159f
push dword [0x4ab5c8]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_KillTimer]
or dword [0x492820], 0xffffffff
or dword [0x492828], 0xffffffff
or dword [0x492824], 0xffffffff
push ebx
push 1
mov dword [0x4ab5c8], ebx
push dword [ebp + 0xc]
push edi
call fcn.004400a9
add esp, 0x10
jmp 0x441645
cmp dword [0x492820], ebx
jne 0x4415bc
push dword [ebp - 4]
lea ebx, [edi + 8]
push dword [ebp - 8]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00440893
jmp 0x4415d2
push dword [ebp - 4]
lea ebx, [edi + 0x354]
push dword [ebp - 8]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.004408d1
add esp, 0x14
cmp dword [0x492828], eax
mov dword [0x492824], eax
je 0x441640
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.0044090f
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.0043eb7c
add esp, 0x14
push edi
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0x492824]
mov dword [0x492828], eax
xor eax, eax
pop esi
jmp 0x4416f5
cmp ecx, 0xfffd
jne 0x44167a
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 [0x4ab5d0], eax
jmp 0x441539
cmp ecx, 0xfffe
jne 0x4416dd
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.00440ade
mov eax, dword [0x49282c]
add esp, 0x10
cmp eax, 0xffffffff
je 0x441539
push ebx
push eax
push dword [0x4ab5cc]
push dword [ebp + 0xc]
call fcn.004406db
add esp, 0x10
jmp 0x441539
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 0x44be28
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x47aee8
call fcn.0045b744
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.0042378f
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.00412527
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], 0x47f958
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x18