joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434fd7
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x461f70]
je 0x434ff2
inc edi
cmp edi, 0x17
jb 0x434fe3
cmp edi, 0x17
jae 0x435172
push ebp
push 3
call fcn.00440d6f
cmp eax, 1
pop ecx
je 0x43513e
push 3
call fcn.00440d6f
test eax, eax
pop ecx
jne 0x435026
cmp dword [0x461b30], 1
je 0x43513e
cmp ebx, 0xfc
je 0x435171
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x465910
push ebp
call fcn.00440d0a
add esp, 0xc
test eax, eax
je 0x43505c
push esi
push esi
push esi
push esi
push esi
call fcn.004365df
add esp, 0x14
push 0x104
mov esi, 0x465929
push esi
push 0
mov byte [0x465a2d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4350a0
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00440d0a
add esp, 0xc
test eax, eax
je 0x4350a0
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004365df
add esp, 0x14
push esi
call fcn.0042fc70
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4350e5
push esi
call fcn.0042fc70
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x465c24
push 0x44f8a4
sub ecx, eax
push ecx
push eax
call fcn.00440c57
add esp, 0x14
test eax, eax
je 0x4350e5
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004365df
add esp, 0x14
jmp 0x4350e7
xor esi, esi
push 0x44f8a0
push ebx
push ebp
call fcn.00440be6
add esp, 0xc
test eax, eax
je 0x435107
push esi
push esi
push esi
push esi
push esi
call fcn.004365df
add esp, 0x14
push dword [edi*8 + 0x461f74]
push ebx
push ebp
call fcn.00440be6
add esp, 0xc
test eax, eax
je 0x435129
push esi
push esi
push esi
push esi
push esi
call fcn.004365df
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00440a29
add esp, 0xc
jmp 0x435171
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x435171
cmp ebp, 0xffffffff
je 0x435171
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x461f74]
push dword [esi]
call fcn.0042fc70
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x440a29
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00435b9b
xor ebx, ebx
cmp dword [0x466418], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x440aff
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x440bdf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x440bdf
push eax
call fcn.00435b2d
mov dword [esp], 0x44fcb8
push edi
mov dword [0x466418], eax
call esi
push eax
call fcn.00435b2d
mov dword [esp], 0x44fca4
push edi
mov dword [0x46641c], eax
call esi
push eax
call fcn.00435b2d
mov dword [0x466420], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0042f89e
test eax, eax
pop ecx
pop ecx
je 0x440acd
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004365df
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x440aff
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00435b2d
cmp eax, ebx
pop ecx
mov dword [0x466428], eax
je 0x440aff
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00435b2d
pop ecx
mov dword [0x466424], eax
mov eax, dword [0x466424]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x440b84
cmp dword [0x466428], ecx
je 0x440b84
push eax
call fcn.00435ba4
push dword [0x466428]
mov esi, eax
call fcn.00435ba4
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x440b84
cmp edi, ebx
je 0x440b84
call esi
cmp eax, ebx
je 0x440b51
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x440b51
test byte [ebp - 0x18], 1
jne 0x440b84
lea eax, [ebp - 0x10]
push eax
call fcn.0042f8d5
test eax, eax
pop ecx
je 0x440b6c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004365df
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x440b7b
or dword [ebp + 0x10], 0x200000
jmp 0x440bbf
or dword [ebp + 0x10], 0x40000
jmp 0x440bbf
mov eax, dword [0x46641c]
cmp eax, dword [ebp - 8]
je 0x440bbf
push eax
call fcn.00435ba4
cmp eax, ebx
pop ecx
je 0x440bbf
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x440bbf
mov eax, dword [0x466420]
cmp eax, dword [ebp - 8]
je 0x440bbf
push eax
call fcn.00435ba4
cmp eax, ebx
pop ecx
je 0x440bbf
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x466418]
call fcn.00435ba4
cmp eax, ebx
pop ecx
je 0x440bdf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x440be1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x446104
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x461de0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00446099
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0042f220
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x446153
cmp dword [ebp - 0x1c], 5
jb 0x44616b
jmp 0x446167
cmp dword [ebp - 0x10], 1
jne 0x44616b
cmp dword [ebp - 0x1c], 4
ja 0x446167
jne 0x44616b
cmp dword [ebp - 0x18], 0
jbe 0x44616b
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x450cf4
call fcn.00445f8a
test eax, eax
jge 0x44618c
mov byte [0x466760], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042f20b
add ebp, 0x78
leave
ret
Function at 0xc43830
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x665000]
push edi
or ebp, 0xffffffff
jmp 0xc43852
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xc43859
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc43848
mov eax, 1
add ebx, ebx
jne 0xc4386b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xc4387c
jne 0xc4389b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc4389b
dec eax
add ebx, ebx
jne 0xc43888
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xc43860
add ebx, ebx
jne 0xc43897
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xc438ed
xor ecx, ecx
sub eax, 3
jb 0xc438b3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xc43922
sar eax, 1
mov ebp, eax
jmp 0xc438be
add ebx, ebx
jne 0xc438be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc4388c
inc ecx
add ebx, ebx
jne 0xc438cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc4388c
add ebx, ebx
jne 0xc438d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xc438ce
jne 0xc438ea
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xc438ce
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xc4390c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xc438fe
jmp 0xc4384e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xc4390c
add edi, ecx
jmp 0xc4384e
pop esi
mov edi, esi
mov ecx, 0x1a957
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xc4392a
cmp byte [edi], 0x9f
jne 0xc4392a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0xc4392f
lea edi, [esi + 0x80b000]
mov eax, dword [edi]
or eax, eax
je 0xc4399e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x859270]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x85939c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xc4395c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8593a0]
or eax, eax
je 0xc43998
mov dword [ebx], eax
add ebx, 4
jmp 0xc43979
call dword [esi + 0x8593b0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0xc439cf
cmp al, 0xef
ja 0xc439c2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0xc439a4
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0xc439b1
mov ebp, dword [esi + 0x8593a4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xc43a03
sub esp, 0xffffff80
jmp 0x917f00
Function at 0x488a20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x71000]
push edi
or ebp, 0xffffffff
jmp 0x488a42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x488a49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x488a38
mov eax, 1
add ebx, ebx
jne 0x488a5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x488a6c
jne 0x488a8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x488a8b
dec eax
add ebx, ebx
jne 0x488a78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x488a50
add ebx, ebx
jne 0x488a87
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x488add
xor ecx, ecx
sub eax, 3
jb 0x488aa3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x488b12
sar eax, 1
mov ebp, eax
jmp 0x488aae
add ebx, ebx
jne 0x488aae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x488a7c
inc ecx
add ebx, ebx
jne 0x488abc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x488a7c
add ebx, ebx
jne 0x488ac9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x488abe
jne 0x488ada
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x488abe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x488afc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x488aee
jmp 0x488a3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x488afc
add edi, ecx
jmp 0x488a3e
pop esi
mov edi, esi
mov ecx, 0x335
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x488b1a
cmp byte [edi], 2
jne 0x488b1a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x488b1f
lea edi, [esi + 0x86000]
mov eax, dword [edi]
or eax, eax
je 0x488b97
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x888e4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x88920]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x488b4c
mov ecx, edi
jns 0x488b7b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x88924]
or eax, eax
je 0x488b91
mov dword [ebx], eax
add ebx, 4
jmp 0x488b69
call dword [esi + 0x8892c]
mov ebp, dword [esi + 0x88928]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1df]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x488bcb
sub esp, 0xffffff80
jmp 0x402740
Function at 0x12bbc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x12c54
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x12c34
xor eax, eax
push ebp
push 0x12c2d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x12c70
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x12c34
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret

Function at 0x13a08
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.000126e0
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x71049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x139d0
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x15750
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x1590c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x157b1
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x15928
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x15823
xor eax, eax
push ebp
push 0x1581c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.000155a8
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x15805
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x15948
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x15823
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x15904
cmp byte [ebp - 0xd], 0
jne 0x15865
cmp byte [ebp - 0x12], 0
je 0x15904
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x1587e
dec ebx
cmp byte [ebx], 0x2e
je 0x1588d
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x1587d
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x15904
inc ebx
cmp byte [ebp - 0x12], 0
je 0x158ba
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x15904
cmp byte [ebp - 0xd], 0
je 0x15904
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x15904
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x186c4
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.000175a4
ret
Function at 0x19004
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00013e98
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x19026
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x19138
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x191db
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x191ae
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 8]
mov edx, 0x400
call fcn.00014008
push 0x3ff
mov eax, dword [ebp - 8]
call fcn.00013e98
push eax
call sub.kernel32.dll_GetSystemDirectoryA
test eax, eax
jle 0x19199
cmp eax, 0x3ff
jge 0x19199
lea edx, [ebp - 8]
xchg edx, eax
call fcn.00014008
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00013aa8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x191c5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x191e2
lea eax, [ebp - 8]
call fcn.00013a54
ret

