Function at 0x41a98c
Capabilities:
Get common file path
Get file version info

Disassembly:
push 0x2ac
mov eax, 0x444adf
call fcn.00443f18
mov esi, ecx
mov dword [ebp - 0x240], esi
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x254], esi
mov dword [ebp - 0x23c], eax
sub esp, 0x58
xor ebx, ebx
mov ecx, esp
mov dword [ebp - 4], ebx
push 0xdc
push 9
pop eax
push eax
push 0x20c
push 0x405330
push 0x402d58
push 0x404fd8
call fcn.00440fc8
push ebx
lea ecx, [ebp - 0x29c]
call fcn.00441304
push edi
push dword [ebp - 0x23c]
mov byte [ebp - 4], 1
push 0x405384
sub esp, 0x58
mov ecx, esp
push 0xdc
push 9
pop eax
push eax
push 0x20e
push 0x405330
push 0x402d58
push 0x404fd8
call fcn.00440fc8
lea eax, [ebp - 0x29c]
push eax
call fcn.00441c0c
push dword [ebp - 0x23c]
lea eax, [ebp - 0x238]
push 7
push 0x4053b8
push eax
push esi
call fcn.004279d2
add esp, 0x7c
mov byte [ebp - 4], 3
lea eax, [ebp - 0x224]
push 0x104
push eax
test edi, edi
jne 0x41aa78
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x41b19c
push 9
pop edi
jmp 0x41abe2
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x41aa9f
push 0x4053f0
sub esp, 0x58
mov ecx, esp
push 0xdc
push 9
pop eax
push eax
push 0x21f
jmp 0x41b1b4
mov esi, 0x4027b0
lea ecx, [ebp - 0x224]
push esi
mov edx, 0x104
call fcn.00418a2d
sub esp, 0x58
mov dword [ebp - 0x294], eax
mov ecx, esp
push 0xdc
push 9
pop eax
push eax
push 0x222
push 0x405330
push 0x402d58
push 0x404fd8
call fcn.00440fc8
mov edx, 0x405418
lea ecx, [ebp - 0x29c]
call fcn.00419ceb
add esp, 0x58
lea ecx, [ebp - 0x224]
mov edx, 0x104
push edi
call fcn.00418a2d
sub esp, 0x58
mov dword [ebp - 0x294], eax
mov ecx, esp
push 0xdc
push 9
pop edi
push edi
push 0x225
push 0x405330
push 0x402d58
push 0x404fd8
call fcn.00440fc8
mov edx, 0x405418
lea ecx, [ebp - 0x29c]
call fcn.00419ceb
add esp, 0x58
lea ecx, [ebp - 0x224]
mov edx, 0x104
push esi
call fcn.00418a2d
sub esp, 0x58
mov dword [ebp - 0x294], eax
mov ecx, esp
mov esi, 0xdc
push esi
push edi
push 0x228
push 0x405330
push 0x402d58
push 0x404fd8
call fcn.00440fc8
mov edx, 0x405418
lea ecx, [ebp - 0x29c]
call fcn.00419ceb
add esp, 0x58
lea edx, [esi + 0x28]
lea ecx, [ebp - 0x224]
push dword [ebp - 0x23c]
call fcn.00418a2d
sub esp, 0x58
mov dword [ebp - 0x294], eax
mov ecx, esp
push esi
push edi
push 0x22b
push 0x405330
push 0x402d58
push 0x404fd8
call fcn.00440fc8
mov edx, 0x405418
lea ecx, [ebp - 0x29c]
call fcn.00419ceb
add esp, 0x58
lea eax, [ebp - 0x224]
push eax
push 0x405434
lea ecx, [ebp - 0x238]
call fcn.00419156
lea eax, [ebp - 0x258]
mov dword [ebp - 0x258], ebx
push eax
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
jne 0x41ac33
push 0x405440
sub esp, 0x58
mov ecx, esp
push 0xdc
push edi
push 0x233
jmp 0x41b1b4
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x24c], 0x4010a8
add esi, 0xa
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
lea eax, [esi + 0xa]
push eax
call fcn.00428737
push esi
push 0x405474
sub esp, 0x58
mov ecx, esp
push 0xdc
push edi
push 0x23a
push 0x405330
push 0x402d58
push 0x404fd8
call fcn.00440fc8
lea eax, [ebp - 0x29c]
push eax
call fcn.00441c0c
mov edi, dword [ebp - 0x248]
lea eax, [ebp - 0x224]
add esp, 0x64
push edi
push esi
push ebx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x41b1d4
lea eax, [ebp - 0x244]
mov dword [ebp - 0x22c], ebx
push eax
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x244], ebx
push eax
push 0x4027b0
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x41acfd
push dword [ebp - 0x23c]
push 0x4054dc
sub esp, 0x58
mov ecx, esp
push 0xdc
push 9
pop eax
push eax
push 0x242
jmp 0x41b1f2
mov ecx, dword [ebp - 0x22c]
test ecx, ecx
je 0x41ae3e
movzx eax, word [ecx + 0xc]
mov esi, 0x405508
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push esi
push 0x405520
sub esp, 0x58
mov ecx, esp
push 0xdc
push 9
pop eax
push eax
push 0x246
push 0x405330
push 0x402d58
push 0x404fd8
call fcn.00440fc8
lea eax, [ebp - 0x29c]
push eax
call fcn.00441c0c
mov ecx, dword [ebp - 0x22c]
add esp, 0x74
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push 0x405568
push esi
push ecx
push ecx
lea eax, [ebp - 0x238]
mov ecx, esp
push eax
call fcn.0042c1f1
mov esi, dword [ebp - 0x240]
push esi
call fcn.00427b5e
mov ecx, dword [ebp - 0x22c]
add esp, 0x24
movzx eax, word [ecx + 0x14]
push eax
movzx eax, word [ecx + 0x16]
push eax
movzx eax, word [ecx + 0x10]
push eax
movzx eax, word [ecx + 0x12]
push eax
push 0x405580
push 0x405520
sub esp, 0x58
mov ecx, esp
push 0xdc
push 9
pop eax
push eax
push 0x247
push 0x405330
push 0x402d58
push 0x404fd8
call fcn.00440fc8
lea eax, [ebp - 0x29c]
push eax
call fcn.00441c0c
mov ecx, dword [ebp - 0x22c]
add esp, 0x74
movzx eax, word [ecx + 0x14]
push eax
movzx eax, word [ecx + 0x16]
push eax
movzx eax, word [ecx + 0x10]
push eax
movzx eax, word [ecx + 0x12]
push eax
push 0x405568
push 0x405580
push ecx
push ecx
lea eax, [ebp - 0x238]
mov ecx, esp
push eax
call fcn.0042c1f1
push esi
call fcn.00427b5e
mov ecx, dword [ebp - 0x22c]
add esp, 0x24
jmp 0x41ae44
mov esi, dword [ebp - 0x240]
push dword [ecx + 0x18]
lea eax, [ebp - 0x238]
push 0x4055a0
push 0x4055b0
push ecx
push ecx
mov ecx, esp
push eax
call fcn.0042c1f1
push esi
call fcn.00427b5e
mov eax, dword [ebp - 0x22c]
add esp, 0x18
push dword [eax + 0x1c]
lea eax, [ebp - 0x238]
push 0x4055a0
push 0x4055cc
push ecx
push ecx
mov ecx, esp
push eax
call fcn.0042c1f1
push esi
call fcn.00427b5e
mov eax, dword [ebp - 0x22c]
lea ecx, [ebp - 0x238]
add esp, 0x18
push dword [eax + 0x24]
push 0x4055e0
call fcn.004195d9
mov eax, dword [ebp - 0x22c]
lea ecx, [ebp - 0x238]
push dword [eax + 0x28]
push 0x4055f4
call fcn.004195d9
lea eax, [ebp - 0x250]
mov dword [ebp - 0x230], ebx
push eax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x250], ebx
push eax
push 0x40560c
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x41af15
push dword [ebp - 0x23c]
push 0x4054dc
sub esp, 0x58
mov ecx, esp
push 0xdc
push 9
pop eax
push eax
push 0x254
jmp 0x41b1f2
mov ecx, dword [ebp - 0x250]
mov eax, ebx
shr ecx, 2
test ecx, ecx
je 0x41af3c
mov edx, dword [ebp - 0x230]
push 9
pop esi
cmp word [edx + eax*4], si
je 0x41af3a
inc eax
cmp eax, ecx
jb 0x41af2d
jmp 0x41af3c
mov bl, 1
movzx esi, bl
neg esi
push ecx
sbb esi, esi
push ecx
and esi, eax
mov ecx, esp
lea eax, [ebp - 0x238]
push eax
call fcn.0042c1f1
mov eax, dword [ebp - 0x230]
mov edx, edi
mov ecx, 0x405640
lea eax, [eax + esi*4]
push eax
call fcn.00419ef6
push ecx
push ecx
lea eax, [ebp - 0x238]
mov ecx, esp
push eax
call fcn.0042c1f1
mov eax, dword [ebp - 0x230]
mov edx, edi
mov ecx, 0x405508
lea eax, [eax + esi*4]
push eax
call fcn.00419ef6
push ecx
push ecx
lea eax, [ebp - 0x238]
mov ecx, esp
push eax
call fcn.0042c1f1
mov eax, dword [ebp - 0x230]
mov edx, edi
mov ecx, 0x405654
lea eax, [eax + esi*4]
push eax
call fcn.00419ef6
push ecx
push ecx
lea eax, [ebp - 0x238]
mov ecx, esp
push eax
call fcn.0042c1f1
mov eax, dword [ebp - 0x230]
mov edx, edi
mov ecx, 0x405670
lea eax, [eax + esi*4]
push eax
call fcn.00419ef6
push ecx
push ecx
lea eax, [ebp - 0x238]
mov ecx, esp
push eax
call fcn.0042c1f1
mov eax, dword [ebp - 0x230]
mov edx, edi
mov ecx, 0x405580
lea eax, [eax + esi*4]
push eax
call fcn.00419ef6
push ecx
push ecx
lea eax, [ebp - 0x238]
mov ecx, esp
push eax
call fcn.0042c1f1
mov eax, dword [ebp - 0x230]
mov edx, edi
mov ecx, 0x405694
lea eax, [eax + esi*4]
push eax
call fcn.00419ef6
push ecx
push ecx
lea eax, [ebp - 0x238]
mov ecx, esp
push eax
call fcn.0042c1f1
mov eax, dword [ebp - 0x230]
mov edx, edi
mov ecx, 0x4056b0
lea eax, [eax + esi*4]
push eax
call fcn.00419ef6
lea ecx, [ebp - 0x24c]
call fcn.00428784
mov ebx, dword [ebp - 0x240]
jmp 0x41b0b4
mov dword [ebp - 4], 2
cmp dword [ebp - 0x294], 0
jge 0x41b0ed
push dword [ebp - 0x294]
lea eax, [ebp - 0x238]
push 0x4056cc
push 0x4056ec
push ecx
push ecx
mov ecx, esp
push eax
call fcn.0042c1f1
push ebx
call fcn.00427b5e
add esp, 0x18
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp + 0x10]
call fcn.00419a59
lea ecx, [ebp - 0x24c]
call fcn.00419d7f
lea ecx, [ebp - 0x238]
call fcn.00419d7f
lea ecx, [ebp - 0x29c]
call fcn.004413c9
lea ecx, [ebp + 0x10]
call fcn.00419d7f
call fcn.00443e6a
ret 0x10
push 0x4053c8
sub esp, 0x58
mov ecx, esp
push 0xdc
push 9
pop eax
push eax
push 0x21a
push 0x405330
push 0x402d58
push 0x404fd8
call fcn.00440fc8
lea eax, [ebp - 0x29c]
push eax
call fcn.004423d6
push dword [ebp - 0x23c]
push 0x4054a8
sub esp, 0x58
mov ecx, esp
push 0xdc
push 9
pop eax
push eax
push 0x23d
push 0x405330
push 0x402d58
push 0x404fd8
call fcn.00440fc8
lea eax, [ebp - 0x29c]
push eax
call fcn.004423d6
sub esp, 0x58
mov byte [ebp - 4], 6
mov ecx, esp
push 0xdc
push 9
push 0x272
push 0x405330
push 0x402d58
push 0x404fd8
call fcn.00440fc8
lea ecx, [ebp - 0x29c]
call fcn.00441d17
int3