joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410103
Capabilities:
Check if file exists
Get common file path
Get file attributes
Link many functions at runtime
Set current directory

Disassembly:
push 0xc
mov eax, 0x454562
call fcn.0043dfc3
xor ebx, ebx
cmp dword [0x48e3a8], ebx
jne 0x4102aa
cmp dword [ebp + 8], ebx
je 0x4102aa
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push ebx
push ebx
call edi
mov esi, eax
add esi, 0x13
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042a898
pop ecx
push eax
push esi
mov dword [ebp - 0x18], eax
call edi
mov esi, dword [ebp + 8]
lea eax, [esi + 0x60]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040219e
mov eax, esi
mov dword [ebp - 4], ebx
call fcn.0040521a
lea ecx, [ebp - 0x10]
test eax, eax
je 0x41017a
push str.Reader_
jmp 0x41017f
jmp 0x4f4198
call fcn.00408e18
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040219e
push str.logsession.dll
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00408e18
mov ebx, dword [ebp - 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, dword [ebp - 0x10]
cmp eax, 0xffffffff
je 0x4101e0
push edi
push str.Agent
push str.SoftwareAdobeCommonFilesUsage_
call fcn.0042501c
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
add esp, 0xc
push edi
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push dword [ebp - 0x18]
mov dword [0x48e3a8], eax
call esi
push dword [ebp - 0x18]
call fcn.0042a88d
mov eax, dword [0x48e3a8]
pop ecx
test eax, eax
jne 0x410207
lea ecx, [ebx - 0x10]
call fcn.004025dc
lea ecx, [edi - 0x10]
call fcn.004025dc
jmp 0x4102fc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.UTInitialize
push eax
call esi
push str.UTOptInGet
push dword [0x48e3a8]
mov dword [0x48e3ac], eax
call esi
push str.UTSetOptIn
push dword [0x48e3a8]
mov dword [0x48e3b0], eax
call esi
push str.UTStartSession
push dword [0x48e3a8]
mov dword [0x48e3b4], eax
call esi
push str.UTLogEvent
push dword [0x48e3a8]
mov dword [0x48e3b8], eax
call esi
push str.UTNewDataGroup
push dword [0x48e3a8]
mov dword [0x48e3bc], eax
call esi
push str.UTAddToGroup
push dword [0x48e3a8]
mov dword [0x48e3c0], eax
call esi
push str.UTCloseSession
push dword [0x48e3a8]
mov dword [0x48e3c4], eax
call esi
lea ecx, [ebx - 0x10]
mov dword [0x48e3c8], eax
call fcn.004025dc
lea ecx, [edi - 0x10]
call fcn.004025dc
xor ebx, ebx
cmp dword [0x48e3b0], ebx
je 0x4102e6
cmp dword [0x48e3b4], ebx
je 0x4102e6
cmp dword [0x48e3b8], ebx
je 0x4102e6
cmp dword [0x48e3bc], ebx
je 0x4102e6
cmp dword [0x48e3c0], ebx
je 0x4102e6
cmp dword [0x48e3c4], ebx
je 0x4102e6
cmp dword [0x48e3c8], ebx
je 0x4102e6
mov al, 1
jmp 0x4102fe
mov eax, dword [0x48e3a8]
cmp eax, ebx
je 0x4102f6
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x48e3a8], ebx
xor al, al
call fcn.0043e09b
ret
Function at 0x41eff1
Capabilities:
Enumerate gui resources

Disassembly:
push 0x29c
mov eax, 0x455b8b
call fcn.0043dfc3
push 0x48e96c
lea ecx, [ebp - 0x20]
call fcn.0040219e
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0xffffffffffffffff
push ebx
mov ecx, 0x48eaa8
mov dword [ebp - 0x1c], ebx
call fcn.0042cb69
cmp dword [0x48e930], ebx
mov dword [ebp - 0x14], ebx
jle 0x41f15f
push dword [ebp - 0x14]
mov ecx, 0x48e928
call fcn.00416347
mov esi, eax
mov eax, dword [esi]
cmp eax, ebx
je 0x41f115
cmp dword [eax + 0x20], ebx
jne 0x41f115
add eax, 8
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], ebx
call fcn.0040219e
push 0x474bf4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00408d93
lea ecx, [ebp - 0x10]
test eax, eax
je 0x41f0a2
lea eax, [ebp - 0x20]
push eax
call fcn.0041ebbd
lea ecx, [ebp - 0x10]
mov dword [esp], 0x45fe80
call fcn.00408e18
mov eax, dword [esi]
add eax, 4
push eax
lea ecx, [ebp - 0x10]
call fcn.00401f30
jmp 0x41f0ad
mov eax, dword [esi]
add eax, 4
push eax
call fcn.00408fde
mov esi, dword [esi]
mov eax, dword [esi + 0x1c]
mov edi, dword [ebp - 0x10]
cmp eax, 4
jne 0x41f0d6
xor esi, esi
push ebx
inc esi
lea eax, [ebp - 0x18]
push esi
push eax
mov ecx, edi
call fcn.0041f5e0
add esp, 0xc
test eax, eax
je 0x41f0f7
mov dword [ebp - 0x1c], esi
jmp 0x41f0f7
cmp eax, ebx
jne 0x41f10a
push dword [esi + 4]
lea eax, [ebp - 0x18]
push ebx
push eax
mov ecx, edi
call fcn.0041f5e0
add esp, 0xc
test eax, eax
je 0x41f0f7
jmp 0x4f4bc0
cmp dword [ebp - 0x18], ebx
je 0x41f10a
push dword [ebp - 0x18]
push 0x41eb1b
call dword [sym.imp.USER32.dll_EnumWindows]
lea ecx, [edi - 0x10]
mov byte [ebp - 4], bl
call fcn.004025dc
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [0x48e930]
jl 0x41f031
cmp dword [ebp - 0x1c], ebx
je 0x41f15f
push dword [0x48eafc]
lea eax, [ebp - 0x2a8]
push eax
call fcn.00415c76
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 2
call fcn.0043646c
lea ecx, [ebp - 0x2a8]
mov esi, eax
mov byte [ebp - 4], bl
call fcn.00415d9b
jmp 0x41f162
xor esi, esi
inc esi
cmp esi, 4
je 0x41f012
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004025dc
mov eax, esi
call fcn.0043e09b
ret
Function at 0x424d37
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
test esi, esi
je 0x424d66
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 0xc]
add eax, 4
push eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x424d66
cmp dword [ebp + 0xc], 0
setne al
mov byte [esi], al
mov al, 1
jmp 0x424d68
xor al, al
pop ebp
ret 8

Function at 0x42501c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
push dword [ebp + 0x10]
lea ecx, [ebp - 8]
xor esi, esi
call fcn.0040215a
mov eax, dword [ebp - 8]
mov edi, dword [eax - 0xc]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push dword [ebp + 8]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x425080
lea eax, [edi + edi]
push eax
push dword [ebp + 0x10]
push 1
push esi
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
neg esi
sbb esi, esi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.004025dc
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x425091
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
lea eax, [ebp - 8]
push eax
push 0x20019
xor edi, edi
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0xc], 1
push dword [ebp + 8]
mov dword [ebp - 4], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test ebx, ebx
jne 0x42512d
push esi
push 0x208
call fcn.0043bf8d
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
pop ecx
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 8]
call esi
mov ebx, eax
cmp ebx, 0xea
jne 0x42511f
push edi
call fcn.0043beb0
mov eax, dword [ebp - 4]
add eax, eax
push eax
call fcn.0043bf8d
pop ecx
pop ecx
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp - 8]
call esi
mov ebx, eax
pop esi
test ebx, ebx
jne 0x42512d
mov ecx, dword [ebp + 0x14]
push edi
call fcn.00402123
push edi
call fcn.0043beb0
pop ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop ebx
leave
ret

Function at 0x425143
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
push 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
jmp loc.004f7780
Function at 0x425179
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
mov edi, 0x45fb40
push edi
mov esi, 0x80000001
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push dword [ebp - 4]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4251e5
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call ebx
test esi, esi
jne 0x4251e5
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4251ed
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0xf003f
xor esi, esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x42521f
jmp loc.004fb920
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x42556a
Capabilities:
Check os version

