joyce8/EMBER2024-capa huggingface dataset:
Function at 0x602b18
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
xor edx, edx
push ebx
mov ebx, eax
mov dword [ebp - 0x20], 0x6f0e90
mov dword [ebp - 0x1c], esp
mov eax, 0x56498f
mov dword [ebp - 0x24], eax
mov word [ebp - 0x18], 0
mov dword [ebp - 0xc], edx
mov ecx, dword fs:[0]
mov dword [ebp - 0x28], ecx
lea eax, [ebp - 0x28]
mov dword fs:[0], eax
cmp dword [0x6a7c60], 0
je 0x602b8a
cmp dword [ebx], 0
je 0x602b79
mov eax, dword [ebx]
test eax, eax
jne 0x602b69
xor edx, edx
jmp 0x602b7f
cmp dword [eax + 4], 0
je 0x602b74
mov edx, dword [eax + 4]
jmp 0x602b7f
lea edx, [eax + 8]
jmp 0x602b7f
mov edx, dword [0x6a9384]
push edx
call dword [0x6a7c60]
mov ebx, eax
jmp 0x602bca
mov word [ebp - 0x18], 8
xor eax, eax
lea edx, [ebp - 4]
mov dword [ebp - 4], eax
mov eax, ebx
inc dword [ebp - 0xc]
call fcn.004019c0
cmp dword [ebp - 4], 0
je 0x602bad
mov ecx, dword [ebp - 4]
jmp 0x602bb2
mov ecx, 0x6f0715
push ecx
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
dec dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00696870
cmp ebx, 0xffffffff
je 0x602bd4
test bl, 0x10
je 0x602be2
xor eax, eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x602bee
mov al, 1
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x602bf4
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
xor edx, edx
push ebx
mov ebx, eax
mov dword [ebp - 0x20], 0x6f0eb4
mov dword [ebp - 0x1c], esp
mov eax, 0x56498f
mov dword [ebp - 0x24], eax
mov word [ebp - 0x18], 0
mov dword [ebp - 0xc], edx
mov ecx, dword fs:[0]
mov dword [ebp - 0x28], ecx
lea eax, [ebp - 0x28]
mov dword fs:[0], eax
cmp dword [0x6a7c60], 0
je 0x602c66
cmp dword [ebx], 0
je 0x602c55
mov eax, dword [ebx]
test eax, eax
jne 0x602c45
xor edx, edx
jmp 0x602c5b
cmp dword [eax + 4], 0
je 0x602c50
mov edx, dword [eax + 4]
jmp 0x602c5b
lea edx, [eax + 8]
jmp 0x602c5b
mov edx, dword [0x6a9384]
push edx
call dword [0x6a7c60]
mov ebx, eax
jmp 0x602ca6
mov word [ebp - 0x18], 8
xor eax, eax
lea edx, [ebp - 4]
mov dword [ebp - 4], eax
mov eax, ebx
inc dword [ebp - 0xc]
call fcn.004019c0
cmp dword [ebp - 4], 0
je 0x602c89
mov ecx, dword [ebp - 4]
jmp 0x602c8e
mov ecx, 0x6f0715
push ecx
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
dec dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00696870
cmp ebx, 0xffffffff
je 0x602cbe
test bl, 0x10
je 0x602cbe
mov al, 1
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x602cca
xor eax, eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6041c0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdbc
push ebx
push esi
lea ebx, [ebp - 0x30]
push edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x34], eax
mov dword [ebx + 8], 0x6f14e0
mov dword [ebx + 0xc], esp
mov eax, 0x56498f
mov dword [ebx + 4], eax
xor edx, edx
mov word [ebx + 0x10], 0
mov dword [ebx + 0x1c], edx
lea edi, [ebp - 0x38]
mov ecx, dword fs:[0]
mov dword [ebx], ecx
mov dword fs:[0], ebx
mov word [ebx + 0x10], 0x14
xor eax, eax
mov dword [ebp - 4], eax
lea edx, [ebp - 4]
inc dword [ebx + 0x1c]
mov eax, dword [ebp - 0x34]
call fcn.004019c0
mov word [ebx + 0x10], 8
mov byte [edi], 0x41
mov byte [edi + 1], 0x3a
mov byte [edi + 2], 0x5c
mov byte [edi + 3], 0
jmp 0x604310
push edi
call sub.KERNEL32.DLL_GetDriveTypeA
cmp eax, 5
jne 0x60430e
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x3c], edx
lea eax, [ebp - 0x244]
mov word [ebx + 0x10], 8
mov dword [ebp - 0x40], ecx
push 0xff
push eax
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x3c]
push ecx
push 0
lea eax, [ebp - 0x144]
push 0xff
push eax
push edi
call sub.KERNEL32.DLL_GetVolumeInformationA
mov word [ebx + 0x10], 0x20
lea edx, [ebp - 0x144]
lea eax, [ebp - 8]
call fcn.0069669c
inc dword [ebx + 0x1c]
lea edx, [ebp - 4]
call fcn.0069699c
test eax, eax
lea eax, [ebp - 8]
sete cl
and ecx, 1
mov edx, 2
push ecx
dec dword [ebx + 0x1c]
call fcn.00696870
pop ecx
test cl, cl
je 0x60430e
mov word [ebx + 0x10], 0x2c
movsx esi, byte [edi]
mov word [ebp - 0x44], si
mov word [ebp - 0x42], 0
lea eax, [ebp - 0x44]
call fcn.00408c54
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov edx, 2
inc dword [ebx + 0x1c]
mov eax, dword [ebp - 0xc]
mov word [ebx + 0x10], 0x38
push eax
lea eax, [ebp - 4]
dec dword [ebx + 0x1c]
call fcn.00696870
pop eax
mov word [ebx + 0x10], 0x2c
inc dword [ebx + 0x1c]
mov edx, dword [ebx]
mov dword fs:[0], edx
jmp 0x604359
inc byte [edi]
movsx ecx, byte [edi]
cmp ecx, 0x5a
jle 0x604238
mov word [ebx + 0x10], 0x44
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax], edx
mov edx, 2
inc dword [ebx + 0x1c]
mov eax, dword [ebp - 0xc]
mov word [ebx + 0x10], 0x50
push eax
lea eax, [ebp - 4]
dec dword [ebx + 0x1c]
call fcn.00696870
pop eax
mov word [ebx + 0x10], 0x44
inc dword [ebx + 0x1c]
mov edx, dword [ebx]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x60d944
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff88
mov esi, 0x6f4438
mov edi, str.___TVPSystemSecurityOptions_disablemsgmap_0_:forcedataxp3_0_:acceptfilenameargument_0____
lea ebp, [esp + 0x74]
call fcn.00613398
cmp dword [0x7ba980], 0
je 0x60d96e
mov eax, dword [0x7ba980]
jmp 0x60d971
lea eax, [edi + 0x59]
push esi
push edi
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
mov esi, 0x7bb994
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
lea eax, [edi + 0x90]
push eax
push 0x7bb994
call fcn.005642b0
add esp, 8
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push 0x7bb994
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
mov dword [esi], ebx
cmp ebx, 0xffffffff
je 0x60dab9
push 0
push ebx
call sub.KERNEL32.DLL_GetFileSize
push 0
push 0
push eax
mov eax, dword [esi]
push eax
call sub.KERNEL32.DLL_SetFilePointer
push esi
push edi
mov esi, str.THIS_IS_A_HARDWARE_EXCEPTION_LOG_FILE_OF_KIRIKIRI._PLEASE_SEND_THIS_FILE_TO_THE_AUTHOR_WITH_.console.log_FILE.
lea edi, [esp + 8]
mov ecx, 0x1c
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
xor eax, eax
mov dword [ebp], eax
xor ebx, ebx
push 0
push ebp
push 4
lea eax, [edi + 0x9d]
push eax
mov edx, dword [esi]
push edx
call sub.KERNEL32.DLL_WriteFile
inc ebx
cmp ebx, 4
jl 0x60da07
push 0
push ebp
push 0x70
lea ecx, [esp + 0xc]
push ecx
mov eax, dword [esi]
push eax
call sub.KERNEL32.DLL_WriteFile
xor ebx, ebx
push 0
push ebp
push 4
lea eax, [edi + 0x9d]
push eax
mov edx, dword [esi]
push edx
call sub.KERNEL32.DLL_WriteFile
inc ebx
cmp ebx, 4
jl 0x60da35
push 0
push ebp
push 4
push 0x7c020c
mov ecx, dword [esi]
push ecx
call sub.KERNEL32.DLL_WriteFile
push 0
push ebp
push 4
push 0x7c0210
mov eax, dword [esi]
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
push ebp
push 4
push 0x7c0214
mov edx, dword [esi]
push edx
call sub.KERNEL32.DLL_WriteFile
push 0
push ebp
push 4
push 0x7c0218
mov ecx, dword [esi]
push ecx
call sub.KERNEL32.DLL_WriteFile
push 0
push ebp
push 0x1010
push 0x7ba984
mov eax, dword [esi]
push eax
call sub.KERNEL32.DLL_WriteFile
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x60dab9
push eax
call sub.KERNEL32.DLL_CloseHandle
add esp, 0x78
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x60dc28
Capabilities:
Enumerate gui resources

