Function at 0x44ca30
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xffffffe0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51d0c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
add esp, 0xfffffe94
push esi
mov dword [ebp - 0x24], ecx
mov ecx, 0x55be7a
call fcn.0051a674
mov ecx, dword [ebp - 0x24]
add ecx, 0x77c
call fcn.00410080
movzx eax, al
test eax, eax
jne 0x44cbf4
xor ecx, ecx
mov byte [ebp - 0x25], cl
xor edx, edx
mov byte [ebp - 0x26], dl
xor eax, eax
mov byte [ebp - 0x27], al
movzx ecx, byte [ebp - 0x25]
push ecx
movzx edx, byte [ebp - 0x26]
push edx
movzx eax, byte [ebp - 0x27]
push eax
lea ecx, [ebp - 0xd0]
call fcn.00450440
mov ecx, eax
call fcn.0044d560
mov dword [ebp - 0x4c], eax
push 0x546858
mov ecx, dword [ebp - 0x24]
add ecx, 0x77c
push ecx
lea edx, [ebp - 0x60]
push edx
call fcn.0040f600
add esp, 0xc
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x5c]
push ecx
call fcn.0040f600
add esp, 0xc
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x58], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x780
call fcn.0040feb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.0040fee0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.0040fee0
push ecx
mov ecx, esp
mov dword [ebp - 0x88], esp
mov edx, dword [ebp - 0x24]
add edx, 0x780
push edx
call fcn.00410000
lea eax, [ebp - 0xac]
push eax
call fcn.00409910
add esp, 8
mov dword [ebp - 0x8c], eax
mov dword [ebp - 4], 2
push 0
lea ecx, [ebp - 0xac]
call fcn.0040f320
mov cl, byte [eax]
movzx edx, cl
push edx
call fcn.00407fd0
add esp, 4
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x788], eax
mov dword [ecx + 0x78c], edx
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x7b0], 0
je 0x44cbdd
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x7b0]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x7b0]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0x6c], edx
mov ecx, dword [ebp - 0x24]
add ecx, 0x780
call fcn.004100c0
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x68]
call dword [ebp - 0x6c]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.00403e90
jmp 0x44ce9d
xor ecx, ecx
mov byte [ebp - 0x28], cl
xor edx, edx
mov byte [ebp - 0x29], dl
xor eax, eax
mov byte [ebp - 0x2a], al
push ecx
mov esi, esp
mov dword [ebp - 0x90], esp
movzx ecx, byte [ebp - 0x28]
push ecx
movzx edx, byte [ebp - 0x29]
push edx
movzx eax, byte [ebp - 0x2a]
push eax
lea ecx, [ebp - 0xf0]
call fcn.00450440
mov ecx, eax
call fcn.0044d560
push eax
mov ecx, esi
call fcn.0040ff80
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.0044c7f0
mov dword [ebp - 0x94], eax
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00410080
movzx edx, al
test edx, edx
jne 0x44cd43
lea ecx, [ebp - 0x34]
call fcn.004100c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44cd43
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x780
call fcn.0040feb0
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 0x79c], 0
jl 0x44cccd
jg 0x44ccad
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x798], 0x128c5680
jbe 0x44cccd
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x798]
mov edx, dword [edx + 0x79c]
mov dword [ecx + 0x788], eax
mov dword [ecx + 0x78c], edx
jmp 0x44cceb
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x790]
mov ecx, dword [ecx + 0x794]
mov dword [eax + 0x788], edx
mov dword [eax + 0x78c], ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x7b0], 0
je 0x44cd2f
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x7b0]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x7b0]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0x78], edx
mov ecx, dword [ebp - 0x24]
add ecx, 0x780
call fcn.004100c0
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x74]
call dword [ebp - 0x78]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0040fee0
jmp 0x44ce9d
lea ecx, [ebp - 0x38]
push ecx
call fcn.004091e0
add esp, 4
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x79c], 0
jl 0x44cdcf
jg 0x44cd76
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 0x798], 0x128c5680
jbe 0x44cdcf
xor edx, edx
mov byte [ebp - 0x2b], dl
xor eax, eax
mov byte [ebp - 0x2c], al
xor ecx, ecx
mov byte [ebp - 0x2d], cl
movzx edx, byte [ebp - 0x2b]
push edx
movzx eax, byte [ebp - 0x2c]
push eax
movzx ecx, byte [ebp - 0x2d]
push ecx
lea ecx, [ebp - 0x160]
call fcn.00450700
mov ecx, eax
call fcn.0044d860
push eax
lea ecx, [ebp - 0x38]
call fcn.0040fe80
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x798]
mov eax, dword [eax + 0x79c]
mov dword [edx + 0x788], ecx
mov dword [edx + 0x78c], eax
jmp 0x44cded
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x790]
mov edx, dword [edx + 0x794]
mov dword [ecx + 0x788], eax
mov dword [ecx + 0x78c], edx
xor eax, eax
mov byte [ebp - 0x2e], al
xor ecx, ecx
mov byte [ebp - 0x2f], cl
xor edx, edx
mov byte [ebp - 0x30], dl
movzx eax, byte [ebp - 0x2e]
push eax
movzx ecx, byte [ebp - 0x2f]
push ecx
movzx edx, byte [ebp - 0x30]
push edx
lea ecx, [ebp - 0x110]
call fcn.00450440
mov ecx, eax
call fcn.0044d560
push eax
lea ecx, [ebp - 0x38]
call fcn.0040fd90
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x780
call fcn.0040feb0
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x7b0], 0
je 0x44ce82
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x7b0]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x7b0]
mov eax, dword [edx]
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0x84], ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0x780
call fcn.004100c0
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x7c]
push edx
mov ecx, dword [ebp - 0x80]
call dword [ebp - 0x84]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.0040fee0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0040fee0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret