joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e161
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
push ecx
mov eax, dword [esp + 0x10]
push ebx
xor ebx, ebx
push esi
mov esi, ebx
test eax, eax
je 0x43e325
cmp word [eax], bx
je 0x43e325
push ebx
push pe_nt_image_headers32
push 3
push ebx
push 1
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
je 0x43e321
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x18], eax
test eax, eax
jle 0x43e317
push ebp
mov ebp, dword [esp + 0x20]
push edi
push ebp
call fcn.0043e780
mov edi, eax
test edi, edi
je 0x43e315
mov ebx, dword [esp + 0x1c]
cmp ebp, 0xffffffff
jne 0x43e1d9
push 2
jmp 0x43e1da
push ebp
push ebx
call fcn.0043ec0f
mov esi, eax
test esi, esi
je 0x43e30e
cmp ebx, 0xffffffff
jne 0x43e1f1
mov ebx, esi
mov eax, dword [esi + 4]
xor ecx, ecx
mov dword [esi + 0x30], ebx
mov ebx, dword [esp + 0x20]
add ebx, 8
mov dword [esi + 0x2c], edi
push ebx
push ecx
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], ecx
mov dword [esi + 0x14], ecx
push dword [0xc06444]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi + 0x28], eax
test eax, eax
je 0x43e236
mov dword [eax + 4], ebx
mov eax, dword [esi + 0x28]
and dword [eax], 0
mov eax, dword [esi + 0x28]
add eax, 8
mov dword [esi + 0x44], eax
cmp ebp, 0xffffffff
je 0x43e242
mov dword [esi + 0x34], 1
push esi
push edi
call fcn.004b3450
mov ebp, dword [esp + 0x28]
mov ebx, 0x4000
pop ecx
pop ecx
xor ecx, ecx
mov dword [esp + 0x1c], ecx
test ebp, ebp
jle 0x43e30a
lea eax, [ebx + ecx]
cmp eax, ebp
jle 0x43e26d
mov ebx, ebp
sub ebx, ecx
push ebx
push edi
call fcn.004b2de0
mov dword [esp + 0x28], eax
pop ecx
pop ecx
test eax, eax
je 0x43e2fc
push 0
lea ecx, [esp + 0x14]
push ecx
push ebx
push eax
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
jne 0x43e2ec
mov eax, dword [esp + 0x1c]
add eax, ecx
cmp dword [esi + 0x14], 0
mov dword [esp + 0x1c], eax
jne 0x43e2be
push ecx
push dword [esp + 0x24]
call fcn.0043e82b
mov dword [esi + 0x14], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
cmp eax, ebp
jl 0x43e2c6
push 1
jmp 0x43e2c8
push 0
push ecx
push edi
call fcn.004b30b0
add esp, 0xc
test eax, eax
je 0x43e2e0
mov ecx, dword [esp + 0x1c]
cmp ecx, ebp
jl 0x43e262
jmp 0x43e30a
push edi
call fcn.004b3090
pop ecx
mov dword [esi + 0x18], eax
jmp 0x43e303
mov dword [esi + 0x18], 0x100
mov dword [esi + 0x24], 0x52f008
jmp 0x43e30a
mov dword [esi + 0x18], 1
push edi
push esi
call fcn.0043e8e5
and dword [esi + 0x2c], 0
push edi
call fcn.004b31f0
pop ecx
pop edi
pop ebp
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x43e327
xor eax, eax
pop esi
pop ebx
pop ecx
pop ecx
ret 0xc
Function at 0x43edcf
Capabilities:
Create thread

