joyce8/EMBER2024-capa huggingface dataset:
Function at 0x111adde0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push eax
mov esi, ecx
call fcn.1113a880
push 0
call fcn.111ba880
add esp, 4
test al, al
je 0x111ade17
push 0
push 2
push 2
mov ecx, esi
call fcn.11136c50
push 0
push 3
push 1
mov ecx, esi
call fcn.11136c50
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov ecx, esi
call fcn.111363d0
cmp dword [esi + 0xb8], 0
jne 0x111adedb
cmp dword [esi + 0xc], 0
jne 0x111ade51
push 0xbd
push str.e:_nsmsrc_nsm14101410fctl32_nsmdlg.h
push 0x111f761c
call fcn.11067750
add esp, 0xc
mov ecx, dword [esi + 0xc]
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push ecx
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [esi + 0xc], 0
jne 0x111ade87
push 0xc3
push str.e:_nsmsrc_nsm14101410fctl32_nsmdlg.h
push 0x111f761c
call fcn.11067750
add esp, 0xc
mov edx, dword [esi + 0xc]
push 0
push 1
push edx
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 0
push 2
push 0x401
mov ecx, esi
call edx
cmp dword [esi + 0xc], 0
jne 0x111adec9
push 0xc3
push str.e:_nsmsrc_nsm14101410fctl32_nsmdlg.h
push 0x111f761c
call fcn.11067750
add esp, 0xc
mov eax, dword [esi + 0xc]
push 0
push 0x17e3
push eax
call edi
push eax
call ebx
pop edi
pop ebx
lea ecx, [ebp + 8]
push ecx
push 1
push 0x47f
call fcn.110fe3e0
push eax
call dword [sym.imp.COMCTL32.dll_Ordinal_380]
test eax, eax
js 0x111adf0f
mov eax, dword [ebp + 8]
mov edx, dword [esi]
mov edx, dword [edx + 8]
push 0
push eax
push 0x170
push 0x45b
mov ecx, esi
call edx
mov eax, 1
pop esi
pop ebp
ret 4
Function at 0x111ae4d9
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111eb476
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x11279148]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [0x1127f758]
test ecx, ecx
jne 0x111ae70f
test ebx, ebx
jne 0x111ae605
cmp dword [0x1127f74c], ebx
jne 0x111ae5ff
cmp byte [0x1127ab45], bl
je 0x111ae593
push 0x30
call fcn.111709c0
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
test eax, eax
je 0x111ae541
mov ecx, eax
call fcn.111d7c10
jmp 0x111ae543
xor eax, eax
mov esi, dword [0x1127aa10]
push 0
mov ecx, dword [0x1127b21c]
push esi
push 0
push 0
push 0x32
push 0x32
push 0x2000
push 0x2000
push closesocket
push str.Hidden
push 0x11206794
push 0
mov dword [0x1127f750], eax
mov edx, dword [ecx]
push 0x1127f754
push eax
mov eax, dword [edx + 0x170]
mov dword [ebp - 4], 0xffffffff
call eax
jmp 0x111ae5c5
mov ecx, dword [0x1127aa10]
push 0
push ecx
push 0
push 0
push 0x32
push 0x32
push 0x2000
push 0x2000
push closesocket
push str.Hidden
push 0x11206794
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x1127f74c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x1127f74c], 0
jne 0x111ae5f0
push 0x2863
push str.UI.CPP
push str.gUI.hidden_window
call fcn.11067750
add esp, 0xc
mov edx, dword [0x1127f74c]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [0x1127f74c]
mov ecx, dword [0x1127aa68]
push 0
push 1
push str.StatusMode
push str.Client
call fcn.110bbc00
mov esi, eax
push 0x138
mov dword [ebp - 0x10], esi
call fcn.111709c0
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x111ae64a
push esi
mov ecx, eax
call fcn.111ab7f0
mov esi, eax
jmp 0x111ae64c
xor esi, esi
mov ecx, dword [0x1127aa5c]
push ebx
mov dword [ebp - 4], 0xffffffff
call fcn.110eb450
cmp byte [0x1127ab45], 0
mov edi, eax
push 0
je 0x111ae685
mov ecx, dword [0x1127b21c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x16c]
push ebx
push 0x425
push esi
call edx
jmp 0x111ae696
mov eax, dword [esi]
mov edx, dword [eax + 0x178]
push 0x425
mov ecx, esi
call edx
mov ecx, dword [0x1127aa5c]
push edi
call fcn.110eb450
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
mov ecx, esi
call edx
mov ebx, eax
mov eax, dword [esi]
mov edx, dword [eax]
push ebx
mov ecx, esi
call edx
cmp dword [ebp - 0x10], 1
jl 0x111ae6d1
push 0x1e
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0xf
lea edi, [eax + eax*2]
call dword [sym.imp.USER32.dll_GetSystemMetrics]
jmp 0x111ae6d8
mov eax, 3
mov edi, eax
push 0x11
push 0
push 0
push eax
push edi
push 0xffffffffffffffff
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push 5
mov ecx, esi
call edx
cmp dword [ebp + 8], 0
mov ecx, esi
mov dword [0x1127f758], ecx
je 0x111ae70f
push 1
call fcn.1119e470
mov ecx, dword [0x1127f758]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
call edx
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 0x111b21e0
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.111b04f0