Function at 0x191f8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x1929b
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x1926e
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 8]
mov edx, 0x400
call fcn.00014008
mov eax, dword [ebp - 8]
call fcn.00013e98
push eax
push 0x3ff
call sub.kernel32.dll_GetTempPathA
test eax, eax
jle 0x19259
cmp eax, 0x3ff
jge 0x19259
lea edx, [ebp - 8]
xchg edx, eax
call fcn.00014008
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00013aa8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x19285
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x192a2
lea eax, [ebp - 8]
call fcn.00013a54
ret
Function at 0x192cc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x193fc
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x193ca
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, 0x400
call fcn.00014640
mov eax, dword [ebp - 8]
call fcn.000142b4
push eax
push 0x3ff
call sub.kernel32.dll_GetTempPathW
mov ebx, eax
test ebx, ebx
jbe 0x1932f
cmp ebx, 0x3ff
jae 0x1932f
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00014640
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.000140c0
xor eax, eax
push ebp
push 0x193ab
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, 0x2800
call fcn.00014640
mov ebx, 0x2800
push ebx
mov eax, dword [ebp - 0xc]
call fcn.000142b4
push eax
mov eax, dword [ebp - 8]
call fcn.000142b4
push eax
call sub.kernel32.dll_GetLongPathNameW
mov ebx, eax
test ebx, ebx
jbe 0x193a1
cmp ebx, 0x27f6
jae 0x193a1
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.00014640
mov eax, dword [ebp - 0xc]
call fcn.0001bb64
test al, al
je 0x193a1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.000140c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x193c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x193e1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x19403
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0001409c
ret

Function at 0x19430
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push esi
add esp, 0xfffffff4
mov esi, eax
mov eax, esi
mov edx, 0x194ec
call fcn.000140c0
mov eax, 0x1000
call fcn.000126e0
mov ebx, eax
mov edx, 0x1000
mov eax, ebx
call fcn.000175a4
xor eax, eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
mov eax, dword [0x6f18c]
add eax, 0x20019
push eax
push 0
push 0x19510
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x194c8
mov dword [esp], 0x1000
push esp
push ebx
lea eax, [esp + 0xc]
push eax
push 0
push 0x1953c
mov eax, dword [esp + 0x1c]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x194c8
cmp dword [esp + 4], 1
jne 0x194c8
cmp dword [esp], 0
jbe 0x194c8
cmp dword [esp], 0xfff
ja 0x194c8
mov eax, esi
mov edx, ebx
call fcn.000141dc
cmp dword [esp + 8], 0
je 0x194d9
mov eax, dword [esp + 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, ebx
call fcn.000126f8
add esp, 0xc
pop esi
pop ebx
ret
Function at 0x1955c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x19671
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, 0x19688
call fcn.00013aa8
mov eax, 0x1000
call fcn.000126e0
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x6f18c]
add eax, 0x20019
push eax
push 0
push 0x1969c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x19638
mov dword [ebp - 8], 0x1000
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
push 0
push 0x196c8
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x19638
cmp dword [ebp - 0xc], 1
jne 0x19638
cmp dword [ebp - 8], 0
jbe 0x19638
cmp dword [ebp - 8], 0xfff
ja 0x19638
mov eax, esi
mov edx, ebx
call fcn.00013c0c
lea eax, [ebp - 4]
call fcn.00019430
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.00013c9c
mov edx, dword [ebp - 0x14]
mov eax, dword [esi]
call fcn.00013de4
je 0x19638
lea ecx, [ebp - 0x18]
mov edx, dword [esi]
mov eax, dword [ebp - 4]
call fcn.0001c4b0
mov edx, dword [ebp - 0x18]
mov eax, esi
call fcn.00013aa8
cmp dword [ebp - 0x10], 0
je 0x19647
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, ebx
call fcn.000126f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x19678
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00013a78
lea eax, [ebp - 4]
call fcn.00014084
ret

Function at 0x196d8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x197aa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov word [eax], 0
mov eax, dword [ebp - 8]
mov word [eax], 0
mov eax, dword [ebp + 0xc]
mov word [eax], 0
mov eax, dword [ebp - 4]
mov word [eax], 0
lea eax, [ebp - 0x10]
push eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x197a0
mov eax, ebx
call fcn.000126e0
mov esi, eax
push esi
push ebx
mov eax, dword [ebp - 0x10]
push eax
push edi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x19799
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x197c0
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x19799
cmp dword [ebp - 0xc], 0x34
jne 0x19799
mov eax, dword [ebp - 0x14]
mov ax, word [eax + 0xc]
mov edx, dword [ebp + 8]
mov word [edx], ax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
call fcn.00017588
mov edx, dword [ebp + 0xc]
mov word [edx], ax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
call fcn.00017588
mov edx, dword [ebp - 4]
mov word [edx], ax
mov eax, dword [ebp - 0x14]
mov ax, word [eax + 8]
mov edx, dword [ebp - 8]
mov word [edx], ax
mov eax, esi
call fcn.000126f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x197b4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8