Function at 0x1001e07
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebx + 8]
xor esi, dword [eax]
push edi
mov eax, dword [esi]
mov byte [ebp - 1], 0
mov dword [ebp - 0xc], 1
lea edi, [ebx + 0x10]
cmp eax, reloc.KERNEL32.dll_TerminateProcess
je reloc.KERNEL32.dll_TerminateProcess
mov ecx, dword [esi + 4]
add ecx, edi
xor ecx, dword [eax + edi]
call dword [ebp + 0xc]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
add ecx, edi
xor ecx, dword [edx + edi]
call dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
test byte [eax + 4], 0x66
jne reloc.KERNEL32.dll_TerminateProcess
lea ecx, [ebp - 0x18]
mov dword [ebx - 4], ecx
mov ebx, dword [ebx + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
cmp ebx, reloc.KERNEL32.dll_TerminateProcess
je reloc.KERNEL32.dll_TerminateProcess
jmp reloc.KERNEL32.dll_TerminateProcess
lea edx, [ebx + ebx*2]
mov ecx, dword [esi + edx*4 + 0x14]
lea eax, [esi + edx*4 + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [eax]
mov dword [ebp - 8], eax
test ecx, ecx
je reloc.KERNEL32.dll_TerminateProcess
mov edx, edi
call fcn.01001d5a
mov byte [ebp - 1], 1
test eax, eax
jl reloc.KERNEL32.dll_TerminateProcess
jg reloc.KERNEL32.dll_TerminateProcess
mov eax, dword [ebp - 8]
mov ebx, eax
cmp eax, reloc.KERNEL32.dll_TerminateProcess
jne reloc.KERNEL32.dll_TerminateProcess
cmp byte [ebp - 1], 0
je reloc.KERNEL32.dll_TerminateProcess
mov eax, dword [esi]
cmp eax, reloc.KERNEL32.dll_TerminateProcess
je reloc.KERNEL32.dll_TerminateProcess
mov ecx, dword [esi + 4]
add ecx, edi
xor ecx, dword [eax + edi]
call dword [ebp + 0xc]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
add ecx, edi
xor ecx, dword [edx + edi]
call dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0xc], 0
jmp reloc.KERNEL32.dll_TerminateProcess
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0xe06d7363
jne reloc.KERNEL32.dll_TerminateProcess
cmp dword [0x1003680], 0
je reloc.KERNEL32.dll_TerminateProcess
push 0x1003680
call fcn.01002039
add esp, 4
test eax, eax
je reloc.KERNEL32.dll_TerminateProcess
mov ecx, dword [ebp + 0x10]
push 1
push ecx
call dword [0x1003680]
add esp, 8
mov ecx, dword [ebp + 0x14]
call fcn.01001d8a
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0xc], ebx
je reloc.KERNEL32.dll_TerminateProcess
mov edx, dword [ebp + 8]
push edx
push edi
mov edx, ebx
mov ecx, eax
call fcn.01001da4
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
mov dword [eax + 0xc], ecx
mov eax, dword [esi]
cmp eax, reloc.KERNEL32.dll_TerminateProcess
je reloc.KERNEL32.dll_TerminateProcess
mov ecx, dword [esi + 4]
add ecx, edi
xor ecx, dword [eax + edi]
call dword [ebp + 0xc]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
add ecx, edi
xor ecx, dword [edx + edi]
call dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov edx, edi
call fcn.01001d71
mov edx, reloc.KERNEL32.dll_TerminateProcess
cmp dword [ebx + 0xc], edx
je reloc.KERNEL32.dll_TerminateProcess
mov ecx, dword [ebp + 8]
push ecx
push edi
mov ecx, ebx
call fcn.01001da4
jmp reloc.KERNEL32.dll_TerminateProcess