joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1114e960
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x111be464]
mov ecx, dword [0x111f22a0]
sub esp, 0x10
push esi
mov esi, dword [sym.imp.KeRneL32.DLl_GetProcAddress]
push eax
push ecx
call esi
mov edx, dword [0x111be468]
mov dword [0x111f2264], eax
mov eax, dword [0x111f22a0]
push edx
push eax
call esi
mov ecx, dword [0x111be46c]
mov edx, dword [0x111f22a0]
push ecx
push edx
mov dword [0x111f2268], eax
call esi
mov ecx, dword [0x111f22a0]
mov dword [0x111f226c], eax
mov eax, dword [0x111be470]
push eax
push ecx
call esi
mov edx, dword [0x111be474]
mov dword [0x111f2270], eax
mov eax, dword [0x111f22a0]
push edx
push eax
call esi
mov ecx, dword [0x111be478]
mov edx, dword [0x111f22a0]
push ecx
push edx
mov dword [0x111f2274], eax
call esi
mov ecx, dword [0x111f22a0]
mov dword [0x111f2278], eax
mov eax, dword [0x111be47c]
push eax
push ecx
call esi
mov edx, dword [0x111be480]
mov dword [0x111f227c], eax
mov eax, dword [0x111f22a0]
push edx
push eax
call esi
mov ecx, dword [0x111be484]
mov edx, dword [0x111f22a0]
push ecx
push edx
mov dword [0x111f2280], eax
call esi
mov ecx, dword [0x111f22a0]
mov dword [0x111f2284], eax
mov eax, dword [0x111be488]
push eax
push ecx
call esi
mov edx, dword [0x111be48c]
mov dword [0x111f2288], eax
mov eax, dword [0x111f22a0]
push edx
push eax
call esi
mov ecx, dword [0x111be490]
mov edx, dword [0x111f22a0]
push ecx
push edx
mov dword [0x111f228c], eax
call esi
mov ecx, dword [0x111f22a0]
mov dword [0x111f2290], eax
mov eax, dword [0x111be494]
push eax
push ecx
call esi
mov dword [0x111f2294], eax
mov edx, dword [0x111be498]
mov eax, dword [0x111f22a0]
push edx
push eax
call esi
mov ecx, dword [0x111be49c]
mov edx, dword [0x111f22a0]
push ecx
push edx
mov dword [0x111f2298], eax
call esi
cmp dword [0x111f2264], 0
mov dword [0x111f229c], eax
pop esi
je 0x1114eb1d
cmp dword [0x111f2268], 0
je 0x1114eb1d
cmp dword [0x111f226c], 0
je 0x1114eb1d
cmp dword [0x111f2270], 0
je 0x1114eb1d
cmp dword [0x111f2274], 0
je 0x1114eb1d
cmp dword [0x111f2278], 0
je 0x1114eb1d
cmp dword [0x111f227c], 0
je 0x1114eb1d
cmp dword [0x111f2280], 0
je 0x1114eb1d
cmp dword [0x111f2284], 0
je 0x1114eb1d
cmp dword [0x111f2288], 0
je 0x1114eb1d
cmp dword [0x111f228c], 0
je 0x1114eb1d
cmp dword [0x111f2290], 0
je 0x1114eb1d
cmp dword [0x111f2294], 0
je 0x1114eb1d
cmp dword [0x111f2298], 0
jne 0x1114eb3e
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0x111be4d0
call fcn.1116305a
push 0x111cfdb8
lea ecx, [ebp - 0x10]
push ecx
call fcn.111634b1
mov esp, ebp
pop ebp
ret

