joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4318c0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x14]
push edi
mov dword [esp + 8], 0
cmp dword [esi + 0x14], 1
jne 0x431902
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0x10]
push 1
neg eax
cdq
push ecx
push eax
push dword [esi]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esi + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
mov edi, dword [esp + 0x20]
cmp eax, edi
jle 0x431963
mov ecx, dword [esi + 8]
add ecx, dword [esi + 4]
sub ecx, eax
mov eax, edi
dec eax
je 0x43194e
dec eax
je 0x431937
sub eax, 2
jne 0x431998
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
add esp, 0xc
ret 0xc
mov eax, dword [esp + 0x1c]
mov ax, word [eax]
mov word [ecx], ax
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
add esp, 0xc
ret 0xc
mov eax, dword [esp + 0x1c]
mov al, byte [eax]
mov byte [ecx], al
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
add esp, 0xc
ret 0xc
push esi
call fcn.00430a60
mov eax, dword [esi + 8]
cmp edi, eax
jl 0x431990
push 0
lea eax, [esp + 0xc]
push eax
push edi
push dword [esp + 0x28]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0xc
ret 0xc
mov ecx, dword [esi + 4]
sub ecx, dword [esi + 0xc]
add ecx, eax
push edi
push dword [esp + 0x20]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, edi
sub dword [esi + 0xc], edi
pop edi
pop esi
add esp, 0xc
ret 0xc

Function at 0x4319c0
Capabilities:
Read file on windows

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0xc]
mov dword [esp + 4], 0
cmp dword [edi + 4], 0
je 0x4319e7
push 1
lea eax, [esp + 0x10]
push eax
push edi
call fcn.00431280
mov dword [esp + 4], eax
jmp 0x431a01
push 0
lea eax, [esp + 8]
push eax
push 1
lea eax, [esp + 0x18]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 4]
cmp eax, 1
je 0x431a0d
xor eax, eax
pop edi
pop ecx
ret 8
mov cl, byte [esp + 0xc]
test cl, cl
js 0x431a29
mov eax, dword [esp + 0x10]
pop edi
mov byte [eax], cl
mov byte [eax + 1], 0
mov eax, 1
pop ecx
ret 8
mov al, cl
and al, 0xe0
push esi
cmp al, 0xc0
jne 0x431a39
mov esi, 2
jmp 0x431a55
mov al, cl
and al, 0xf0
cmp al, 0xe0
jne 0x431a48
mov esi, 3
jmp 0x431a55
mov al, cl
and al, 0xf8
cmp al, 0xf0
jne 0x431ab2
mov esi, 4
mov edx, dword [esp + 0x14]
mov byte [edx], cl
cmp dword [edi + 4], 0
je 0x431a84
lea eax, [esi - 1]
push eax
lea eax, [edx + 1]
push eax
push edi
call fcn.00431280
mov edx, eax
lea ecx, [esi - 1]
xor eax, eax
cmp edx, ecx
setne al
dec eax
and eax, esi
pop esi
pop edi
pop ecx
ret 8
push 0
lea eax, [esp + 0xc]
push eax
lea eax, [esi - 1]
push eax
lea eax, [edx + 1]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [esp + 8]
lea ecx, [esi - 1]
xor eax, eax
cmp edx, ecx
setne al
dec eax
and eax, esi
pop esi
pop edi
pop ecx
ret 8
mov eax, dword [esp + 0x14]
pop esi
pop edi
mov word [eax], 0x3f
mov eax, 1
pop ecx
ret 8
Function at 0x434390
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x14
push ebx
push esi
push edi
push dword [esp + 0x24]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.00439d8e
mov edi, eax
push edi
call dword [sym.imp.USER32.DLL_GetDC]
push 0
push 0
push 0x31
push edi
mov esi, eax
call dword [sym.imp.USER32.DLL_SendMessageA]
push eax
push esi
call dword [sym.imp.GDI32.DLL_SelectObject]
push edi
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.DLL_GetWindowTextLengthA]
mov dword [esp + 0x10], eax
inc eax
push eax
push 0
push dword [0x49d758]
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x434424
push dword [esp + 0xc]
push ebx
push edi
call dword [sym.imp.USER32.DLL_GetWindowTextA]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x14]
push ebx
push esi
call dword [sym.imp.GDI32.DLL_GetTextExtentPoint32A]
push ebx
push 0
push dword [0x49d758]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [esp + 0x14]
push esi
call dword [sym.imp.GDI32.DLL_SelectObject]
push esi
push edi
call dword [sym.imp.USER32.DLL_ReleaseDC]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
cmp eax, 0xa
jg 0x434448
mov eax, 0xa
add esp, 0x14
ret

