Function at 0x439c9f
Capabilities:
Get file version info
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461cd3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x27c
push edi
mov dword [ebp - 0x288], ecx
lea ecx, [ebp - 0x24]
call fcn.00402210
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00402210
mov byte [ebp - 4], 1
mov dword [ebp - 0x234], 0xffffffff
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], 0x104
mov al, byte [0x479b54]
mov byte [ebp - 0x128], al
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x127]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov cl, byte [0x479b58]
mov byte [ebp - 0x22c], cl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x22b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x1f4
lea edx, [ebp - 0x22c]
push edx
push 0x160
mov ecx, 0x479934
call fcn.0041c0a1
lea eax, [ebp - 0x22c]
push eax
push 0x477598
lea ecx, [ebp - 0x24]
push ecx
call fcn.0044fdfe
add esp, 0xc
push str.ACDSee.exe
lea ecx, [ebp - 0x24]
call fcn.00455488
push 0x1f4
lea edx, [ebp - 0x22c]
push edx
push 0x160
mov ecx, 0x479934
call fcn.0041c0a1
lea eax, [ebp - 0x22c]
push eax
push 0x4775a8
lea ecx, [ebp - 0x230]
push ecx
call fcn.0044fdfe
add esp, 0xc
push str.ACDSee5.exe
lea ecx, [ebp - 0x230]
call fcn.00455488
lea edx, [ebp - 0x1c]
push edx
push 0x20019
push 0
lea ecx, [ebp - 0x230]
call fcn.00402270
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x439e17
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x128]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x234], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x439e67
lea edx, [ebp - 0x1c]
push edx
push 0x20019
push 0
lea ecx, [ebp - 0x24]
call fcn.00402270
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x439e67
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x128]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x234], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x14]
call fcn.00402210
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004550ab
cmp dword [ebp - 0x234], 0
jne 0x439f7f
lea edx, [ebp - 0x128]
push edx
push 0x4775b8
lea eax, [ebp - 0x14]
push eax
call fcn.0044fdfe
add esp, 0xc
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x280], 0x50
lea ecx, [ebp - 0x14]
call fcn.00402880
add eax, 1
push eax
lea ecx, [ebp - 0x14]
call fcn.004554dc
mov dword [ebp - 0x23c], eax
lea ecx, [ebp - 0x240]
push ecx
mov edx, dword [ebp - 0x23c]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x244]
push eax
call fcn.00443625
add esp, 4
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x244]
push edx
push 0
mov eax, dword [ebp - 0x23c]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
lea ecx, [ebp - 0x280]
push ecx
lea edx, [ebp - 0x27c]
push edx
push 0x4775bc
mov eax, dword [ebp - 0x238]
push eax
call sub.VERSION.dll_VerQueryValueA
mov ecx, dword [ebp - 0x280]
push ecx
mov edx, dword [ebp - 0x27c]
push edx
lea eax, [ebp - 0x278]
push eax
call fcn.004432f0
add esp, 0xc
mov ecx, dword [ebp - 0x268]
and ecx, 0xffff0000
shr ecx, 0x10
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x238]
push edx
call fcn.0044329f
add esp, 4
mov dword [ebp - 0x238], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x284], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00455120
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00455120
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00455120
mov eax, dword [ebp - 0x284]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret