joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100026ed
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
mov esi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10002744
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x10002736
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x10002732
cmp edi, eax
jae 0x10002736
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x10002724
cmp edi, eax
jb 0x1000273a
xor eax, eax
jmp 0x10002743
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x10003b2c
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push 0x128
mov eax, 0x1008263c
call fcn.1006a107
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x134], edi
cmp byte [eax + 0x40], bl
je 0x10003b61
push str.DownloadManagerXMLLog
jmp 0x10003b66
push str.SDKXMLLog
push ecx
call fcn.10002a16
push edi
mov ecx, str.__xml_version_1.0____r_n
call fcn.10002a34
mov dword [ebp - 4], ebx
xor ebx, ebx
push str._session__r_n
inc ebx
push edi
mov dword [ebp - 0x130], ebx
call fcn.1000407f
push 0x80
lea eax, [ebp - 0x110]
push eax
push 0x59
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov eax, dword [0x100b27b4]
mov ecx, 0x100b27b4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x11c]
push eax
mov dword [ebp - 4], ebx
call fcn.10008bcd
pop ecx
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 2
call fcn.1001a54d
lea esi, [ebp - 0x128]
call fcn.100240a6
mov dword [ebp - 0x120], eax
mov byte [ebp - 4], 3
call fcn.1001a54d
lea esi, [ebp - 0x118]
call fcn.1001eb3a
lea ecx, [ebp - 0x110]
push ecx
mov ecx, dword [ebp - 0x12c]
mov byte [ebp - 4], 4
push dword [ecx]
mov ecx, dword [ebp - 0x120]
push dword [ecx]
push dword [eax]
lea eax, [ebp - 0x114]
push 0x1009cb7c
push str._clientv__s__clientv__r_n_sessionid__s__sessionid__r_n_ProductID__s__ProductID__r_n_cltzone__s__cltzone__r_n_oslang__s__oslang__r_n
call fcn.1000261c
mov eax, dword [ebp - 0x118]
add esp, 0x18
add eax, 0xfffffff0
call fcn.10002b29
mov eax, dword [ebp - 0x128]
add eax, 0xfffffff0
call fcn.10002b29
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x11c]
add eax, 0xfffffff0
call fcn.10002b29
push edi
lea eax, [ebp - 0x114]
call fcn.10004067
mov eax, dword [ebp - 0x124]
add eax, 0x28
push edi
call fcn.10004067
push str.__session_
push edi
call fcn.1000407f
mov eax, dword [ebp - 0x114]
add eax, 0xfffffff0
call fcn.10002b29
mov eax, edi
call fcn.1006a18a
ret 4
Function at 0x10003e7d
Capabilities:
Get graphical window text
Open clipboard
Write clipboard data