Disassembly:
push ecx
push ebp
push esi
lea eax, [esp + 8]
xor esi, esi
push eax
push esi
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, eax
test ebp, ebp
je 0x43ee67
push edi
push 0xc828f8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0xc06bec]
test edi, edi
je 0x43ee3b
push ebx
push esi
lea ebx, [edi + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x43ee34
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [edi]
push ebx
push 0xc06bec
call fcn.004ac225
pop ecx
pop ecx
jmp 0x43ee36
mov edi, dword [edi]
test edi, edi
jne 0x43ee0b
pop ebx
mov eax, dword [0xc01650]
mov esi, eax
inc eax
push 0x10
push 0xc06bec
mov dword [0xc01650], eax
call fcn.004ac265
pop ecx
pop ecx
push 0xc828f8
mov dword [eax], ebp
mov dword [eax + 4], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebp
pop ecx
ret 8

Function at 0x43f122
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x43f177
push dword [esp + 0x10]
push 0x43f0a1
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [0xc06bf4]
test esi, esi
je 0x43f1d0
xor edi, edi
mov ebx, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
jne 0x43f16f
cmp byte [esi + 0x10], 0
je 0x43f16f
push 3
push edi
push edi
push edi
push edi
push 0xfffffffffffffffe
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, ebx
test ebx, ebx
jne 0x43f14b
jmp 0x43f1d0
mov esi, dword [0xc06bf4]
test esi, esi
je 0x43f1d0
xor edi, edi
push ebp
mov ebx, dword [esi]
lea ebp, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp], eax
jne 0x43f1c9
cmp byte [esi + 0x11], 0
je 0x43f1a5
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [esi + 0x10], 0
je 0x43f1bc
push 3
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebp
push 0xc06bf4
call fcn.004ac225
pop ecx
pop ecx
mov esi, ebx
test ebx, ebx
jne 0x43f184
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x459b1e
Capabilities:
Read file on windows

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 0x10], esi
jle 0x459b72
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x14]
and dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push 0
push eax
mov eax, dword [esp + 0x20]
sub eax, esi
push eax
lea eax, [esi + ebp]
push eax
push dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x459b60
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x459b6c
add esi, dword [esp + 0x10]
cmp esi, dword [esp + 0x18]
jl 0x459b31
jmp 0x459b70
add esi, dword [esp + 0x10]
pop ebp
pop ebx
mov eax, esi
pop esi
ret 0xc
Function at 0x45acf4
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x34
mov eax, dword [esp + 0x38]
push ebp
xor ebp, ebp
push edi
cmp dword [eax + 8], 1
mov edi, ebp
mov dword [esp + 0x10], edi
mov dword [esp + 8], ebp
jne 0x45ae93
push esi
mov esi, dword [esp + 0x48]
test esi, esi
je 0x45ae92
push ebx
push ebp
push pe_nt_image_headers32
push 3
push ebp
push 7
push closesocket
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x45ae91
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0x200000
push ebp
push dword [0xc06444]
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
test ebp, ebp
je 0x45ae8a
call fcn.004d7470
mov edi, eax
mov dword [esp + 0x1c], edi
test edi, edi
je 0x45ae77
lea eax, [esp + 0x20]
push eax
push esi
call sub.MSVCRT.dll__wstat
push 0x1a4
push edi
call fcn.004d7940
lea eax, [esp + 0x30]
push eax
push edi
call fcn.004d7ac0
mov esi, dword [esp + 0x60]
add esp, 0x18
mov eax, dword [esi + 0x20]
cmp dword [eax + 8], 1
je 0x45adc3
cmp dword [eax + 8], 3
je 0x45adc3
push dword [esp + 0x50]
push edi
call fcn.004d7210
pop ecx
pop ecx
jmp 0x45ade1
push dword [esp + 0x50]
call fcn.00529fa0
mov esi, eax
push esi
push edi
call fcn.004d7930
pop ecx
pop ecx
push esi
call fcn.00529f90
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x14]
cdq
push edx
push eax
push edi
call fcn.004d7990
push 0x8000
push edi
call fcn.004d77e0
push edi
push dword [esi]
call fcn.004d7c30
add esp, 0x1c
lea eax, [esp + 0x4c]
push 0
push eax
push 0x200000
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x4c]
test eax, eax
jle 0x45ae5e
mov edi, dword [esp + 0x10]
push eax
push ebp
push dword [esi]
call fcn.004d7bf0
add esp, 0xc
cmp eax, dword [esp + 0x4c]
jne 0x45ae56
add edi, dword [esp + 0x4c]
lea eax, [esp + 0x4c]
push 0
push eax
push 0x200000
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x4c]
test eax, eax
jg 0x45ae24
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x10], eax
jne 0x45ae70
mov dword [esp + 0x18], 1
push edi
call fcn.004d73a0
pop ecx
push ebp
push 0
push dword [0xc06444]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [esp + 0x18]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop esi
mov eax, edi
pop edi
pop ebp
add esp, 0x34
ret 0xc
Function at 0x45b5db
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
push 0x45b52a
push 0x10
push 0x2c
call fcn.004ac067
xor esi, esi
mov dword [0xc06e18], eax
push esi
push esi
push 8
call fcn.004ab921
mov dword [0xc82988], eax
cmp word [0xc06e10], si
jne 0x45b6c4
push edi
lea eax, [esp + 8]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
xor edi, edi
inc edi
test eax, eax
jne 0x45b633
mov word [0xc06e10], di
jmp 0x45b63b
xor eax, eax
mov word [0xc06e10], ax
push 0x800
push esi
push str.ws2_32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0xc06e2c], eax
test eax, eax
je 0x45b6c3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.getaddrinfo
push eax
call esi
push str.freeaddrinfo
push dword [0xc06e2c]
mov dword [0xc06e1c], eax
call esi
push str.getnameinfo
push dword [0xc06e2c]
mov dword [0xc06e20], eax
call esi
push str.WSAStringToAddressA
push dword [0xc06e2c]
mov dword [0xc06e24], eax
call esi
cmp dword [0xc06e1c], 0
mov dword [0xc06e28], eax
je 0x45b6c3
cmp dword [0xc06e20], 0
je 0x45b6c3
cmp dword [0xc06e24], 0
je 0x45b6c3
test eax, eax
je 0x45b6c3
mov dword [0xc06e14], edi
pop edi
pop esi
add esp, 0x190
ret

Function at 0x45bed2
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
push edi
xor edi, edi
mov ebp, edi
cmp dword [esp + 0x10], edi
je 0x45bf58
push esi
push edi
push pe_nt_image_headers32
push 3
push edi
push 1
push closesocket
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x45bf57
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push ebx
push edi
push dword [0xc06444]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x45bf4f
push ebp
lea eax, [esp + 0x1c]
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x18], ebx
jne 0x45bf40
push ebx
push edi
push dword [esp + 0x1c]
call fcn.0045c372
mov ebp, eax
push edi
push 0
push dword [0xc06444]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop esi
pop edi
mov eax, ebp
pop ebp
ret 8
Function at 0x45bf5f
Capabilities:
Create thread

Disassembly:
push ecx
push ecx
push ebx
push ebp
push edi
push dword [esp + 0x18]
xor ebp, ebp
push dword [0xc8298c]
mov ebx, ebp
call fcn.004abf94
mov edi, eax
test edi, edi
je 0x45c01e
push esi
push dword [esp + 0x1c]
call fcn.0045c0ff
mov esi, dword [edi + 8]
lea eax, [esp + 0x14]
push ebp
push ebp
push ebp
push eax
lea eax, [esp + 0x20]
mov dword [edi + 4], 1
mov ecx, dword [esi]
push eax
mov eax, dword [edi + 0xc]
cdq
sub eax, edx
sar eax, 1
push eax
push ebp
push esi
call dword [ecx + 0x2c]
pop esi
test eax, eax
jne 0x45bfe1
mov eax, dword [edi + 0xc]
cdq
sub eax, edx
sar eax, 1
push eax
push dword [esp + 0x10]
push dword [edi]
call fcn.0045c2f0
mov eax, dword [edi + 8]
add esp, 0xc
mov ecx, dword [eax]
push ebp
push ebp
push dword [esp + 0x18]
push dword [esp + 0x18]
push eax
call dword [ecx + 0x4c]
lea eax, [esp + 0x18]
push eax
push ebp
push edi
push 0x45c028
push 0x2000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x45c007
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
inc ebx
mov eax, dword [edi + 8]
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov ecx, dword [edi + 8]
push 1
push ebp
push ebp
mov edx, dword [ecx]
push ecx
call dword [edx + 0x30]
pop edi
pop ebp
mov eax, ebx
pop ebx
pop ecx
pop ecx
ret 4
Function at 0x47b720
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0xc7ef48], 0
jne 0x47b72e
call fcn.0047b6c0
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push dword [0xc7ef4c]
call esi
test eax, eax
jne 0x47b751
call fcn.0047b6c0
push dword [0xc7ef4c]
call esi
mov edx, dword [esp + 0x14]
lea esi, [eax + 8]
mov edi, 0x11
lea ecx, [ecx]
imul ecx, edx, 0x53a9b4fb
lea esi, [esi + 4]
mov edx, 1
sub edx, ecx
imul ecx, edx, 0x53a9b4fb
mov dword [esi + 0x40], edx
mov edx, 1
sub edx, ecx
mov dword [esi - 4], edx
dec edi
jne 0x47b760
mov dword [eax], edi
lea ebp, [edi + 0x1f]
mov dword [eax + 4], 0xa
mov ebx, dword [eax]
mov edi, dword [eax + 4]
mov edx, dword [eax + ebx*4 + 8]
mov ecx, dword [eax + ebx*4 + 0x4c]
mov esi, dword [eax + edi*4 + 8]
ror ecx, 0xd
add ecx, dword [eax + edi*4 + 0x4c]
dec edi
ror edx, 5
add edx, esi
mov dword [eax + ebx*4 + 8], ecx
mov dword [eax + ebx*4 + 0x4c], edx
dec ebx
jns 0x47b7c0
mov ebx, 0x10
test edi, edi
jns 0x47b7c9
mov edi, 0x10
mov dword [eax], ebx
mov dword [eax + 4], edi
dec ebp
jne 0x47b792
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x47c9f4
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 0x47ca0e
inc esi
push 2
call edi
test bx, ax
je 0x47ca1a
or esi, 2
push 4
call edi
test bx, ax
je 0x47ca26
or esi, 4
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x47cfbc
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x18]
push eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
push dword [edi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x47cff4
push dword [edi]
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
mov dword [esp + 0x10], 1
push dword [edi]
push esi
call fcn.0048d99a
test byte [edi + 0x14], 8
mov dword [esp + 0x14], eax
je 0x47d0e5
call dword [sym.imp.USER32.dll_GetFocus]
cmp dword [edi], eax
jne 0x47d0e5
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
sub ebp, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x47d113
test ebp, ebp
jle 0x47d113
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
test ebx, ebx
je 0x47d113
push ebp
push dword [esp + 0x30]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x30], eax
test eax, eax
je 0x47d0dc
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [edi + 0x10], 0
je 0x47d086
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_DrawStateW]
jmp 0x47d09b
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.USER32.dll_FillRect]
push 2
pop eax
add dword [esp + 0x18], eax
add dword [esp + 0x1c], eax
sub dword [esp + 0x20], eax
sub dword [esp + 0x24], eax
lea eax, [esp + 0x18]
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 + 0x40]
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x30]
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x47d113
cmp dword [edi + 0x10], ebx
je 0x47d0ff
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_DrawStateW]
jmp 0x47d113
push ebx
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
push dword [esp + 0x14]
push esi
call fcn.0048d978
cmp dword [esp + 0x10], 0
je 0x47d12d
push esi
push dword [edi]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x47d135
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_GetWindowLongW]
push dword [edi]
mov dword [esp + 0x14], eax
call fcn.0048db6e
push eax
call fcn.0048f6de
push dword [0xc7efa4]
mov dword [esp + 0x24], eax
call fcn.004abaa4
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 0x47d1a9
inc ebx
push 0x12
call esi
test di, ax
je 0x47d1b5
or ebx, 2
push 0x11
call esi
test di, ax
je 0x47d1c1
or ebx, 4
mov eax, dword [esp + 0x14]
mov dword [ebp], eax
mov eax, dword [esp + 0x18]
mov dword [ebp + 4], eax
call fcn.0047c9f4
push 0x47d216
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, ax
push 0x332c
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x18], eax
call fcn.00493030
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x47dd40
Capabilities:
Get graphical window text

Disassembly:
push ebx
push dword [esp + 8]
push dword [0xc828dc]
call fcn.004abf94
mov ebx, eax
test ebx, ebx
je 0x47dda4
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x47dd69
push dword [esp + 0xc]
push ebx
call eax
jmp 0x47dda4
push esi
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push dword [esp + 0x14]
mov edi, eax
push edi
call fcn.004ac790
mov esi, eax
lea ecx, [edi + 1]
push ecx
xor eax, eax
push esi
mov word [esi], ax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
call sub.MSVCRT.dll_wcslen
pop ecx
sub edi, eax
push edi
call fcn.004ac870
pop edi
pop esi
pop ebx
ret 8
Function at 0x48a823
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_SendMessageW]
test eax, eax
jle 0x48a895
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
cmp ebx, 0xffffffff
jne 0x48a84c
mov ebx, eax
push dword [ebp]
call fcn.00489fa5
push ebx
push dword [ebp]
mov edi, eax
call fcn.00489f7c
add esp, 0xc
mov esi, eax
push 0
push ebx
push 0x130c
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
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.0048a8b5
pop ecx
pop ecx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x48ec7e
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4bc
lea eax, [ebp - 0x208]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov eax, dword [ebp + 8]
or eax, 0x4000
push eax
push 0x2b4
lea eax, [ebp - 0x4bc]
push eax
push 0
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esp, ebp
pop ebp
ret 4