Function at 0x439035
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push 0
push 0
push 0x1304
push dword [ebp]
call dword [sym.imp.USER32.DLL_SendMessageA]
test eax, eax
jle 0x4390a7
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
cmp ebx, 0xffffffff
jne 0x43905e
mov ebx, eax
push dword [ebp]
call fcn.00438829
push ebx
push dword [ebp]
mov edi, eax
call fcn.00438800
add esp, 0xc
mov esi, eax
push 0
push ebx
push 0x130c
push dword [ebp]
call dword [sym.imp.USER32.DLL_SendMessageA]
push 0
push edi
call dword [sym.imp.USER32.DLL_ShowWindow]
push 0
push edi
call dword [sym.imp.USER32.DLL_EnableWindow]
push esi
push dword [ebp]
call fcn.004390c7
pop ecx
pop ecx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x439cdd
Capabilities:
Get graphical window text

Disassembly:
push ebx
push dword [esp + 8]
push dword [0x4a0fd8]
call fcn.004616be
mov ebx, eax
test ebx, ebx
je 0x439d3f
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x439d06
push dword [esp + 0xc]
push ebx
call eax
jmp 0x439d3f
push esi
push edi
push dword [ebx]
call dword [sym.imp.USER32.DLL_GetWindowTextLengthA]
push dword [esp + 0x14]
mov edi, eax
push edi
call fcn.004625e0
mov esi, eax
lea ecx, [edi + 1]
push ecx
push esi
mov byte [esi], 0
push dword [ebx]
call dword [sym.imp.USER32.DLL_GetWindowTextA]
push esi
call sub.MSVCRT.dll_strlen
pop ecx
sub edi, eax
push edi
call fcn.00462680
pop edi
pop esi
pop ebx
ret 8
Function at 0x43e853
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push dword [0x4a0e80]
call fcn.0046154d
xor ebx, ebx
mov ebp, eax
cmp dword [0x49ea28], ebx
jne 0x43e8e7
mov esi, 0xa4
push esi
push ebx
push 0x49ea30
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x49ea34], esi
mov esi, dword [sym.imp.USER32.DLL_LoadCursorA]
mov dword [0x49ea30], 0xa
mov dword [0x49ea38], 0x43e3eb
push 0x7f89
push ebx
mov dword [0x49eaa8], 0x44a33b
mov dword [0x49eaac], 0x44a315
mov dword [0x49ea3c], 0x43e40a
mov dword [0x49eac0], 0x43e42a
call esi
mov dword [0x49ea28], eax
test eax, eax
jne 0x43e8e7
push 0x7f00
push ebx
call esi
mov dword [0x49ea28], eax
push ebx
push dword [0x49d75c]
push 0xffffffffffffffff
push dword [ebp]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push 0x40000000
push dword [esp + 0x48]
push str.STATIC
push ebx
call dword [sym.imp.USER32.DLL_CreateWindowExA]
mov ebx, eax
test ebx, ebx
je 0x43e993
push edi
push dword [esp + 0x14]
push dword [0x4a0fd8]
call fcn.004616fd
mov edi, eax
push 0x14
push 0
or dword [edi + 0x10], 0xffffffff
and dword [edi + 0x14], 0
push dword [0x49d758]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
mov esi, eax
push 0x49ea30
push ebx
push edi
push dword [esp + 0x20]
mov dword [esi], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0xc], ecx
mov byte [esi + 0x10], 0
mov dword [edi + 0x1c], esi
call fcn.0044a1fc
push 0x43e50d
push 0xfffffffffffffffc
push dword [edi]
mov ebx, eax
call dword [sym.imp.USER32.DLL_SetWindowLongA]
push 1
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.USER32.DLL_ShowWindow]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 0x20
Function at 0x43fdb0
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push ebx
push ebp
push esi
push edi
push dword [0x4a0e80]
call fcn.0046154d
xor ebp, ebp
mov esi, eax
cmp dword [0x49ec48], ebp
jne 0x43fe8c
xor ebx, ebx
inc ebx
mov dword [0x49ec48], ebx
call fcn.0043d2c2
mov edi, 0xa4
push edi
push ebp
push 0x49ec50
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x49ec50], 0x13
lea eax, [esp + 0x10]
mov dword [0x49ec54], edi
mov dword [0x49ec60], 0x43fcfb
mov dword [0x49ec64], 0x440001
push eax
mov dword [0x49ecb8], 0x43fcd6
mov dword [0x49ecbc], 0x43ff4c
mov dword [0x49ec5c], 0x43fcb1
mov dword [0x49ece0], 0x43fd16
mov dword [0x49ecf4], ebx
mov dword [esp + 0x14], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x43fe8c
cmp dword [esp + 0x20], ebx
je 0x43fe74
cmp dword [esp + 0x20], 2
jne 0x43fe8c
cmp dword [esp + 0x14], 5
jae 0x43fe7c
mov dword [0x49ecf4], ebp
jmp 0x43fe8c
jne 0x43fe8c
mov eax, dword [esp + 0x18]
neg eax
sbb eax, eax
and dword [0x49ecf4], eax
mov eax, dword [esp + 0xc0]
push ebp
push dword [0x49d75c]
or eax, 0x50010000
push 0xffffffffffffffff
push dword [esi]
push dword [esp + 0xc8]
push dword [esp + 0xc8]
push dword [esp + 0xc8]
push dword [esp + 0xc8]
push eax
push ebp
push str.BUTTON
push ebp
call dword [sym.imp.USER32.DLL_CreateWindowExA]
mov edi, eax
test edi, edi
je 0x43ff3d
push dword [esp + 0xa8]
push dword [0x4a0fd8]
call fcn.004616fd
mov ebx, dword [esp + 0xbc]
mov esi, eax
mov dword [esi + 0x10], ebx
test ebx, ebx
je 0x43ff0c
push ebx
call fcn.0044e850
test eax, eax
je 0x43ff0c
push ebp
push ebp
push ebx
call fcn.0044e49a
mov dword [esi + 0x18], eax
jmp 0x43ff0f
mov dword [esi + 0x18], ebp
push 0x43f9f1
push 0xfffffffffffffffc
push edi
mov dword [esi + 0x14], ebp
mov dword [esi + 0x1c], ebp
call dword [sym.imp.USER32.DLL_SetWindowLongA]
push 0x49ec50
push edi
push esi
push dword [esp + 0xb4]
mov dword [0x49ec4c], eax
call fcn.0044a1fc
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret 0x1c

Function at 0x44008d
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.DLL_GetKeyState]
xor esi, esi
push 1
call edi
mov ebx, 0x8000
test bx, ax
je 0x4400a7
inc esi
push 2
call edi
test bx, ax
je 0x4400b3
or esi, 2
push 4
call edi
test bx, ax
je 0x4400bf
or esi, 4
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x440543
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x28]
lea eax, [esp + 0x14]
push eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
push dword [edi]
call dword [sym.imp.USER32.DLL_GetClientRect]
mov esi, dword [esp + 0x2c]
test esi, esi
jne 0x44057b
push dword [edi]
call dword [sym.imp.USER32.DLL_GetDC]
mov esi, eax
mov dword [esp + 0x10], 1
test byte [edi + 0x14], 8
je 0x440660
call dword [sym.imp.USER32.DLL_GetFocus]
cmp dword [edi], eax
jne 0x440660
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
sub ebp, dword [esp + 0x18]
mov dword [esp + 0x28], eax
test eax, eax
jle 0x44068e
test ebp, ebp
jle 0x44068e
push esi
call dword [sym.imp.GDI32.DLL_CreateCompatibleDC]
mov ebx, eax
test ebx, ebx
je 0x44068e
push ebp
push dword [esp + 0x2c]
push esi
call dword [sym.imp.GDI32.DLL_CreateCompatibleBitmap]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x440657
push eax
push ebx
call dword [sym.imp.GDI32.DLL_SelectObject]
cmp dword [edi + 0x10], 0
je 0x440601
push 4
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push dword [edi + 0x10]
push eax
push eax
push ebx
call dword [sym.imp.USER32.DLL_DrawStateA]
jmp 0x440616
push 0
call dword [sym.imp.GDI32.DLL_GetStockObject]
push eax
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.USER32.DLL_FillRect]
push 2
pop eax
add dword [esp + 0x14], eax
add dword [esp + 0x18], eax
sub dword [esp + 0x1c], eax
sub dword [esp + 0x20], eax
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.USER32.DLL_DrawFocusRect]
push 0xcc0020
xor eax, eax
push eax
push eax
push ebx
push ebp
push dword [esp + 0x3c]
push eax
push eax
push esi
call dword [sym.imp.GDI32.DLL_BitBlt]
push dword [esp + 0x2c]
call dword [sym.imp.GDI32.DLL_DeleteObject]
push ebx
call dword [sym.imp.GDI32.DLL_DeleteDC]
jmp 0x44068e
cmp dword [edi + 0x10], ebx
je 0x44067a
push 4
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [edi + 0x10]
push ebx
push ebx
push esi
call dword [sym.imp.USER32.DLL_DrawStateA]
jmp 0x44068e
push ebx
call dword [sym.imp.GDI32.DLL_GetStockObject]
push eax
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.USER32.DLL_FillRect]
cmp dword [esp + 0x10], 0
je 0x44069e
push esi
push dword [edi]
call dword [sym.imp.USER32.DLL_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x4406a6
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
xor ebx, ebx
call dword [sym.imp.USER32.DLL_GetMessagePos]
mov edi, dword [esp + 0x20]
mov esi, eax
push 0xfffffffffffffff4
push dword [edi]
call dword [sym.imp.USER32.DLL_GetWindowLongA]
push dword [edi]
mov dword [esp + 0x14], eax
call fcn.0044a1cd
push eax
call fcn.0044bf4b
push dword [0x49ed04]
mov dword [esp + 0x24], eax
call fcn.00461906
mov ebp, eax
movsx ecx, si
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ecx
push eax
push dword [edi]
shr esi, 0x10
movsx ecx, si
mov dword [esp + 0x20], ecx
call dword [sym.imp.USER32.DLL_ScreenToClient]
mov esi, dword [sym.imp.USER32.DLL_GetKeyState]
push 0x10
call esi
mov edi, 0x8000
test di, ax
je 0x44071a
inc ebx
push 0x12
call esi
test di, ax
je 0x440726
or ebx, 2
push 0x11
call esi
test di, ax
je 0x440732
or ebx, 4
mov eax, dword [esp + 0x14]
mov dword [ebp], eax
mov eax, dword [esp + 0x18]
mov dword [ebp + 4], eax
call fcn.0044008d
push 0x44078a
push ebp
push dword [esp + 0x2c]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x34]
push dword [esp + 0x2c]
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x3c]
push dword [esp + 0x20]
mov dword [ebp + 0x14], eax
mov eax, dword [esp + 0x44]
movzx eax, al
push 0x332c
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x18], eax
call fcn.0044d6cb
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x442669
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
push ebx
push ebp
push esi
push edi
push dword [0x4a0e80]
call fcn.0046154d
cmp dword [0x49ef58], 0
mov edi, eax
mov esi, 0x50010000
jne 0x4427d1
mov ebx, 0xa4
push ebx
push 0
push 0x49ef60
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x49ef60], 0x1b
mov dword [0x49ef64], ebx
mov dword [0x49ef68], 0x44200a
mov dword [0x49ef6c], 0x442322
mov dword [0x49ef84], 0x441d87
mov dword [0x49ef94], 0x442318
mov dword [0x49ef8c], 0x4422c3
mov dword [0x49ef88], 0x442921
mov dword [0x49ef74], 0x442e08
mov dword [0x49ef70], 0x442567
mov dword [0x49ef78], 0x4425b1
mov dword [0x49ef7c], 0x442e39
mov dword [0x49efa0], 0x4424e0
mov dword [0x49efa4], 0x442dc1
mov dword [0x49ef98], 0x44244f
mov dword [0x49ef9c], 0x442c6e
mov dword [0x49efd8], 0x442abb
mov dword [0x49efdc], 0x442367
mov dword [0x49efe0], 0x442b0e
mov dword [0x49efe4], 0x4423f3
mov dword [0x49efe8], 0x442b80
mov dword [0x49efec], 0x44242d
mov dword [0x49efd0], 0x4423c2
mov dword [0x49f000], 0x442ba2
call fcn.0043d2c2
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4427c7
cmp dword [esp + 0x24], 2
jne 0x4427c7
cmp dword [esp + 0x18], 6
jb 0x4427c7
mov eax, dword [0x49def0]
mov dword [0x49ef5c], eax
mov dword [0x49ef58], 1
test byte [esp + 0xc0], 2
jne 0x4427e0
mov esi, 0x50010002
test byte [esp + 0xc0], 1
jne 0x4427ed
or esi, 5
test byte [esp + 0xc0], 0x20
je 0x4427fa
or esi, 0x20
push 0x1f4
push 0
push dword [0x49d758]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
test ebp, ebp
je 0x44290e
push 0
push dword [0x49d75c]
push 0xffffffffffffffff
push dword [edi]
push dword [esp + 0xcc]
push dword [esp + 0xcc]
push dword [esp + 0xcc]
push dword [esp + 0xcc]
push esi
push 0
push str.SysTreeView32
push 0x200
call dword [sym.imp.USER32.DLL_CreateWindowExA]
mov ebx, eax
test ebx, ebx
je 0x442912
push dword [esp + 0xac]
push dword [0x4a0fd8]
call fcn.004616fd
push 0x442e82
push 0xfffffffffffffffc
push ebx
mov edi, eax
call dword [sym.imp.USER32.DLL_SetWindowLongA]
push 4
push 4
push 0x112c
push ebx
mov dword [0x49f004], eax
call dword [sym.imp.USER32.DLL_SendMessageA]
push 0x49ef60
push ebx
push edi
push dword [esp + 0xb8]
mov dword [edi + 0x14], ebp
mov dword [edi + 0x18], 0x19
call fcn.0044a1fc
mov ebx, eax
mov eax, 0x100
test dword [esp + 0xc0], eax
je 0x442912
or esi, eax
push esi
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.DLL_SetWindowLongA]
test dword [esp + 0xc0], 0x10000
je 0x442912
push edi
call fcn.004421ff
pop ecx
push 0
push 2
push 0x1108
push dword [edi]
call dword [sym.imp.USER32.DLL_SendMessageA]
test eax, eax
je 0x4428fe
push eax
push dword [edi]
call fcn.0044acb5
push edi
push str.PB_3State
push dword [edi]
call dword [sym.imp.USER32.DLL_SetPropA]
jmp 0x442912
mov ebx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x98
ret 0x18
Function at 0x44b635
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
lea eax, [ebp - 0x104]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov eax, dword [ebp + 8]
or eax, 0x4000
push eax
push 0x160
lea eax, [ebp - 0x264]
push eax
push 0
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.SHELL32.DLL_SHGetFileInfoA]
mov esp, ebp
pop ebp
ret 4

