Function at 0x100055c0
Capabilities:
Get file size
Get file version info
Read file on windows

Disassembly:
sub esp, 0x2c4
mov eax, dword [0x101cc040]
xor eax, esp
mov dword [esp + 0x2c0], eax
mov eax, dword [esp + 0x2c8]
push ebp
push esi
mov esi, edx
push edi
lea edx, [esp + 0x54]
push edx
xor ebp, ebp
push esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x5c], ebp
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
mov dword [esp + 0x28], edi
cmp edi, ebp
ja 0x1000561d
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x2c0]
xor ecx, esp
call fcn.1012fc12
add esp, 0x2c4
ret
push ebx
push edi
call fcn.1012fc96
add esp, 4
mov ebx, eax
push ebx
push edi
push ebp
push esi
mov dword [esp + 0x28], ebx
call sub.VERSION.dll_GetFileVersionInfoW
push edi
call fcn.1012fc96
add esp, 4
mov dword [esp + 0x10], eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x54]
push ecx
push str.VarFileInfoTranslation
push ebx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x40], ebp
call sub.VERSION.dll_VerQueryValueA
cmp dword [esp + 0x2e4], 3
mov eax, dword [esp + 0x40]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
jne 0x100056ae
test byte [esp + 0x2e0], 0x10
je 0x100056ae
cmp eax, ebp
jne 0x100056ae
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x2dc]
push 2
push 5
push edx
mov ebx, str.FakeFile.D
call fcn.10002840
add esp, 0xc
jmp 0x10005cff
xor esi, esi
mov dword [esp + 0x48], esi
test eax, 0xfffffffc
jbe 0x10005961
nop
mov ebx, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x1c], ebp
lea ebx, [ebx]
mov eax, dword [ebp*4 + 0x101cd100]
push eax
mov eax, dword [esp + 0x54]
movzx ecx, word [eax + esi*4 + 2]
movzx edx, word [eax + esi*4]
push ecx
push edx
push str.StringFileInfo_04x_04x_s
mov ecx, 0x64
lea edi, [esp + 0x27c]
call fcn.10001100
add esp, 0x10
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
push ecx
mov edx, edi
push edx
push eax
call sub.VERSION.dll_VerQueryValueA
cmp dword [esp + 0x34], 0
jbe 0x1000593b
cmp ebp, 1
mov ebp, dword [esp + 0x28]
ja 0x100057dd
cmp dword [esp + 0x1c], 0
lea eax, [esp + 0x1a4]
je 0x10005744
lea eax, [esp + 0xdc]
mov edx, ebp
mov esi, 0x64
sub edx, eax
lea ecx, [ecx]
lea ecx, [esi + 0x7fffff9a]
test ecx, ecx
je 0x1000576b
mov cl, byte [edx + eax]
test cl, cl
je 0x1000576b
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x10005750
jmp 0x1000576f
test esi, esi
jne 0x10005770
dec eax
cmp dword [esp + 0x1c], 0
mov byte [eax], 0
jne 0x10005787
lea esi, [esp + 0x44]
lea eax, [esp + 0x1a4]
jmp 0x10005792
lea esi, [esp + 0x30]
lea eax, [esp + 0xdc]
mov ecx, 0x64
xor edx, edx
lea esp, [esp]
cmp byte [eax], 0
je 0x100057ad
inc eax
sub ecx, 1
jne 0x100057a0
jmp 0x100057b1
test ecx, ecx
jne 0x100057b6
mov edx, 0x80070057
test esi, esi
je 0x100057cf
test edx, edx
jl 0x100057c9
mov eax, 0x64
sub eax, ecx
mov dword [esi], eax
jmp 0x100057cf
mov dword [esi], 0
test edx, edx
jge 0x100057dd
test esi, esi
je 0x100057dd
mov dword [esi], 0
mov eax, dword [esp + 0x1c]
cmp eax, 3
jne 0x10005832
lea edx, [eax + 0x61]
lea eax, [esp + 0x208]
mov esi, ebp
mov ecx, eax
sub esi, ecx
lea ecx, [edx + 0x7fffff9a]
test ecx, ecx
je 0x10005811
mov cl, byte [esi + eax]
test cl, cl
je 0x10005811
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x100057f6
jmp 0x10005815
test edx, edx
jne 0x10005816
dec eax
mov byte [eax], 0
mov ecx, 0x64
lea eax, [esp + 0x208]
cmp byte [eax], 0
je 0x10005893
inc eax
sub ecx, 1
jne 0x10005825
jmp 0x10005893
cmp eax, 6
jne 0x10005893
lea edx, [eax + 0x5e]
lea eax, [esp + 0x140]
mov esi, ebp
mov ecx, eax
sub esi, ecx
jmp 0x10005850
lea ecx, [edx + 0x7fffff9a]
test ecx, ecx
je 0x1000586b
mov cl, byte [esi + eax]
test cl, cl
je 0x1000586b
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x10005850
jmp 0x1000586f
test edx, edx
jne 0x10005870
dec eax
mov byte [eax], 0
mov ecx, 0x64
lea eax, [esp + 0x140]
nop
cmp byte [eax], 0
je 0x100058b5
inc eax
sub ecx, 1
jne 0x10005880
mov dword [esp + 0x20], 0
cmp dword [esp + 0x24], 0
jne 0x100058c6
cmp ebx, 0x7fffffff
ja 0x1000592f
mov ecx, dword [esp + 0x10]
mov eax, ebp
mov edx, ebx
call fcn.100011c0
jmp 0x1000592f
test ecx, ecx
je 0x1000588b
mov eax, 0x64
sub eax, ecx
mov dword [esp + 0x20], eax
jmp 0x10005893
mov esi, dword [esp + 0x10]
cmp ebx, 0x7fffffff
ja 0x10005a15
lea edi, [esp + 0x3c]
mov ecx, ebx
mov edx, esi
call fcn.100021a0
test eax, eax
jl 0x10005900
mov eax, dword [esp + 0x3c]
mov edx, ebx
sub edx, eax
lea ecx, [eax + esi]
mov eax, 0x10143948
call fcn.10002220
mov ebp, dword [esp + 0x28]
cmp ebx, 0x7fffffff
ja 0x10005a22
lea edi, [esp + 0x38]
mov ecx, ebx
mov edx, esi
call fcn.100021a0
test eax, eax
jl 0x1000592f
mov eax, dword [esp + 0x38]
mov edx, ebx
sub edx, eax
lea ecx, [eax + esi]
mov eax, ebp
call fcn.10002220
inc dword [esp + 0x24]
mov esi, dword [esp + 0x48]
mov ebp, dword [esp + 0x1c]
inc ebp
mov dword [esp + 0x1c], ebp
cmp ebp, 0xc
jb 0x100056d0
mov edx, dword [esp + 0x40]
inc esi
shr edx, 2
mov dword [esp + 0x48], esi
cmp esi, edx
jb 0x100056c0
mov ebp, dword [esp + 0x30]
cmp dword [esp + 0x2e4], 1
jne 0x10005a95
cmp dword [esp + 0x20], 4
jne 0x100059c9
cmp byte [esp + 0x141], 0x2e
jne 0x100059c9
mov dl, byte [esp + 0x140]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x100059c9
mov cl, byte [esp + 0x142]
mov al, cl
sub al, 0x30
cmp al, 9
ja 0x100059c9
mov al, byte [esp + 0x143]
mov bl, al
sub bl, 0x30
cmp bl, 9
ja 0x100059c9
cmp dl, 0x31
jne 0x10005a6e
cmp cl, 0x30
jne 0x10005a6e
cmp al, cl
jne 0x10005a6e
mov ebx, dword [esp + 0x54]
push 0
push ebx
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
lea edi, [eax - 0x2710]
cmp edi, 0x1388
jbe 0x100059f1
mov edi, 0x1388
push edi
call fcn.1012fc96
add esp, 4
push 0
push 0
push 0x2710
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x10005a2f
xor eax, eax
jmp 0x10005a45
mov dword [esp + 0x3c], 0
jmp 0x10005900
mov dword [esp + 0x38], 0
jmp 0x1000592f
push 0
lea ecx, [esp + 0x24]
push ecx
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
neg eax
sbb eax, eax
and eax, esi
mov edx, dword [0x101cec40]
mov ecx, dword [edx + 0x3c]
mov edx, dword [esp + 0x20]
cmp edx, ecx
jbe 0x10005a95
push ecx
mov ecx, dword [0x101ce9d4]
mov ecx, dword [ecx + 0x3c]
push ecx
push edx
call fcn.10007da0
add esp, 0xc
test eax, eax
je 0x10005a95
mov edx, dword [esp + 0x2e8]
push edx
push str.Worm.Shortcut__d_
mov ecx, 0x40
lea edi, [esp + 0xa4]
call fcn.10001100
push 2
push 1
jmp 0x10005da8
cmp dword [esp + 0x44], 3
jbe 0x10005aff
mov cl, byte [esp + 0x1a4]
sub cl, 0x30
cmp cl, 9
ja 0x10005aff
lea edx, [esp + 0x1a4]
push 0x10143960
push edx
mov eax, 0x64
call fcn.10007ce0
add esp, 8
test eax, eax
jbe 0x10005aff
mov eax, dword [esp + 0x10]
push eax
call fcn.1012fc21
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.1012fc21
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x2e4]
push 2
push 5
push edx
mov ebx, str.New_Heur.Fake_File_
call fcn.10002840
add esp, 0x14
jmp 0x10005cff
cmp ebp, 3
jbe 0x10005c76
mov al, byte [esp + 0xdc]
sub al, 0x30
cmp al, 9
ja 0x10005b76
mov al, byte [esp + ebp + 0xdb]
sub al, 0x30
cmp al, 9
ja 0x10005b76
lea ecx, [esp + 0xdc]
push 0x10143978
push ecx
mov eax, 0x64
call fcn.10007ce0
add esp, 8
test eax, eax
jbe 0x10005b76
mov edx, dword [esp + 0x10]
push edx
call fcn.1012fc21
mov eax, dword [esp + 0x1c]
push eax
call fcn.1012fc21
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x2e4]
push 2
push 5
push ecx
mov ebx, str.New_Heur.Fake_Image_
call fcn.10002840
add esp, 0x14
jmp 0x10005cff
mov al, byte [esp + ebp + 0xdb]
cmp al, 0x73
je 0x10005b85
cmp al, 0x53
jne 0x10005b8d
mov byte [esp + ebp + 0xdb], 0
mov ebx, dword [0x101ce9cc]
mov edx, dword [0x101ce5b0]
mov esi, ebx
add edx, ebx
cmp esi, edx
jae 0x10005c7c
lea edi, [ebp + 1]
jmp 0x10005bb0
mov eax, dword [0x101ce9d8]
mov ecx, dword [eax + esi*4]
push ecx
lea edx, [esp + 0xe0]
push edi
push edx
call fcn.10008020
add esp, 0xc
test eax, eax
jne 0x10005be5
mov ebx, dword [0x101ce9cc]
mov eax, dword [0x101ce5b0]
inc esi
add eax, ebx
cmp esi, eax
jb 0x10005bb0
jmp 0x10005c7c
mov ecx, dword [esp + 0x10]
push ecx
call fcn.1012fc21
mov edx, dword [esp + 0x1c]
push edx
call fcn.1012fc21
mov eax, dword [0x101ce9d8]
mov esi, dword [eax + esi*4]
add esp, 8
mov edx, 0x40
lea eax, [esp + 0x5c]
lea ecx, [ecx]
lea ecx, [edx + 0x7fffffbe]
test ecx, ecx
je 0x10005c2b
mov cl, byte [esi]
test cl, cl
je 0x10005c2b
mov byte [eax], cl
inc eax
inc esi
sub edx, 1
jne 0x10005c10
jmp 0x10005c2f
test edx, edx
jne 0x10005c30
dec eax
mov byte [eax], 0
lea eax, [esp + 0x5c]
call fcn.10007c30
lea edx, [esp + 0x5c]
push edx
push str.New_Heur.Fake__s_
mov ecx, 0x40
lea edi, [esp + 0xa4]
call fcn.10001100
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x2e4]
push 2
push 5
push eax
mov ebx, edi
call fcn.10002840
add esp, 0x14
jmp 0x10005cff
mov ebx, dword [0x101ce9cc]
cmp dword [esp + 0x24], 0
jbe 0x10005ce6
cmp dword [esp + 0x10], 0
je 0x10005cab
cmp dword [esp + 0x2c], 0x7fffffff
ja 0x10005cab
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
lea edi, [esp + 0x4c]
mov edx, ebp
call fcn.100021a0
test eax, eax
jge 0x10005cb3
mov ebp, dword [esp + 0x10]
xor edi, edi
jmp 0x10005cb7
mov edi, dword [esp + 0x4c]
mov edx, ebp
call fcn.10007b80
xor esi, esi
mov edi, eax
test ebx, ebx
jbe 0x10005ce6
mov ecx, dword [0x101ce9d8]
mov ebx, dword [ecx + esi*4]
push edi
push ebp
call fcn.10007c70
add esp, 8
test eax, eax
jne 0x10005d18
inc esi
cmp esi, dword [0x101ce9cc]
jb 0x10005cc6
mov ecx, dword [esp + 0x10]
push ecx
call fcn.1012fc21
mov edx, dword [esp + 0x1c]
push edx
call fcn.1012fc21
add esp, 8
xor eax, eax
mov ecx, dword [esp + 0x2d0]
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.1012fc12
add esp, 0x2c4
ret
push ebp
call fcn.1012fc21
mov edx, dword [esp + 0x1c]
push edx
call fcn.1012fc21
mov eax, dword [0x101ce9d8]
mov esi, dword [eax + esi*4]
add esp, 8
mov edx, 0x40
lea eax, [esp + 0x5c]
lea esp, [esp]
lea ecx, [edx + 0x7fffffbe]
test ecx, ecx
je 0x10005d5b
mov cl, byte [esi]
test cl, cl
je 0x10005d5b
mov byte [eax], cl
inc eax
inc esi
sub edx, 1
jne 0x10005d40
jmp 0x10005d5f
test edx, edx
jne 0x10005d60
dec eax
mov byte [eax], 0
mov ecx, 0x40
lea eax, [esp + 0x5c]
lea esp, [esp]
cmp byte [eax], 0
je 0x10005dc8
inc eax
sub ecx, 1
jne 0x10005d70
xor ebx, ebx
lea esi, [esp + 0x5c]
call fcn.10007bc0
mov edx, esi
push edx
push str.New_Heur.Variant__s_
mov ecx, 0x40
lea edi, [esp + 0xa4]
mov byte [esp + eax + 0x64], 0
call fcn.10001100
push 2
push 5
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x2ec]
push eax
lea ebx, [esp + 0xb0]
call fcn.10002840
add esp, 0x14
jmp 0x10005cff
test ecx, ecx
je 0x10005d7b
mov ebx, 0x40
sub ebx, ecx
jmp 0x10005d7d