Function at 0x4324d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4723e5
mov eax, dword fs:[0]
push eax
sub esp, 0x1f8
mov eax, dword [0x48e4f0]
xor eax, esp
mov dword [esp + 0x1f0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48e4f0]
xor eax, esp
push eax
lea eax, [esp + 0x20c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x258]
mov ebp, dword [esp + 0x25c]
mov esi, ecx
mov edi, edx
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0xcc]
push ecx
mov dword [esp + 0x218], 1
call fcn.004196d0
lea edx, [esp + 0xcc]
push edx
sub esp, 0x1c
mov eax, esp
mov ebx, 7
xor ecx, ecx
mov dword [esp + 0x38], esp
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0
mov dword [esp + 0x38], eax
mov word [eax], cx
mov byte [esp + 0x234], 3
test edi, edi
je 0x432581
test edi, 0xffff0000
jne 0x432581
movzx ecx, di
push ecx
call fcn.00406620
jmp 0x432591
push edi
mov ebx, eax
call fcn.00406760
add esp, 4
mov ebx, 7
mov byte [esp + 0x234], 2
call fcn.00433e80
xor esi, esi
cmp eax, esi
jne 0x432612
lea edx, [esp + 0xcc]
push edx
mov byte [esp + 0x218], 1
call fcn.00419890
mov edi, 8
cmp dword [esp + 0x230], edi
jb 0x4325d7
mov eax, dword [esp + 0x21c]
push eax
call fcn.004593e2
add esp, 4
xor ecx, ecx
mov dword [esp + 0x230], ebx
mov dword [esp + 0x22c], esi
mov word [esp + 0x21c], cx
cmp dword [esp + 0x24c], edi
jb 0x432608
mov edx, dword [esp + 0x238]
push edx
call fcn.004593e2
add esp, 4
mov eax, 1
jmp 0x432a98
sub esp, 0x1c
mov edx, esp
xor eax, eax
mov dword [edx + 0x14], ebx
mov dword [edx + 0x10], esi
mov dword [esp + 0x34], esp
mov word [edx], ax
push esi
or eax, 0xffffffff
lea ecx, [esp + 0x23c]
call fcn.004043d0
sub esp, 0x1c
mov edx, esp
mov byte [esp + 0x24c], 4
xor ecx, ecx
mov dword [edx + 0x14], ebx
mov dword [edx + 0x10], esi
mov dword [esp + 0x58], esp
mov word [edx], cx
push esi
or eax, 0xffffffff
lea ecx, [esp + 0x274]
call fcn.004043d0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x24c], 2
call fcn.004386d0
mov byte [esp + 0x214], 5
mov eax, dword [esp + 0x34]
push 0x47ca70
xor edi, edi
lea ecx, [esp + 0x28]
call fcn.00403a30
test eax, eax
jne 0x432727
mov edi, 8
cmp dword [esp + 0x38], edi
jb 0x4326af
mov edx, dword [esp + 0x24]
push edx
call fcn.004593e2
add esp, 4
lea ecx, [esp + 0xcc]
xor eax, eax
push ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], esi
mov word [esp + 0x28], ax
mov byte [esp + 0x218], 1
call fcn.00419890
cmp dword [esp + 0x230], edi
jb 0x4326ec
mov edx, dword [esp + 0x21c]
push edx
call fcn.004593e2
add esp, 4
xor eax, eax
mov dword [esp + 0x230], ebx
mov dword [esp + 0x22c], esi
mov word [esp + 0x21c], ax
cmp dword [esp + 0x24c], edi
jb 0x43271d
mov ecx, dword [esp + 0x238]
push ecx
call fcn.004593e2
add esp, 4
mov eax, 0x20
jmp 0x432a98
mov eax, dword [esp + 0x34]
push 0x48340c
mov edi, 1
lea ecx, [esp + 0x28]
call fcn.00403a30
test eax, eax
jne 0x4327d6
mov edi, 8
cmp dword [esp + 0x38], edi
jb 0x43275e
mov edx, dword [esp + 0x24]
push edx
call fcn.004593e2
add esp, 4
lea ecx, [esp + 0xcc]
xor eax, eax
push ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], esi
mov word [esp + 0x28], ax
mov byte [esp + 0x218], 1
call fcn.00419890
cmp dword [esp + 0x230], edi
jb 0x43279b
mov edx, dword [esp + 0x21c]
push edx
call fcn.004593e2
add esp, 4
xor eax, eax
mov dword [esp + 0x230], ebx
mov dword [esp + 0x22c], esi
mov word [esp + 0x21c], ax
cmp dword [esp + 0x24c], edi
jb 0x4327cc
mov ecx, dword [esp + 0x238]
push ecx
call fcn.004593e2
add esp, 4
mov eax, 2
jmp 0x432a98
lea edi, [esp + 0x18]
lea ebx, [esp + 0x24]
mov dword [esp + 0x18], 0x2f
call fcn.0041d330
mov esi, eax
cmp esi, 0xffffffff
je 0x4327f7
cmp esi, 0xffffffff
jne 0x432837
lea ecx, [esp + 0x24]
call fcn.004044f0
lea edx, [esp + 0xcc]
push edx
mov byte [esp + 0x218], 1
call fcn.00419890
lea ecx, [esp + 0x21c]
call fcn.004044f0
lea ecx, [esp + 0x238]
call fcn.004044f0
mov eax, 2
jmp 0x432a98
lea edi, [esp + 0x24]
mov eax, ebp
call fcn.00402ba0
lea ecx, [esi + 1]
lea eax, [esp + 0x40]
mov edx, edi
call fcn.00404ed0
mov edi, eax
lea eax, [esp + 0x21c]
mov byte [esp + 0x214], 6
call fcn.00402ba0
mov bl, 5
lea ecx, [esp + 0x40]
mov byte [esp + 0x214], bl
call fcn.004044f0
test esi, esi
je 0x4328b1
lea eax, [esp + 0x24]
push eax
mov ecx, esi
lea edi, [esp + 0x44]
call fcn.00404dd0
mov edi, eax
lea eax, [esp + 0x24]
mov byte [esp + 0x214], 7
call fcn.00402ba0
lea ecx, [esp + 0x40]
mov byte [esp + 0x214], bl
call fcn.004044f0
jmp 0x4328c2
push 0x483db8
lea ecx, [esp + 0x28]
call fcn.0040b690
add esp, 4
lea ecx, [esp + 0x5c]
push ecx
call fcn.00401000
lea edx, [esp + 0xcc]
push edx
sub esp, 0x1c
mov edx, esp
mov byte [esp + 0x234], 8
xor eax, eax
mov dword [esp + 0x40], esp
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
mov word [edx], ax
push eax
or eax, 0xffffffff
lea ecx, [esp + 0x48]
lea esi, [esp + 0x3c]
lea edi, [esp + 0x80]
call fcn.004043d0
mov edx, esi
mov ecx, edi
call fcn.00432da0
mov ebx, eax
test ebx, ebx
je 0x43293a
call fcn.00401ed0
lea ecx, [esp + 0x24]
call fcn.004044f0
lea ecx, [esp + 0xcc]
push ecx
jmp 0x432a71
cmp dword [esp + 0x84], 0
mov al, byte [esp + 0x254]
jne 0x432954
test al, 1
je 0x432954
mov ebx, 1
cmp dword [esp + 0x8c], 0
jne 0x432965
test al, 4
je 0x432965
or ebx, 1
cmp dword [esp + 0x88], 0
jne 0x432976
test al, 0x1a
je 0x432976
or ebx, 1
cmp dword [esp + 0x9c], 0
je 0x432991
cmp dword [esp + 0xa0], 0
jne 0x432998
cmp dword [esp + 0x18], 0
jne 0x432998
test al, al
jns 0x432998
or ebx, 1
push 0x483dbc
lea edi, [esp + 0x60]
lea esi, [esp + 0xb4]
call fcn.00422420
add esp, 4
lea edx, [esp + 0x21c]
push edx
lea ecx, [esp + 0x44]
push ecx
mov ecx, eax
mov byte [esp + 0x21c], 9
call fcn.00420900
add esp, 8
mov esi, dword [esp + 0x1c]
mov edi, eax
mov eax, esi
mov byte [esp + 0x214], 0xa
call fcn.00402ba0
lea ecx, [esp + 0x40]
call fcn.004044f0
lea ecx, [esp + 0xb0]
call fcn.004044f0
cmp dword [esi + 0x14], 8
jb 0x432a03
mov eax, dword [esi]
jmp 0x432a05
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x432a20
test byte [esp + 0x254], 0x1a
jne 0x432a57
or ebx, 2
jmp 0x432a57
test al, 0x10
je 0x432a27
or ebx, 0x14
cmp dword [esp + 0x90], 0
mov al, byte [esp + 0x254]
jne 0x432a3f
test al, 8
je 0x432a3f
or ebx, 1
cmp dword [esp + 0x8c], 0
jne 0x432a50
test al, 2
je 0x432a50
or ebx, 1
test al, 0x10
je 0x432a57
or ebx, 0x10
lea edi, [esp + 0x5c]
call fcn.00401ed0
lea ecx, [esp + 0x24]
call fcn.004044f0
lea edx, [esp + 0xcc]
push edx
mov byte [esp + 0x218], 1
call fcn.00419890
lea ecx, [esp + 0x21c]
call fcn.004044f0
lea ecx, [esp + 0x238]
call fcn.004044f0
mov eax, ebx
mov ecx, dword [esp + 0x20c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1f0]
xor ecx, esp
call fcn.004593ed
add esp, 0x204
ret 0x44