Function at 0x40d0a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f710
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x44cb90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004023d0
add eax, 0x10
mov dword [ebp - 0x18], eax
push 0x4457c0
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.00402b20
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebx - 0xc]
test esi, esi
jns 0x40d106
push 0x80070057
call fcn.00407bb0
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, esi
or eax, ecx
jge 0x40d124
mov eax, esi
lea ecx, [ebp - 0x18]
call fcn.00407ad0
mov ebx, dword [ebp - 0x18]
lea ecx, [esi + 1]
push ecx
push ebx
call fcn.00428c41
add esp, 8
cmp esi, dword [ebx - 8]
jg 0x40d0fc
xor edx, edx
mov dword [ebx - 0xc], esi
mov word [ebx + esi*2], dx
mov eax, dword [ebx - 0xc]
test eax, eax
js 0x40d1c0
push 0x4457c4
push ebx
call fcn.00428997
add esp, 8
test eax, eax
je 0x40d1c0
sub eax, ebx
sar eax, 1
cmp eax, 0xffffffff
je 0x40d1c0
add ebx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40d181
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d1a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebp - 0x14]
push ecx
mov ecx, 0x443b68
call fcn.00402a70
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x18]
mov eax, dword [eax + 0x10]
push ecx
sub eax, 0x10
mov dword [ebp - 0x2c], esp
mov edi, esp
call fcn.004023d0
add eax, 0x10
mov ecx, esi
lea esi, [ebp - 0x3c]
mov dword [edi], eax
call fcn.00410aa0
add esp, 4
mov byte [ebp - 4], 3
mov eax, dword [eax + 0xc]
sub eax, 0x10
call fcn.004023d0
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d233
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esi - 0xc], 3
jle 0x40d307
lea ecx, [ebp - 0x24]
xor eax, eax
push ecx
push esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
push edi
call fcn.004141b4
mov edx, dword [ebp - 0x24]
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x20]
push esi
push edi
push edx
push eax
mov dword [ebp - 0x2c], esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x40d2ef
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0x4457cc
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x40d2ef
push 0x10
call fcn.004141b4
mov esi, eax
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax + 0xa]
mov dword [esi], ecx
mov edx, dword [ebp - 0x1c]
movzx eax, word [edx + 8]
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx + 0xe]
mov dword [esi + 8], edx
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 0xc]
add esp, 4
push eax
push edx
mov edx, dword [esi + 4]
mov dword [esi + 0xc], eax
mov eax, dword [esi]
push edx
push eax
push 0x4457d0
lea edi, [ebp - 0x14]
call fcn.0040e390
add esp, 0x14
push esi
call fcn.004285a1
mov esi, dword [ebp - 0x2c]
add esp, 4
push esi
call fcn.004285a1
add esp, 4
jmp 0x40d314
mov eax, 0x44f870
lea edi, [ebp - 0x14]
call fcn.0040b330
push esi
call fcn.004285a1
add esp, 4
jmp 0x40d314
mov eax, 0x44f86c
lea edi, [ebp - 0x14]
call fcn.0040b330
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004023d0
add eax, 0x10
mov dword [ebp - 0x1c], eax
push 0x4457c0
lea ecx, [ebp - 0x1c]
push ecx
mov byte [ebp - 4], 6
call fcn.00402b20
mov edi, dword [ebp + 8]
add edi, 0xb4
lea eax, [ebp - 0x1c]
call fcn.0040b330
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x40d370
cmp dword [ebx - 0xc], 0
jl 0x40d395
push esi
push ebx
call fcn.00428997
add esp, 8
test eax, eax
je 0x40d370
sub eax, ebx
sar eax, 1
cmp eax, 0xffffffff
jne 0x40d50d
cmp dword [ebx - 0xc], 0
jl 0x40d395
push 0x4457e8
push ebx
call fcn.00428997
add esp, 8
test eax, eax
je 0x40d395
sub eax, ebx
sar eax, 1
cmp eax, 0xffffffff
jne 0x40d50d
cmp dword [ebp + 0x10], 0
jne 0x40d50d
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp + 8], eax
lea ecx, [ebp + 0x10]
push 0x4457f0
push ecx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.00401fc0
mov byte [ebp - 4], 8
mov edx, dword [eax]
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x44f868]
push edx
push eax
push ecx
lea edi, [ebp + 8]
call fcn.0040e390
mov byte [ebp - 4], 7
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
add esp, 0x14
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d40a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x44f83c]
mov edi, dword [ebp + 8]
push 0x34
push ecx
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor edx, edx
cmp eax, 6
sete dl
lea eax, [edi - 0x10]
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
mov dword [ebp + 8], edx
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d44a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d46a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d48d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d4b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d4d0
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d4f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea eax, [esi - 0x10]
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d52d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d550
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d573
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d181
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
jmp 0x40d181