Function at 0x111b2230
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111eb73b
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x11279148]
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
lea eax, [ebp - 0x74]
push eax
mov esi, ecx
mov ecx, dword [0x1127aa10]
push str.NSMDisplayImageClass
push ecx
call dword [sym.imp.USER32.dll_GetClassInfoW]
xor ebx, ebx
test eax, eax
jne 0x111b22ec
mov edx, dword [0x1127aa10]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x38], eax
push 5
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x44], 0x111b1630
mov dword [ebp - 0x38], edx
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x2c], eax
call fcn.111ba4b0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x24], str.NSMDisplayImageClass
call dword [sym.imp.USER32.dll_RegisterClassW]
movzx eax, ax
cmp eax, ebx
jne 0x111b22ec
push 0x2ce4
push str.UI.CPP
push 0x111f87bc
call fcn.11067750
add esp, 0xc
push str.NSMDisplayImageClass
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
mov word [0x1127f6bc], ax
call fcn.1109d390
mov ecx, dword [0x1127aa5c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
push 0x1a0
call fcn.111709c0
add esp, 4
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x111b232f
mov ecx, eax
call fcn.110fd3c0
jmp 0x111b2331
xor eax, eax
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0xc], eax
call fcn.110fcb70
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
add esp, 4
push esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov ebx, dword [0x1127aa10]
push ebx
push 0
push 0
sub ecx, edi
push ecx
sub eax, edx
push eax
push edi
push edx
push closesocket
push str.LockImage
push str.NSMDisplayImageClass
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
test edi, edi
jne 0x111b23a3
push 0x2d2e
push str.UI.CPP
push str.hWnd
call fcn.11067750
add esp, 0xc
push 5
push edi
mov dword [esi + 8], edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_BringWindowToTop]
push 1
call fcn.11175040
add esp, 4
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, esi
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.111d9022
mov esp, ebp
pop ebp
ret
Function at 0x111b7a20
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
lea eax, [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x111b7a7b
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.11170a40
add esp, 4
push esi
mov edi, eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x111b7a72
cmp eax, esi
jg 0x111b7a72
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push 0
push ebx
call fcn.111b7990
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x111b88e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov eax, ebx
push edi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x111b8900
sub eax, edx
sar eax, 1
lea edi, [eax + eax + 2]
cmp edi, 0x100
jge 0x111b8923
lea esi, [ebp - 0x104]
jmp 0x111b892e
push edi
call fcn.11170a40
add esp, 4
mov esi, eax
push 0xffffffffffffffff
push 0
push edi
push esi
push ebx
call fcn.111b7ed0
mov eax, dword [ebp + 0xc]
add esp, 0x14
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WinExec]
lea ecx, [ebp - 0x104]
mov edi, eax
cmp esi, ecx
je 0x111b895d
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.111d9022
mov esp, ebp
pop ebp
ret

Function at 0x111b8970
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x1c]
mov ebx, dword [edi]
push edi
push esi
lea eax, [ebp + 0x1c]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x111b8a06
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x1c]
test ecx, ecx
je 0x111b89a6
mov dword [ecx], edx
cmp edx, 1
je 0x111b89b5
cmp edx, 7
je 0x111b89b5
cmp edx, 2
jne 0x111b8a06
test esi, esi
je 0x111b8a06
mov ecx, dword [edi]
cmp edx, 1
je 0x111b89df
cmp edx, 2
je 0x111b89df
cmp ecx, 4
jb 0x111b89ec
cmp word [ecx + esi - 2], 0
jne 0x111b89ec
cmp word [ecx + esi - 4], 0
jne 0x111b89ec
pop edi
pop esi
pop ebx
pop ebp
ret
cmp ecx, 2
jb 0x111b89ec
cmp word [ecx + esi - 2], 0
je 0x111b8a06
lea edx, [ecx + 2]
cmp edx, ebx
ja 0x111b8a01
xor edx, edx
mov word [ecx + esi], dx
add dword [edi], 2
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, 0xea
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x111b8f00
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x20c]
mov esi, ecx
xor edi, edi
push eax
push edi
mov dword [esi], vtable.CSymbolEngine.0
mov dword [esi + 0x20], edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x111b8f7d
lea ecx, [ebp - 0x20c]
push 0x5c
push ecx
call dword [sym.imp.MSVCR100.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x111b8f7d
mov ecx, str.dbghelp.dll
lea edx, [eax + 2]
sub edx, ecx
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
test ax, ax
jne 0x111b8f60
lea edi, [ebp - 0x20c]
mov edx, edi
push edx
call ebx
mov dword [esi + 0x20], eax
cmp dword [esi + 0x20], 0
jne 0x111b8f9d
mov edi, str.DBGHELP.DLL
push edi
call ebx
mov dword [esi + 0x20], eax
test eax, eax
jne 0x111b8f9d
mov edi, str.IMAGEHLP.DLL
push edi
call ebx
mov dword [esi + 0x20], eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.SymGetLineFromAddr
push edi
call ebx
xor ecx, ecx
mov dword [esi + 8], eax
cmp eax, ecx
jne 0x111b8fcb
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], ecx
jmp 0x111b8ff7
push str.SymGetLineFromName
push edi
call ebx
push str.SymGetLineNext
push edi
mov dword [esi + 0xc], eax
call ebx
push str.SymGetLinePrev
push edi
mov dword [esi + 0x10], eax
call ebx
push str.SymMatchFileName
push edi
mov dword [esi + 0x14], eax
call ebx
mov dword [esi + 0x18], eax
push str.StackWalk
push edi
call ebx
push str.SymCleanup
push edi
mov dword [esi + 0x24], eax
call ebx
push str.SymLoadModule
push edi
mov dword [esi + 0x30], eax
call ebx
push str.SymInitialize
push edi
mov dword [esi + 0x3c], eax
call ebx
push str.SymRefreshModuleList
push edi
mov dword [esi + 0x28], eax
call ebx
push str.SymGetOptions
push edi
mov dword [esi + 0x2c], eax
call ebx
push str.SymSetOptions
push edi
mov dword [esi + 0x38], eax
call ebx
push str.SymGetModuleInfo
push edi
mov dword [esi + 0x34], eax
call ebx
push str.SymGetSymFromAddr
push edi
mov dword [esi + 0x40], eax
call ebx
push str.SymFunctionTableAccess
push edi
mov dword [esi + 0x44], eax
call ebx
push str.MiniDumpWriteDump
push edi
mov dword [esi + 0x48], eax
call ebx
mov ecx, dword [ebp - 4]
mov dword [esi + 0x1c], eax
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.111d9022
mov esp, ebp
pop ebp
ret
Function at 0x111b9090
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x20c]
mov dword [edi], 0
push eax
mov dword [ebx], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x111b912a
lea ecx, [esi + esi]
push ecx
call dword [sym.imp.MSVCR100.dll_malloc]
mov edx, dword [ebp - 0x218]
add esp, 4
push eax
push esi
mov dword [ebp - 0x210], eax
push edx
lea eax, [ebp - 0x20c]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
mov ecx, dword [ebp - 0x210]
test eax, eax
jne 0x111b913f
push ecx
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret 0xc
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x214]
push eax
push 0x11203288
push ecx
call sub.VERSION.dll_VerQueryValueW
mov esi, eax
cmp esi, 1
jne 0x111b916f
mov eax, dword [ebp - 0x214]
mov edx, dword [eax + 8]
mov dword [edi], edx
mov eax, dword [eax + 0xc]
mov dword [ebx], eax
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.MSVCR100.dll_free]
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.111d9022
mov esp, ebp
pop ebp
ret 0xc
Function at 0x111ba280
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x10], edx
mov edx, dword [ebp + 8]
push edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
push 0
push 0x4a
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x111ba2fa
push esi
lea eax, [ebp + 0xc]
push eax
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0x111ba220
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea edx, [ebp - 4]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov eax, dword [ebp - 0x1c]
push eax
call esi
pop esi
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x111ba670
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x111ba70a
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x111ba684
sub eax, edx
sar eax, 1
je 0x111ba70a
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x111ba6af
and al, 0x10
xor ecx, ecx
cmp al, 0x10
sete cl
pop edi
mov eax, ecx
pop ebp
ret
push esi
push edi
call dword [sym.imp.MSVCR100.dll__wcsdup]
mov esi, eax
push 0x5c
push esi
call dword [sym.imp.MSVCR100.dll_wcsrchr]
add esp, 0xc
test eax, eax
je 0x111ba701
xor edx, edx
push esi
mov word [eax], dx
call fcn.111ba670
add esp, 4
push esi
test eax, eax
jne 0x111ba6eb
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
pop esi
xor eax, eax
pop edi
pop ebp
ret
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x111ba6e5
pop esi
mov eax, 1
pop edi
pop ebp
ret
xor eax, eax
pop edi
pop ebp
ret

