Function at 0x41dc80
Capabilities:
Get common file path
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x44e6eb
mov eax, dword fs:[0]
push eax
sub esp, 0x4ac
mov eax, dword [0x462408]
xor eax, esp
mov dword [esp + 0x4a8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x462408]
xor eax, esp
push eax
lea eax, [esp + 0x4c0]
mov dword fs:[0], eax
lea eax, [esp + 0x24]
mov edi, ecx
push eax
mov dword [esp + 0x1c], edi
mov esi, edx
call fcn.0041eb90
lea ecx, [esp + 0xac]
push ecx
push 0x104
mov dword [esp + 0x4d0], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push esi
lea edx, [esp + 0xb0]
push edx
lea eax, [esp + 0x2bc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x2b4]
push ecx
lea esi, [esp + 0x2c]
call fcn.0041ff90
test eax, eax
jne 0x41dd3a
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 4]
mov eax, dword [esp + ecx + 0x2c]
lea ecx, [esp + ecx + 0x24]
or eax, 2
cmp dword [ecx + 0x28], 0
jne 0x41dd32
or eax, 4
push 0
push eax
call fcn.00405ac0
cmp dword [esp + 0x74], 0
je 0x41e159
mov eax, dword [edi + 4]
mov eax, dword [eax]
mov ebx, eax
mov dword [esp + 0x20], ebx
mov esi, dword [edi + 4]
mov ebp, edi
test ebp, ebp
je 0x41dd5d
cmp ebp, edi
je 0x41dd62
call fcn.0043641d
cmp ebx, esi
je 0x41e129
test ebp, ebp
jne 0x41dd73
call fcn.0043641d
cmp ebx, dword [ebp + 4]
jne 0x41dd7d
call fcn.0043641d
mov ecx, dword [ebx + 8]
call fcn.00411710
push eax
push ecx
lea eax, [esp + 0x2c]
push str.Type_
push eax
call fcn.00421860
add esp, 0xc
push eax
call fcn.004045a0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00422540
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
lea eax, [edx + esi]
xor edi, edi
test byte [eax + 8], 6
jne 0x41ddd3
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x41ddd3
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x41ddf4
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], 0
jne 0x41ddec
or eax, 4
push 0
push eax
call fcn.00405ac0
cmp ebx, dword [ebp + 4]
jne 0x41ddfe
call fcn.0043641d
mov edx, dword [ebx + 0xc]
push edx
push ecx
lea eax, [esp + 0x2c]
push str.Sequence_
push eax
call fcn.00421860
add esp, 0xc
push eax
call fcn.0041e7d0
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00422540
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
lea eax, [edx + esi]
xor edi, edi
test byte [eax + 8], 6
jne 0x41de4c
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x41de4c
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x41de6d
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], 0
jne 0x41de65
or eax, 4
push 0
push eax
call fcn.00405ac0
cmp ebx, dword [ebp + 4]
jne 0x41de77
call fcn.0043641d
mov edx, dword [ebx + 0x24]
push edx
push ecx
lea eax, [esp + 0x2c]
push str.Line_
push eax
call fcn.00421860
add esp, 0xc
push eax
call fcn.0041e7d0
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00422540
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
lea eax, [edx + esi]
xor edi, edi
test byte [eax + 8], 6
jne 0x41dec5
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x41dec5
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x41dee6
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], 0
jne 0x41dede
or eax, 4
push 0
push eax
call fcn.00405ac0
cmp ebx, dword [ebp + 4]
jne 0x41def0
call fcn.0043641d
movzx edx, byte [ebx + 0x1c]
push edx
push ecx
lea eax, [esp + 0x2c]
push str.Filtered_
push eax
call fcn.00421860
add esp, 0xc
push eax
call fcn.0041e680
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00422540
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
lea eax, [edx + esi]
xor edi, edi
test byte [eax + 8], 6
jne 0x41df3f
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x41df3f
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x41df60
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], 0
jne 0x41df58
or eax, 4
push 0
push eax
call fcn.00405ac0
cmp ebx, dword [ebp + 4]
jne 0x41df6a
call fcn.0043641d
mov ebx, dword [esp + 0x20]
mov edx, dword [ebx + 0x14]
mov ebp, dword [edx]
add ebx, 0x10
jmp 0x41df80
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
cmp esi, dword [edi + 4]
jne 0x41df92
call fcn.0043641d
test ebx, ebx
lea eax, [esi + 0x10]
mov esi, dword [eax + 4]
je 0x41dfa0
cmp ebx, eax
je 0x41dfa5
call fcn.0043641d
cmp ebp, esi
je 0x41e0b7
test ebx, ebx
jne 0x41dfb6
call fcn.0043641d
cmp ebp, dword [ebx + 4]
jne 0x41dfc0
call fcn.0043641d
cmp ebp, dword [ebx + 4]
lea esi, [ebp + 0xc]
jne 0x41dfcd
call fcn.0043641d
lea eax, [esi + 0x1c]
push eax
push ecx
push 0x457270
push ecx
push esi
push ecx
lea ecx, [esp + 0x3c]
push 0x457274
push ecx
call fcn.00421860
add esp, 0xc
push eax
call fcn.004215e0
add esp, 0xc
push eax
call fcn.00421860
add esp, 0xc
push eax
call fcn.004215e0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00422540
mov edx, dword [esi]
mov eax, dword [edx + 4]
add eax, esi
xor edi, edi
test byte [eax + 8], 6
jne 0x41e037
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x41e037
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x41e058
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], 0
jne 0x41e050
or eax, 4
push 0
push eax
call fcn.00405ac0
cmp byte [ebp + 0x45], 0
je 0x41e068
call fcn.0043641d
jmp 0x41df80
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x45], 0
jne 0x41e091
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
jne 0x41e08a
lea esp, [esp]
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
je 0x41e080
mov ebp, ecx
jmp 0x41df80
mov eax, dword [ebp + 4]
cmp byte [eax + 0x45], 0
jne 0x41e0b0
lea ebx, [ebx]
cmp ebp, dword [eax + 8]
jne 0x41e0b0
mov ebp, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x45], 0
je 0x41e0a0
mov ebp, eax
jmp 0x41df80
push 0xa
lea ecx, [esp + 0x28]
call fcn.00422540
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 4]
xor esi, esi
test byte [esp + eax + 0x2c], 6
jne 0x41e0e9
mov eax, dword [esp + eax + 0x4c]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x41e0e9
mov esi, 4
test esi, esi
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 4]
lea ecx, [esp + ecx + 0x24]
je 0x41e10e
mov eax, dword [ecx + 8]
or eax, esi
cmp dword [ecx + 0x28], 0
jne 0x41e106
or eax, 4
push 0
push eax
call fcn.00405ac0
mov esi, dword [esp + 0x20]
cmp esi, dword [edi + 4]
jne 0x41e11c
call fcn.0043641d
mov edx, dword [esi]
mov dword [esp + 0x20], edx
mov ebx, edx
jmp 0x41dd50
lea esi, [esp + 0x28]
call fcn.004200c0
test eax, eax
jne 0x41e159
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
mov eax, dword [esp + ecx + 0x2c]
lea ecx, [esp + ecx + 0x24]
or eax, 2
cmp dword [ecx + 0x28], 0
jne 0x41e151
or eax, 4
push 0
push eax
call fcn.00405ac0
lea ecx, [esp + 0x78]
mov dword [esp + 0x4c8], 0xffffffff
call fcn.0041ec20
lea ecx, [esp + 0x78]
push ecx
mov dword [esp + 0x7c], vtable.std::ios_base.0
call fcn.004344c1
add esp, 4
mov ecx, dword [esp + 0x4c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4a8]
xor ecx, esp
call fcn.00434b37
add esp, 0x4b8
ret