joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a640
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x804]
sub esp, 0x804
push 0xfffffffffffffffe
push 0x428010
push 0x40e2d0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x42a0d0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x800], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 0x80c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
lea ecx, [ebp]
push ecx
push 0
push 0
push 0x8023
push 0
call dword [sym.imp.SHFOLDER.dll_SHGetFolderPathW]
lea edi, [ebp]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40a6b2
mov ecx, 0xa
mov esi, 0x4254a8
rep movsd dword es:[edi], dword [esi]
push 0
lea edx, [ebp]
push edx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
call ebx
lea edi, [ebp]
add edi, 0xfffffffe
mov edi, edi
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40a6e0
mov ecx, 9
mov esi, str._nvStereoInstaller
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0
lea eax, [ebp]
push eax
call ebx
lea edi, [ebp]
add edi, 0xfffffffe
jmp 0x40a710
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40a710
mov ecx, 7
mov esi, 0x425464
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.0040a5e0
test al, al
jne 0x40a751
mov ecx, 0x4244d0
mov edx, dword [ebp - 0x1c]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x40a740
lea ecx, [ebp]
mov edx, dword [ebp - 0x1c]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x40a757
jmp 0x40a78f
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.0040d609
add ebp, 0x804
mov esp, ebp
pop ebp
ret 4
Function at 0x40a7c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x428030
push 0x40e2d0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x42a0d0]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 0x400
call fcn.0040ebd8
mov esi, eax
mov dword [ebp - 0x24], esi
push 0x400
push 0
push eax
call fcn.0040d990
add esp, 0x10
mov edi, 0x400
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 2
jge 0x40a886
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
push edi
push esi
call fcn.00419365
add esp, 0x10
cmp eax, 0xffffffff
jle 0x40a853
cmp eax, edi
jl 0x40a886
cmp eax, 0xffffffff
jle 0x40a853
lea edi, [eax + 1]
jmp 0x40a855
add edi, edi
mov dword [ebp - 0x20], edi
test esi, esi
je 0x40a881
push esi
call fcn.0040d4b6
push edi
call fcn.0040ebd8
mov esi, eax
mov dword [ebp - 0x24], esi
push edi
push 0
push esi
call fcn.0040d990
add esp, 0x14
test esi, esi
je 0x40a927
inc dword [ebp - 0x1c]
jmp 0x40a828
test esi, esi
je 0x40a927
push esi
mov ecx, 0x4366a8
call fcn.0040a4d0
lea eax, [edi + 1]
push eax
call fcn.0040ebd8
mov ebx, eax
lea eax, [edi + 1]
push eax
push 0
push ebx
call fcn.0040d990
add esp, 0x10
test ebx, ebx
je 0x40a927
push esi
push 0x4254d0
lea eax, [edi + 1]
push eax
push ebx
call fcn.0040d5ca
push esi
call fcn.0040d4b6
xor ecx, ecx
lea esi, [edi + 1]
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040ebd8
mov esi, eax
lea eax, [edi + edi + 2]
push eax
push 0
push esi
call fcn.0040d990
push 0x400
push ebx
push esi
call fcn.0040e75b
add esp, 0x30
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.0040d4b6
push ebx
call fcn.0040d4b6
add esp, 8
jmp 0x40a927
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40b0a0
Capabilities:
Get common file path

Disassembly:
push ebp
push esi
push edi
xor edi, edi
test ebx, ebx
je 0x40b11b
mov ebp, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push edi
push edi
call ebp
push ebx
mov esi, eax
call fcn.0040f9e8
add eax, esi
add esp, 4
lea eax, [eax + eax + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
jne 0x40b0d7
pop edi
pop esi
pop ebp
ret
push esi
push edi
call ebp
mov ebp, eax
cmp word [edi + ebp*2 - 2], 0x5c
je 0x40b0ee
mov word [edi + ebp*2], 0x5c
add ebp, 1
push ebx
xor esi, esi
call fcn.0040f9e8
add esp, 4
test eax, eax
jbe 0x40b11b
lea ebp, [edi + ebp*2]
mov cx, word [ebx + esi*2]
mov word [ebp], cx
push ebx
add esi, 1
add ebp, 2
call fcn.0040f9e8
add esp, 4
cmp esi, eax
jb 0x40b100
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x40c250
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x14
push ebp
mov ebp, dword [esp + 0x1c]
push esi
xor esi, esi
cmp dword [0x438e68], esi
mov dword [esp + 8], esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0x24
mov dword [esp + 0x14], 0x26
mov dword [esp + 0x18], 0x2a
jne 0x40c2e6
push 3
push 0x20
push 3
push 1
push 3
push 2
push esi
push esi
call sub.KERNEL32.dll_VerSetConditionMask
push edx
push eax
call sub.KERNEL32.dll_VerSetConditionMask
push edx
push eax
call sub.KERNEL32.dll_VerSetConditionMask
push edx
push eax
push 0x23
push 0x438e68
mov dword [0x438e68], 0x11c
mov dword [0x438e6c], 6
mov dword [0x438e70], 1
mov word [0x438f7c], si
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
neg eax
sbb eax, eax
add eax, 1
mov dword [0x42a07c], eax
jmp 0x40c2eb
mov eax, dword [0x42a07c]
cmp eax, esi
je 0x40c2fa
pop esi
mov eax, 1
pop ebp
add esp, 0x14
ret
cmp ebp, esi
je 0x40c41a
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push edi
push esi
push esi
push esi
push ebp
call ebx
mov edi, eax
test edi, edi
je 0x40c418
lea eax, [edi + edi]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
test eax, eax
mov dword [esp + 0x10], eax
je 0x40c418
push 0
mov ecx, eax
push ecx
push edi
push ebp
call ebx
cmp edi, eax
jbe 0x40c418
mov ebp, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor ebx, ebx
jmp 0x40c350
mov eax, dword [esp + ebx*4 + 0x18]
cmp eax, 0x26
jne 0x40c3cf
push 0
push 0
push str._ProgramW6432_
call ebp
mov edi, eax
test edi, edi
je 0x40c418
lea edx, [edi + edi + 2]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x40c418
push edi
push esi
push str._ProgramW6432_
call ebp
cmp edi, eax
jne 0x40c418
push esi
push str._ProgramW6432_
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x40c3b6
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0x4244d0
push 0x26
jmp 0x40c3d5
cmp word [esi + edi*2 - 4], 0x5c
je 0x40c3e3
push 0x425760
add edi, 1
push edi
push esi
call fcn.0040c0a0
jmp 0x40c3e3
push 0x4244d0
push eax
call fcn.0040c140
mov esi, eax
add esp, 8
test esi, esi
je 0x40c418
push esi
call fcn.0040f9e8
push eax
mov eax, dword [esp + 0x18]
push esi
push eax
call fcn.0040d844
add esp, 0x10
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x14], eax
jne 0x40c418
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
add ebx, 1
xor esi, esi
cmp ebx, 3
jl 0x40c350
pop edi
pop ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
mov ecx, dword [esp + 8]
push ecx
call esi
mov eax, dword [esp + 0xc]
pop esi
pop ebp
add esp, 0x14
ret

Function at 0x40c7c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push eax
mov eax, dword [esp + 0xc]
call fcn.0040c650
mov esi, eax
add esp, 4
test esi, esi
je 0x40c802
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40c7e4
test al, 0x50
je 0x40c802
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x40c7f7
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop esi
ret
mov eax, esi
pop esi
ret
Function at 0x40d609
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42a0d0]
jne 0x40d613
repz ret
jmp fcn.00412a23

Function at 0x420259
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041477e
and dword [ebp - 4], 0
cmp dword [0x439984], 0
mov ebx, eax
jne 0x42030a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4203bb
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4203bb
push eax
call fcn.0041470c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x439984], eax
call esi
push eax
call fcn.0041470c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x439988], eax
call esi
push eax
call fcn.0041470c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43998c], eax
call esi
push eax
call fcn.0041470c
pop ecx
mov dword [0x439994], eax
test eax, eax
je 0x42030a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041470c
pop ecx
mov dword [0x439990], eax
mov eax, dword [0x439990]
cmp eax, ebx
je 0x420362
cmp dword [0x439994], ebx
je 0x420362
push eax
call fcn.00414787
push dword [0x439994]
mov esi, eax
call fcn.00414787
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x420362
test edi, edi
je 0x420362
call esi
test eax, eax
je 0x420359
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x420359
test byte [ebp - 0xc], 1
jne 0x420362
or dword [ebp + 0x10], 0x200000
jmp 0x42039b
mov eax, dword [0x439988]
cmp eax, ebx
je 0x42039b
push eax
call fcn.00414787
pop ecx
test eax, eax
je 0x42039b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42039b
mov eax, dword [0x43998c]
cmp eax, ebx
je 0x42039b
push eax
call fcn.00414787
pop ecx
test eax, eax
je 0x42039b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x439984]
call fcn.00414787
pop ecx
test eax, eax
je 0x4203bb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4203bd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42073a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c93e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0041d58f
mov dword [ebp - 0x14], eax
cmp dword [0x4cac7c], edi
jne 0x42082b
push 0x800
push edi
push 0x42399c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4207b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x42090b
push 0x42399c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x42090b
push 0x4239b4
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42090b
push eax
call ebx
push 0x4239c0
push esi
mov dword [0x4cac7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x4239d0
push esi
mov dword [0x4cac80], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x4239e4
push esi
mov dword [0x4cac84], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4cac8c], eax
test eax, eax
je 0x420828
push 0x423a00
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4cac88], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x420850
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x420843
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x420865
push 4
pop eax
jmp 0x42090d
cmp dword [ebp - 0x14], edi
je 0x420865
push dword [0x4cac7c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x42084a
mov eax, dword [0x4cac88]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x4208c3
cmp dword [0x4cac8c], esi
je 0x4208c3
push eax
call ebx
push dword [0x4cac8c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4208c3
test eax, eax
je 0x4208c3
call ecx
test eax, eax
je 0x4208b8
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4208b8
test byte [ebp - 8], 1
jne 0x4208c3
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x4208f3
mov eax, dword [0x4cac80]
cmp eax, esi
je 0x4208f0
push eax
call ebx
test eax, eax
je 0x4208f0
call eax
mov edi, eax
test edi, edi
je 0x4208f0
mov eax, dword [0x4cac84]
cmp eax, esi
je 0x4208f0
push eax
call ebx
test eax, eax
je 0x4208f0
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x4cac7c]
call ebx
test eax, eax
je 0x42090b
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x42090d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041a699
leave
ret
Function at 0x10003fb0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x101b2040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov byte [ebp - 0xc], 0x5c
mov byte [ebp - 0xb], 0x4e
mov byte [ebp - 0xa], 0x48
mov byte [ebp - 9], 0x2e
mov byte [ebp - 8], 0x74
mov byte [ebp - 7], 0x78
mov byte [ebp - 6], 0x74
mov byte [ebp - 5], 0
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea edx, [ebp - 0xc]
mov dword [ebp - 0x118], edx
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x118]
mov dl, byte [ecx]
mov byte [ebp - 0x112], dl
add dword [ebp - 0x118], 1
cmp byte [ebp - 0x112], 0
jne 0x1000401b
mov eax, dword [ebp - 0x118]
sub eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x138], eax
lea edx, [ebp - 0x110]
add edx, 0xffffffff
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp - 0x11c]
mov cl, byte [eax + 1]
mov byte [ebp - 0x111], cl
add dword [ebp - 0x11c], 1
cmp byte [ebp - 0x111], 0
jne 0x10004066
mov edi, dword [ebp - 0x11c]
mov esi, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x138]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0xffffffff
je 0x1000414c
push 0
mov ecx, dword [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x12c], eax
mov edx, dword [ebp - 0x12c]
push edx
call fcn.10008e4a
add esp, 4
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x130], 0
push 0
lea ecx, [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x12c]
push edx
mov eax, dword [ebp - 0x124]
push eax
mov ecx, dword [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x124], 0
je 0x1000414c
mov edx, dword [ebp - 0x124]
push edx
call fcn.100041c0
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10124bc4
mov esp, ebp
pop ebp
ret
Function at 0x1000ff24
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x1000ff69
call fcn.1000d48e
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1000ff69
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x1000ff85
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.1001ce62
mov ebx, eax
test edi, edi
je 0x1000ff83
test esi, esi
je 0x1000ff83
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1001f990
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.1000d48e
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x1001f9c7
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.1001f9e8
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1002263e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.10014629
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x1002267a
call fcn.1002285d
mov dword [esi + 0xc], 1
jmp 0x1002267f
call fcn.1002285d
cmp dword [esi], 0
je 0x100226c8
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x100226a2
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.1000ffdc
jmp 0x100226b3
push 0xff
mov ecx, esi
call fcn.1000ac4a
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.1000ba51
jmp 0x100226ec
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x100226ec
push dword [esi]
push dword [ebp - 4]
call fcn.10014a7a
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100227b2
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.1002285d
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x100227fa
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.1000ffdc
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.1000ba51
jmp 0x10022805
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.10014a7a
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x10031de7
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.10068bb6
call fcn.1000d4e2
cmp dword [eax + 0x14], 0
jne 0x10031e02
mov ecx, esi
pop esi
jmp fcn.100311ed
pop esi
ret

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

Disassembly:
push esi
mov esi, ecx
call fcn.1005671b
call fcn.1000d4e2
cmp dword [eax + 0x14], 0
jne 0x10032b38
mov ecx, esi
pop esi
jmp fcn.10032406
pop esi
ret
Function at 0x10013788
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100137b1
push 0xfaf
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x100137d4
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x100137d4
push 0xc91
push 0
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
mov esp, ebp
pop ebp
ret

Function at 0x10013887
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100138a1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
jmp 0x10013900
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
push dword [eax]
mov eax, dword [ebp - 0x1c]
push dword [eax]
lea eax, [ebp - 0x3c]
push eax
call fcn.1001293f
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
call fcn.10014e52
lea ecx, [ebp - 0x3c]
call fcn.10014e77
mov esp, ebp
pop ebp
ret
Function at 0x10014cf0
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10014d17
push 0xfaf
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x10014d26
push 0x2445
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
pop ebp
ret
Function at 0x10019c53
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10019c8a
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10019c88
push 0x1da1
push 0x78f
push 0
call dword [sym.imp.GDI32.dll_PtInRegion]
jmp 0x10019ca2
push 0
push 0x76e
push 0
push 0
push 0x25a1
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret

Function at 0x10019d5d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10019d86
push 0xfaf
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x10019d9d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret

Function at 0x1001a10e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001a135
push 0xfaf
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x1001a13d
push 0
call dword [sym.imp.COMDLG32.dll_FindTextW]
pop ebp
ret