Disassembly:
push 0x12c
mov eax, 0x455650
call fcn.0043e02c
mov esi, 0x11c
push esi
xor ebx, ebx
lea eax, [ebp - 0x130]
push ebx
push eax
xor edi, edi
call fcn.0043c590
add esp, 0xc
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
cmp eax, ebx
jne 0x4255c3
lea eax, [ebp - 0x130]
push eax
mov dword [ebp - 0x130], 0x114
call esi
cmp eax, ebx
je 0x4255cf
cmp dword [ebp - 0x12c], 6
jb 0x4255cf
xor edi, edi
inc edi
cmp byte [0x48eb19], bl
jne 0x425643
cmp edi, ebx
je 0x425605
push str.IsVistaOrLater_returns_1
lea ecx, [ebp - 0x138]
call fcn.0040215a
push ebx
lea eax, [ebp - 0x138]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.0040ed4d
mov ecx, dword [ebp - 0x138]
jmp 0x425631
push str.IsVistaOrLater_returns_0
lea ecx, [ebp - 0x134]
call fcn.0040215a
push ebx
lea eax, [ebp - 0x134]
push eax
push 2
mov dword [ebp - 4], 1
call fcn.0040ed4d
mov ecx, dword [ebp - 0x134]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
mov byte [0x48eb19], 1
mov eax, edi
call fcn.0043e0af
ret

Function at 0x42564b
Capabilities:
Check os version

Disassembly:
push 0x12c
mov eax, 0x455612
call fcn.0043e02c
mov esi, 0x11c
push esi
lea eax, [ebp - 0x130]
push 0
push eax
call fcn.0043c590
add esp, 0xc
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x4256a1
lea eax, [ebp - 0x130]
push eax
mov dword [ebp - 0x130], 0x114
call esi
test eax, eax
je 0x4256e4
cmp dword [ebp - 0x12c], 5
jne 0x4256e4
push str.IsXP_returns_1
lea ecx, [ebp - 0x134]
call fcn.0040215a
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x134]
push eax
push 2
call fcn.0040ed4d
mov ecx, dword [ebp - 0x134]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
xor eax, eax
inc eax
jmp 0x4256e6
xor eax, eax
call fcn.0043e0af
ret
Function at 0x4256ec
Capabilities:
Get system information on windows

Disassembly:
push 0x2c
mov eax, 0x4555ec
call fcn.0043dfc3
push 8
pop ecx
xor esi, esi
xor eax, eax
mov dword [ebp - 0x34], esi
lea edi, [ebp - 0x30]
push str.kernel32.dll
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, esi
jne 0x425744
push str.module_handle_is_NULL:_kernel32.dll
lea ecx, [ebp - 0x10]
call fcn.0040215a
push esi
lea eax, [ebp - 0x10]
push eax
push 1
mov dword [ebp - 4], esi
call fcn.0040ed4d
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
xor eax, eax
jmp 0x425779
push str.GetNativeSystemInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x42575c
lea ecx, [ebp - 0x34]
push ecx
call eax
jmp 0x425766
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], 9
je 0x425774
cmp word [ebp - 0x34], 6
jne 0x425777
xor esi, esi
inc esi
mov eax, esi
call fcn.0043e09b
ret
Function at 0x425f48
Capabilities:
Check os version
Get token membership

Disassembly:
push ebp
lea ebp, [esp - 0xf4]
sub esp, 0x174
mov eax, dword [0x489d50]
xor eax, ebp
mov dword [ebp + 0xf0], eax
push esi
push edi
lea eax, [ebp - 0x6c]
push eax
xor edi, edi
push 1
push 0xa
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x425fa4
lea eax, [ebp - 0x6c]
push eax
push 0xa
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x426048
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x68], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x426048
cmp dword [ebp - 0x64], 6
jb 0x425ff9
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x7c]
push eax
push 4
lea eax, [ebp - 0x78]
push eax
push 0x12
push dword [ebp - 0x6c]
call esi
test eax, eax
je 0x426048
cmp dword [ebp - 0x78], 3
jne 0x425ff9
lea eax, [ebp - 0x7c]
push eax
push 4
lea eax, [ebp - 0x70]
push eax
push 0x13
push dword [ebp - 0x6c]
call esi
test eax, eax
je 0x426048
cmp dword [ebp - 0x70], edi
jne 0x426011
lea eax, [ebp - 0x70]
push eax
push 1
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
je 0x426048
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0xac]
push eax
push edi
push 0x1a
mov dword [ebp - 0x80], 0x44
call dword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
je 0x426048
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0xac]
push eax
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x42604e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x6c], edi
je 0x426061
push dword [ebp - 0x6c]
call esi
mov dword [ebp - 0x6c], edi
cmp dword [ebp - 0x70], edi
je 0x42606b
push dword [ebp - 0x70]
call esi
mov ecx, dword [ebp + 0xf0]
mov eax, dword [ebp - 0x74]
pop edi
xor ecx, ebp
pop esi
call fcn.0043b751
add ebp, 0xf4
leave
ret

Function at 0x426147
Capabilities:
Get common file path

Disassembly:
push 8
mov eax, 0x454c40
call fcn.0043dfc3
call fcn.0042ac34
push eax
lea ecx, [ebp - 0x10]
call fcn.004104de
xor esi, esi
push 0x104
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.00402467
push eax
push esi
push esi
push 0x2b
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.00408ef4
cmp edi, esi
jne 0x4261b8
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00408fde
mov ecx, dword [ebp + 8]
push str.AdobeARM1.0AdobeARM.exe
call fcn.00408e18
jmp loc.004fcfc8
push str.SHGetFolderPath_in_GetCurrentExePath_failed:
lea ecx, [ebp - 0x14]
call fcn.0040215a
push edi
lea eax, [ebp - 0x14]
push eax
push 1
mov byte [ebp - 4], 1
call fcn.0040ed4d
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
mov esi, eax
call fcn.004025dc
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025dc
mov eax, esi
call fcn.0043e09b
ret
Function at 0x42640a
Capabilities:
Get file version info

