Function at 0x49b900
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56ad0b
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x5c5ebc]
xor eax, ebp
mov dword [ebp - 0x28], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.0045f120
push 0x58a6b4
lea eax, [ebp - 0x104]
push eax
call fcn.004990c0
add esp, 4
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x130], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x130]
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.00411930
add esp, 0xc
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
call fcn.00415f60
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0xfd], al
lea ecx, [ebp - 0x108]
call fcn.00415e20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x104]
call fcn.00415e20
movzx ecx, byte [ebp - 0xfd]
test ecx, ecx
je 0x49b9d5
push 0x58a6d0
mov ecx, dword [ebp + 8]
call fcn.00455eb0
jmp 0x49bbfd
lea ecx, [ebp - 0xf4]
call fcn.004a6ea0
mov dword [ebp - 4], 1
push 0
push 0x74
push 0x58a6e0
lea edx, [ebp - 0x110]
push edx
call fcn.004990c0
add esp, 4
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x13c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x13c]
push ecx
lea edx, [ebp - 0x114]
push edx
call fcn.00411930
add esp, 0xc
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x144], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x144]
call fcn.00415f60
push eax
lea ecx, [ebp - 0x120]
push ecx
lea ecx, [ebp - 0xf4]
call fcn.004a7240
mov ecx, eax
call fcn.004a6d90
movzx edx, al
neg edx
sbb edx, edx
add edx, 1
mov byte [ebp - 0x109], dl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x114]
call fcn.00415e20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x110]
call fcn.00415e20
movzx eax, byte [ebp - 0x109]
test eax, eax
je 0x49bac3
push 0x58a6fc
mov ecx, dword [ebp + 8]
call fcn.00455eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf4]
call fcn.004a6ed0
jmp 0x49bbfd
push str.__root_LANG
lea ecx, [ebp - 0x10]
call fcn.00415da0
mov byte [ebp - 4], 4
push 0
lea ecx, [ebp - 0x10]
call fcn.00415f60
push eax
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0xf4]
call fcn.004aa3d0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24]
call fcn.004a9480
test eax, eax
jne 0x49bb3a
push 0x58a724
mov ecx, dword [ebp + 8]
call fcn.00455eb0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.004a93a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00415e20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf4]
call fcn.004a6ed0
jmp 0x49bbfd
lea ecx, [ebp - 0x24]
call fcn.004a94e0
mov dword [ebp - 0xf8], eax
jmp 0x49bb59
mov edx, dword [ebp - 0xf8]
add edx, 8
mov dword [ebp - 0xf8], edx
lea ecx, [ebp - 0x24]
call fcn.004a9500
cmp dword [ebp - 0xf8], eax
je 0x49bbd3
push 0x58a734
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x124]
push ecx
mov ecx, dword [ebp - 0xf8]
call fcn.004a9020
mov ecx, eax
call fcn.004a3e10
mov ecx, eax
call fcn.004a35d0
push eax
lea ecx, [ebp - 0xfc]
call fcn.00415da0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xfc]
call fcn.00442290
lea edx, [ebp - 0xfc]
push edx
mov ecx, dword [ebp + 8]
call fcn.004244f0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xfc]
call fcn.00415e20
jmp 0x49bb4a
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.004a93a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00415e20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf4]
call fcn.004a6ed0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.00527aad
mov esp, ebp
pop ebp
ret