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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda4
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0042af54
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
call fcn.00419fec
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x104
jl 0x425380
mov eax, dword [0x436c7c]
mov dword [eax], 0x233f
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x425a48
mov eax, dword [0x436a44]
cmp byte [eax], 0
je 0x4253ad
mov edx, 0x425a50
mov ecx, 4
mov eax, dword [ebp - 0x20]
call fcn.00414cd4
test eax, eax
jne 0x4253ad
mov eax, 0x425a5c
call fcn.00420fe8
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x25a]
mov ecx, 0x104
xor edx, edx
call fcn.0041a198
lea eax, [ebp - 0x25a]
mov edx, dword [ebp - 0x20]
call fcn.0041a014
lea eax, [ebp - 0x25a]
mov dx, 0x2f
call fcn.00423b70
mov word [ebp - 0x2e], 0x5c
mov word [ebp - 0x2c], 0x3a
mov word [ebp - 0x2a], 0
lea edx, [ebp - 0x2e]
lea eax, [ebp - 0x25a]
call fcn.0041a07c
cmp eax, dword [ebp - 0x38]
setl byte [ebp - 0x41]
mov word [ebp - 0x2c], 0
cmp byte [ebp - 0x41], 0
je 0x42543f
lea eax, [ebp - 0x25a]
mov dx, 0x5c
call fcn.00419f78
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x425439
lea eax, [ebp - 0x25a]
mov dx, 0x3a
call fcn.00419f28
mov dword [ebp - 0x20], eax
add dword [ebp - 0x20], 2
jmp 0x425448
lea eax, [ebp - 0x25a]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x425470
mov edx, 0x425a6c
mov eax, dword [ebp - 0x20]
call fcn.00414c00
test eax, eax
je 0x425470
mov edx, 0x425a70
mov eax, dword [ebp - 0x20]
call fcn.00414c00
test eax, eax
jne 0x4254b3
mov eax, dword [0x436a44]
cmp byte [eax], 0
je 0x42549e
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetFileAttributesW
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xffffffff
je 0x42549e
test byte [ebp - 0x50], 0x10
je 0x42549e
mov dword [ebp - 0xc], 5
jmp 0x425a48
mov eax, dword [0x436c7c]
mov dword [eax], 0x2331
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x425a48
mov eax, 0x410
call fcn.0041a964
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4254dd
mov eax, dword [0x436c7c]
mov dword [eax], 8
mov dword [ebp - 0xc], 3
jmp 0x425a48
lea edx, [ebp - 0x25a]
mov eax, dword [ebp - 8]
call fcn.0041a014
lea eax, [ebp - 0x25a]
call fcn.00419fec
cdq
push edx
push eax
mov eax, dword [ebp - 0x20]
call fcn.00414b3c
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov edx, dword [ebp - 8]
mov word [edx + eax*2], 0
mov edx, 0x425a6c
mov eax, dword [ebp - 8]
call fcn.0041a048
mov ecx, 0x208
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x24]
call fcn.00422ddc
test eax, eax
je 0x425579
mov eax, dword [0x436a44]
cmp byte [eax], 0
je 0x425564
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetFileAttributesW
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xffffffff
je 0x425564
test byte [ebp - 0x50], 0x10
je 0x425564
mov dword [ebp - 0xc], 5
jmp 0x425a48
mov eax, dword [0x436c7c]
mov dword [eax], 0x2331
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x425a48
mov eax, dword [ebp - 0x24]
call fcn.0041a1cc
cmp word [eax], 0x5c
je 0x425594
mov edx, 0x425a78
mov eax, dword [ebp - 0x24]
call fcn.0041a048
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
call fcn.0041a048
mov eax, dword [ebp - 0x24]
call fcn.00419fec
inc eax
mov edx, eax
add edx, edx
mov eax, dword [ebp - 0x24]
call fcn.0041aa50
mov dword [ebp - 0x24], eax
mov dx, 0x5c
mov eax, dword [ebp - 0x24]
call fcn.00419f78
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov word [eax], 0
add dword [ebp - 0x1c], 2
cmp byte [ebp - 0x41], 0
jne 0x4255e5
mov eax, 0x425a7c
call fcn.00420fe8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
call fcn.00419fec
mov ebx, eax
add ebx, 2
mov eax, dword [ebp - 0x28]
call fcn.00419fec
add ebx, eax
add ebx, 2
mov eax, ebx
add eax, eax
call fcn.0041a964
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x425628
mov eax, dword [0x436c7c]
mov dword [eax], 8
mov dword [ebp - 0xc], 3
jmp 0x425a48
mov edx, 0x425a88
mov eax, dword [ebp - 0x10]
call fcn.0041a048
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
call fcn.0041a048
mov edx, 0x425a88
mov eax, dword [ebp - 0x10]
call fcn.0041a048
cmp byte [ebp - 0x41], 0
jne 0x42566b
mov edx, 0x425a8c
mov eax, dword [ebp - 0x10]
call fcn.0041a048
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
call fcn.0041a048
mov eax, dword [ebp - 0x10]
call fcn.00425fc8
mov edx, 0x425a8c
mov ecx, 1
mov eax, dword [ebp - 0x10]
call fcn.00423e50
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
call fcn.00419fec
inc eax
mov dword [ebp - 0x38], eax
mov eax, dword [0x436a44]
cmp byte [eax], 0
je 0x4256ad
mov eax, 0x425a90
call fcn.00420fe8
mov dword [ebp - 0x14], eax
jmp 0x4256b5
mov eax, 0x425aa0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
call fcn.00425fc8
mov edx, 0x425a8c
mov ecx, 1
mov eax, dword [ebp - 0x14]
call fcn.00423e50
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
call fcn.00419fec
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x10]
call fcn.0042af54
mov edx, eax
mov eax, dword [ebp - 0x10]
call fcn.0041a014
mov eax, dword [ebp - 0x10]
call fcn.00419fec
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x10]
call fcn.0041a1cc
cmp word [eax], 0x5c
je 0x425714
mov byte [ebp - 0x42], 1
inc dword [ebp - 0x3c]
inc dword [ebp - 0x4c]
jmp 0x425718
mov byte [ebp - 0x42], 0
mov eax, dword [ebp - 0x10]
cmp word [eax], 0
je 0x42576c
mov eax, dword [ebp - 0x4c]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x38]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
cmp edx, 0
jne 0x425744
cmp eax, 0x104
jbe 0x42576c
jmp 0x425746
jle 0x42576c
cmp byte [ebp - 0x42], 0
je 0x425759
mov eax, dword [ebp - 0x3c]
add eax, eax
add dword [ebp - 0x10], eax
jmp 0x4256d2
mov eax, dword [ebp - 0x3c]
add eax, eax
add eax, dword [ebp - 0x10]
add eax, 2
mov dword [ebp - 0x10], eax
jmp 0x4256d2
mov eax, dword [ebp - 0x10]
cmp word [eax], 0
jne 0x4257b1
cmp byte [ebp - 0x41], 0
je 0x42579c
mov eax, dword [0x436c7c]
cmp dword [eax], 0
je 0x42578f
mov eax, dword [0x436c7c]
cmp dword [eax], 2
jne 0x4257a7
mov eax, dword [0x436c7c]
mov dword [eax], 0x2331
jmp 0x4257a7
mov eax, dword [0x436c7c]
mov dword [eax], 0x2331
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x425a48
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.0041a014
cmp byte [ebp - 0x42], 0
je 0x4257cc
mov eax, dword [ebp - 0x3c]
add eax, eax
add dword [ebp - 0x10], eax
jmp 0x4257da
mov eax, dword [ebp - 0x3c]
add eax, eax
add eax, dword [ebp - 0x10]
add eax, 2
mov dword [ebp - 0x10], eax
cmp byte [ebp - 0x42], 0
je 0x4257eb
lea edx, [ebp - 0x2e]
mov eax, dword [ebp - 8]
call fcn.0041a048
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.0041a048
mov eax, dword [ebp - 8]
call fcn.0042af54
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.0041a014
mov eax, dword [ebp - 8]
call fcn.00419fec
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
add eax, 2
cmp word [eax], 0x3a
jne 0x425832
mov eax, dword [ebp - 8]
mov ax, word [eax]
call fcn.0042ae04
test al, al
je 0x4256d2
mov dx, 0x2e
mov eax, dword [ebp - 0x1c]
call fcn.00419f78
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x4258d1
mov eax, dword [ebp - 0x48]
cmp word [eax + 2], 0
je 0x4258d1
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.00423a84
test al, al
jne 0x425873
cmp byte [ebp - 0x41], 0
je 0x4258b9
mov eax, dword [0x436c7c]
cmp dword [eax], 5
jne 0x4258b9
mov edx, 0x425ac8
mov eax, dword [ebp - 0x48]
call fcn.00414c2c
test eax, eax
jne 0x425890
mov dword [ebp - 0xc], 2
jmp 0x425a48
mov edx, 0x425ad4
mov eax, dword [ebp - 0x48]
call fcn.00414c2c
test eax, eax
jne 0x4258ad
mov dword [ebp - 0xc], 2
jmp 0x425a48
mov dword [ebp - 0xc], 1
jmp 0x425a48
mov eax, dword [0x436c7c]
cmp dword [eax], 2
je 0x4258d1
mov eax, dword [0x436c7c]
cmp dword [eax], 0
jne 0x4256d2
mov dx, 0x2a
mov eax, dword [ebp - 0x1c]
call fcn.00419f28
test eax, eax
jne 0x4258f1
mov dx, 0x3f
mov eax, dword [ebp - 0x1c]
call fcn.00419f28
test eax, eax
je 0x425906
mov eax, dword [0x436c7c]
mov dword [eax], 0x2331
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x425a48
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
push 0
mov ecx, 0x425ae0
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 8]
call fcn.00425ae8
test eax, eax
je 0x4259e7
jmp 0x4259da
mov eax, dword [ebp - 0x18]
call fcn.00419fec
cdq
push edx
push eax
mov eax, dword [ebp - 0x38]
cdq
push edx
push eax
mov eax, dword [ebp - 0x4c]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
cmp edx, 0
jne 0x425963
cmp eax, 0x104
ja 0x4259cd
jmp 0x425965
jg 0x4259cd
push 1
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 8]
call fcn.00425ae8
test eax, eax
je 0x4259b3
mov edx, 0x425ad4
mov eax, dword [ebp - 0x18]
call fcn.00414c2c
test eax, eax
je 0x42599b
mov edx, 0x425ac8
mov eax, dword [ebp - 0x18]
call fcn.00414c2c
test eax, eax
jne 0x4259a7
mov dword [ebp - 0xc], 2
jmp 0x425a48
mov dword [ebp - 0xc], 1
jmp 0x425a48
mov eax, dword [0x436c7c]
cmp dword [eax], 2
je 0x4259cd
mov eax, dword [0x436c7c]
cmp dword [eax], 0
jne 0x4259e7
jmp 0x4259cd
add dword [ebp - 0x18], 2
mov eax, dword [ebp - 0x18]
cmp word [eax], 0
jne 0x4259c9
add dword [ebp - 0x18], 2
mov eax, dword [ebp - 0x18]
cmp word [eax], 0
jne 0x42592b
mov eax, dword [0x436c7c]
cmp dword [eax], 0
je 0x4259ff
mov eax, dword [0x436c7c]
cmp dword [eax], 2
jne 0x4256d2
push 1
xor ecx, ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 8]
call fcn.00425ae8
test eax, eax
je 0x4256d2
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetBinaryTypeW
test eax, eax
je 0x4256d2
cmp dword [ebp - 0x34], 4
jne 0x4256d2
mov dword [ebp - 0xc], 1
jmp 0x425a48
mov eax, dword [ebp - 0xc]
pop ebx
mov esp, ebp
pop ebp
ret