Disassembly:
add esp, 0xffffffd0
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp], eax
mov eax, esp
mov edx, 4
call fcn.005dbe18
lea ecx, [esp + 0x10]
push ecx
call sub.OLE32.DLL_CoCreateGuid
lea eax, [esp + 0x10]
mov edx, 0x10
call fcn.005dbe18
call sub.KERNEL32.DLL_GetCurrentProcessId
mov dword [esp + 4], eax
lea eax, [esp + 4]
mov edx, 4
call fcn.005dbe18
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [esp + 4], eax
lea eax, [esp + 4]
mov edx, 4
call fcn.005dbe18
lea ecx, [esp + 0x20]
push ecx
call sub.KERNEL32.DLL_GetSystemTime
lea eax, [esp + 0x20]
mov edx, 0x10
call fcn.005dbe18
lea ecx, [esp + 8]
push ecx
call sub.USER32.DLL_GetCursorPos
lea eax, [esp + 8]
mov edx, 8
call fcn.005dbe18
push 0
push 0x60dbc4
call sub.USER32.DLL_EnumWindows
add esp, 0x30
ret
Function at 0x61574c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
lea ebx, [ebp - 0x38]
push esi
push edi
mov dword [ebx + 8], 0x6f7744
mov edi, eax
mov eax, 0x56498f
mov dword [ebx + 0xc], esp
mov dword [ebx + 4], eax
mov word [ebx + 0x10], 0
mov esi, edx
xor edx, edx
mov dword [ebx + 0x1c], edx
mov ecx, dword fs:[0]
mov dword [ebx], ecx
mov dword fs:[0], ebx
cmp dword [0x6a7c88], 0
je 0x615828
push 1
push 0x6f7a04
cmp dword [esi], 0
sete cl
and ecx, 1
test cl, cl
je 0x6157ae
xor ecx, ecx
jmp 0x6157d3
cmp dword [esi], 0
je 0x6157cd
mov edx, dword [esi]
test edx, edx
jne 0x6157bd
xor ecx, ecx
jmp 0x6157d3
cmp dword [edx + 4], 0
je 0x6157c8
mov ecx, dword [edx + 4]
jmp 0x6157d3
lea ecx, [edx + 8]
jmp 0x6157d3
mov ecx, dword [0x6a9384]
push ecx
cmp dword [edi], 0
je 0x6157f3
mov eax, dword [edi]
test eax, eax
jne 0x6157e3
xor edx, edx
jmp 0x6157f9
cmp dword [eax + 4], 0
je 0x6157ee
mov edx, dword [eax + 4]
jmp 0x6157f9
lea edx, [eax + 8]
jmp 0x6157f9
mov edx, dword [0x6a9384]
push edx
push 0
push 0
call sub.SHELL32.DLL_ShellExecuteW
cmp eax, 0x20
ja 0x615818
xor eax, eax
mov ecx, dword [ebx]
mov dword fs:[0], ecx
jmp 0x61597e
mov al, 1
mov edx, dword [ebx]
mov dword fs:[0], edx
jmp 0x61597e
mov word [ebx + 0x10], 0x14
xor ecx, ecx
lea edx, [ebp - 0xc]
mov dword [ebp - 0xc], ecx
mov eax, edi
inc dword [ebx + 0x1c]
call fcn.004019c0
lea edx, [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.006966d4
inc dword [ebx + 0x1c]
dec dword [ebx + 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00696870
mov word [ebx + 0x10], 8
mov word [ebx + 0x10], 0x20
xor ecx, ecx
lea edx, [ebp - 0x10]
mov dword [ebp - 0x10], ecx
mov eax, esi
inc dword [ebx + 0x1c]
call fcn.004019c0
lea edx, [ebp - 0x10]
lea eax, [ebp - 8]
call fcn.006966d4
inc dword [ebx + 0x1c]
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00696870
mov word [ebx + 0x10], 8
push 1
push 0x6f7a04
cmp dword [esi], 0
sete cl
and ecx, 1
test cl, cl
je 0x6158b8
xor eax, eax
jmp 0x6158c8
cmp dword [ebp - 8], 0
je 0x6158c3
mov eax, dword [ebp - 8]
jmp 0x6158c8
mov eax, 0x6f7a04
push eax
xor edx, edx
mov word [ebx + 0x10], 0x2c
mov dword [ebp - 0x14], edx
lea edx, [ebp - 0x14]
inc dword [ebx + 0x1c]
mov eax, edi
call fcn.004019c0
cmp dword [ebp - 0x14], 0
je 0x6158ec
mov ecx, dword [ebp - 0x14]
jmp 0x6158f1
mov ecx, 0x6f7a04
push ecx
push 0
push 0
call sub.SHELL32.DLL_ShellExecuteA
cmp eax, 0x20
mov edx, 2
setbe al
and eax, 1
push eax
lea eax, [ebp - 0x14]
dec dword [ebx + 0x1c]
call fcn.00696870
pop ecx
test cl, cl
je 0x615949
xor eax, eax
mov edx, 2
push eax
lea eax, [ebp - 8]
dec dword [ebx + 0x1c]
call fcn.00696870
dec dword [ebx + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00696870
pop eax
mov edx, dword [ebx]
mov dword fs:[0], edx
jmp 0x61597e
mov al, 1
mov edx, 2
push eax
lea eax, [ebp - 8]
dec dword [ebx + 0x1c]
call fcn.00696870
dec dword [ebx + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00696870
pop eax
mov edx, dword [ebx]
mov dword fs:[0], edx
jmp 0x61597e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x616050
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcc4
xor ecx, ecx
push ebx
lea ebx, [ebp - 0x28]
mov dword [ebp - 4], edx
mov edx, 0x56498f
mov dword [ebx + 8], 0x6f7978
mov dword [ebx + 0xc], esp
mov dword [ebx + 4], edx
mov word [ebx + 0x10], 0
mov dword [ebx + 0x1c], ecx
mov edx, dword fs:[0]
mov dword [ebx], edx
mov dword fs:[0], ebx
cmp dword [0x6a7c94], 0
je 0x6160fc
push 0
push eax
lea eax, [ebp - 0x234]
push eax
push 0
call dword [0x6a7c94]
test eax, eax
jne 0x6160d0
mov word [ebx + 0x10], 8
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [ecx], eax
inc dword [ebx + 0x1c]
mov eax, dword [ebp - 4]
inc dword [ebx + 0x1c]
mov edx, dword [ebx]
mov dword fs:[0], edx
jmp 0x61615a
mov word [ebx + 0x10], 0x14
lea eax, [ebp - 0x234]
call fcn.00408c54
mov edx, dword [ebp - 4]
mov dword [edx], eax
inc dword [ebx + 0x1c]
mov eax, dword [ebp - 4]
inc dword [ebx + 0x1c]
mov edx, dword [ebx]
mov dword fs:[0], edx
jmp 0x61615a
push 0
push eax
lea ecx, [ebp - 0x33c]
push ecx
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderPathA
test eax, eax
jne 0x616132
mov word [ebx + 0x10], 0x20
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax], edx
inc dword [ebx + 0x1c]
mov eax, dword [ebp - 4]
inc dword [ebx + 0x1c]
mov edx, dword [ebx]
mov dword fs:[0], edx
jmp 0x61615a
mov word [ebx + 0x10], 0x2c
lea eax, [ebp - 0x33c]
call fcn.00408d58
mov edx, dword [ebp - 4]
mov dword [edx], eax
inc dword [ebx + 0x1c]
mov eax, dword [ebp - 4]
inc dword [ebx + 0x1c]
mov edx, dword [ebx]
mov dword fs:[0], edx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x616410
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push ecx
mov byte [esp], dl
mov ebx, eax
cmp ebx, 0x1b0
jb 0x616434
cmp ebx, 0x1df
ja 0x616434
mov dl, byte [esp]
mov eax, ebx
call fcn.00543da4
pop edx
pop ebx
ret
cmp ebx, 1
je 0x61643e
cmp ebx, 2
jne 0x61645a
push 0x17
call fcn.0053fe3c
test eax, eax
je 0x61645a
cmp ebx, 1
jne 0x616455
mov ebx, 2
jmp 0x61645a
mov ebx, 1
push ebx
call sub.USER32.DLL_GetAsyncKeyState
cmp byte [esp], 0
je 0x61646c
mov dx, 0x8000
jmp 0x616470
mov dx, 1
and ax, dx
setne al
and eax, 1
pop edx
pop ebx
ret
Function at 0x618a50
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe7c
push ebx
push esi
lea esi, [ebp - 0x40]
push edi
mov dword [ebp - 4], edx
mov edi, eax
mov dword [esi + 8], 0x6f8908
mov dword [esi + 0xc], esp
mov eax, 0x56498f
mov dword [esi + 4], eax
xor edx, edx
mov word [esi + 0x10], 0
mov dword [esi + 0x1c], edx
mov ecx, dword fs:[0]
mov dword [esi], ecx
mov dword fs:[0], esi
mov dword [esi + 0x1c], 1
lea edx, [ebp - 4]
lea eax, [ebp - 4]
call fcn.006966d4
inc dword [esi + 0x1c]
lea ecx, [ebp - 0x184]
mov word [esi + 0x10], 8
push ecx
mov edx, str..tpm
mov word [esi + 0x10], 0x14
lea eax, [ebp - 8]
call fcn.0069669c
inc dword [esi + 0x1c]
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
inc dword [esi + 0x1c]
lea edx, [ebp - 8]
lea ecx, [ebp - 0xc]
call fcn.006968c8
cmp dword [ebp - 0xc], 0
je 0x618aea
mov edx, dword [ebp - 0xc]
jmp 0x618aef
mov edx, 0x6f89e5
push edx
call sub.KERNEL32.DLL_FindFirstFileA
mov ebx, eax
dec dword [esi + 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00696870
dec dword [esi + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00696870
mov word [esi + 0x10], 8
cmp ebx, 0xffffffff
je 0x618c31
test byte [ebp - 0x184], 0x10
jne 0x618c16
mov word [esi + 0x10], 0x20
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 4]
inc dword [esi + 0x1c]
mov dword [ebp - 0x10], eax
inc dword [esi + 0x1c]
inc dword [esi + 0x1c]
lea eax, [ebp - 0x14]
mov word [esi + 0x10], 0x2c
call fcn.006968a0
mov word [esi + 0x10], 0x38
lea edx, [ebp - 0x158]
lea eax, [ebp - 0x18]
call fcn.0069669c
inc dword [esi + 0x1c]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x10]
call fcn.006968a0
dec dword [esi + 0x1c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00696870
mov ecx, dword [edi + 8]
cmp ecx, dword [edi + 0x18]
je 0x618bdc
mov eax, dword [edi + 8]
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x618bd6
mov word [esi + 0x10], 0x50
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
call fcn.006966d4
inc dword [esi + 0x1c]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add eax, 4
call fcn.006966d4
inc dword [esi + 0x1c]
add dword [esi + 0x1c], 0xfffffffe
mov word [esi + 0x10], 0x44
add dword [edi + 8], 8
jmp 0x618bed
lea ecx, [ebp - 0x14]
push ecx
mov eax, dword [edi + 8]
push eax
push edi
call fcn.0061a6d8
add esp, 0xc
dec dword [esi + 0x1c]
dec dword [esi + 0x1c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00696870
dec dword [esi + 0x1c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00696870
mov word [esi + 0x10], 8
lea ecx, [ebp - 0x184]
push ecx
push ebx
call sub.KERNEL32.DLL_FindNextFileA
test eax, eax
jne 0x618b26
push ebx
call sub.KERNEL32.DLL_FindClose
dec dword [esi + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00696870
mov ecx, dword [esi]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x61c238
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov dword [ebp - 0x1c], 0x6f994c
mov dword [ebp - 0x18], esp
mov eax, 0x56498f
mov dword [ebp - 0x20], eax
mov word [ebp - 0x14], 0
mov edx, dword fs:[0]
mov dword [ebp - 0x24], edx
lea ecx, [ebp - 0x24]
mov dword fs:[0], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
mov dword [edi], edx
mov dword [esi], edx
mov byte [ebp - 0x2d], 0
push ebx
call fcn.005643bc
pop ecx
inc eax
push eax
call fcn.00560068
pop ecx
mov dword [ebp - 0x3c], eax
mov word [ebp - 0x14], 8
mov eax, dword [ebp - 0x3c]
push esi
mov esi, eax
push edi
xor eax, eax
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
lea eax, [ebp - 0x38]
push eax
mov edx, dword [ebp - 0x3c]
push edx
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov ebx, eax
mov word [ebp - 0x14], 8
test ebx, ebx
je 0x61c393
lea eax, [ebx + 2]
push eax
call fcn.00560068
pop ecx
mov dword [ebp - 0x2c], eax
mov word [ebp - 0x14], 0x14
mov edx, dword [ebp - 0x2c]
push edx
push ebx
push 0
mov ecx, dword [ebp - 0x3c]
push ecx
call sub.VERSION.DLL_GetFileVersionInfoA
test eax, eax
je 0x61c360
lea eax, [ebp - 0x34]
push eax
lea edx, [ebp - 0x28]
push edx
push 0x6f8bce
mov ecx, dword [ebp - 0x2c]
push ecx
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x61c360
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 8]
shr edx, 0x10
mov dword [esi], edx
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx + 8]
and eax, 0xffff
mov dword [edi], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp + 0xc]
mov ecx, dword [edx + 0xc]
shr ecx, 0x10
mov dword [eax], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0xc]
and ecx, 0xffff
mov dword [eax], ecx
mov byte [ebp - 0x2d], 1
mov word [ebp - 0x14], 8
jmp 0x61c389
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0055ffb4
pop ecx
mov word [ebp - 0x14], 0
jmp 0x61c3bc
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0055ffb4
pop ecx
mov al, byte [ebp - 0x2d]
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x625298
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], 0x6fb774
mov dword [ebp - 0x1c], esp
mov eax, 0x56498f
mov dword [ebp - 0x24], eax
mov ebx, ecx
mov word [ebp - 0x18], 0
xor ecx, ecx
lea esi, [ebp - 4]
mov dword [ebp - 0xc], ecx
mov eax, dword fs:[0]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x28]
mov dword fs:[0], ecx
mov word [ebp - 0x18], 8
mov ecx, dword [esi]
mov eax, 0x6fc724
mov dword [ecx], eax
mov eax, 0x6fc708
inc dword [ebp - 0xc]
mov ecx, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi]
mov dword [eax + 4], edx
mov edx, dword [esi]
mov ecx, dword [ebp + 8]
mov dword [edx + 0x30], ecx
mov ecx, dword [ebp + 0xc]
mov dword [edx + 0x34], ecx
mov ecx, 0xa
mov eax, dword [esi]
push esi
mov esi, ebx
lea edi, [eax + 8]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0xc]
pop esi
imul dword [ebx + 4]
mov edx, dword [esi]
mov dword [edx + 0x40], eax
mov ecx, dword [esi]
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x3c], 0
mov eax, dword [esi]
push dword [eax + 0x34]
push dword [eax + 0x30]
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
call fcn.00438664
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
mov eax, dword [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x674050
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
xor ecx, ecx
push ebx
lea ebx, [ebp - 0x30]
mov dword [ebp - 8], edx
mov edx, 0x56498f
mov dword [ebx + 8], 0x716204
mov dword [ebx + 0xc], esp
mov dword [ebx + 4], edx
mov word [ebx + 0x10], 0
mov dword [ebx + 0x1c], ecx
mov edx, dword fs:[0]
mov dword [ebx], edx
mov dword fs:[0], ebx
push 0
push eax
lea eax, [ebp - 0x138]
push eax
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderPathA
test eax, eax
jne 0x6740ea
mov word [ebx + 0x10], 8
xor ecx, ecx
mov dword [ebp - 4], ecx
lea edx, [ebp - 4]
inc dword [ebx + 0x1c]
mov eax, dword [ebp - 8]
call fcn.006968a0
mov eax, dword [ebp - 8]
mov edx, 2
mov word [ebx + 0x10], 0x14
push eax
lea eax, [ebp - 4]
dec dword [ebx + 0x1c]
call fcn.00696870
pop eax
mov word [ebx + 0x10], 8
inc dword [ebx + 0x1c]
mov edx, dword [ebx]
mov dword fs:[0], edx
jmp 0x674138
mov word [ebx + 0x10], 0x20
lea edx, [ebp - 0x138]
lea eax, [ebp - 0xc]
call fcn.0069669c
mov edx, eax
inc dword [ebx + 0x1c]
mov eax, dword [ebp - 8]
call fcn.006968a0
mov eax, dword [ebp - 8]
mov edx, 2
mov word [ebx + 0x10], 0x2c
push eax
lea eax, [ebp - 0xc]
dec dword [ebx + 0x1c]
call fcn.00696870
pop eax
mov word [ebx + 0x10], 0x20
inc dword [ebx + 0x1c]
mov edx, dword [ebx]
mov dword fs:[0], edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x101863a
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1097470]
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.01068dba
and word [ebp - 6], 0
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
call fcn.01067393
leave
ret

Function at 0x1018689
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x1097470]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x14]
xor edx, edx
push 0x17
mov dword [ebp - 0x80], eax
pop ecx
xor eax, eax
mov word [ebp - 0x64], dx
lea edi, [ebp - 0x62]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x78]
mov dword [ebx], edx
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x70], edx
mov dword [esi], edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x10187a8
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
test eax, eax
mov dword [ebp - 0x68], eax
je 0x10187a8
push eax
push edi
push dword [ebp - 0x84]
push dword [ebp - 0x78]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x101879f
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x1001688
push dword [ebp - 0x68]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x101873e
cmp dword [ebp - 0x6c], 0
je 0x101873e
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 8]
mov dword [esi], ecx
mov eax, dword [eax + 0xc]
mov dword [ebx], eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x74]
push eax
push 0x1002a04
push dword [ebp - 0x68]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x101879f
cmp dword [ebp - 0x6c], 0
je 0x101879f
mov eax, dword [ebp - 0x74]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
lea eax, [ebp - 0x64]
push 0x10029b8
push eax
call fcn.01068e87
add esp, 0x10
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x68]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x101879f
push dword [ebp - 0x70]
push dword [ebp - 0x80]
call fcn.01068e63
pop ecx
pop ecx
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01067393
leave
ret 0x10