Disassembly:
push 0x10
mov eax, 0x1008067b
call fcn.1006a09e
mov ebx, ecx
mov eax, dword [0x100b27b4]
mov ecx, 0x100b27b4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
xor esi, esi
push 0x3f9
mov dword [ebp - 4], esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push esi
push 0xe
push eax
mov dword [ebp - 0x14], eax
call edi
mov dword [ebp - 0x18], eax
inc eax
push eax
lea esi, [ebp - 0x10]
call fcn.10002938
push eax
push dword [ebp - 0x18]
push 0xd
push dword [ebp - 0x14]
call edi
call fcn.10002668
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
setne al
test al, al
je 0x10003f8e
call dword [sym.imp.USER32.dll_EmptyClipboard]
and dword [ebp - 0x18], 0
push 0xfde9
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov esi, esp
mov dword [ebp - 0x1c], eax
call fcn.10002aac
add eax, 0x10
mov dword [esi], eax
call fcn.1000714f
mov esi, dword [ebp - 0x18]
add esp, 0xc
lea edi, [esi + 1]
push edi
push 2
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x10003f4b
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 0x1c]
jmp 0x10003f94
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
push edi
push eax
call fcn.10060151
mov eax, dword [ebp - 0x1c]
add esp, 0xc
push ebx
mov byte [eax + esi], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [ebp - 0x14], 0
je 0x10003f8e
push dword [ebp - 0x14]
call fcn.10060146
pop ecx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10002b29
xor eax, eax
call fcn.1006a176
ret
Function at 0x10003fa1
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push 0x3f9
push dword [eax + 4]
mov esi, ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000405a
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
push ebx
push edi
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1005fb39
mov edi, eax
xor eax, eax
mov word [edi], ax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x1c]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
pop ecx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
xor ebx, ebx
push ebx
push 0x44b
push dword [ebp - 4]
mov dword [ebp - 0x10], edi
call esi
cmp eax, ebx
jle 0x10004030
push 5
push ebx
push ebx
push edi
push 0x1009c494
xor ecx, ecx
push ebx
mov word [edi + eax*2], cx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push edi
call fcn.10060146
or dword [ebp - 8], 0xffffffff
or dword [ebp - 0xc], 0xffffffff
pop ecx
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x437
push dword [ebp - 4]
call esi
mov ecx, dword [ebp + 8]
xor eax, eax
inc eax
pop edi
mov dword [ecx], eax
pop ebx
jmp 0x10004062
mov eax, dword [ebp + 8]
and dword [eax], 0
xor eax, eax
pop esi
leave
ret 4
Function at 0x100047e8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
cmp dword [ebp + 8], 0xa
push ebx
push edi
jne 0x10004921
push dword [esi + 0x28]
mov edi, dword [sym.imp.USER32.dll_KillTimer]
push dword [esi + 4]
call edi
and dword [esi + 0x28], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [esi + 0x34]
je 0x1000483e
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x10004827
push eax
push dword [esi + 4]
call edi
push 0
push 0x32
push 0xb
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi + 0x2c], eax
jmp 0x1000490d
lea eax, [ebp - 0x10]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [sym.imp.USER32.dll_MonitorFromPoint]
push 2
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call edi
mov ebx, dword [sym.imp.USER32.dll_GetMonitorInfoW]
lea ecx, [ebp - 0x58]
push ecx
push eax
mov dword [ebp - 0x58], 0x28
call ebx
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
push 2
push dword [ebp - 4]
push dword [ebp - 8]
call edi
lea ecx, [ebp - 0x58]
push ecx
push eax
mov dword [ebp - 0x58], 0x28
call ebx
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
push dword [ebp - 0xc]
mov edi, dword [sym.imp.USER32.dll_PtInRect]
push dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
call edi
test eax, eax
je 0x100048c9
push dword [ebp - 4]
lea eax, [ebp - 0x30]
push dword [ebp - 8]
push eax
call edi
test eax, eax
jne 0x1000490d
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x100048da
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x32
push 0xb
push dword [esi + 4]
call edi
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x30]
test eax, eax
je 0x100048ff
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 0x32
push 0xc
push dword [esi + 4]
call edi
mov dword [esi + 0x30], eax
push 0
push 0x64
push 0xa
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi + 0x28], eax
jmp 0x10004995
cmp dword [ebp + 8], 0xb
jne 0x10004972
push dword [esi + 0x2c]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
and dword [esi + 0x2c], 0
push 1
call ebx
mov edi, 0x8000
mov ecx, edi
and ax, cx
cmp ax, cx
je 0x1000495e
push 2
call ebx
mov ecx, edi
and ax, cx
cmp ax, di
jne 0x10004988
push 0
push 0x64
push 0xb
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi + 0x2c], eax
jmp 0x10004995
cmp dword [ebp + 8], 0xc
jne 0x10004995
push dword [esi + 0x30]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
and dword [esi + 0x30], 0
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp + 0xc]
pop edi
mov dword [eax], 1
xor eax, eax
pop ebx
leave
ret 8
Function at 0x10004d03
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x10004d11
push 0xd
pop eax
jmp 0x10004d44
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x10004d18
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x10004d48
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x100b02c0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 4]
push ecx
push dword [edi]
mov dword [ebp - 0x21c], ecx
xor esi, esi
or eax, 0x2001f
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
call fcn.1000458e
mov ebx, eax
cmp ebx, esi
je 0x10004db1
lea esi, [ebp - 0x214]
call fcn.100045cc
mov eax, ebx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005fc2b
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x10004dcf
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
call fcn.10004d48
cmp eax, esi
jne 0x10004e16
lea eax, [ebp - 0x224]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x218], pe_nt_image_headers32
call ebx
test eax, eax
je 0x10004db9
lea esi, [ebp - 0x214]
call fcn.100045cc
push dword [ebp - 0x21c]
mov esi, edi
call fcn.10004c34
lea esi, [ebp - 0x214]
mov edi, eax
call fcn.100045cc
mov eax, edi
jmp 0x10004da0
Function at 0x10005196
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x10080af1
call fcn.1006a13d
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor esi, esi
mov edi, edx
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x41c], eax
cmp eax, esi
jne 0x100051ee
call fcn.10004b0d
mov esi, eax
jmp 0x10005307
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x10005207
call fcn.10004b0d
jmp 0x100052f9
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, esi
je 0x100051fd
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x424], edi
cmp eax, edi
jae 0x1000525d
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10005253
lea eax, [ebp - 0x418]
call fcn.10006fdf
mov eax, 0x8007000e
jmp 0x10005322
push 2
push eax
mov byte [ebp - 4], 2
call fcn.10007042
pop ecx
pop ecx
cmp eax, 0x400
jbe 0x10005281
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.10007008
jmp 0x1000528d
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 1
jmp 0x100052ab
cmp dword [ebp - 0x418], esi
jne 0x100052ba
mov esi, 0x8007000e
jmp 0x100052fb
push edi
push dword [ebp - 0x418]
push edi
push dword [ebp - 0x420]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x100051fd
mov edx, dword [ebp - 0x418]
push dword [ebp + 0x10]
xor ecx, ecx
mov word [edx + eax*2], cx
mov ecx, dword [ebp - 0x418]
lea edx, [ebp - 0x42c]
call fcn.10005c2a
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10005320
lea eax, [ebp - 0x418]
call fcn.10006fdf
mov eax, esi
call fcn.1006a199
ret 0xc
Function at 0x10007495
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xc
mov eax, 0x1007f611
call fcn.1006a09e
movzx eax, word [ebp + 8]
mov esi, dword [0x100b2774]
push 0x10099a48
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
lea ecx, [ebp + 8]
push ecx
push eax
xor edi, edi
push ebx
lea esi, [ebp - 0x18]
mov dword [ebp + 8], edi
call fcn.100400ff
add esp, 0xc
cmp eax, edi
jne 0x1000750d
push 0x30
call fcn.1005fc55
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edi
cmp eax, edi
je 0x1000750d
push ebx
push dword [ebp + 8]
mov ebx, esi
push eax
call fcn.10040089
mov edi, eax
mov eax, edi
call fcn.1006a176
ret

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

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x10007ad6
xor al, al
pop ebp
ret
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push edi
push 1
call esi
push dword [ebp + 8]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push edi
mov ebx, eax
call esi
cmp ebx, 0xffffffff
je 0x10007b02
test bl, 0x10
jne 0x10007b02
xor eax, eax
inc eax
jmp 0x10007b04
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
push ebx
jne 0x10007b6d
xor bl, bl
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10002b29
mov al, bl
pop ebx
pop ebp
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push edi
push 1
call esi
push dword [ebp + 8]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push edi
mov ebx, eax
call esi
pop edi
pop esi
cmp ebx, 0xffffffff
je 0x10007b5b
test bl, 0x10
je 0x10007b5b
mov bl, 1
jmp 0x10007b5d
Function at 0x10008a08
Capabilities:
Get file version info

Disassembly:
push 0x230
mov eax, 0x10080cd2
call fcn.1006a107
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x23c], edi
call fcn.10002b4b
mov dword [ebp - 4], edi
xor eax, eax
mov word [ebp - 0x218], ax
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [0x100b2774]
xor esi, esi
inc esi
mov dword [ebp - 0x23c], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x22c], edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call edi
test eax, eax
jne 0x10008bc1
test ebx, ebx
jbe 0x10008bc1
push ebx
call fcn.1005fb39
pop ecx
push eax
push ebx
push dword [ebp - 0x22c]
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x10008bac
call edi
test eax, eax
jne 0x10008bac
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x234]
push eax
push 0x10099c78
push dword [ebp - 0x21c]
xor edi, edi
mov dword [ebp - 0x220], edi
call sub.VERSION.dll_VerQueryValueW
test dword [ebp - 0x220], 0xfffffffc
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x238], edi
jbe 0x10008bac
mov eax, dword [0x100b27b4]
mov ecx, 0x100b27b4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x228], eax
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x234]
lea eax, [eax + edi*4]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
push str.StringFileInfo_04x_04xFileVersion
lea eax, [ebp - 0x228]
call fcn.1000261c
mov ebx, dword [ebp - 0x228]
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x230]
push eax
push ebx
push dword [ebp - 0x21c]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x10008b82
push dword [ebp - 0x230]
push dword [ebp - 0x224]
call fcn.10002a16
mov eax, dword [ebp - 0x224]
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jne 0x10008ba2
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0
call fcn.10002b29
mov eax, dword [ebp - 0x220]
inc edi
shr eax, 2
cmp edi, eax
jb 0x10008b01
jmp 0x10008bac
add ebx, 0xfffffff0
mov eax, ebx
call fcn.10002b29
cmp dword [ebp - 0x21c], 0
je 0x10008bc1
push dword [ebp - 0x21c]
call fcn.10060146
pop ecx
mov eax, dword [ebp - 0x224]
call fcn.1006a18a
ret
Function at 0x10009fdc
Capabilities:
Get file version info

Disassembly:
push 0x28
mov eax, 0x10080e2f
call fcn.1006a09e
and dword [ebp - 0x34], 0
and dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x34], esp
mov esi, esp
call fcn.10002aac
add eax, 0x10
mov dword [esi], eax
call fcn.10007b09
pop ecx
test al, al
jne 0x1000a030
push dword [ebp + 8]
mov ecx, 0x1009a25c
call fcn.10002a34
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.10002b29
mov eax, dword [ebp + 8]
jmp 0x1000a1cc
mov eax, dword [0x100b27b4]
mov ebx, 0x100b27b4
mov ecx, ebx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x10], edi
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 1
and dword [ebp - 0x24], 0
push eax
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
call esi
test eax, eax
jne 0x1000a1a6
cmp dword [ebp - 0x18], eax
jbe 0x1000a1a6
push dword [ebp - 0x18]
call fcn.1005fb39
pop ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x24]
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1000a197
call esi
test eax, eax
jne 0x1000a197
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
push str.VarFileInfoTranslation
push dword [ebp - 0x1c]
xor esi, esi
mov dword [ebp - 0x20], esi
call sub.VERSION.dll_VerQueryValueW
test dword [ebp - 0x20], 0xfffffffc
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x14], esi
jbe 0x1000a197
mov eax, dword [0x100b27b4]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
lea eax, [eax + ecx*4]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
push str.StringFileInfo_04x_04xProductVersion
lea eax, [ebp - 0x18]
call fcn.1000261c
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1000a165
push dword [ebp - 0x28]
lea eax, [ebp - 0x10]
push eax
call fcn.10002a16
push 0x20
lea esi, [ebp - 0x10]
call fcn.1000a6ae
cmp eax, 0xffffffff
je 0x1000a15c
mov ecx, eax
lea edx, [ebp - 0x34]
mov eax, esi
call fcn.1000a926
mov edi, esi
mov byte [ebp - 4], 3
call fcn.100023e1
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
call fcn.10002b29
mov edi, dword [ebp - 0x10]
cmp dword [edi - 0xc], 0
jne 0x1000a188
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10002b29
mov eax, dword [ebp - 0x20]
inc dword [ebp - 0x14]
shr eax, 2
cmp dword [ebp - 0x14], eax
jb 0x1000a0d2
jmp 0x1000a197
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10002b29
cmp dword [ebp - 0x1c], 0
je 0x1000a1a6
push dword [ebp - 0x1c]
call fcn.10060146
pop ecx
lea esi, [edi - 0x10]
mov eax, esi
call fcn.10002aac
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
mov eax, esi
call fcn.10002b29
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.10002b29
mov eax, edi
call fcn.1006a176
ret
Function at 0x1000a411
Capabilities:
Create directory

Disassembly:
push 0x20
mov eax, 0x10081bbf
call fcn.1006a09e
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
push ecx
mov byte [ebp - 4], 1
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
mov ecx, 0x1009a388
call fcn.10002a34
push ecx
mov byte [ebp - 4], 2
mov eax, esp
mov dword [ebp - 0x10], esp
push eax
mov ecx, 0x1009a38c
call fcn.10002a34
push ecx
mov byte [ebp - 4], 3
mov eax, esp
mov dword [ebp - 0x18], esp
push eax
mov ecx, 0x1009a390
call fcn.10002a34
mov byte [ebp - 4], 4
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov esi, esp
call fcn.10002aac
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 1
call fcn.1000918c
mov eax, dword [0x100b27b4]
add esp, 0x14
mov ecx, 0x100b27b4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 5
jmp 0x1000a53a
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + ebx*4]
push ecx
sub eax, 0x10
mov dword [ebp - 0x1c], esp
mov edi, esp
call fcn.10002aac
add eax, 0x10
mov dword [edi], eax
push ecx
mov byte [ebp - 4], 6
lea eax, [esi - 0x10]
mov dword [ebp - 0x18], esp
mov edi, esp
call fcn.10002aac
add eax, 0x10
mov dword [edi], eax
lea esi, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.10009d65
pop ecx
pop ecx
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.100023e1
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10002b29
mov esi, dword [ebp - 0x10]
push ecx
lea eax, [esi - 0x10]
mov dword [ebp - 0x1c], esp
mov edi, esp
call fcn.10002aac
add eax, 0x10
mov dword [edi], eax
call fcn.10007b4e
pop ecx
test al, al
jne 0x1000a539
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1000a566
inc ebx
cmp ebx, dword [ebp - 0x28]
jb 0x1000a4b3
lea eax, [esi - 0x10]
call fcn.10002b29
lea esi, [ebp - 0x2c]
call fcn.1000258e
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10002b29
mov al, 1
call fcn.1006a176
ret
lea eax, [esi - 0x10]
call fcn.10002b29
lea esi, [ebp - 0x2c]
call fcn.1000258e
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10002b29
xor al, al
jmp 0x1000a560