Function at 0x111bb300
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0xc
push ebx
push esi
lea eax, [ebp - 4]
push eax
push ecx
xor bl, bl
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x111bb38c
lea edx, [esi + esi]
push edi
push edx
call dword [sym.imp.MSVCR100.dll_malloc]
mov ecx, dword [ebp + 8]
add esp, 4
mov edi, eax
mov eax, dword [ebp - 4]
push edi
push esi
push eax
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x111bb381
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 8]
push eax
push 0x11203288
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x111bb381
mov eax, dword [ebp - 8]
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
push edx
movzx edx, word [eax + 0xa]
mov eax, dword [ebp + 0xc]
push ecx
push edx
push str._u._u._u._u
push eax
call fcn.1113d940
add esp, 0x18
mov bl, 1
push edi
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x111bb510
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
cmp ebx, 7
jl 0x111bb543
push 0x1ec
push str...ctl32util.cpp
push str.nsmdir___GP_MAX
call fcn.11067750
add esp, 0xc
test ebx, ebx
jne 0x111bb54c
mov ebx, 1
cmp dword [ebx*4 + 0x11280074], 0
jne 0x111bb6df
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.110fe3d0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x414]
push 0x5c
push ecx
call dword [sym.imp.MSVCR100.dll_wcsrchr]
xor edx, edx
add esp, 8
mov word [eax + 2], dx
cmp ebx, 1
jle 0x111bb6c7
push esi
push edi
mov edi, dword [sym.imp.SHFOLDER.dll_SHGetFolderPathW]
xor eax, eax
lea ecx, [ebp - 0x61c]
push ecx
push eax
push eax
push 0x26
push eax
mov word [ebp - 0x61c], ax
call edi
mov eax, ebx
or esi, 0xffffffff
sub eax, 3
je 0x111bb5e9
dec eax
je 0x111bb5e2
dec eax
je 0x111bb5db
push 0x21d
push str...ctl32util.cpp
push str.FALSE____wrong_nsmdir_
call fcn.11067750
add esp, 0xc
jmp 0x111bb5ee
mov esi, 0x1c
jmp 0x111bb5ee
mov esi, 0x23
jmp 0x111bb5ee
mov esi, 0x1a
xor edx, edx
lea eax, [ebp - 0x20c]
push eax
push edx
push edx
or esi, 0x8000
push esi
push edx
mov word [ebp - 0x20c], dx
call edi
call fcn.111b8710
xor ecx, ecx
cmp eax, 0x14
setge cl
add ecx, 0xa
push ecx
call fcn.11068bb0
lea edi, [ebp - 0x20c]
add esp, 4
add edi, 0xfffffffe
lea esp, [esp]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x111bb630
mov edx, dword [0x11203288]
mov dword [edi], edx
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x111bb646
lea edi, [ebp - 0x20c]
sub eax, edx
add edi, 0xfffffffe
lea esp, [esp]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x111bb660
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x20c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.111ba670
add esp, 4
xor eax, eax
lea ecx, [ecx]
movzx ecx, word [ebp + eax - 0x20c]
mov word [ebp + eax - 0x414], cx
add eax, 2
test cx, cx
jne 0x111bb690
lea edi, [ebp - 0x414]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x111bb6b1
mov ecx, dword [0x11203288]
mov dword [edi], ecx
pop edi
pop esi
lea edx, [ebp - 0x414]
push 0
push edx
call fcn.111b7990
add esp, 8
mov dword [ebx*4 + 0x11280074], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebx*4 + 0x11280074]
xor ecx, ebp
pop ebx
call fcn.111d9022
mov esp, ebp
pop ebp
ret
Function at 0x111bb700
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ax, word [ebp - 0x20c]
test ax, ax
je 0x111bb757
cmp ax, 0x5c
je 0x111bb749
cmp word [ebp - 0x20a], 0x3a
jne 0x111bb757
push 0
lea edx, [ebp - 0x20c]
push edx
jmp 0x111bb7dc
cmp esi, 1
jne 0x111bb776
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.110fe3d0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jmp 0x111bb79f
push esi
call fcn.111bb510
lea edx, [ebp - 0x414]
add esp, 4
sub edx, eax
jmp 0x111bb790
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x111bb790
lea ecx, [ebp - 0x414]
push 0x5c
push ecx
call dword [sym.imp.MSVCR100.dll_wcsrchr]
xor edx, edx
mov word [eax + 2], dx
lea ecx, [ebp - 0x20c]
lea edx, [eax + 2]
mov eax, ecx
add esp, 8
sub edx, eax
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
test ax, ax
jne 0x111bb7c4
push 0
lea ecx, [ebp - 0x414]
push ecx
call fcn.111b7990
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop esi
call fcn.111d9022
mov esp, ebp
pop ebp
ret
Function at 0x111bbe50
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x11277d54]
cmp eax, 0xffffffff
jne 0x111bbf4d
call fcn.111bbd40
mov dword [0x11277d54], eax
cmp eax, 0xffffffff
jne 0x111bbf4d
push ebx
push esi
push edi
push 0x114
lea eax, [ebp - 0x118]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edx, dword [ebp - 0x114]
mov eax, dword [ebp - 0x110]
push str.kernel32.dll
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x11c], eax
xor edi, edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x111bbf0a
push 0x11241ad4
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x111bbefe
call eax
movzx edi, ax
mov ebx, edi
and ebx, 0x3ff
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test di, di
jne 0x111bbf1b
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov edx, 0x3ff
and ax, dx
movzx ebx, ax
mov eax, dword [ebp - 0x108]
cmp eax, 2
jne 0x111bbf5b
cmp bx, 1
je 0x111bbf32
cmp bx, 0xd
jne 0x111bbf3b
cmp dword [ebp - 0x120], 5
jae 0x111bbf74
mov dword [0x11277d54], 0
mov eax, dword [0x11277d54]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x111bbf45
cmp bx, ax
je 0x111bbf6b
cmp bx, 0xd
jne 0x111bbf3b
cmp dword [ebp - 0x11c], 0
je 0x111bbf3b
mov dword [0x11277d54], 1
jmp 0x111bbf45

Function at 0x111bbfd0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x11277d54], 0xffffffff
jne 0x111bc00c
call fcn.111bbd40
test eax, eax
jns 0x111bc00c
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x111b8b00
push ecx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
mov edx, dword [ebp - 4]
push edx
call fcn.111b8a50
add esp, 4
mov esp, ebp
pop ebp
ret