Function at 0x44b67a
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x44b6f6
cmp dword [0x4a0800], 1
je 0x44b6f6
push ebx
mov ebx, 0x4a0808
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [0x4a0824]
and dword [0x4a082c], 0
mov dword [0x4a0828], esi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push dword [0x4a0820]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x1388
push dword [0x4a0824]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x44b6ee
push 0
push dword [0x4a0804]
mov dword [0x4a0800], 1
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
pop esi
ret 4
Function at 0x44b9ad
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [0x4a0580], 0
jne 0x44ba7c
push ebx
push ebp
push esi
xor ebp, ebp
inc ebp
push 0x4a1004
mov dword [0x4a0580], ebp
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov eax, 0x4b0
push eax
push 8
push dword [0x49d758]
mov dword [0x4a068c], eax
mov dword [0x4a0584], 0x1f4
call esi
push dword [0x4a0584]
mov dword [0x4a07fc], eax
push 8
push dword [0x49d758]
call esi
xor ebx, ebx
mov dword [0x4a07f8], eax
push 0x4a0808
mov dword [0x4a07f0], ebx
mov dword [0x4a07f4], ebp
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push ebx
push ebp
push ebx
call esi
push ebx
push ebx
push ebp
push ebx
mov dword [0x4a0820], eax
call esi
mov dword [0x4a0824], eax
cmp dword [0x4a0820], ebx
je 0x44ba73
test eax, eax
je 0x44ba73
lea eax, [esp + 0xc]
mov dword [0x4a0800], ebx
push eax
push ebx
push ebx
push 0x44b43a
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4a0804], eax
jmp 0x44ba79
mov dword [0x4a0800], ebp
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x44ba7e
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x44bb23
cmp dword [esp + 0xc], 0
je 0x44bb23
cmp dword [0x4a0800], 1
je 0x44bb23
push edi
push 0x1f
push 0
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationA]
mov edi, eax
cmp edi, 0xffffffff
je 0x44bb22
push ebp
mov ebp, 0x4a0808
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [0x4a0824]
mov dword [0x4a0828], esi
mov dword [0x4a082c], edi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push dword [0x4a0820]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x1388
push dword [0x4a0824]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x44bb1a
push 0
push dword [0x4a0804]
mov dword [0x4a0800], 1
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebp
pop edi
pop esi
ret 8
Function at 0x44bbb7
Capabilities:
Check os version