Disassembly:
push 0x18
mov eax, 0x4554f0
call fcn.0043dfc3
cmp dword [ebp + 0x10], 0
je 0x42644f
push str.GetFileVersion__:
lea ecx, [ebp - 0x10]
call fcn.0040215a
and dword [ebp - 4], 0
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
jmp loc.004f47d8
mov eax, dword [ebp + 8]
mov eax, dword [eax]
lea ecx, [ebp - 0x1c]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4265a0
push eax
call fcn.0042a898
pop ecx
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
mov eax, dword [ebp + 8]
push dword [ebp - 0x14]
mov eax, dword [eax]
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x426560
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x45fe80
push dword [ebp - 0x10]
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x426544
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax + 0xa]
mov edx, dword [ebp + 0xc]
push dword [ebp - 0x10]
mov dword [edx], ecx
movzx ecx, word [eax + 8]
mov dword [ebx], ecx
movzx ecx, word [eax + 0xe]
mov dword [edi], ecx
movzx eax, word [eax + 0xc]
mov dword [esi], eax
call fcn.0042a88d
cmp dword [ebp + 0x10], 0
pop ecx
je 0x42653c
call fcn.0042ac34
push eax
lea ecx, [ebp + 0x10]
call fcn.004104de
push str.File_version:__1_u_._2_u_._3_u_._4_u_
lea ecx, [ebp + 8]
mov dword [ebp - 4], 1
call fcn.0040215a
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 2
push dword [esi]
push dword [edi]
push dword [ebx]
push dword [eax]
lea eax, [ebp + 0x10]
push dword [ebp + 8]
push eax
call fcn.0040d841
push 0
lea eax, [ebp + 0x10]
push eax
push 2
call fcn.0040ed4d
mov ecx, dword [ebp + 8]
add esp, 0x24
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.004025dc
xor eax, eax
inc eax
jmp 0x4265d7
cmp dword [ebp + 0x10], 0
je 0x426595
push str.VerQueryValue___failed_in_GetFileVersion__.
lea ecx, [ebp + 0x10]
call fcn.0040215a
mov dword [ebp - 4], 3
jmp 0x42657a
cmp dword [ebp + 0x10], 0
je 0x426595
push str.GetFileVersionInfo___failed_in_GetFileVersion__.
lea ecx, [ebp + 0x10]
call fcn.0040215a
mov dword [ebp - 4], 4
push 0
lea eax, [ebp + 0x10]
push eax
push 1
call fcn.0040ed4d
mov ecx, dword [ebp + 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
push dword [ebp - 0x10]
call fcn.0042a88d
pop ecx
jmp 0x4265d5
cmp dword [ebp + 0x10], 0
je 0x4265d5
push str.GetFileVersionInfoSize___failed_in_GetFileVersion__.
lea ecx, [ebp - 0x14]
call fcn.0040215a
push 0
lea eax, [ebp - 0x14]
push eax
push 1
mov dword [ebp - 4], 5
call fcn.0040ed4d
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
xor eax, eax
call fcn.0043e09b
ret
Function at 0x4366a4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4366c8
cmp dword [edi + 0x54], 0
jne 0x4366c8
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0042e325
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00436665
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4368e5
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
jmp loc.004fa980

Function at 0x4387ed
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
jmp loc.004f76b8

Function at 0x44d067
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.00442b13
and dword [ebp - 4], 0
cmp dword [0x48e2d4], 0
mov ebx, eax
jne 0x44d118
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x44d1c9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x44d1c9
push eax
call fcn.00442aa1
mov dword [esp], 0x45cc08
push edi
mov dword [0x48e2d4], eax
call esi
push eax
call fcn.00442aa1
mov dword [esp], 0x45cbf4
push edi
mov dword [0x48e2d8], eax
call esi
push eax
call fcn.00442aa1
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x48e2dc], eax
call esi
push eax
call fcn.00442aa1
pop ecx
mov dword [0x48e2e4], eax
test eax, eax
je 0x44d118
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00442aa1
pop ecx
mov dword [0x48e2e0], eax
mov eax, dword [0x48e2e0]
cmp eax, ebx
je 0x44d170
cmp dword [0x48e2e4], ebx
je 0x44d170
push eax
call fcn.00442b1c
push dword [0x48e2e4]
mov esi, eax
call fcn.00442b1c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x44d170
test edi, edi
je 0x44d170
call esi
test eax, eax
je 0x44d167
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x44d167
test byte [ebp - 0xc], 1
jne 0x44d170
or dword [ebp + 0x10], 0x200000
jmp 0x44d1a9
mov eax, dword [0x48e2d8]
cmp eax, ebx
je 0x44d1a9
push eax
call fcn.00442b1c
pop ecx
test eax, eax
je 0x44d1a9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x44d1a9
mov eax, dword [0x48e2dc]
cmp eax, ebx
je 0x44d1a9
push eax
call fcn.00442b1c
pop ecx
test eax, eax
je 0x44d1a9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x48e2d4]
call fcn.00442b1c
pop ecx
test eax, eax
je 0x44d1c9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44d1cb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10c7e108
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.10c7e258
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x10c7e12e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10c7e11a
add dl, dl
jne 0x10c7e139
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10c7e18c
xor eax, eax
add dl, dl
jne 0x10c7e146
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10c7e22d
add dl, dl
jne 0x10c7e155
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10c7e160
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10c7e16b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10c7e176
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x10c7e182
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10c7e125
mov eax, 1
add dl, dl
jne 0x10c7e19a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10c7e1a5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10c7e191
sub eax, ebx
mov ebx, 1
jne 0x10c7e1d8
mov ecx, 1
add dl, dl
jne 0x10c7e1be
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10c7e1c9
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10c7e1b5
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10c7e125
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x10c7e1ef
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10c7e1fa
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10c7e1e6
cmp eax, 0x7d00
jae 0x10c7e21d
cmp eax, 0x500
jb 0x10c7e218
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10c7e125
cmp eax, 0x7f
ja 0x10c7e220
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10c7e125
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x10c7e24e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10c7e125
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10