Function at 0x48ecc3
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x48ed3f
cmp dword [0xc82058], 1
je 0x48ed3f
push ebx
mov ebx, 0xc82060
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [0xc8207c]
and dword [0xc82084], 0
mov dword [0xc82080], esi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push dword [0xc82078]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x1388
push dword [0xc8207c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x48ed37
push 0
push dword [0xc8205c]
mov dword [0xc82058], 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 0x48f000
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [0xc81b80], 0
jne 0x48f0d1
push ebx
push ebp
push esi
xor ebp, ebp
inc ebp
push 0xc82cf0
mov dword [0xc81b80], ebp
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov eax, 0x640
push eax
push 8
push dword [0xc06444]
mov dword [0xc82044], eax
mov dword [0xc81b84], 0x1f4
call esi
mov dword [0xc82054], eax
mov eax, dword [0xc81b84]
add eax, eax
push eax
push 8
push dword [0xc06444]
call esi
xor ebx, ebx
mov dword [0xc82050], eax
push 0xc82060
mov dword [0xc82048], ebx
mov dword [0xc8204c], ebp
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push ebp
push ebx
call esi
push ebx
push ebx
push ebp
push ebx
mov dword [0xc82078], eax
call esi
mov dword [0xc8207c], eax
cmp dword [0xc82078], ebx
je 0x48f0c8
test eax, eax
je 0x48f0c8
lea eax, [esp + 0xc]
mov dword [0xc82058], ebx
push eax
push ebx
push ebx
push 0x48ea83
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0xc8205c], eax
jmp 0x48f0ce
mov dword [0xc82058], ebp
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x48f0d3
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x48f178
cmp dword [esp + 0xc], 0
je 0x48f178
cmp dword [0xc82058], 1
je 0x48f178
push edi
push 0x1f
push 0
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
mov edi, eax
cmp edi, 0xffffffff
je 0x48f177
push ebp
mov ebp, 0xc82060
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [0xc8207c]
mov dword [0xc82080], esi
mov dword [0xc82084], edi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push dword [0xc82078]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x1388
push dword [0xc8207c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x48f16f
push 0
push dword [0xc8205c]
mov dword [0xc82058], 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 0x48f466
Capabilities:
Check os version

Disassembly:
sub esp, 0x350
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x114
xor ebx, ebx
mov esi, 0xc8
and dword [esp + 0x10], ebx
xor edi, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x48f5dc
mov eax, dword [esp + 0x24]
dec eax
je 0x48f5bf
dec eax
jne 0x48f5dc
lea eax, [esp + 0x128]
xor ebp, ebp
push eax
call fcn.0048f41f
pop ecx
test eax, eax
je 0x48f51d
mov ebx, dword [esp + 0x12c]
mov edi, dword [esp + 0x130]
mov eax, dword [esp + 0x134]
cmp byte [esp + 0x242], 1
jne 0x48f4e0
xor ebp, ebp
inc ebp
sub ebx, 3
je 0x48f5bb
dec ebx
je 0x48f5b7
dec ebx
je 0x48f596
dec ebx
je 0x48f550
sub ebx, 4
jne 0x48f5dc
test edi, edi
jne 0x48f5dc
cmp eax, 0x55f0
sbb esi, esi
and esi, 0xfffffff6
add esi, 0x78
jmp 0x48f5dc
lea eax, [esp + 0x244]
mov dword [esp + 0x244], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, dword [esp + 0x10]
je 0x48f4e0
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
cmp byte [esp + 0x35e], 1
jmp 0x48f4db
sub edi, 0
je 0x48f588
dec edi
je 0x48f57a
dec edi
je 0x48f56c
dec edi
jne 0x48f5dc
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x69
jmp 0x48f5dc
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x5f
jmp 0x48f5dc
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x55
jmp 0x48f5dc
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x4b
jmp 0x48f5dc
sub edi, 0
je 0x48f5b3
dec edi
je 0x48f5af
dec edi
jne 0x48f5dc
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x41
jmp 0x48f5dc
push 0x3c
jmp 0x48f5db
push 0x32
jmp 0x48f5db
push 0x14
jmp 0x48f5db
push 5
jmp 0x48f5db
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x48f5d9
cmp eax, 0xa
je 0x48f5d5
cmp eax, 0x5a
jne 0x48f5dc
push 0x28
jmp 0x48f5db
push 0x1e
jmp 0x48f5db
push 0xa
pop esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x350
ret