Disassembly:
sub esp, 0x24c
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x94
push eax
mov esi, 0xc8
xor ebx, ebx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x44bd0f
mov eax, dword [esp + 0x20]
dec eax
je 0x44bcf2
dec eax
jne 0x44bd0f
lea eax, [esp + 0x140]
xor ebp, ebp
push eax
call fcn.0044bb70
pop ecx
test eax, eax
je 0x44bc23
mov ebx, dword [esp + 0x144]
mov edi, dword [esp + 0x148]
cmp byte [esp + 0x25a], 1
jmp 0x44bc50
lea eax, [esp + 0xa4]
mov dword [esp + 0xa4], 0x9c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x44bc55
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
cmp byte [esp + 0x13e], 1
jne 0x44bc55
xor ebp, ebp
inc ebp
sub ebx, 3
je 0x44bcee
dec ebx
je 0x44bcea
dec ebx
je 0x44bcc9
dec ebx
je 0x44bc83
sub ebx, 4
jne 0x44bd0f
test edi, edi
jne 0x44bd0f
push 0x6e
jmp 0x44bd0e
sub edi, 0
je 0x44bcbb
dec edi
je 0x44bcad
dec edi
je 0x44bc9f
dec edi
jne 0x44bd0f
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x69
jmp 0x44bd0f
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x5f
jmp 0x44bd0f
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x55
jmp 0x44bd0f
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x4b
jmp 0x44bd0f
sub edi, 0
je 0x44bce6
dec edi
je 0x44bce2
dec edi
jne 0x44bd0f
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x41
jmp 0x44bd0f
push 0x3c
jmp 0x44bd0e
push 0x32
jmp 0x44bd0e
push 0x14
jmp 0x44bd0e
push 5
jmp 0x44bd0e
mov eax, dword [esp + 0x18]
test eax, eax
je 0x44bd0c
cmp eax, 0xa
je 0x44bd08
cmp eax, 0x5a
jne 0x44bd0f
push 0x28
jmp 0x44bd0e
push 0x1e
jmp 0x44bd0e
push 0xa
pop esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x24c
ret