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

Disassembly:
mov eax, 0x1281020
call fcn.01160458
push ecx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
lea eax, [ebp + 8]
push eax
call fcn.0117b182
mov dword [ebp - 4], esi
lea ecx, [ebp + 8]
call fcn.0104525f
test eax, eax
je 0x1121303
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0112120e
cmp eax, esi
jge 0x11212c8
mov esi, eax
jmp 0x1121303
push edi
push esi
push 0x8000080
push 2
push esi
push 2
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1121302
push esi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.01045295
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x112489c
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov eax, 0x1281306
call fcn.01160458
sub esp, 0x68
mov eax, dword [0x12cf8c8]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x74], esi
call fcn.01124490
xor eax, eax
mov dword [ebp - 4], eax
mov bl, byte [ebp + 8]
mov dword [esi + 0x20], 0x100b8dc
mov dword [esi], 0x100d3c4
mov dword [esi + 0x20], 0x100d3c0
mov byte [esi + 0x24], bl
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov byte [ebp - 4], 1
mov dword [esi + 0x3c], eax
mov byte [esi + 0x40], al
mov dword [esi + 0x44], eax
mov eax, dword [0x12ce0a0]
lea edi, [esi + 0x48]
mov dword [edi], eax
mov byte [ebp - 4], 2
mov eax, dword [0x12ce0a0]
mov dword [esi + 0x4c], eax
mov byte [ebp - 4], 3
mov eax, dword [0x12ce0a0]
mov dword [esi + 0x50], eax
mov byte [ebp - 4], 4
mov eax, dword [0x12ce0a0]
mov dword [esi + 0x54], eax
mov byte [ebp - 4], 5
mov eax, dword [0x12ce0a0]
mov dword [esi + 0x58], eax
mov byte [ebp - 4], 6
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 7
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
call fcn.010620a1
mov eax, dword [ebp - 0x6c]
cdq
xor eax, edx
sub eax, edx
add eax, 2
mov dword [esi + 0x34], eax
add eax, eax
push 0x6b
mov ecx, edi
mov dword [esi + 0x38], eax
call fcn.01032a72
neg bl
lea ecx, [esi + 0x4c]
sbb ebx, ebx
add ebx, 0x6f
push ebx
call fcn.01032a72
push 0xf064
lea ecx, [esi + 0x50]
call fcn.01032a72
push 0xf065
lea ecx, [esi + 0x54]
call fcn.01032a72
push 0xf066
lea ecx, [esi + 0x58]
call fcn.01032a72
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0116015a
leave
ret 4
Function at 0x1128cbe
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
push 0x47
mov ebx, ecx
call esi
xor edi, edi
push 0x48
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], eax
call esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 8], eax
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x44d
lea esi, [ebx + 4]
push dword [esi]
stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [ebp - 0x24]
push eax
push dword [esi]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_MapWindowPoints]
xor eax, eax
push eax
push eax
push eax
push 0x40000000
push eax
lea eax, [ebp - 0x14]
push eax
push dword [esi]
lea edi, [ebx + 0x104]
mov ecx, edi
call fcn.01128331
lea eax, [ebp - 0x24]
push eax
neg edi
lea eax, [ebx + 0x108]
sbb edi, edi
and edi, eax
push dword [edi]
call fcn.01182dc6
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [ebp - 0x34], 0
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x44e
push dword [esi]
stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [ebp - 0x34]
push eax
push dword [esi]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_MapWindowPoints]
xor eax, eax
lea edi, [ebx + 0x124]
push eax
push eax
push eax
push 0x40000000
push eax
lea eax, [ebp - 0x14]
push eax
push dword [esi]
mov ecx, edi
call fcn.01128331
lea eax, [ebp - 0x34]
push eax
neg edi
lea eax, [ebx + 0x128]
sbb edi, edi
and edi, eax
push dword [edi]
call fcn.01182dc6
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [ebp - 0x44], 0
xor eax, eax
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x44f
push dword [esi]
stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [ebp - 0x44]
push eax
push dword [esi]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_MapWindowPoints]
xor eax, eax
push eax
push eax
push eax
push 0x40000000
push eax
lea eax, [ebp - 0x14]
push eax
push dword [esi]
lea edi, [ebx + 0x144]
mov ecx, edi
call fcn.01128331
add ebx, 0x148
neg edi
lea eax, [ebp - 0x44]
sbb edi, edi
push eax
and edi, ebx
push dword [edi]
call fcn.01182dc6
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, esi
call fcn.01032646
pop edi
pop esi
mov al, 1
pop ebx
leave
ret
Function at 0x112e864
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push esi
push edi
mov esi, ecx
push dword [esi + 0x1a4]
mov edi, esi
neg edi
lea eax, [esi - 0x94]
sbb edi, edi
and edi, eax
call ebx
test eax, eax
je 0x112e89f
push 0
push dword [esi + 0x1a4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call ebx
test eax, eax
jne 0x112e8ab
inc eax
jmp 0x112e920
push dword [esi + 0x1a4]
call ebx
test eax, eax
je 0x112e8c0
push dword [edi + 4]
call ebx
test eax, eax
jne 0x112e8c7
mov eax, 0x80004005
jmp 0x112e920
push dword [esi + 4]
call ebx
test eax, eax
je 0x112e910
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0x1a4]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x10]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
test eax, eax
je 0x112e910
push 5
xor eax, eax
push eax
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push dword [esi + 0x1a4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x11327d2
Capabilities:
Set registry value

Disassembly:
mov eax, 0x1282200
call fcn.01160458
push ecx
push esi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x11327ea
cmp dword [ebp + 0xc], esi
jne 0x11327f1
mov eax, 0x80004003
jmp 0x1132848
cmp dword [ebp + 0x10], 1
je 0x1132804
cmp dword [ebp + 0x10], 2
je 0x1132804
mov eax, 0x80004005
jmp 0x1132848
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x10]
push eax
call fcn.0113264b
cmp eax, esi
jl 0x1132838
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push esi
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.01044c64
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x113285c
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1282217
call fcn.01160458
push ecx
push ecx
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x1132875
cmp dword [ebp + 0xc], edi
jne 0x113287c
mov eax, 0x80004003
jmp 0x11328ec
push esi
mov esi, dword [ebp + 0x10]
cmp esi, edi
jne 0x113288b
mov eax, 0x80004003
jmp 0x11328eb
mov dword [ebp + 0x10], edi
mov dword [ebp - 4], edi
lea eax, [ebp + 0x10]
push eax
call fcn.011326e6
test eax, eax
jl 0x11328da
mov eax, dword [esi]
shl eax, 1
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp + 8]
mov dword [esi], edi
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
je 0x11328c7
mov edi, eax
jmp 0x11328dd
cmp dword [ebp - 0x14], 1
je 0x11328d1
push 0xd
jmp 0x11328dc
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [esi], eax
jmp 0x11328dd
push 3
pop edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.01044c64
mov eax, edi
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x11430b0
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x128364b
call fcn.01160458
sub esp, 0x14
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 0xe78
jmp 0x11430d8
xor edi, edi
xor eax, eax
cmp dword [ebp - 0x18], edi
setne al
add eax, 0x5aa
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [0x12ce0a0]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edi
push edi
push edi
mov edi, 0xd5
push edi
push eax
call ebx
push 0
push 0
push edi
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov eax, dword [ebp - 0x20]
inc edi
inc eax
push eax
lea ecx, [ebp - 0x10]
call fcn.0103297b
push edi
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.010329e8
mov ecx, dword [esi + 0x3c]
add ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
call fcn.01044de0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.010328fe
add dword [ebp - 0x14], 4
inc dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0xe80
jl 0x11430d6
mov edi, 0x100f0f4
push edi
lea ecx, [ebp - 0x1c]
call fcn.01039a07
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x3c]
push 0
lea ecx, [eax + 0xe78]
push 0
push ecx
lea eax, [ebp - 0x1c]
push eax
call fcn.011422dc
mov dword [ebp - 0x20], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.010328fe
mov eax, dword [ebp - 0x20]
test eax, eax
jl 0x1143241
mov eax, dword [esi + 0x3c]
cmp dword [eax + 0xeb8], ebx
jne 0x11431fc
push edi
lea ecx, [ebp - 0x1c]
call fcn.01039a07
mov dword [ebp - 4], 2
mov eax, dword [esi + 0x3c]
push ebx
push 0
lea ecx, [eax + 0xe7c]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [eax + 0xe78]
call fcn.011422dc
mov edi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.010328fe
test edi, edi
jge 0x11431fc
mov eax, edi
jmp 0x1143241
mov eax, dword [esi + 0x3c]
cmp byte [eax + 0xee8], 0
jne 0x1143227
cmp dword [eax + 0xeb8], 2
jne 0x1143217
mov ebx, dword [eax + 0xeec]
push ebx
lea ecx, [eax + 0xe78]
call fcn.01141007
test eax, eax
jl 0x1143241
mov ecx, dword [esi + 0x3c]
call fcn.01141f7f
test eax, eax
jl 0x114323f
push 0x3e8
mov ecx, esi
call fcn.011412b1
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x11493f9
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x1283d3c
call fcn.01160458
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.01148af6
xor eax, eax
mov dword [ebp - 4], eax
mov dword [esi + 0x24], 0x100b8dc
mov dword [esi], 0x100f3f8
mov dword [esi + 0x24], 0x100f3f4
mov dword [esi + 0x28], eax
mov byte [ebp - 4], 1
mov cl, byte [esi + 0x34]
and cl, 0xf9
or cl, 9
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov byte [esi + 0x34], cl
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov byte [ebp - 4], 2
lea ecx, [esi + 0x50]
mov dword [esi + 0x4c], eax
call fcn.0105ae2b
mov byte [ebp - 4], 3
lea ecx, [esi + 0xb0]
call fcn.0105ae2b
mov byte [ebp - 4], 4
lea ecx, [esi + 0x110]
call fcn.0105ae2b
mov byte [ebp - 4], 5
lea ecx, [esi + 0x170]
call fcn.0105ae2b
mov byte [ebp - 4], 6
lea ecx, [esi + 0x1d0]
call fcn.01148524
mov byte [ebp - 4], 7
lea ecx, [esi + 0x1fc]
call fcn.01148524
mov byte [ebp - 4], 8
lea ecx, [esi + 0x228]
call fcn.01148524
mov byte [ebp - 4], 9
lea ecx, [esi + 0x254]
call fcn.01148524
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x280]
call fcn.0105ae2b
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0x2e0]
call fcn.0105ae2b
mov byte [ebp - 4], 0xc
lea ecx, [esi + 0x340]
call fcn.0105ae2b
mov byte [ebp - 4], 0xd
lea ecx, [esi + 0x3a0]
call fcn.0105ae2b
mov byte [ebp - 4], 0xe
lea ecx, [esi + 0x400]
call fcn.0105ae2b
mov byte [ebp - 4], 0xf
lea ecx, [esi + 0x460]
call fcn.0105ae2b
mov byte [ebp - 4], 0x10
lea ecx, [esi + 0x4c0]
call fcn.0105ae2b
mov byte [ebp - 4], 0x11
lea ecx, [esi + 0x520]
call fcn.0105ae2b
mov byte [ebp - 4], 0x12
lea ecx, [esi + 0x580]
call fcn.0105ae2b
mov byte [ebp - 4], 0x13
lea ecx, [esi + 0x5e0]
call fcn.0105ae2b
mov byte [ebp - 4], 0x14
lea ecx, [esi + 0x640]
call fcn.0105ae2b
mov byte [ebp - 4], 0x15
lea ecx, [esi + 0x6a0]
call fcn.0105ae2b
mov byte [ebp - 4], 0x16
lea ecx, [esi + 0x700]
call fcn.0105ae2b
mov byte [ebp - 4], 0x17
lea ecx, [esi + 0x760]
call fcn.0105ae2b
mov byte [ebp - 4], 0x18
lea ecx, [esi + 0x7c0]
call fcn.0105ae2b
mov byte [ebp - 4], 0x19
lea ecx, [esi + 0x820]
call fcn.0105ae2b
mov byte [ebp - 4], 0x1a
lea ecx, [esi + 0x880]
call fcn.0105ae2b
mov byte [ebp - 4], 0x1b
lea ecx, [esi + 0x8e0]
call fcn.0105ae2b
mov byte [ebp - 4], 0x1c
lea ecx, [esi + 0x940]
call fcn.0105ae2b
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x114c2f4
Capabilities:
Inspect load icon resource

Disassembly:
mov eax, 0x1283eea
call fcn.01160458
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x84]
xor edi, edi
cmp dword [eax], edi
mov dword [ebp - 0x10], esi
jne 0x114c31d
push 0x7f03
push edi
jmp 0x114c327
movzx eax, word [eax]
push eax
push dword [0x12d23c0]
call dword [sym.imp.USER32.dll_LoadIconW]
add esi, 4
push edi
mov ecx, esi
mov dword [ebp - 0x18], eax
call fcn.01032646
mov eax, dword [0x12ce0a0]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], edi
push 0xf006
lea ecx, [ebp - 0x14]
call fcn.01032a72
push dword [ebp - 0x14]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [esi]
call edi
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x755
push dword [esi]
call ebx
push 0
push dword [ebp - 0x18]
push 0x170
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x756
push dword [esi]
call ebx
mov ecx, dword [ebp - 0x10]
push dword [ecx + 0x88]
push eax
call edi
test eax, eax
jne 0x114c39d
xor bl, bl
jmp 0x114c3d1
push 0x753
push dword [esi]
call ebx
mov ecx, dword [ebp - 0x10]
push dword [ecx + 0x8c]
push eax
call edi
test eax, eax
je 0x114c399
push 0x752
push dword [esi]
call ebx
mov ecx, dword [ebp - 0x10]
push dword [ecx + 0x90]
push eax
call edi
test eax, eax
je 0x114c399
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.010328fe
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x114e842
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x128416e
call fcn.01160458
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.01132f8e
xor eax, eax
mov dword [ebp - 4], eax
mov dword [esi], 0x100f578
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov byte [ebp - 4], 1
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov byte [ebp - 4], 2
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov byte [ebp - 4], 3
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov byte [ebp - 4], 4
mov dword [esi + 0x78], eax
mov byte [ebp - 4], 5
mov dword [esi + 0x7c], eax
mov byte [ebp - 4], 6
mov ecx, esi
call fcn.0114d853
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x1151007
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push esi
push edi
mov esi, ecx
push dword [esi + 0x1a4]
mov edi, esi
neg edi
lea eax, [esi - 0xc8]
sbb edi, edi
and edi, eax
call ebx
test eax, eax
je 0x1151042
push 0
push dword [esi + 0x1a4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call ebx
test eax, eax
jne 0x115104e
inc eax
jmp 0x11510c3
push dword [esi + 0x1a4]
call ebx
test eax, eax
je 0x1151063
push dword [edi + 0x10]
call ebx
test eax, eax
jne 0x115106a
mov eax, 0x80004005
jmp 0x11510c3
push dword [esi + 4]
call ebx
test eax, eax
je 0x11510b3
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0x1a4]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x10]
push eax
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
test eax, eax
je 0x11510b3
push 5
xor eax, eax
push eax
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push dword [esi + 0x1a4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1153429
Capabilities:
Get disk size

Disassembly:
mov eax, 0x128470a
call fcn.01160458
sub esp, 0x1c
push ebx
lea ecx, [ebp - 0x10]
xor ebx, ebx
call fcn.01045169
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x12d2398
call fcn.0107d7f7
cmp eax, ebx
jl 0x115348c
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.0107d5c8
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x115348c
cmp dword [ebp - 0x14], ebx
jb 0x115348c
ja 0x115348a
cmp dword [ebp - 0x18], 0x2800000
jbe 0x115348c
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.01045295
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x1153926
Capabilities:
Get common file path

Disassembly:
mov eax, 0x128478f
call fcn.01160458
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 0xa8]
test eax, eax
jne 0x115394a
mov eax, 0x80004003
jmp 0x1153a21
lea ecx, [ebp - 0x10]
call fcn.01045169
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.01045169
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x12d2398
call fcn.0107d7f7
test eax, eax
jge 0x115397b
mov esi, eax
jmp 0x1153a07
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.01052b7d
mov byte [ebp - 4], 2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.01046095
push 0x104
lea ecx, [ebp - 0x10]
call fcn.0103297b
test eax, eax
je 0x11539c7
push eax
push 0
push 0x10094fc
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x11539c7
mov esi, 0x80004005
jmp 0x1153a07
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.010329e8
push dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
call fcn.01032b44
mov byte [ebp - 4], 3
mov eax, dword [eax]
mov ecx, dword [esi + 0xa8]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0xf0]
mov esi, eax
mov byte [ebp - 4], 1
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
jl 0x1153a07
xor esi, esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.01045295
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.01045295
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x1155d5e
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x1284b45
call fcn.01160458
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, ecx
push 2
mov dword [esi + 0x30c], 0xc
push dword [esi + 0x10]
call edi
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
mov dword [ebp - 0x14], eax
call ebx
test eax, eax
jne 0x1155d9e
xor al, al
jmp 0x1155f55
push dword [ebp - 0x14]
lea ecx, [esi + 0x2b0]
call fcn.0105ae8b
push 0x87b
push dword [esi + 0x10]
call edi
push eax
mov dword [ebp - 0x14], eax
call ebx
test eax, eax
je 0x1155dce
push dword [ebp - 0x14]
lea ecx, [esi + 0x310]
call fcn.011007d1
push 0x87c
push dword [esi + 0x10]
call edi
push eax
mov dword [ebp - 0x14], eax
call ebx
test eax, eax
je 0x1155df0
push dword [ebp - 0x14]
lea ecx, [esi + 0x370]
call fcn.011007d1
lea ecx, [esi + 0xc8]
call fcn.01151007
xor eax, eax
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
push eax
push eax
push ecx
mov dword [ecx], eax
mov ecx, esp
mov dword [ecx], eax
mov dword [ebp - 0x18], esp
push dword [esi + 0x10]
lea ecx, [esi + 0x474]
call fcn.010343d9
push dword [esi + 0x474]
call ebx
test eax, eax
je 0x1155ebe
push 1
lea ecx, [esi + 0x474]
call fcn.01033f95
lea eax, [ebp - 0x28]
push eax
lea ebx, [esi + 0x2a4]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0x10]
push 2
lea ecx, [ebp - 0x28]
push ecx
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [0x12ce0a0]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
push 0x9cfc
lea ecx, [ebp - 0x10]
call fcn.01032a72
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 8]
inc eax
push eax
lea ecx, [ebp - 0x10]
call fcn.0103297b
push 0x5ce
lea ecx, [ebp - 0x28]
push ecx
push ecx
mov ecx, esp
mov dword [ecx], eax
mov dword [ebp - 0x18], esp
push dword [esi + 0x10]
lea ecx, [esi + 0x474]
call fcn.01034406
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.010329e8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.010328fe
push 0x8a4
push dword [esi + 0x10]
call edi
mov ecx, dword [0x12ce0a0]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 1
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
inc ebx
push ebx
lea ecx, [ebp - 0x10]
call fcn.0105604f
test eax, eax
mov dword [ebp - 0x18], eax
je 0x1155f21
dec ebx
push ebx
push eax
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.010329e8
push 0x26
lea ecx, [ebp - 0x10]
call fcn.0113f9a9
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ebx, [esi + 0x3d0]
push 0x8a4
mov dword [ebx + 0x5c], 0x1c
push dword [esi + 0x10]
call edi
push eax
mov ecx, ebx
call fcn.0105ae8b
mov ecx, esi
call fcn.01153fd9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.010328fe
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret