Function at 0x456750
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff72c
push esi
push edi
xor eax, eax
mov dword [ebp - 0x20], eax
xor edx, edx
mov dword [ebp - 0x24], edx
mov ecx, dword [0x757d2c]
test ecx, ecx
jne 0x45678f
mov eax, dword [0x6f6a90]
test eax, eax
jne 0x456782
mov edx, dword [0x6f6a94]
test edx, edx
je 0x45678b
mov ecx, dword [0x6f6a98]
dec ecx
je 0x45678f
xor eax, eax
jmp 0x456794
mov eax, 1
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x4567b1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00497240
add esp, 8
jmp 0x457711
mov ecx, dword [0x6f6a84]
test ecx, ecx
je 0x4567ce
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0052002c
add esp, 8
jmp 0x457711
mov eax, dword [0x7569c0]
cmp eax, 0xfffffffe
jne 0x4567df
xor eax, eax
jmp 0x457711
lea edx, [ebp - 0x60]
push edx
push dword [ebp + 0xc]
call fcn.00457b9c
add esp, 8
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
inc ecx
jne 0x45682f
mov eax, dword [0x6e70c8]
test eax, eax
je 0x456828
push dword [ebp + 0xc]
push str.File_error:__s
lea edx, [ebp - 0x494]
push edx
call fcn.00670e94
add esp, 0xc
push 2
lea ecx, [ebp - 0x494]
push ecx
call fcn.004f8c6c
add esp, 8
xor eax, eax
jmp 0x457711
push dword [ebp + 0x10]
call fcn.0066ca1c
pop ecx
cmp eax, 0x104
jb 0x456878
mov edx, dword [0x6e70c8]
test edx, edx
je 0x456871
push dword [ebp + 0xc]
push str.Filename_too_long:__s
lea ecx, [ebp - 0x8a4]
push ecx
call fcn.00670e94
add esp, 0xc
push 2
lea eax, [ebp - 0x8a4]
push eax
call fcn.004f8c6c
add esp, 8
xor eax, eax
jmp 0x457711
test byte [ebp - 0x5b], 0x40
jne 0x456a36
xor edx, edx
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
jne 0x4568aa
push 0x8f2f60
push dword [ebp + 0xc]
call fcn.00462354
add esp, 8
mov dword [ebp - 0x2c], eax
mov dword [ebp + 0x1c], 1
jmp 0x4568cb
mov eax, dword [0x8f2f64]
mov edx, eax
sar edx, 0x1f
cmp edx, 0
jne 0x4568c2
cmp eax, 0
seta al
jmp 0x4568c5
setg al
and eax, 1
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
test edx, edx
je 0x456a36
mov ecx, dword [0x6f6a7c]
test ecx, ecx
jne 0x45694a
mov eax, dword [0x6f6a80]
test eax, eax
jne 0x45694a
mov edx, dword [0x757d2c]
test edx, edx
jne 0x45694a
mov ecx, dword [0x6f6a84]
test ecx, ecx
jne 0x45694a
mov eax, dword [0x6f6a90]
test eax, eax
jne 0x45694a
mov edx, dword [0x6f6a94]
test edx, edx
jne 0x45694a
mov ecx, dword [0x6f6aac]
test ecx, ecx
jne 0x45694a
mov eax, dword [0x6f6a9c]
test eax, eax
jne 0x45694a
mov edx, dword [0x6f6b24]
test edx, edx
jne 0x45694a
mov ecx, dword [0x6f6ab8]
test ecx, ecx
jne 0x45694a
mov eax, dword [0x6f6abc]
test eax, eax
jne 0x45694a
mov edx, dword [0x6f6ac0]
test edx, edx
je 0x45697c
push dword [ebp + 0xc]
push 0x5a88
call fcn.00402a64
pop ecx
push eax
push 0x9f2fb4
call fcn.00670e94
add esp, 0xc
push 0x9f2fb4
push 0
call fcn.004627e0
add esp, 8
xor eax, eax
jmp 0x457711
mov edx, dword [0x6f6ab0]
test edx, edx
je 0x456994
mov ecx, dword [0x6f69a4]
test ecx, ecx
jne 0x456a36
mov eax, dword [0x76c888]
test eax, eax
jne 0x4569d3
push dword [ebp + 0xc]
push 0x5a89
call fcn.00402a64
pop ecx
push eax
push 0x9f2fb4
call fcn.00670e94
add esp, 0xc
push 0x9f2fb4
push 0
call fcn.00462810
add esp, 8
test eax, eax
jne 0x4569d3
xor eax, eax
jmp 0x457711
mov dword [0x6f69a4], 1
mov dword [0x6f6ab0], 1
xor edx, edx
mov dword [0x6f69a0], edx
xor ecx, ecx
mov dword [0x6f699c], ecx
xor eax, eax
mov dword [0x6f6930], eax
xor edx, edx
mov dword [0x6f6ac8], edx
xor ecx, ecx
mov dword [0x6f6a50], ecx
mov dword [0x6f6a48], 0x1f
xor eax, eax
mov dword [0x6f6a58], eax
xor edx, edx
mov dword [0x6f6a38], edx
xor ecx, ecx
mov dword [0x6f6a70], ecx
xor eax, eax
mov dword [0x6f6ac4], eax
lea esi, [ebp - 0x60]
lea edi, [ebp - 0x84]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
mov edx, dword [0x6f6b68]
cmp eax, edx
jne 0x456a76
push 0x757c26
push dword [ebp + 0x10]
call fcn.0066c9a0
add esp, 8
test eax, eax
jne 0x456a76
lea esi, [ebp - 0x60]
mov edi, 0x8f2f38
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
mov edx, dword [0x6f6b68]
cmp eax, edx
jne 0x456ab8
push 0x757c28
push dword [ebp + 0x10]
call fcn.0066c9a0
add esp, 8
test eax, eax
jne 0x456ab8
mov esi, 0x8f2f38
lea edi, [ebp - 0x60]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
mov esi, 0x8f2f38
lea edi, [ebp - 0x84]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
xor eax, eax
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0xc]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
test eax, eax
je 0x456afd
push dword [ebp + 0x10]
mov edx, dword [ebp - 4]
push dword [edx + 0x12c]
call fcn.0066cbe8
add esp, 8
test eax, eax
jne 0x456aee
mov dword [ebp - 0x14], 1
jmp 0x456afd
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
test edx, edx
jne 0x456acd
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je case.0x456bab.0
mov eax, dword [ebp - 4]
mov dl, byte [eax + 0x121]
test dl, dl
jne case.0x456bab.0
mov ecx, dword [0x7569c0]
inc ecx
jne 0x456c01
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x134]
mov dword [ebp - 0x8d4], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x118]
mov dword [ebp - 0x8cc], eax
mov eax, dword [ecx + 0x11c]
mov dword [ebp - 0x8c8], eax
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x124]
mov dword [ebp - 0x8c4], ecx
xor eax, eax
mov dword [ebp - 0x8c0], eax
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x8bc], edx
mov ecx, dword [0x8f2f60]
mov dword [ebp - 0x8b4], ecx
mov ecx, dword [0x8f2f64]
mov dword [ebp - 0x8b0], ecx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x8ac], eax
xor edx, edx
mov dword [ebp - 0x8a8], edx
lea ecx, [ebp - 0x8d4]
push ecx
call fcn.004b344c
pop ecx
cmp eax, 5
ja case.0x456bab.0
jmp dword [eax*4 + 0x456bb2]
mov dword [0x7569c0], 1
jmp case.0x456bab.0
xor eax, eax
jmp 0x457711
xor edx, edx
mov dword [0x7569c0], edx
xor eax, eax
jmp 0x457711
mov dword [0x7569c0], 0xfffffffe
xor eax, eax
jmp 0x457711
mov edx, dword [0x7569c0]
test edx, edx
jne case.0x456bab.0
xor eax, eax
jmp 0x457711
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x456ce0
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x14c]
test eax, eax
je 0x456c44
mov edx, dword [ebp - 4]
push dword [edx + 0x14c]
call fcn.004506c8
pop ecx
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [ecx + 0x14c], eax
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x12c]
test ecx, ecx
je 0x456c6b
mov eax, dword [ebp - 4]
push dword [eax + 0x12c]
call fcn.004506c8
pop ecx
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [edx + 0x12c], ecx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x134]
test edx, edx
je 0x456c92
mov ecx, dword [ebp - 4]
push dword [ecx + 0x134]
call fcn.004506c8
pop ecx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x134], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x130]
test eax, eax
je 0x456cb9
mov edx, dword [ebp - 4]
push dword [edx + 0x130]
call fcn.004506c8
pop ecx
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [ecx + 0x130], eax
mov edx, dword [ebp - 4]
mov cl, byte [edx + 0x121]
test cl, cl
jne 0x456d1f
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x110]
add edx, 0x7ff
shr edx, 0xb
sub dword [0x6e75f8], edx
jmp 0x456d1f
push 0x190
call fcn.00450668
pop ecx
mov dword [ebp - 4], eax
push 0x190
push 0
push dword [ebp - 4]
call fcn.0066c86c
add esp, 0xc
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xc]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [edx + 0x130], ecx
push dword [ebp + 0x10]
call fcn.00450628
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x12c], eax
push dword [ebp + 0xc]
call fcn.00450628
pop ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x134], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x144], edx
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x456d80
mov ecx, dword [0x6e744c]
test ecx, ecx
je 0x456d75
mov eax, dword [0x6f692c]
mov edx, dword [ebp - 4]
mov dword [edx + 0x16c], eax
dec dword [0x6f692c]
jmp 0x456d80
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [ecx + 0x16c], eax
xor edx, edx
mov dword [ebp - 0x18], edx
push dword [ebp + 0x10]
call fcn.0066ca1c
pop ecx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x456e7c
mov eax, dword [0x6e73a8]
test eax, eax
je 0x456e7c
mov edx, dword [0x6f699c]
test edx, edx
jne 0x456e4e
mov ecx, dword [0x6f69a0]
test ecx, ecx
jne 0x456df4
mov eax, dword [0x6f6a50]
test eax, eax
jne 0x456dde
mov edx, dword [ebp - 0x1c]
cmp edx, 0xc
jle 0x456df4
mov dword [0x6f69a0], 1
jmp 0x456df4
mov ecx, dword [ebp - 0x1c]
mov eax, dword [0x6f6a48]
cmp ecx, eax
jle 0x456df4
mov dword [0x6f69a0], 1
mov edx, dword [0x6f69a0]
test edx, edx
jne 0x456e4e
mov ecx, dword [0x6f6a58]
test ecx, ecx
jne 0x456e4e
xor eax, eax
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
cmp edx, ecx
jge 0x456e4e
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp + 0x10]
movsx ecx, byte [edx + eax]
cmp ecx, 0x61
jl 0x456e41
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp + 0x10]
movsx ecx, byte [edx + eax]
cmp ecx, 0x7a
jg 0x456e41
mov dword [0x6f69a0], 1
jmp 0x456e4e
inc dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x1c]
cmp eax, edx
jl 0x456e17
mov ecx, dword [0x6f69a0]
test ecx, ecx
je 0x456e7c
mov eax, dword [ebp - 0x1c]
cmp eax, 0x40
jle 0x456e7c
mov dword [0x6f6a70], 1
mov edx, dword [ebp - 0x1c]
cmp edx, 0x6e
jle 0x456e7c
mov dword [0x6f69a4], 1
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x456ea8
mov eax, dword [0x6e73f8]
test eax, eax
je 0x456ea8
mov edx, dword [0x6f69a0]
test edx, edx
je 0x456ea8
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x40
jle 0x456ea8
mov dword [0x6f6a70], 1
mov eax, dword [0x6e761c]
test eax, eax
jne 0x456eca
push dword [ebp + 0xc]
call sub.KERNEL32.DLL_GetFileAttributesA
test al, 2
je 0x456eca
mov edx, dword [ebp - 4]
or dword [edx + 0x144], 0x100
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [eax + 0x138], ecx
mov edx, dword [ebp - 4]
mov byte [edx + 0x21], 0
mov ecx, dword [ebp - 4]
test byte [ecx + 0x145], 1
je 0x456ef0
mov eax, dword [ebp - 4]
or byte [eax + 0x21], 1
mov edx, dword [ebp - 4]
mov byte [edx + 9], 0
push dword [ebp - 0x44]
mov ecx, dword [ebp - 4]
add ecx, 0x1a
push ecx
call fcn.0045046c
add esp, 8
mov eax, dword [ebp - 4]
mov byte [eax + 0x22], 0
mov edx, dword [ebp - 4]
mov byte [edx + 0x23], 0
mov ecx, dword [0x6f6ac8]
test ecx, ecx
je 0x4570a1
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4570a1
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [edx + 0x160], ecx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x15c], edx
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [ecx + 0x164], eax
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x168], edx
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x456f83
mov edx, dword [ebp - 4]
or byte [edx + 0x21], 4
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp - 4]
mov dword [eax + 0x168], ecx
mov edx, dword [ebp - 4]
or dword [edx + 0x144], 8
jmp 0x456fcd
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
test eax, eax
je 0x456fcd
mov edx, dword [ebp - 4]
mov ecx, dword [edx]
test byte [ecx + 0x21], 4
je 0x456fcd
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x15c], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [edx + 0x160]
mov eax, dword [ebp - 4]
mov dword [eax + 0x160], ecx
mov edx, dword [ebp - 4]
mov ecx, dword [edx]
mov eax, dword [ecx + 0x168]
mov edx, dword [ebp - 4]
mov dword [edx + 0x168], eax
mov ecx, dword [0x6f6ac8]
test ecx, ecx
je 0x4570a1
push 0x757c2b
push dword [ebp + 0x10]
call fcn.0066c9a0
add esp, 8
test eax, eax
je 0x4570a1
push 0x757c2d
push dword [ebp + 0x10]
call fcn.0066c9a0
add esp, 8
test eax, eax
je 0x4570a1
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x160]
test edx, edx
jne 0x45703e
push 0x50
call fcn.00450668
pop ecx
mov dword [ebp - 0x34], eax
push 0x50
push 0
push dword [ebp - 0x34]
call fcn.0066c86c
add esp, 0xc
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
mov dword [eax + 0x160], ecx
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x457074
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x160]
mov edx, dword [ebp - 0x70]
mov dword [eax + 0x42], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x160]
mov edx, dword [ebp - 0x64]
mov dword [eax + 0x2c], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x160]
mov edx, dword [ebp - 0x68]
mov dword [eax + 0x30], edx
jmp 0x4570a1
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x160]
mov edx, dword [ebp - 0x70]
mov dword [eax + 0x3e], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x160]
mov edx, dword [ebp - 0x64]
mov dword [eax + 0x2c], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x160]
mov edx, dword [ebp - 0x68]
mov dword [eax + 0x30], edx
push 0x757c30
push dword [ebp + 0x10]
call fcn.0066c9a0
add esp, 8
test eax, eax
jne 0x4570bd
mov ecx, dword [ebp + 8]
or word [ecx + 0x3c], 2
push 0x757c32
push dword [ebp + 0x10]
call fcn.0066c9a0
add esp, 8
test eax, eax
jne 0x4570d9
mov eax, dword [ebp + 8]
or word [eax + 0x3c], 4
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x457128
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
mov ecx, dword [0x8f2f5c]
cmp edx, ecx
jne 0x457128
push 0x757c35
push dword [ebp + 0x10]
call fcn.0066c9a0
add esp, 8
test eax, eax
jne 0x457128
mov eax, dword [ebp - 4]
mov word [eax + 0x148], 0x7fff
mov edx, dword [ebp - 4]
mov word [edx + 0x14a], 0x7fff
mov dword [ebp - 0x18], 2
jmp 0x45716f
mov ecx, dword [0x6f6ac8]
test ecx, ecx
je 0x457153
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x457153
mov edx, dword [ebp - 4]
mov word [edx + 0x148], 0x7fff
mov ecx, dword [ebp - 4]
mov word [ecx + 0x14a], 0x7fff
jmp 0x45716f
mov ax, word [ebp - 0x5e]
mov edx, dword [ebp - 4]
mov word [edx + 0x148], ax
mov cx, word [ebp - 0x60]
mov eax, dword [ebp - 4]
mov word [eax + 0x14a], cx
push dword [0x6f6a28]
mov edx, dword [ebp - 4]
add edx, 0x24
push edx
call fcn.004391e0
add esp, 8
movsx ecx, word [ebp - 0x5c]
and ecx, 0x4000
push ecx
push dword [ebp - 4]
push dword [ebp + 0x10]
call fcn.0044fe8c
add esp, 0xc
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x150], edx
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [ecx + 0x154], eax
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [edx + 0x14c], ecx
mov eax, dword [ebp - 4]
mov byte [eax + 0x120], 0
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x124], edx
test byte [ebp - 0x5b], 0x40
jne 0x457297
test byte [ebp - 0x7f], 0x20
jne 0x4571f0
test byte [ebp - 0x7f], 0x30
jne 0x4571f0
test byte [ebp - 0x7f], 0x10
je 0x457215
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x110], edx
mov eax, edx
xor edx, edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x118], eax
mov dword [ecx + 0x11c], edx
xor eax, eax
mov dword [ebp - 0x4c], eax
jmp 0x45727d
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x110], edx
mov eax, dword [ebp - 4]
mov edx, dword [0x8f2f60]
mov dword [eax + 0x118], edx
mov edx, dword [0x8f2f64]
mov dword [eax + 0x11c], edx
push 0
push 0x800
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x118]
mov edx, dword [ecx + 0x11c]
add eax, 0x7ff
adc edx, 0
call fcn.00674507
add dword [0x6e75f8], eax
mov edx, dword [ebp - 4]
mov byte [edx + 0x121], 0
inc dword [0x6e880c]
push 1
call fcn.004277e0
pop ecx
mov ecx, dword [ebp - 4]
push dword [ecx + 0x110]
mov eax, dword [ebp - 4]
add eax, 0x12
push eax
call fcn.00439284
add esp, 8
jmp 0x4572ae
mov edx, dword [ebp - 4]
or byte [edx + 0x21], 2
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x121], 1
inc dword [0x6e8810]
mov eax, dword [0x6f6ac8]
test eax, eax
je 0x4572fe
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x160]
test ecx, ecx
je 0x4572fe
mov eax, dword [ebp - 4]
test byte [eax + 0x21], 2
je 0x4572fe
push dword [ebp - 4]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004db2b8
add esp, 0xc
mov edx, dword [0x6f6ad4]
test edx, edx
je 0x4572fe
push 1
push dword [ebp - 4]
mov ecx, dword [ebp - 4]
push dword [ecx + 0x160]
call fcn.0044fe8c
add esp, 0xc
mov eax, dword [0x6f699c]
test eax, eax
je 0x4574fd
push 0x757c38
push dword [ebp + 0x10]
call fcn.0066c9a0
add esp, 8
test eax, eax
je 0x4574fd
push 0x757c3a
push dword [ebp + 0x10]
call fcn.0066c9a0
add esp, 8
test eax, eax
je 0x4574fd
test byte [ebp - 0x5b], 0x40
je 0x4574fd
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x24]
mov eax, dword [0x6f6a40]
cmp ecx, eax
jbe 0x4574fd
mov edx, dword [0x8f2f5c]
test edx, edx
jne 0x457367
call fcn.00455e1c
push 0x190
call fcn.00450668
pop ecx
mov dword [ebp - 8], eax
push 0x190
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0066c7fc
add esp, 0xc
mov ecx, dword [ebp - 8]
xor eax, eax
mov dword [ecx + 0x130], eax
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0xc]
push dword [ecx + 0x12c]
call fcn.00450628
pop ecx
mov edx, dword [ebp - 8]
mov dword [edx + 0x12c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push dword [ecx + 0x134]
call fcn.00450628
pop ecx
mov edx, dword [ebp - 8]
mov dword [edx + 0x134], eax
mov eax, dword [0x8f2f5c]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp - 8]
mov dword [eax], ecx
mov edx, dword [0x8f2f5c]
mov ecx, dword [ebp - 8]
mov dword [edx + 0xc], ecx
mov eax, dword [ebp - 8]
mov word [eax + 0x128], 0x8000
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0xc]
mov eax, dword [ebp - 8]
mov dword [eax + 0x13c], ecx
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x140], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x122], 1
push dword [0x6f6a28]
mov edx, dword [ebp - 8]
add edx, 0x24
push edx
call fcn.004391e0
add esp, 8
mov dword [ebp - 0x18], 1
push dword [ebp - 0x18]
lea ecx, [ebp - 0x84]
push ecx
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004af860
add esp, 0x18
xor edx, edx
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp - 8]
mov eax, dword [0x8f2f5c]
mov dword [ecx + 0x138], eax
push 0
push dword [ebp - 8]
push dword [ebp + 0xc]
push dword [0x8f2f5c]
call fcn.00457718
add esp, 0x10
mov dword [ebp - 0x38], eax
push dword [ebp - 8]
push dword [ebp + 0xc]
push dword [ebp - 0x38]
call fcn.004562b8
add esp, 0xc
mov edx, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov dword [edx + 0x138], ecx
xor eax, eax
mov dword [ebp - 0x4c], eax
and word [ebp - 0x5c], 0x1ff
push 0
mov edx, dword [ebp - 4]
add edx, 0x12
push edx
call fcn.00439284
add esp, 8
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [ecx + 0x110], eax
xor edx, edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x118], eax
mov dword [ecx + 0x11c], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x21], 0
mov edx, dword [ebp - 4]
mov byte [edx + 0x121], 0
mov ecx, dword [ebp - 4]
mov word [ecx + 0x148], 0x7fff
mov eax, dword [ebp - 4]
or dword [eax + 0x144], 0x20
mov dword [ebp - 0x18], 4
test byte [ebp - 0x5b], 0x40
je 0x457552
push 0x757c3d
push dword [ebp + 0x10]
call fcn.0066c9a0
add esp, 8
test eax, eax
je 0x457552
push 0x757c3f
push dword [ebp + 0x10]
call fcn.0066c9a0
add esp, 8
test eax, eax
je 0x457552
push 1
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00457718
add esp, 0x10
mov dword [ebp - 0x3c], eax
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp - 0x3c]
call fcn.004562b8
add esp, 0xc
mov edx, dword [0x6f6ac8]
test edx, edx
je 0x45767d
mov ecx, dword [ebp + 0x18]
test ecx, ecx
jne 0x45767d
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x160]
test edx, edx
je 0x45767d
test byte [ebp - 0x7f], 0x80
je 0x457618
push dword [ebp - 4]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004db300
add esp, 0xc
mov ecx, dword [0x6f6ad4]
test ecx, ecx
je 0x4575b7
push 0
push dword [ebp - 4]
mov eax, dword [ebp - 4]
push dword [eax + 0x160]
call fcn.0044fe8c
add esp, 0xc
mov edx, dword [0x6f69a8]
cmp edx, 2
jle 0x4575cb
push dword [ebp - 4]
call fcn.004db564
pop ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x15c]
test eax, eax
je 0x4575f4
mov edx, dword [ebp - 4]
add edx, 0x29
push edx
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x15c]
add eax, 0x29
push eax
call fcn.0066c9ec
add esp, 8
mov edx, dword [0x6f6ac8]
test edx, edx
je 0x457654
mov ecx, dword [ebp - 4]
mov word [ecx + 0x148], 0x7fff
mov eax, dword [ebp - 4]
mov word [eax + 0x14a], 0x7fff
jmp 0x457654
mov edx, dword [ebp - 4]
test byte [edx + 0x21], 2
jne 0x457654
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x160]
test eax, eax
je 0x457649
mov edx, dword [ebp - 4]
test byte [edx + 0x144], 0x20
jne 0x457649
mov ecx, dword [ebp - 4]
push dword [ecx + 0x160]
call fcn.0066c220
pop ecx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x160], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x15c]
test eax, eax
je 0x45767d
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x15c]
mov eax, dword [ecx + 0x110]
test eax, eax
jne 0x45767d
push dword [ebp - 4]
call fcn.004dbab0
pop ecx
mov edx, dword [0x6f6acc]
test edx, edx
je 0x4576b9
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x15c]
test eax, eax
je 0x4576b9
push dword [ebp - 0x18]
lea edx, [ebp - 0x84]
push edx
lea ecx, [ebp - 0x60]
push ecx
mov eax, dword [ebp - 4]
push dword [eax + 0x15c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004af860
add esp, 0x18
mov edx, dword [0x6f699c]
test edx, edx
je 0x45770c
mov ecx, dword [ebp + 8]
mov eax, dword [0x6f6b68]
cmp ecx, eax
jne 0x4576ed
push 0x757c42
mov edx, dword [ebp - 4]
push dword [edx + 0x12c]
call fcn.0066c9a0
add esp, 8
test eax, eax
jne 0x4576ed
or dword [ebp - 0x18], 0x18
push dword [ebp - 0x18]
lea ecx, [ebp - 0x84]
push ecx
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 4]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004af860
add esp, 0x18
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret