Function at 0x41b26e
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 0x10
call fcn.0045c3dc
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x484661
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], esp
push 0
mov ebx, dword [ebp + 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x41b2fa
push 0x19
push 0x4020e90
push 6
call fcn.0045c3d0
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x41b9c9
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x1bc
call fcn.0045d1d0
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41b33a
push ebx
call fcn.0045c3e2
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], esp
mov eax, dword [ebp - 8]
test eax, eax
je 0x41b34b
add eax, 8
push eax
push dword [ebp - 4]
push 0
mov ebx, dword [ebp + 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x41b37f
push 0xba
push 0x4020e90
push 6
call fcn.0045c3d0
add esp, 0xc
mov dword [ebp - 0x24], esp
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push str.VarFileInfoTranslation
mov eax, dword [ebp - 8]
test eax, eax
je 0x41b399
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.VERSION.dll_VerQueryValueA]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x41b3c0
push 0x10f
push 0x4020e90
push 6
call fcn.0045c3d0
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x41b3d7
mov eax, 0x4832bb
jmp 0x41b9ea
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x1bc
call fcn.0045d1d0
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41b40a
push ebx
call fcn.0045c3e2
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], esp
push dword [ebp - 0x10]
push dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x41b421
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x41b448
push 0x1c2
push 0x4020e90
push 6
call fcn.0045c3d0
add esp, 0xc
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push htons
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x41b46d
mov eax, 0x48354c
push eax
push 3
mov ebx, 0x19c
call fcn.0045d8e0
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
cmp ecx, 0x80000101
jne 0x41b4a1
and eax, 0xff
jmp 0x41b4f6
cmp ecx, 0x80000201
jne 0x41b4ac
cwde
jmp 0x41b4f6
cmp ecx, 0x80000301
je 0x41b4f6
cmp ecx, 0x80000401
je 0x41b4f6
mov dword [ebp - 0x34], eax
cmp ecx, 0x80000501
je 0x41b4e6
cmp ecx, 0x80000601
je 0x41b4eb
push 0x266
push 0x4020e90
push 2
call fcn.0045c3d0
add esp, 0xc
fld dword [ebp - 0x34]
jmp 0x41b4f1
mov dword [ebp - 0x30], edx
fld qword [ebp - 0x34]
call fcn.0040157c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1d4
call fcn.0045ead0
add esp, 0x10
mov dword [ebp - 0x30], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x41b526
mov eax, 0x4832bb
push eax
push 1
mov ebx, 0x130
call fcn.0045e750
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41b54c
push ebx
call fcn.0045c3e2
add esp, 4
fld qword [0x48455f]
fild dword [ebp - 0x34]
fstp qword [ebp - 0x3c]
fsub qword [ebp - 0x3c]
fstp qword [ebp - 0x44]
push reloc.WS2_32.dll_connect
push 0
push 0x484567
fld qword [ebp - 0x44]
call fcn.0040157c
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x188
call fcn.0045eb00
add esp, 0x1c
mov dword [ebp - 0x48], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push htons
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x41b5b4
mov eax, 0x48354c
push eax
push 3
mov ebx, 0x19c
call fcn.0045d8e0
add esp, 0x28
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x54]
cmp ecx, 0x80000101
jne 0x41b5e8
and eax, 0xff
jmp 0x41b63d
cmp ecx, 0x80000201
jne 0x41b5f3
cwde
jmp 0x41b63d
cmp ecx, 0x80000301
je 0x41b63d
cmp ecx, 0x80000401
je 0x41b63d
mov dword [ebp - 0x5c], eax
cmp ecx, 0x80000501
je 0x41b62d
cmp ecx, 0x80000601
je 0x41b632
push 0x2a7
push 0x4020e90
push 2
call fcn.0045c3d0
add esp, 0xc
fld dword [ebp - 0x5c]
jmp 0x41b638
mov dword [ebp - 0x58], edx
fld qword [ebp - 0x5c]
call fcn.0040157c
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1d4
call fcn.0045ead0
add esp, 0x10
mov dword [ebp - 0x58], eax
push dword [ebp - 0x58]
push dword [ebp - 0x48]
mov ecx, 2
call fcn.00401899
add esp, 8
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x41b680
push ebx
call fcn.0045c3e2
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x41b690
push ebx
call fcn.0045c3e2
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41b6a4
push ebx
call fcn.0045c3e2
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x80000301
push 0
push 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x41b6c7
mov eax, 0x4832bb
push eax
push 2
mov ebx, 0x138
call fcn.0045d200
add esp, 0x1c
mov dword [ebp - 0x24], eax
push 0x80000301
push 0
push 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x41b6fc
mov eax, 0x4832bb
push eax
push 2
mov ebx, 0x134
call fcn.0045eb60
add esp, 0x1c
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [ebp - 0x24]
mov ecx, 2
call fcn.00401899
add esp, 8
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b738
push ebx
call fcn.0045c3e2
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b748
push ebx
call fcn.0045c3e2
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41b75c
push ebx
call fcn.0045c3e2
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov eax, 0x484618
push eax
mov ebx, eax
call fcn.004018f5
pop eax
sub ebx, eax
push ecx
push ebx
push eax
shl ecx, 2
add ecx, ebx
push ecx
call fcn.0045c3dc
add esp, 4
pop esi
mov edi, eax
pop ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
pop ecx
test ecx, ecx
je 0x41b7bd
push eax
lodsd eax, dword [esi]
push esi
push edi
push ecx
test eax, eax
je 0x41b7b1
push eax
mov ebx, eax
call fcn.00401333
inc eax
push eax
call fcn.0045c3dc
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop ecx
pop edi
pop esi
stosd dword es:[edi], eax
dec ecx
jne 0x41b794
pop eax
push eax
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x41b7dc
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x41b7d8
imul eax, dword [ebx]
jmp 0x41b7cd
mov ecx, eax
test ecx, ecx
je 0x41b7fb
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x41b7f4
push ebx
push eax
call fcn.0045c3e2
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x41b7e2
call fcn.0045c3e2
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 0x10], 0
jne 0x41b818
mov dword [ebp + 0xc], 1
mov ebx, dword [ebp - 0x1c]
call fcn.004018f5
push ebx
push ecx
mov eax, dword [ebp + 0xc]
dec eax
jns 0x41b83f
push 0x510
push 0x4020e90
push 4
call fcn.0045c3d0
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x41b85c
push 0x510
push 0x4020e90
push 1
call fcn.0045c3d0
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push dword [ebp - 0x18]
push str.StringFileInfo_
mov ecx, 3
call fcn.00401899
add esp, 0xc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esp
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x28]
mov eax, dword [ebp - 8]
test eax, eax
je 0x41b899
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.VERSION.dll_VerQueryValueA]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x41b8c0
push 0x510
push 0x4020e90
push 6
call fcn.0045c3d0
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b8d3
push ebx
call fcn.0045c3e2
add esp, 4
cmp dword [ebp - 0x30], 0
je 0x41b9c9
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x1bc
call fcn.0045d1d0
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41b910
push ebx
call fcn.0045c3e2
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], esp
push dword [ebp - 0x10]
push dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x41b927
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x41b94e
push 0x59c
push 0x4020e90
push 6
call fcn.0045c3d0
add esp, 0xc
push 0
push 0
push 0
push 0x80000301
push 0
push 0xa
push htons
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x41b973
mov eax, 0x48354c
push eax
push 3
mov ebx, 0x19c
call fcn.0045d8e0
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
cmp ecx, reloc.WS2_32.dll_connect
je 0x41b9b1
push 0x5dd
push 0x4020e90
push 5
call fcn.0045c3d0
add esp, 0xc
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b9c5
push ebx
call fcn.0045c3e2
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x41b9e5
push eax
mov ebx, eax
call fcn.00401333
inc eax
push eax
call fcn.0045c3dc
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x41b9ea
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41b9fb
push ebx
call fcn.0045c3e2
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41ba0b
push ebx
call fcn.0045c3e2
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41ba1b
push ebx
call fcn.0045c3e2
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x41ba39
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x41ba35
imul eax, dword [ebx]
jmp 0x41ba2a
mov ecx, eax
test ecx, ecx
je 0x41ba58
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x41ba51
push ebx
push eax
call fcn.0045c3e2
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x41ba3f
call fcn.0045c3e2
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41ba70
push ebx
call fcn.0045c3e2
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc