Function at 0x1003c3f1
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.100b8c3f
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x100ddcc1
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 0x1003c47d
push 0x19
push 0x40365b3
push 6
call fcn.100b8c4b
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x1003cb4c
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x1bc
call fcn.100b9960
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1003c4bd
push ebx
call fcn.100b8c45
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], esp
mov eax, dword [ebp - 8]
test eax, eax
je 0x1003c4ce
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 0x1003c502
push 0xa7
push 0x40365b3
push 6
call fcn.100b8c4b
add esp, 0xc
mov dword [ebp - 0x24], esp
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x100def6e
mov eax, dword [ebp - 8]
test eax, eax
je 0x1003c51c
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.VERSION.dll_VerQueryValueA]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x1003c543
push 0xfc
push 0x40365b3
push 6
call fcn.100b8c4b
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x1003c55a
mov eax, 0x100d520e
jmp 0x1003cb6d
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x1bc
call fcn.100b9960
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1003c58d
push ebx
call fcn.100b8c45
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 0x1003c5a4
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x1003c5cb
push 0x19c
push 0x40365b3
push 6
call fcn.100b8c4b
add esp, 0xc
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x1003c5f0
mov eax, 0x100d5289
push eax
push 3
mov ebx, 0x19c
call fcn.100ba350
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 0x1003c624
and eax, 0xff
jmp 0x1003c679
cmp ecx, 0x80000201
jne 0x1003c62f
cwde
jmp 0x1003c679
cmp ecx, 0x80000301
je 0x1003c679
cmp ecx, 0x80000401
je 0x1003c679
mov dword [ebp - 0x34], eax
cmp ecx, 0x80000501
je 0x1003c669
cmp ecx, 0x80000601
je 0x1003c66e
push 0x240
push 0x40365b3
push 2
call fcn.100b8c4b
add esp, 0xc
fld dword [ebp - 0x34]
jmp 0x1003c674
mov dword [ebp - 0x30], edx
fld qword [ebp - 0x34]
call fcn.10001795
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1d4
call fcn.100c03d0
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 0x1003c6a9
mov eax, 0x100d520e
push eax
push 1
mov ebx, 0x130
call fcn.100baa20
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x1003c6cf
push ebx
call fcn.100b8c45
add esp, 4
fld qword [0x100ddbbc]
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 0x100d53aa
fld qword [ebp - 0x44]
call fcn.10001795
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x188
call fcn.100be8a0
add esp, 0x1c
mov dword [ebp - 0x48], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x1003c737
mov eax, 0x100d5289
push eax
push 3
mov ebx, 0x19c
call fcn.100ba350
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 0x1003c76b
and eax, 0xff
jmp 0x1003c7c0
cmp ecx, 0x80000201
jne 0x1003c776
cwde
jmp 0x1003c7c0
cmp ecx, 0x80000301
je 0x1003c7c0
cmp ecx, 0x80000401
je 0x1003c7c0
mov dword [ebp - 0x5c], eax
cmp ecx, 0x80000501
je 0x1003c7b0
cmp ecx, 0x80000601
je 0x1003c7b5
push 0x281
push 0x40365b3
push 2
call fcn.100b8c4b
add esp, 0xc
fld dword [ebp - 0x5c]
jmp 0x1003c7bb
mov dword [ebp - 0x58], edx
fld qword [ebp - 0x5c]
call fcn.10001795
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1d4
call fcn.100c03d0
add esp, 0x10
mov dword [ebp - 0x58], eax
push dword [ebp - 0x58]
push dword [ebp - 0x48]
mov ecx, 2
call fcn.10001088
add esp, 8
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x1003c803
push ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x1003c813
push ebx
call fcn.100b8c45
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x1003c827
push ebx
call fcn.100b8c45
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 0x1003c84a
mov eax, 0x100d520e
push eax
push 2
mov ebx, 0x138
call fcn.100bb7f0
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 0x1003c87f
mov eax, 0x100d520e
push eax
push 2
mov ebx, 0x134
call fcn.100bae70
add esp, 0x1c
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [ebp - 0x24]
mov ecx, 2
call fcn.10001088
add esp, 8
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1003c8bb
push ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1003c8cb
push ebx
call fcn.100b8c45
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x1003c8df
push ebx
call fcn.100b8c45
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov eax, 0x100def98
push eax
mov ebx, eax
call fcn.100020b9
pop eax
sub ebx, eax
push ecx
push ebx
push eax
shl ecx, 2
add ecx, ebx
push ecx
call fcn.100b8c3f
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 0x1003c940
push eax
lodsd eax, dword [esi]
push esi
push edi
push ecx
test eax, eax
je 0x1003c934
push eax
mov ebx, eax
call fcn.1000101d
inc eax
push eax
call fcn.100b8c3f
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 0x1003c917
pop eax
push eax
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1003c95f
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1003c95b
imul eax, dword [ebx]
jmp 0x1003c950
mov ecx, eax
test ecx, ecx
je 0x1003c97e
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1003c977
push ebx
push eax
call fcn.100b8c45
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1003c965
call fcn.100b8c45
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 0x10], 0
jne 0x1003c99b
mov dword [ebp + 0xc], 1
mov ebx, dword [ebp - 0x1c]
call fcn.100020b9
push ebx
push ecx
mov eax, dword [ebp + 0xc]
dec eax
jns 0x1003c9c2
push 0x43d
push 0x40365b3
push 4
call fcn.100b8c4b
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1003c9df
push 0x43d
push 0x40365b3
push 1
call fcn.100b8c4b
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.10001088
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 0x1003ca1c
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.VERSION.dll_VerQueryValueA]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x1003ca43
push 0x43d
push 0x40365b3
push 6
call fcn.100b8c4b
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1003ca56
push ebx
call fcn.100b8c45
add esp, 4
cmp dword [ebp - 0x30], 0
je 0x1003cb4c
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x1bc
call fcn.100b9960
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1003ca93
push ebx
call fcn.100b8c45
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 0x1003caaa
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x1003cad1
push 0x4c9
push 0x40365b3
push 6
call fcn.100b8c4b
add esp, 0xc
push 0
push 0
push 0
push 0x80000301
push 0
push 0xa
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x1003caf6
mov eax, 0x100d5289
push eax
push 3
mov ebx, 0x19c
call fcn.100ba350
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 0x1003cb34
push 0x50a
push 0x40365b3
push 5
call fcn.100b8c4b
add esp, 0xc
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1003cb48
push ebx
call fcn.100b8c45
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1003cb68
push eax
mov ebx, eax
call fcn.1000101d
inc eax
push eax
call fcn.100b8c3f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x1003cb6d
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1003cb7e
push ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1003cb8e
push ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x1003cb9e
push ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1003cbbc
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1003cbb8
imul eax, dword [ebx]
jmp 0x1003cbad
mov ecx, eax
test ecx, ecx
je 0x1003cbdb
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1003cbd4
push ebx
push eax
call fcn.100b8c45
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1003cbc2
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1003cbf3
push ebx
call fcn.100b8c45
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc