Function at 0x43a090
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4cb8eb
mov eax, dword fs:[0]
push eax
sub esp, 0xc34
mov eax, dword [0x51c080]
xor eax, esp
mov dword [esp + 0xc30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51c080]
xor eax, esp
push eax
lea eax, [esp + 0xc48]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xc58]
xor ebx, ebx
cmp ebp, ebx
mov esi, ecx
mov dword [esp + 0x30], esi
je 0x43a5f8
cmp esi, ebx
je 0x43a5f8
push 0x3ff
lea edi, [esi + 0xa24]
push edi
lea eax, [ebp + 0xb618]
push 0x400
push eax
mov dword [esp + 0x2c], edi
call fcn.004a9be0
push 0x3ff
push edi
lea eax, [ebp + 0x8218]
push 0x400
push eax
call fcn.004a9be0
lea edx, [ebp + 0x204]
mov eax, edx
add esp, 0x20
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x43a130
sub eax, edi
sar eax, 1
jne 0x43a158
push 0xff
lea ecx, [esi + 4]
push ecx
push 0x100
push edx
call fcn.004a9be0
add esp, 0x10
mov eax, dword [esi + 0x1228]
push 0xff
lea edx, [esi + 0x20c]
push edx
mov dword [ebp + 0x10618], eax
lea eax, [ebp + 0xb418]
push 0x100
push eax
call fcn.004a9be0
lea eax, [esi + 4]
push eax
push str.Printer
call fcn.004a9af1
add esp, 0x18
test eax, eax
jne 0x43a5f8
mov ecx, esi
call fcn.00460560
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x43a1a4
sub eax, edx
sar eax, 1
je 0x43a1d6
mov ecx, esi
call fcn.00460560
push 0xff
push eax
lea ecx, [ebp + 0xce18]
push 0x100
push ecx
call fcn.004a9be0
add esp, 0x10
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0xc50], ebx
push 0x200
lea edx, [esp + 0x38]
push ebx
push edx
call fcn.004ab450
add esp, 0xc
push 0x200
lea eax, [esp + 0x248]
push ebx
push eax
mov byte [esp + 0x240], 0
mov dword [esp + 0x244], ebx
mov dword [esp + 0x248], ebx
call fcn.004ab450
add esp, 0xc
lea ebx, [ebp + 0xce18]
push ebx
push str._scu.dll
lea edx, [esp + 0x24c]
call fcn.0040bfd0
add esp, 8
lea edi, [ebp + 0xf618]
push 1
lea eax, [esp + 0x248]
lea esi, [esp + 0x38]
call fcn.00432180
mov ecx, esi
push ecx
lea esi, [esp + 0x24]
call fcn.0043a800
push 0x200
lea edx, [esp + 0x248]
push 0
push edx
call fcn.004ab450
add esp, 0xc
push ebx
push str._sc.xml
lea edx, [esp + 0x24c]
call fcn.0040bfd0
add esp, 8
lea edi, [ebp + 0xd218]
push 1
lea eax, [esp + 0x248]
lea esi, [esp + 0x38]
call fcn.00432180
mov eax, esi
push eax
lea esi, [esp + 0x24]
call fcn.0043a800
push 0x200
lea ecx, [esp + 0x248]
push 0
push ecx
call fcn.004ab450
add esp, 0xc
push ebx
push str._sp.xml
lea edx, [esp + 0x24c]
call fcn.0040bfd0
add esp, 8
lea edi, [ebp + 0xe418]
push 1
lea eax, [esp + 0x248]
lea esi, [esp + 0x38]
call fcn.00432180
mov edx, esi
push edx
lea esi, [esp + 0x24]
call fcn.0043a800
push 0x200
lea eax, [esp + 0x248]
push 0
push eax
call fcn.004ab450
add esp, 0xc
push ebx
push str._s.ver
lea edx, [esp + 0x24c]
call fcn.0040bfd0
add esp, 8
lea edi, [ebp + 0xfe18]
push 0
lea eax, [esp + 0x248]
lea esi, [esp + 0x38]
call fcn.00432180
mov ecx, esi
push ecx
lea esi, [esp + 0x24]
call fcn.0043a800
mov edi, dword [esp + 0x30]
mov edx, esi
push edx
mov ecx, edi
call fcn.004609b0
push 0x800
lea eax, [esp + 0x448]
push 0
push eax
call fcn.004ab450
add esp, 0xc
push 0x3ff
lea eax, [ebp + 0xb618]
push eax
lea ecx, [esp + 0x44c]
push 0x400
push ecx
call fcn.004a9be0
lea edx, [esp + 0x454]
push 0x5c
push edx
call fcn.004a9ce4
add esp, 0x18
test eax, eax
je 0x43a485
push 0x200
mov word [eax], 0
lea eax, [esp + 0x248]
push 0
push eax
call fcn.004ab450
add esp, 0xc
push ebx
lea ecx, [esp + 0x448]
push ecx
push str._s_scf.xml
lea edx, [esp + 0x250]
call fcn.0040bfd0
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
lea edx, [esp + 0x244]
push edx
call esi
test eax, eax
je 0x43a422
push 0x3ff
lea eax, [esp + 0x248]
push eax
lea ecx, [ebp + 0xda18]
push 0x400
push ecx
call fcn.004a9be0
add esp, 0x10
push 0x200
lea edx, [esp + 0x248]
push 0
push edx
call fcn.004ab450
add esp, 0xc
push ebx
lea eax, [esp + 0x448]
push eax
push str._s_spf.xml
lea edx, [esp + 0x250]
call fcn.0040bfd0
add esp, 0xc
lea ecx, [esp + 0x244]
push ecx
call esi
test eax, eax
je 0x43a485
push 0x3ff
lea edx, [esp + 0x248]
push edx
lea eax, [ebp + 0xec18]
push 0x400
push eax
call fcn.004a9be0
add esp, 0x10
lea eax, [ebp + 0xf618]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43a490
sub eax, edx
sar eax, 1
je 0x43a4a8
mov byte [ebp + 0x1061e], 1
lea ebx, [ebp + 0x10630]
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43a4b3
sub eax, edx
sar eax, 1
jne 0x43a4de
push 0xff
lea eax, [ebp + 0xb418]
push eax
push 0x100
push ebx
call fcn.004a9be0
add esp, 0x10
lea edx, [ebp + 0x10a30]
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43a4f0
sub eax, esi
sar eax, 1
jne 0x43a515
push 0xff
push ebx
push 0x100
push edx
call fcn.004a9be0
add esp, 0x10
lea edx, [ebp + 0x10830]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43a520
sub eax, esi
sar eax, 1
jne 0x43a545
push 0xff
push ebx
push 0x100
push edx
call fcn.004a9be0
add esp, 0x10
mov al, byte [edi + 0x1224]
mov byte [ebp + 0x1061c], al
mov eax, dword [esp + 0xc5c]
sub eax, 1
je 0x43a5b0
sub eax, 1
je 0x43a59e
sub eax, 1
jne 0x43a5ce
mov esi, dword [esp + 0x1c]
push 0x3ff
push esi
lea ecx, [ebp + 0xbe18]
push 0x400
push ecx
call fcn.004a9be0
push 0x3ff
push esi
push 0x400
add ebp, 0xc618
push ebp
call fcn.004a9be0
add esp, 0x20
jmp 0x43a5ce
mov edx, dword [esp + 0x1c]
push 0x3ff
push edx
add ebp, 0xc618
jmp 0x43a5c0
mov eax, dword [esp + 0x1c]
push 0x3ff
push eax
add ebp, 0xbe18
push 0x400
push ebp
call fcn.004a9be0
add esp, 0x10
mov dword [esp + 0xc50], 0xffffffff
mov eax, dword [esp + 0x24]
xor esi, esi
cmp eax, esi
je 0x43a5ec
push eax
call fcn.004993dd
add esp, 4
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov ecx, dword [esp + 0xc48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc30]
xor ecx, esp
call fcn.004a998e
add esp, 0xc40
ret