Function at 0x11152670
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 4]
push 0
push eax
call dword [sym.imp.uSEr32.dll_ShowWindow]
ret
Function at 0x111592f0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
mov esi, ecx
call dword [sym.imp.uSEr32.dll_OpenClipboard]
test eax, eax
je 0x1115940a
push ebx
push edi
push 8
xor edi, edi
call dword [sym.imp.uSEr32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x1115934b
push 8
call dword [sym.imp.uSEr32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
je 0x1115934b
push ebx
call dword [sym.imp.KeRneL32.DLl_GlobalLock]
push edi
push eax
call fcn.110f0180
add esp, 8
push ebx
mov edi, eax
call dword [sym.imp.KeRneL32.DLl_GlobalUnlock]
call dword [sym.imp.uSEr32.dll_CloseClipboard]
xor ebx, ebx
cmp edi, ebx
je 0x11159408
mov eax, dword [esi + 0x1c8]
push ebx
push 0x2f3b
push 0x111
push eax
call dword [sym.imp.uSEr32.dll_GetParent]
push eax
call dword [sym.imp.uSEr32.dll_SendMessageA]
push 1
push 1
mov ecx, esi
call fcn.11158ba0
push 1
push 1
mov ecx, esi
call fcn.11158d10
mov ecx, dword [esi + 0x1bc]
mov edx, dword [esi + 0x1c0]
mov eax, dword [esi]
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x118]
push ecx
mov ecx, esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call edx
lea eax, [ebp - 0x2c]
push eax
push 0x18
push edi
mov dword [esi + 0x21c], edi
call dword [sym.imp.Gdi32.Dll_GetObjectA]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov edx, dword [esi]
mov edx, dword [edx + 0x11c]
push ebx
push eax
mov eax, dword [esi + 8]
push ecx
push ebx
push ebx
push eax
mov ecx, esi
call edx
mov eax, dword [esi + 0x1c8]
push ebx
push 0x2f3b
push 0x111
push eax
mov dword [esi + 0x134], 0x2f3b
call dword [sym.imp.uSEr32.dll_PostMessageA]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
Function at 0x11159b30
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
push 0
mov dword [esi + 8], eax
call fcn.11145410
add esp, 4
test al, al
je 0x11159b5a
mov ecx, dword [esi + 8]
push 1
push ecx
call fcn.11145510
add esp, 8
cmp dword [esi + 8], 0
jne 0x11159b77
push 0x1a2
push 0x11195124
push 0x1119511c
call fcn.11029a70
add esp, 0xc
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.uSEr32.dll_GetDC]
mov edi, eax
push edi
call dword [sym.imp.Gdi32.Dll_CreateCompatibleDC]
mov dword [esi + 0x28], eax
call fcn.11146010
test eax, eax
je 0x11159ba4
mov eax, dword [esi + 0x28]
push 1
push eax
call fcn.11146140
add esp, 8
mov ecx, dword [esi + 0x1c0]
mov edx, dword [esi + 0x1bc]
push ecx
push edx
push edi
call dword [sym.imp.Gdi32.Dll_CreateCompatibleBitmap]
push eax
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x28]
push eax
call dword [sym.imp.Gdi32.Dll_SelectObject]
mov ecx, dword [esi + 0x1c0]
mov edx, dword [esi + 0x1bc]
push 0xff0062
push 0
push 0
push edi
push ecx
push edx
push 0
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x28]
push 0
push eax
call dword [sym.imp.Gdi32.Dll_BitBlt]
push 0
push 0
push 0
push 0x11195a80
call dword [sym.imp.Gdi32.Dll_CreateDCA]
mov ebx, eax
push ebx
call dword [sym.imp.Gdi32.Dll_CreateCompatibleDC]
mov ecx, dword [esi + 0x1c0]
mov edx, dword [esi + 0x1bc]
push ecx
push edx
push ebx
mov dword [esi + 0x2c], eax
call dword [sym.imp.Gdi32.Dll_CreateCompatibleBitmap]
push eax
mov dword [esi + 0x108], eax
mov eax, dword [esi + 0x2c]
push eax
call dword [sym.imp.Gdi32.Dll_SelectObject]
mov ecx, dword [esi + 0x1c0]
mov edx, dword [esi + 0x1bc]
push 0xff0062
push 0
push 0
push edi
push ecx
push edx
push 0
mov dword [esi + 0x10c], eax
mov eax, dword [esi + 0x2c]
push 0
push eax
call dword [sym.imp.Gdi32.Dll_BitBlt]
cmp dword [esi + 8], 0
jne 0x11159c7c
push 0x1a5
push 0x11195124
push 0x1119511c
call fcn.11029a70
add esp, 0xc
mov ecx, dword [esi + 8]
push edi
push ecx
call dword [sym.imp.uSEr32.dll_ReleaseDC]
push ebx
call dword [sym.imp.Gdi32.Dll_DeleteDC]
xor edi, edi
push edi
push 1
push 2
call dword [sym.imp.Gdi32.Dll_CreatePen]
mov edx, dword [esi + 0x120]
mov ecx, dword [esi + 0x118]
mov dword [esi + 0x130], eax
mov eax, dword [esi + 0x11c]
push edx
push eax
push ecx
mov ecx, esi
call fcn.110022d0
mov edx, dword [esi + 0x12c]
mov eax, dword [esi + 0x128]
push edx
push eax
mov ecx, esi
call fcn.11005b70
mov ecx, dword [esi + 0x120]
push ecx
call dword [sym.imp.Gdi32.Dll_CreateSolidBrush]
mov edx, dword [esi + 0x134]
push edx
mov ecx, esi
mov dword [esi + 0x124], eax
call fcn.11159420
mov dword [esi + 0x1a0], edi
mov dword [esi + 0x1dc], edi
mov dword [esi + 0x1b4], edi
mov dword [esi + 0x1e0], edi
mov dword [esi + 0x1e4], edi
mov dword [esi + 0x1b8], edi
mov dword [esi + 0x1e8], edi
mov dword [esi + 0x214], edi
lea eax, [edi + 1]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x1115b5d0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
push edi
mov dword [esi], 0x111beeb8
xor edi, edi
push 0x30
mov dword [esi + 0x10], edi
call fcn.111101b0
add esp, 4
cmp eax, edi
je 0x1115b683
mov dword [esi + 0xc], eax
mov dword [eax], eax
mov eax, dword [esi + 0xc]
mov dword [eax + 4], eax
mov eax, dword [esi + 0xc]
mov dword [eax + 8], eax
mov ecx, dword [esi + 0xc]
mov al, 1
mov byte [ecx + 0x2c], al
mov edx, dword [esi + 0xc]
push 0x111bef50
mov byte [edx + 0x2d], al
call dword [sym.imp.KeRneL32.DLl_LoadLibraryA]
mov dword [esi + 4], eax
cmp eax, edi
je 0x1115b67b
mov edi, dword [sym.imp.KeRneL32.DLl_GetProcAddress]
push 0x111bef40
push eax
call edi
mov dword [0x111f22c0], eax
mov eax, dword [esi + 4]
push 0x111bef30
push eax
call edi
mov dword [0x111f22bc], eax
mov ecx, dword [esi + 4]
push 0x111bef1c
push ecx
call edi
mov dword [0x111f22b8], eax
mov edx, dword [esi + 4]
push 0x111bef00
push edx
call edi
mov dword [0x111f22b4], eax
mov eax, dword [esi + 4]
push 0x111beef0
push eax
call edi
mov dword [0x111f22b0], eax
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], edi
call fcn.1116305a
push 0x111cd988
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 0x10], 0x11195404
call fcn.111634b1
out dx, eax
in al, 0x81
adc al, 0xfc
cmpsb byte [esi], byte es:[edi]
out 0x27, al
sbb dl, byte [ebp - 0x75]
in al, dx
push esi
mov esi, ecx
call fcn.1115b190
test byte [ebp + 8], 1
je 0x1115b6ca
push esi
call fcn.11162777
add esp, 4
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x1115b8c0
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
push ebx
call dword [sym.imp.uSEr32.dll_GetWindowTextLengthA]
lea esi, [eax + 1]
lea eax, [esi + 4]
push eax
call fcn.11110230
add esp, 4
push esi
mov edi, eax
push edi
push ebx
call dword [sym.imp.uSEr32.dll_GetWindowTextA]
cmp esi, 0x80
jle 0x1115b902
mov eax, 0x111ab2e8
lea edx, [edi + 0x81]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1115b8f8
mov eax, edi
pop edi
pop esi
ret
Function at 0x1115c8e0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1118dde6
mov eax, dword fs:[0]
push eax
sub esp, 0xa24
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
push edi
push edi
push edi
push 3
push 2
push edi
push edi
push 0xffffffffffffffff
xor ebx, ebx
push edi
mov dword [ebp - 0xa24], ebx
call dword [sym.imp.OLE32.dlL_CoInitializeSecurity]
lea eax, [ebp - 0xa1c]
push eax
push 0x111c61ac
push 0x17
push edi
push 0x111c627c
mov dword [ebp - 0xa1c], edi
call dword [sym.imp.OLE32.dlL_CoCreateInstance]
test eax, eax
jne 0x1115cad4
mov ebx, dword [sym.imp.uSEr32.dll_wsprintfW]
lea ecx, [ebp - 0x218]
push 0x111c1124
push ecx
call ebx
add esp, 8
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.OLeAuT32.dLL_SysReAllocString]
push 0x111f22f4
push edi
push edi
push edi
push edi
push edi
mov ecx, eax
mov eax, dword [ebp - 0xa1c]
mov edx, dword [eax]
push edi
push ecx
push eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xa30], ecx
call eax
test eax, eax
js 0x1115cac1
mov eax, dword [0x111f22f4]
lea edx, [ebp - 0xa20]
push edx
mov dword [ebp - 0xa20], edi
mov ecx, dword [eax]
push 0x111c1b3c
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [ebp - 0xa20]
cmp eax, edi
je 0x1115cac1
mov edx, dword [0x111f22f4]
mov ecx, dword [eax]
push edi
push edi
push 3
push 2
push edi
push edi
push 0xa
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, edi
jl 0x1115cab3
xor ecx, ecx
mov eax, esi
mov dword [0x111f22f0], edi
mov word [ebp - 0xa18], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1115ca04
sub eax, edx
sar eax, 1
cmp eax, 0xc8
jae 0x1115ca2c
push esi
lea edx, [ebp - 0xa18]
push 0x111c1100
push edx
call ebx
add esp, 0xc
lea eax, [ebp - 0xa18]
push eax
lea ecx, [ebp - 0xa2c]
call fcn.110978f0
mov esi, eax
push 0x111c10f8
lea ecx, [ebp - 0xa28]
mov dword [ebp - 4], edi
call fcn.110978f0
mov ecx, dword [esi]
mov ebx, 1
mov byte [ebp - 4], bl
cmp ecx, edi
je 0x1115ca65
mov ecx, dword [ecx]
jmp 0x1115ca67
xor ecx, ecx
mov eax, dword [eax]
cmp eax, edi
je 0x1115ca71
mov edx, dword [eax]
jmp 0x1115ca73
xor edx, edx
mov eax, dword [0x111f22f4]
mov esi, dword [eax]
push 0x111f22f0
push edi
push 0x20
push ecx
mov ecx, dword [esi + 0x50]
push edx
push eax
call ecx
lea ecx, [ebp - 0xa28]
mov esi, eax
call fcn.110979a0
lea ecx, [ebp - 0xa2c]
mov dword [ebp - 4], 0xffffffff
call fcn.110979a0
cmp esi, edi
jl 0x1115cab3
mov dword [ebp - 0xa24], ebx
mov eax, dword [ebp - 0xa20]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0xa30]
push ecx
call dword [sym.imp.OLeAuT32.dLL_SysStringLen]
mov ebx, dword [ebp - 0xa24]
mov eax, dword [ebp - 0xa1c]
cmp eax, edi
je 0x1115cae6
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
Function at 0x1115e030
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1118df70
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x111ec774]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
xor ebx, ebx
mov eax, 0xf
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], ebx
mov byte [esi], bl
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], ebx
mov dword [ebp - 4], ebx
mov byte [esi + 0x1c], bl
mov dword [esi + 0x4c], eax
mov dword [esi + 0x48], ebx
mov byte [esi + 0x38], bl
mov dword [esi + 0x68], eax
mov dword [esi + 0x64], ebx
mov byte [esi + 0x54], bl
mov dword [esi + 0x84], eax
mov dword [esi + 0x80], ebx
mov byte [esi + 0x70], bl
mov dword [esi + 0xa0], eax
mov dword [esi + 0x9c], ebx
mov byte [esi + 0x8c], bl
mov dword [esi + 0xbc], eax
mov dword [esi + 0xb8], ebx
mov byte [esi + 0xa8], bl
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], ebx
mov dword [esi + 0xf4], ebx
mov dword [esi + 0xf8], ebx
mov dword [esi + 0xfc], ebx
mov byte [ebp - 4], 0xa
call dword [sym.imp.KeRneL32.DLl_GetVersion]
cmp al, 6
jae 0x1115e1a5
push 0x11195fc4
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KeRneL32.DLl_LoadLibraryA]
mov edi, eax
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 0xb
call dword [sym.imp.KeRneL32.DLl_GetCurrentProcess]
push 0x111a55b0
push edi
mov dword [ebp - 0x14], eax
call dword [sym.imp.KeRneL32.DLl_GetProcAddress]
mov dword [ebp - 0x38], eax
cmp eax, ebx
je 0x1115e186
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push ecx
push edx
call eax
jmp 0x1115e18e
push 0x78
call dword [sym.imp.KeRneL32.DLl_SetLastError]
cmp dword [ebp - 0x10], ebx
jne 0x1115e19a
mov ecx, esi
call fcn.1115d540
cmp edi, ebx
je 0x1115e1a5
push edi
call dword [sym.imp.KeRneL32.DLl_FreeLibrary]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1115ea00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
call fcn.1115e9a0
test eax, eax
je 0x1115ea99
push esi
push edi
push 0x44
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.11162be0
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add esp, 0xc
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x54]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
push edi
push 0
push eax
mov dword [ebp - 0x54], 0x44
call fcn.1115e8b0
add esp, 4
push eax
call dword [sym.imp.aDvapi32.DLL_CreateProcessAsUserA]
mov esi, eax
test esi, esi
jne 0x1115ea7f
call dword [sym.imp.KeRneL32.DLl_GetLastError]
push 1
push edi
call dword [sym.imp.KeRneL32.DLl_WinExec]
mov ecx, 0x1f
cmp ecx, eax
sbb eax, eax
pop edi
neg eax
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x10]
mov edi, dword [sym.imp.KeRneL32.DLl_CloseHandle]
push edx
call edi
mov eax, dword [ebp - 0xc]
push eax
call edi
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
push 1
push ecx
call dword [sym.imp.KeRneL32.DLl_WinExec]
mov edx, 0x1f
cmp edx, eax
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret
Function at 0x11160230
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0
push 0
mov edi, ecx
mov eax, dword [edi + 8]
push 0xe
push eax
call dword [sym.imp.uSEr32.dll_SendMessageA]
lea ebx, [eax + 1]
push ebx
call fcn.11163a11
add esp, 4
mov esi, eax
mov eax, dword [edi + 8]
push ebx
push esi
push eax
call dword [sym.imp.uSEr32.dll_GetWindowTextA]
mov ecx, dword [ebp + 8]
push esi
call fcn.110d16d0
push esi
call fcn.11163aa5
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x11160d17
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x10c]
push eax
push 0x20019
xor esi, esi
push esi
push 0x111c165c
push bind
call dword [sym.imp.aDvapi32.DLL_RegOpenKeyExA]
test eax, eax
jne 0x11160dec
push edi
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push esi
push dword [ebp - 0x10c]
mov edi, 0x104
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], 1
call dword [sym.imp.aDvapi32.DLL_RegQueryValueExA]
test eax, eax
jne 0x11160ddb
cmp dword [ebp - 0x114], 2
mov byte [ebp - 5], al
lea eax, [ebp - 0x108]
jne 0x11160dc5
push edi
push dword [ebp - 0x110]
push eax
call dword [sym.imp.KeRneL32.DLl_ExpandEnvironmentStringsA]
dec eax
lea ecx, [edi - 1]
cmp ecx, eax
sbb esi, esi
inc esi
jmp 0x11160ddb
push eax
push edi
push dword [ebp - 0x110]
call fcn.11160cb4
xor ecx, ecx
test eax, eax
setge cl
mov esi, ecx
push dword [ebp - 0x10c]
call dword [sym.imp.aDvapi32.DLL_RegCloseKey]
mov eax, esi
pop edi
jmp 0x11160dee
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.11162bb7
leave
ret 4

Function at 0x11162bb7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x111ec774]
jne 0x11162bc1
repz ret
jmp fcn.1116ca8c

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x1116814b
call fcn.1116a1c2
mov dword [eax], esi
call fcn.1116a1af
push 0x16
pop esi
mov dword [eax], esi
call fcn.1116edc4
mov eax, esi
jmp 0x111681a0
test dword [ebp + 0xc], 0xfffffff9
jne 0x11168131
push dword [ebp + 8]
call dword [sym.imp.KeRneL32.DLl_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x11168178
call dword [sym.imp.KeRneL32.DLl_GetLastError]
push eax
call fcn.1116a1d5
pop ecx
call fcn.1116a1af
mov eax, dword [eax]
jmp 0x111681a0
test al, 0x10
jne 0x1116819e
test al, 1
je 0x1116819e
test byte [ebp + 0xc], 2
je 0x1116819e
call fcn.1116a1c2
mov dword [eax], 5
call fcn.1116a1af
mov dword [eax], 0xd
jmp 0x1116816f
xor eax, eax
pop esi
pop ebp
ret
Function at 0x11178b05
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1116c488
and dword [ebp - 0x14], 0
cmp dword [0x111f3398], 0
mov dword [ebp - 0x18], eax
jne 0x11178bb8
push 0x111c6050
call dword [sym.imp.KeRneL32.DLl_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x11178c60
mov edi, dword [sym.imp.KeRneL32.DLl_GetProcAddress]
push 0x111c6044
push ebx
call edi
test eax, eax
je 0x11178c60
mov esi, dword [sym.imp.KeRneL32.DLl_EncodePointer]
push eax
call esi
push 0x111c6034
push ebx
mov dword [0x111f3398], eax
call edi
push eax
call esi
push 0x111c6020
push ebx
mov dword [0x111f339c], eax
call edi
push eax
call esi
push 0x111c6004
push ebx
mov dword [0x111f33a0], eax
call edi
push eax
call esi
mov dword [0x111f33a8], eax
test eax, eax
je 0x11178bb8
push 0x111c5fec
push ebx
call edi
push eax
call esi
mov dword [0x111f33a4], eax
mov eax, dword [0x111f33a4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KeRneL32.DLl_DecodePointer]
cmp eax, ecx
je 0x11178c11
cmp dword [0x111f33a8], ecx
je 0x11178c11
push eax
call esi
push dword [0x111f33a8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x11178c11
test ebx, ebx
je 0x11178c11
call edi
test eax, eax
je 0x11178c08
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x11178c08
test byte [ebp - 8], 1
jne 0x11178c11
or dword [ebp + 0x10], 0x200000
jmp 0x11178c44
mov eax, dword [0x111f339c]
cmp eax, dword [ebp - 0x18]
je 0x11178c44
push eax
call esi
test eax, eax
je 0x11178c44
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x11178c44
mov eax, dword [0x111f33a0]
cmp eax, dword [ebp - 0x18]
je 0x11178c44
push eax
call esi
test eax, eax
je 0x11178c44
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x111f3398]
call esi
test eax, eax
je 0x11178c60
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x11178c62
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.11162bb7
leave
ret
Function at 0x1117d88b
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x111f33e0], 0
push esi
push edi
jne 0x1117d801
call fcn.1117d76d
test eax, eax
je 0x1117d846
mov eax, dword [0x111f33e0]
cmp eax, 1
jne 0x1117d822
push 0xd
push 0
call dword [sym.imp.KeRneL32.DLl_GetProcessHeap]
push eax
call dword [sym.imp.KeRneL32.DLl_HeapAlloc]
test eax, eax
je 0x1117d846
jmp 0x1117d888
mov edi, dword [sym.imp.KeRneL32.DLl_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x1117d888
push pe_nt_image_headers32
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KeRneL32.DLl_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x1117d84a
xor eax, eax
jmp 0x1117d888
mov eax, dword [esi]
push dword [0x111f33e0]
call edi
mov edi, eax
test edi, edi
je 0x1117d86c
push 0x8000
push 0
push esi
call dword [sym.imp.KeRneL32.DLl_VirtualFree]
mov eax, edi
jmp 0x1117d888
lea edi, [esi + 0xff0]
push esi
push dword [0x111f33e0]
call dword [sym.imp.KeRneL32.DLl_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x1117d872
mov eax, esi
pop edi
pop esi
ret
jmp 0x1117d7ed