Function at 0x43e8f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49aebd
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
push ebx
push esi
push edi
mov eax, dword [0x4ce4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0043ed50
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43ea30
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x20]
push edx
mov ebx, str._sres.daw
call fcn.00406650
add esp, 8
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0xd8]
push ecx
call fcn.0043f9a0
lea edx, [ebp - 0x30]
push edx
mov byte [ebp - 4], 2
call fcn.0043df20
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
mov dword [ebp - 0x10], ebx
cmp ebx, eax
jne 0x43ea73
lea eax, [ebp - 0xd4]
call fcn.00440d60
test eax, eax
jne 0x43e9cc
mov ecx, dword [ebp - 0xd8]
mov ecx, dword [ecx + 4]
mov eax, dword [ebp + ecx - 0xcc]
lea ecx, [ebp + ecx - 0xd8]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x43e9c5
or eax, 4
push 0
call fcn.00426480
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [ebp - 0x1c]
lea esi, [ebp - 0x30]
call fcn.0042bf30
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004739a7
add esp, 4
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.0043fa90
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x78], vtable.std::ios_base.0
call fcn.004729cd
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43ea30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43ea56
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebx + 0xc]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x43ea9c
cmp eax, dword [esi - 0x10]
jne 0x43ea9c
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x43ead4
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x43ec98
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.00473a12
add esp, 0x10
add edi, 0x10
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 4
mov esi, dword [ebx + 0x10]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi - 4], 0
lea edx, [esi - 4]
jl 0x43eb07
cmp eax, dword [esi - 0x10]
jne 0x43eb07
lea edi, [esi - 0x10]
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x43eb3f
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x43ec98
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.00473a12
add esp, 0x10
lea ebx, [edi + 0x10]
mov dword [ebp - 0x1c], ebx
mov esi, 1
mov byte [ebp - 4], 5
cmp dword [ebx - 4], esi
jle 0x43eb62
mov ecx, dword [ebx - 0xc]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004018d0
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
cmp dword [eax - 4], esi
jle 0x43eb79
mov edx, dword [eax - 0xc]
push edx
lea ecx, [ebp - 0x18]
call fcn.004018d0
mov eax, dword [ebp - 0x18]
push ebx
push ecx
push 0x4b1214
push ecx
push eax
lea eax, [ebp - 0xd8]
push eax
call fcn.00421da0
add esp, 0xc
push eax
call fcn.00421da0
add esp, 0xc
push eax
call fcn.00421da0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00442140
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
xor edi, edi
test byte [eax + esi + 0xc], 6
jne 0x43ebd3
mov eax, dword [eax + esi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x43ebd3
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x43ebf3
mov eax, dword [ecx + 0xc]
or eax, edi
cmp dword [ecx + 0x38], 0
jne 0x43ebec
or eax, 4
push 0
call fcn.00426480
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43ec13
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43ec36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp - 0x10]
cmp byte [edx + 0x15], 0
jne 0x43ec8a
mov ecx, dword [edx + 8]
cmp byte [ecx + 0x15], 0
jne 0x43ec5f
mov eax, dword [ecx]
cmp byte [eax + 0x15], 0
jne 0x43ec5a
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x15], 0
je 0x43ec50
mov dword [ebp - 0x10], ecx
jmp 0x43ec87
mov eax, dword [edx + 4]
cmp byte [eax + 0x15], 0
jne 0x43ec84
jmp 0x43ec73
mov edx, dword [ebp - 0x10]
cmp edx, dword [eax + 8]
jne 0x43ec84
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x15], 0
je 0x43ec70
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x2c]
jne 0x43ea70
jmp 0x43e993
call fcn.00401960
int3