Function at 0x42e003
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4d6882
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x968
mov eax, dword [0x50ba00]
push ebp
mov dword [esp + 0x968], eax
mov eax, dword [esp + 0x97c]
xor ebp, ebp
cmp eax, ebp
push esi
mov esi, ecx
je 0x42e770
mov eax, dword [eax]
push 0x4dc390
push eax
call fcn.004834cc
add esp, 8
test eax, eax
jne 0x42e770
cmp dword [esi + 0x368], ebp
je 0x42e770
mov ecx, dword [esi + 0x33c]
mov eax, dword [ecx]
push ebp
call dword [eax + 0xd0]
mov ecx, dword [esi + 0x368]
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [esp + 0x98]
push 0xffffffffffffffff
mov dword [esp + 0x98], ecx
push eax
lea ecx, [esp + 0x9c]
mov dword [esp + 0x120], ebp
mov word [esp + 0xa0], bp
call fcn.00401550
mov ecx, dword [esi + 0x368]
mov edx, dword [ecx]
mov dword [esp + 0x978], ebp
call dword [edx + 0xe0]
lea ecx, [esp + 0x120]
push 0xffffffffffffffff
mov dword [esp + 0x120], ecx
push eax
lea ecx, [esp + 0x124]
mov dword [esp + 0x1a8], ebp
mov word [esp + 0x128], bp
call fcn.00401550
mov ecx, dword [esi + 0x31c]
mov edx, dword [ecx]
lea eax, [esp + 0xc]
push eax
mov byte [esp + 0x97c], 1
call dword [edx + 0x28]
mov ecx, eax
call fcn.00402c60
mov ecx, eax
call fcn.00403090
push eax
lea ecx, [esp + 0x230]
call fcn.004030e0
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
cmp eax, ecx
mov byte [esp + 0x978], 2
je 0x42e107
push eax
call fcn.00482838
add esp, 4
mov edx, dword [esp + 0x22c]
cmp word [edx], bp
lea ecx, [esp + 0x33c]
jne 0x42e167
call fcn.0041fb80
mov eax, dword [esi + 4]
push 0x4e49e0
push 0x4e49d4
push 2
push eax
lea ecx, [esp + 0x34c]
push ecx
mov byte [esp + 0x98c], 3
call fcn.00420340
mov ecx, dword [esi + 0x31c]
mov edx, dword [ecx]
add esp, 0x14
call dword [edx + 0xe0]
mov ecx, dword [esi + 0x33c]
mov eax, dword [ecx]
push 1
call dword [eax + 0xd0]
jmp 0x42e1ae
call fcn.0041fb80
mov edx, dword [esi + 4]
push 0x4e49bc
push 0x4e49d4
push 1
push edx
lea eax, [esp + 0x34c]
push eax
mov byte [esp + 0x98c], 4
call fcn.00420340
add esp, 0x14
test eax, eax
je 0x42e21c
mov esi, dword [esi + 0x33c]
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0xd0]
lea ecx, [esp + 0x33c]
mov byte [esp + 0x978], 2
call fcn.0041fa40
mov eax, dword [esp + 0x22c]
lea ecx, [esp + 0x230]
cmp eax, ecx
je 0x42e1dd
push eax
call fcn.00482838
add esp, 4
mov eax, dword [esp + 0x11c]
lea edx, [esp + 0x120]
cmp eax, edx
je 0x42e1f8
push eax
call fcn.00482838
add esp, 4
mov eax, dword [esp + 0x94]
lea ecx, [esp + 0x98]
cmp eax, ecx
je 0x42e770
push eax
call fcn.00482838
add esp, 4
jmp 0x42e770
push ebx
lea ecx, [esp + 0x340]
mov byte [esp + 0x97c], 2
call fcn.0041fa40
mov edx, dword [esp + 0x98]
push 1
push edx
lea eax, [esp + 0x2c0]
push eax
call fcn.00453e10
add esp, 0xc
mov ecx, dword [esp + 0x2b8]
mov bl, 5
push ecx
mov byte [esp + 0x980], bl
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42e329
lea ecx, [esp + 0x340]
call fcn.0041fb80
mov edx, dword [esi + 4]
push str.gb0Rb
push 0x4e49d4
push 2
push edx
lea eax, [esp + 0x350]
push eax
mov byte [esp + 0x990], 6
call fcn.00420340
mov esi, dword [esi + 0x33c]
mov edx, dword [esi]
add esp, 0x14
push 1
mov ecx, esi
call dword [edx + 0xd0]
lea ecx, [esp + 0x340]
mov byte [esp + 0x97c], bl
call fcn.0041fa40
mov eax, dword [esp + 0x2b8]
lea ecx, [esp + 0x2bc]
cmp eax, ecx
je 0x42e2de
push eax
call fcn.00482838
add esp, 4
mov eax, dword [esp + 0x230]
lea edx, [esp + 0x234]
cmp eax, edx
je 0x42e2f9
push eax
call fcn.00482838
add esp, 4
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x124]
cmp eax, ecx
je 0x42e314
push eax
call fcn.00482838
add esp, 4
mov eax, dword [esp + 0x98]
lea edx, [esp + 0x9c]
cmp eax, edx
jmp 0x42e764
lea eax, [esp + 0x1ac]
mov dword [esp + 0x1a8], eax
mov dword [esp + 0x22c], ebp
mov word [esp + 0x1ac], bp
mov ecx, dword [esi + 0x368]
mov edx, dword [ecx]
mov byte [esp + 0x97c], 7
call dword [edx + 0xb8]
test eax, eax
je 0x42e415
mov ecx, dword [esp + 0x120]
mov edx, dword [esp + 0x98]
lea eax, [esp + 0x1a8]
push eax
push ecx
push edx
call fcn.00445460
add esp, 0xc
test eax, eax
jne 0x42e4fe
lea ecx, [esp + 0x6e8]
call fcn.0041fb80
mov eax, dword [esp + 0x1a8]
mov ecx, dword [esi + 4]
push eax
push 0x4e497c
push 0x4e49d4
push 2
push ecx
lea edx, [esp + 0x6fc]
push edx
mov byte [esp + 0x994], 8
call fcn.00420340
mov eax, dword [esp + 0x1c0]
mov ecx, dword [esp + 0xb0]
push eax
push ecx
lea edx, [esp + 0x360]
push 0x4e494c
push edx
call fcn.004c9ff0
mov esi, dword [esi + 0x33c]
mov eax, dword [esi]
add esp, 0x28
push 1
mov ecx, esi
call dword [eax + 0xd0]
lea ecx, [esp + 0x6e8]
mov byte [esp + 0x97c], 7
call fcn.0041fa40
jmp 0x42e6e8
mov ecx, dword [esi + 0x31c]
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
call dword [edx + 0x28]
mov eax, dword [eax]
mov edx, dword [esp + 0x98]
lea ecx, [esp + 0x1a8]
push ecx
push eax
push edx
mov byte [esp + 0x988], 9
call fcn.004444e0
add esp, 0xc
mov ebx, eax
mov eax, dword [esp + 0x10]
neg ebx
sbb bl, bl
lea ecx, [esp + 0x14]
inc bl
cmp eax, ecx
mov byte [esp + 0x97c], 7
je 0x42e46d
push eax
call fcn.00482838
add esp, 4
test bl, bl
je 0x42e4fe
lea ecx, [esp + 0x6e8]
call fcn.0041fb80
mov edx, dword [esp + 0x1a8]
mov eax, dword [esi + 4]
push edx
push 0x4e497c
push 0x4e49d4
push 2
push eax
lea ecx, [esp + 0x6fc]
push ecx
mov byte [esp + 0x994], 0xa
call fcn.00420340
mov edx, dword [esp + 0x1c0]
mov eax, dword [esp + 0xb0]
push edx
push eax
lea ecx, [esp + 0x360]
push 0x4e494c
push ecx
call fcn.004c9ff0
mov esi, dword [esi + 0x33c]
mov edx, dword [esi]
add esp, 0x28
push 1
mov ecx, esi
call dword [edx + 0xd0]
lea ecx, [esp + 0x6e8]
mov byte [esp + 0x97c], 7
call fcn.0041fa40
jmp 0x42e6e8
mov ecx, dword [esi + 0x368]
mov edx, dword [ecx]
push 1
call dword [edx + 0x150]
mov eax, dword [esp + 0x98]
push eax
lea ecx, [esp + 0x344]
push 0x4e4924
push ecx
call fcn.004c9ff0
mov ecx, dword [esi + 0x358]
add esp, 0xc
cmp ecx, ebp
je 0x42e540
call fcn.00498150
mov dword [esi + 0x358], ebp
mov ecx, dword [esi + 0x354]
cmp ecx, ebp
je 0x42e54f
call fcn.00498150
mov ecx, dword [esi + 0x364]
mov edx, dword [ecx]
push edi
call dword [edx + 0xc]
mov ecx, dword [esp + 0x9c]
mov edi, eax
mov eax, dword [esp + 0x2bc]
push eax
push ecx
lea ecx, [esp + 0x5d4]
call fcn.0042ce50
mov edx, dword [esp + 0x2bc]
push 0x4e4918
push edx
lea eax, [esp + 0x5d4]
push eax
mov byte [esp + 0x98c], 0xb
call fcn.00453330
mov ebx, dword [esp + 0xa8]
add esp, 0xc
lea ecx, [esp + 0x6e0]
call fcn.0049c670
push eax
push ebx
lea ecx, [esp + 0x34c]
push 0x4e48e4
push ecx
call fcn.004c9ff0
add esp, 0x10
lea ecx, [esp + 0x6e0]
call fcn.0049c670
test eax, eax
jle 0x42e63c
push 0x244
call fcn.004cab91
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov byte [esp + 0x980], 0xc
je 0x42e62b
mov eax, dword [edi]
mov ebx, dword [esp + 0x9c]
lea edx, [esp + 0x6e0]
push edx
mov ecx, edi
call dword [eax + 0x11c]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x68]
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x64]
mov ecx, dword [esp + 0x1c]
push eax
push ebx
call fcn.0042db20
jmp 0x42e62d
xor eax, eax
mov ecx, eax
mov byte [esp + 0x980], 0xb
call fcn.0042ce00
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esi + 0x3fc], 0x14
call fcn.0042c2b0
push eax
lea ecx, [esi + 0x400]
call fcn.0042dca0
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
cmp eax, edx
je 0x42e673
push eax
call fcn.00482838
add esp, 4
push ebp
lea ecx, [esi + 0x3dc]
call fcn.004530a0
mov ecx, dword [esi + 0x364]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [esi + 0x364]
mov edx, dword [ecx]
mov edi, eax
call dword [edx + 0x10]
mov ecx, dword [esi + 0x368]
mov ebx, eax
mov eax, dword [ecx]
call dword [eax + 0xbc]
test eax, eax
je 0x42e6b3
push ebp
mov ecx, esi
call fcn.0042b4f0
mov eax, dword [esp + 0x9c]
mov edx, dword [ebx]
push 0xa
push eax
mov ecx, ebx
call dword [edx + 0x2c]
mov eax, dword [esp + 0x9c]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x1c]
lea ecx, [esp + 0x5cc]
mov byte [esp + 0x980], 7
call fcn.0042ccb0
pop edi
mov eax, dword [esp + 0x1a8]
lea ecx, [esp + 0x1ac]
cmp eax, ecx
je 0x42e703
push eax
call fcn.00482838
add esp, 4
mov eax, dword [esp + 0x2b8]
lea edx, [esp + 0x2bc]
cmp eax, edx
je 0x42e71e
push eax
call fcn.00482838
add esp, 4
mov eax, dword [esp + 0x230]
lea ecx, [esp + 0x234]
cmp eax, ecx
je 0x42e739
push eax
call fcn.00482838
add esp, 4
mov eax, dword [esp + 0x120]
lea edx, [esp + 0x124]
cmp eax, edx
je 0x42e754
push eax
call fcn.00482838
add esp, 4
mov eax, dword [esp + 0x98]
lea ecx, [esp + 0x9c]
cmp eax, ecx
je 0x42e76f
push eax
call fcn.00482838
add esp, 4
pop ebx
mov ecx, dword [esp + 0x970]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x968]
xor eax, eax
pop ebp
call fcn.00482423
add esp, 0x974
ret 4