Function at 0x41b400
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c82ba
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x170
mov eax, dword [0x6540c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov esi, dword [ebx + 0x10]
mov edi, dword [ebx + 0x14]
push 0
mov dword [ebp - 0x138], eax
mov eax, dword [ebx + 0x18]
push 0x646654
mov dword [ebp - 0x174], ecx
mov dword [ebp - 0x178], esi
mov dword [ebp - 0x170], edi
mov dword [ebp - 0x15c], eax
call fcn.0040b340
mov byte [esi], 0
mov esi, dword [edi]
mov edi, dword [edi + 4]
cmp esi, edi
je 0x41b49f
mov ecx, esi
call fcn.0041c620
add esi, 0x4c
cmp esi, edi
jne 0x41b486
mov ecx, dword [ebp - 0x170]
mov eax, dword [ecx]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x15c]
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
cmp esi, edi
je 0x41b4c9
nop
mov ecx, esi
call fcn.0041c710
add esi, 0x30
cmp esi, edi
jne 0x41b4b0
mov ecx, dword [ebp - 0x15c]
mov eax, dword [ecx]
mov dword [ecx + 4], eax
mov esi, dword [ebp - 0x138]
mov eax, esi
cmp dword [esi + 0x14], 7
jbe 0x41b4d9
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41b4eb
xor al, al
jmp 0x41c5b0
and dword [ebp - 0x150], 0xfffffe00
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
push 1
lea edx, [ebp - 0x158]
mov dword [ebp - 4], 1
mov ecx, esi
call fcn.00423eb0
add esp, 4
test al, al
je 0x41c598
cmp byte [ebp - 0x150], 7
jne 0x41c598
push 0x647798
push str.file_ver
lea ecx, [ebp - 0x158]
call fcn.0042cb30
test eax, eax
je 0x41c598
push 0x647798
push str.file_ver
lea ecx, [ebp - 0x158]
call fcn.0042c930
cmp byte [eax + 8], 0
je 0x41c598
push 0x647798
push str.file_ver
lea ecx, [ebp - 0x158]
call fcn.0042c930
mov ecx, eax
call fcn.0042c5b0
test al, al
jne 0x41c598
push 0x647798
push str.file_ver
lea ecx, [ebp - 0x158]
call fcn.0042c930
cmp byte [eax + 8], 4
jne 0x41c598
cmp byte [ebp - 0x150], 7
jne 0x41c598
push 0x6477a5
push str.file_gray
lea ecx, [ebp - 0x158]
call fcn.0042cb30
test eax, eax
je 0x41c598
push 0x6477a5
push str.file_gray
lea ecx, [ebp - 0x158]
call fcn.0042c930
cmp byte [eax + 8], 0
je 0x41c598
push 0x6477a5
push str.file_gray
lea ecx, [ebp - 0x158]
call fcn.0042c930
mov ecx, eax
call fcn.0042c5b0
test al, al
jne 0x41c598
push 0x6477a5
push str.file_gray
lea ecx, [ebp - 0x158]
call fcn.0042c930
cmp byte [eax + 8], 5
jne 0x41c598
cmp byte [ebp - 0x150], 7
jne 0x41c598
push 0x6477ad
push str.files
lea ecx, [ebp - 0x158]
call fcn.0042cb30
test eax, eax
je 0x41c598
push 0x6477ad
push str.files
lea ecx, [ebp - 0x158]
call fcn.0042c930
cmp byte [eax + 8], 0
je 0x41c598
push 0x6477ad
push str.files
lea ecx, [ebp - 0x158]
call fcn.0042c930
mov ecx, eax
call fcn.0042c5b0
test al, al
jne 0x41c598
push 0x6477ad
push str.files
lea ecx, [ebp - 0x158]
call fcn.0042c930
cmp byte [eax + 8], 6
jne 0x41c598
xor esi, esi
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x134], esi
mov dword [ebp - 0x168], esi
mov dword [ebp - 0x164], esi
push 0x6477ad
push str.files
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 6
call fcn.0042c930
mov edx, eax
xor edi, edi
mov dword [ebp - 0x13c], edx
movsx ecx, byte [edx + 8]
mov dword [ebp - 0x140], edi
cmp ecx, 7
ja case.0x41b72c.0
jmp dword [ecx*4 + 0x41c5dc]
mov eax, dword [edx]
cmp dword [eax + 4], 0
je case.0x41b72c.0
mov eax, dword [eax]
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x130], eax
call fcn.00431360
mov eax, dword [ebp - 0x130]
mov edx, dword [ebp - 0x13c]
mov eax, dword [eax + 0x14]
inc eax
jmp 0x41b769
mov eax, dword [edx]
mov eax, dword [eax + 4]
cmp edi, eax
jae case.0x41b72c.0
push edi
mov ecx, edx
call fcn.0042c640
mov esi, eax
mov dword [ebp - 0x138], esi
cmp byte [esi + 8], 7
jne 0x41be1f
push 0x6477b5
push str.fpath
mov ecx, esi
call fcn.0042cb30
test eax, eax
je 0x41be1f
push 0x6477b5
push str.fpath
mov ecx, esi
call fcn.0042c930
cmp byte [eax + 8], 0
je 0x41be1f
push 0x6477b5
push str.fpath
mov ecx, esi
call fcn.0042c930
mov ecx, eax
call fcn.0042c5b0
test al, al
jne 0x41be1f
push 0x6477b5
push str.fpath
mov ecx, esi
call fcn.0042c930
cmp byte [eax + 8], 4
jne 0x41be1f
push 0x6477bd
push str.fname
mov ecx, esi
call fcn.0042cb30
test eax, eax
je 0x41be1f
push 0x6477bd
push str.fname
mov ecx, esi
call fcn.0042c930
cmp byte [eax + 8], 0
je 0x41be1f
push 0x6477bd
push str.fname
mov ecx, esi
call fcn.0042c930
mov ecx, eax
call fcn.0042c5b0
test al, al
jne 0x41be1f
push 0x6477bd
push str.fname
mov ecx, esi
call fcn.0042c930
cmp byte [eax + 8], 4
jne 0x41be1f
push 0x6477c3
push 0x6477c0
mov ecx, esi
call fcn.0042cb30
test eax, eax
je 0x41be1f
push 0x6477c3
push 0x6477c0
mov ecx, esi
call fcn.0042c930
cmp byte [eax + 8], 0
je 0x41be1f
push 0x6477c3
push 0x6477c0
mov ecx, esi
call fcn.0042c930
mov ecx, eax
call fcn.0042c5b0
test al, al
jne 0x41be1f
push 0x6477c3
push 0x6477c0
mov ecx, esi
call fcn.0042c930
cmp byte [eax + 8], 4
jne 0x41be1f
push 0x6477ca
push str.custom
mov ecx, esi
call fcn.0042cb30
test eax, eax
je 0x41be1f
push 0x6477ca
push str.custom
mov ecx, esi
call fcn.0042c930
cmp byte [eax + 8], 0
je 0x41be1f
push 0x6477ca
push str.custom
mov ecx, esi
call fcn.0042c930
mov ecx, eax
call fcn.0042c5b0
test al, al
jne 0x41be1f
push 0x6477ca
push str.custom
mov ecx, esi
call fcn.0042c930
cmp byte [eax + 8], 5
jne 0x41be1f
push 0x6477b5
push str.fpath
mov ecx, esi
call fcn.0042c930
lea ecx, [ebp - 0x110]
push ecx
mov ecx, eax
call fcn.0042bd30
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2c]
call fcn.0040a620
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0xe
call fcn.00409d60
push 0x6477bd
push str.fname
mov ecx, esi
call fcn.0042c930
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, eax
call fcn.0042bd30
mov edx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x44]
call fcn.0040a620
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x11
call fcn.00409d60
push 0x6477c3
push 0x6477c0
mov ecx, esi
call fcn.0042c930
lea ecx, [ebp - 0x110]
push ecx
mov ecx, eax
call fcn.0042bd30
mov edx, eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x128]
call fcn.0040a620
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x8c]
call fcn.00402580
cmp dword [ebp - 0x78], 7
lea eax, [ebp - 0x8c]
mov edx, dword [ebp - 0x8c]
lea ecx, [ebp - 0x8c]
cmova eax, edx
lea edi, [ebp - 0x8c]
mov dword [ebp - 0x130], eax
cmova ecx, edx
mov eax, dword [ebp - 0x7c]
cmova edi, edx
lea esi, [ecx + eax*2]
cmp edi, esi
je 0x41ba5d
sub dword [ebp - 0x130], edi
movzx eax, word [edi]
push eax
call fcn.004a0f33
mov ecx, dword [ebp - 0x130]
add esp, 4
mov word [ecx + edi], ax
add edi, 2
cmp edi, esi
jne 0x41ba40
lea ecx, [ebp - 0x128]
call fcn.004024d0
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x16
call fcn.00409d60
mov ecx, dword [ebp - 0x138]
push 0x6477ca
push str.custom
call fcn.0042c930
mov ecx, eax
call fcn.0042c4e0
xorps xmm0, xmm0
mov byte [ebp - 0x129], al
xor eax, eax
mov dword [ebp - 0xe8], 0
movups xmmword [ebp - 0xf8], xmm0
mov dword [ebp - 0xe4], 7
movups xmmword [ebp - 0xe0], xmm0
mov word [ebp - 0xf8], ax
movups xmmword [ebp - 0xc8], xmm0
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], 7
mov word [ebp - 0xe0], ax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], 7
mov word [ebp - 0xc8], ax
mov byte [ebp - 0xb0], al
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 7
lea ecx, [ebp - 0xf8]
push dword [ebp - 0x1c]
cmova eax, dword [ebp - 0x2c]
push eax
call fcn.00403f90
cmp dword [ebp - 0x30], 7
lea eax, [ebp - 0x44]
push dword [ebp - 0x34]
cmova eax, dword [ebp - 0x44]
lea ecx, [ebp - 0xe0]
push eax
call fcn.00403f90
cmp dword [ebp - 0x78], 7
lea eax, [ebp - 0x8c]
push dword [ebp - 0x7c]
cmova eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0xc8]
push eax
call fcn.00403f90
mov al, byte [ebp - 0x129]
mov esi, dword [ebp - 0x134]
mov byte [ebp - 0xb0], al
lea eax, [ebp - 0xf8]
cmp esi, dword [ebp - 0x164]
je 0x41bdc2
cmp dword [ebp - 0xe4], 7
xorps xmm0, xmm0
mov edi, dword [ebp - 0xe8]
cmova eax, dword [ebp - 0xf8]
mov dword [ebp - 0x160], esi
mov dword [ebp - 0x138], eax
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp edi, 0x7ffffffe
ja 0x41c5d0
cmp edi, 7
ja 0x41bbd5
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 7
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
jmp 0x41bc2b
mov eax, edi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x41bbe8
mov eax, bind
jmp 0x41bbf3
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x134]
push eax
push esi
call fcn.004029e0
mov ecx, dword [ebp - 0x134]
mov dword [esi + 0x14], ecx
lea ecx, [edi*2 + 2]
push ecx
push dword [ebp - 0x138]
mov dword [esi], eax
push eax
mov dword [esi + 0x10], edi
call fcn.0048f690
add esp, 0x14
mov byte [ebp - 4], 0x18
lea edi, [esi + 0x18]
cmp dword [ebp - 0xcc], 7
lea ecx, [ebp - 0xe0]
mov eax, dword [ebp - 0xd0]
xorps xmm0, xmm0
cmova ecx, dword [ebp - 0xe0]
mov dword [ebp - 0x138], ecx
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
cmp eax, 0x7ffffffe
ja 0x41c5d0
cmp eax, 7
ja 0x41bc88
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
movups xmm0, xmmword [ecx]
movups xmmword [edi], xmm0
jmp 0x41bce2
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x41bc99
mov eax, bind
jmp 0x41bca4
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x134]
push eax
push edi
call fcn.004029e0
mov edx, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x134]
mov dword [edi + 0x14], ecx
mov dword [edi], eax
lea ecx, [edx*2 + 2]
mov dword [edi + 0x10], edx
push ecx
push dword [ebp - 0x138]
push eax
call fcn.0048f690
add esp, 0x14
mov byte [ebp - 4], 0x19
lea edi, [esi + 0x30]
cmp dword [ebp - 0xb4], 7
lea ecx, [ebp - 0xc8]
mov eax, dword [ebp - 0xb8]
xorps xmm0, xmm0
cmova ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x138], ecx
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
cmp eax, 0x7ffffffe
ja 0x41c5d0
cmp eax, 7
ja 0x41bd54
mov dword [edi + 0x10], eax
mov al, byte [ebp - 0x129]
mov dword [edi + 0x14], 7
movups xmm0, xmmword [ecx]
movups xmmword [edi], xmm0
mov byte [esi + 0x48], al
add esi, 0x4c
mov dword [ebp - 0x168], esi
jmp 0x41bdd5
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x41bd65
mov eax, bind
jmp 0x41bd70
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x134]
push eax
push edi
call fcn.004029e0
mov edx, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0x134]
mov dword [edi + 0x14], ecx
mov dword [edi], eax
lea ecx, [edx*2 + 2]
mov dword [edi + 0x10], edx
push ecx
push dword [ebp - 0x138]
push eax
call fcn.0048f690
mov al, byte [ebp - 0x129]
add esp, 0x14
mov byte [esi + 0x48], al
add esi, 0x4c
mov dword [ebp - 0x168], esi
jmp 0x41bdd5
push eax
push esi
lea ecx, [ebp - 0x16c]
call fcn.00422620
mov esi, dword [ebp - 0x168]
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x134], esi
call fcn.0041c620
lea ecx, [ebp - 0x8c]
call fcn.004024d0
lea ecx, [ebp - 0x44]
call fcn.004024d0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.004024d0
mov edi, dword [ebp - 0x140]
mov edx, dword [ebp - 0x13c]
inc edi
jmp 0x41b719
cmp dword [ebp - 0x16c], esi
jne 0x41be36
lea ecx, [ebp - 0x16c]
mov byte [ebp - 0x129], 0
call fcn.0041f040
jmp 0x41c59f
xor edi, edi
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x90], edi
mov byte [ebp - 4], 0x1b
cmp byte [ebp - 0x150], 7
jne case.0x41bf0e.0
push 0x6477d8
push str.files_delete
lea ecx, [ebp - 0x158]
call fcn.0042cb30
test eax, eax
je case.0x41bf0e.0
push 0x6477d8
push str.files_delete
lea ecx, [ebp - 0x158]
call fcn.0042c930
cmp byte [eax + 8], 0
je case.0x41bf0e.0
push 0x6477d8
push str.files_delete
lea ecx, [ebp - 0x158]
call fcn.0042c930
mov ecx, eax
call fcn.0042c5b0
test al, al
jne case.0x41bf0e.0
push 0x6477d8
push str.files_delete
lea ecx, [ebp - 0x158]
call fcn.0042c930
cmp byte [eax + 8], 6
jne case.0x41bf0e.0
push 0x6477d8
push str.files_delete
lea ecx, [ebp - 0x158]
call fcn.0042c930
mov edx, eax
mov dword [ebp - 0x134], edi
mov dword [ebp - 0x138], edx
movsx ecx, byte [edx + 8]
cmp ecx, 7
ja case.0x41bf0e.0
jmp dword [ecx*4 + 0x41c5fc]
mov eax, dword [edx]
cmp dword [eax + 4], 0
je case.0x41bf0e.0
mov eax, dword [eax]
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x13c], eax
call fcn.00431360
mov eax, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x138]
mov eax, dword [eax + 0x14]
inc eax
jmp 0x41bf4b
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x134]
cmp ecx, eax
jae case.0x41bf0e.0
push ecx
mov ecx, edx
call fcn.0042c640
mov dword [ebp - 0x130], eax
cmp byte [eax + 8], 7
jne 0x41c48d
push 0x6477b5
push str.fpath
mov ecx, eax
call fcn.0042cb30
test eax, eax
je 0x41c48d
mov ecx, dword [ebp - 0x130]
push 0x6477b5
push str.fpath
call fcn.0042c930
cmp byte [eax + 8], 0
je 0x41c48d
mov ecx, dword [ebp - 0x130]
push 0x6477b5
push str.fpath
call fcn.0042c930
mov ecx, eax
call fcn.0042c5b0
test al, al
jne 0x41c48d
mov ecx, dword [ebp - 0x130]
push 0x6477b5
push str.fpath
call fcn.0042c930
cmp byte [eax + 8], 4
jne 0x41c48d
mov ecx, dword [ebp - 0x130]
push 0x6477bd
push str.fname
call fcn.0042cb30
test eax, eax
je 0x41c48d
mov ecx, dword [ebp - 0x130]
push 0x6477bd
push str.fname
call fcn.0042c930
cmp byte [eax + 8], 0
je 0x41c48d
mov ecx, dword [ebp - 0x130]
push 0x6477bd
push str.fname
call fcn.0042c930
mov ecx, eax
call fcn.0042c5b0
test al, al
jne 0x41c48d
mov ecx, dword [ebp - 0x130]
push 0x6477bd
push str.fname
call fcn.0042c930
cmp byte [eax + 8], 4
jne 0x41c48d
mov ecx, dword [ebp - 0x130]
push 0x6477b5
push str.fpath
call fcn.0042c930
lea ecx, [ebp - 0x128]
push ecx
mov ecx, eax
call fcn.0042bd30
mov edx, eax
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x44]
call fcn.0040a620
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp - 0x114]
cmp ecx, 0xf
jbe 0x41c0da
mov edx, dword [ebp - 0x128]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41c0d0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c5d5
push ecx
push edx
call fcn.004392c8
add esp, 8
mov ecx, dword [ebp - 0x130]
push 0x6477bd
push str.fname
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
call fcn.0042c930
lea ecx, [ebp - 0x110]
push ecx
mov ecx, eax
call fcn.0042bd30
mov edx, eax
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x2c]
call fcn.0040a620
mov byte [ebp - 4], 0x21
mov ecx, dword [ebp - 0xfc]
cmp ecx, 0xf
jbe 0x41c164
mov edx, dword [ebp - 0x110]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41c15a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c5d5
push ecx
push edx
call fcn.004392c8
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
xor eax, eax
mov dword [ebp - 0x60], 7
movups xmmword [ebp - 0x74], xmm0
mov word [ebp - 0x74], ax
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 0x22
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 7
lea ecx, [ebp - 0x74]
push dword [ebp - 0x34]
cmova eax, dword [ebp - 0x44]
push eax
call fcn.00403f90
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmova eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x5c]
push eax
call fcn.00403f90
cmp edi, dword [ebp - 0x90]
je 0x41c357
cmp dword [ebp - 0x60], 7
lea ecx, [ebp - 0x74]
mov eax, dword [ebp - 0x74]
xorps xmm0, xmm0
cmova ecx, eax
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x17c], edi
mov dword [ebp - 0x140], ecx
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
cmp eax, 0x7ffffffe
ja 0x41c5d0
cmp eax, 7
ja 0x41c227
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
movups xmm0, xmmword [ecx]
movups xmmword [edi], xmm0
jmp 0x41c27e
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x41c238
mov eax, bind
jmp 0x41c243
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x13c]
push eax
push edi
call fcn.004029e0
mov edx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x13c]
mov dword [edi + 0x14], ecx
mov dword [edi], eax
lea ecx, [edx*2 + 2]
mov dword [edi + 0x10], edx
push ecx
push dword [ebp - 0x140]
push eax
call fcn.0048f690
add esp, 0x14
mov byte [ebp - 4], 0x23
lea edx, [ebp - 0x5c]
cmp dword [ebp - 0x48], 7
lea eax, [edi + 0x18]
mov ecx, dword [ebp - 0x5c]
xorps xmm0, xmm0
cmova edx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x140], edx
mov edx, dword [ebp - 0x4c]
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
cmp edx, 0x7ffffffe
ja 0x41c5d0
cmp edx, 7
ja 0x41c2ea
mov dword [eax + 0x10], edx
add edi, 0x30
mov edx, dword [ebp - 0x140]
mov dword [eax + 0x14], 7
mov dword [ebp - 0x94], edi
movups xmm0, xmmword [edx]
movups xmmword [eax], xmm0
jmp 0x41c379
mov ecx, edx
or ecx, 7
cmp ecx, 0x7ffffffe
jbe 0x41c2fe
mov ecx, bind
jmp 0x41c309
cmp ecx, 0xa
mov edx, 0xa
cmovb ecx, edx
mov dword [ebp - 0x13c], ecx
lea ecx, [ebp - 0x13c]
push ecx
push eax
call fcn.004029e0
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x13c]
mov dword [edi + 0x2c], ecx
mov dword [edi + 0x28], edx
lea ecx, [edx*2 + 2]
mov dword [edi + 0x18], eax
mov edx, dword [ebp - 0x140]
push ecx
push edx
push eax
call fcn.0048f690
mov ecx, dword [ebp - 0x160]
add esp, 0x14
add edi, 0x30
mov dword [ebp - 0x94], edi
jmp 0x41c379
lea eax, [ebp - 0x74]
push eax
push edi
lea ecx, [ebp - 0x98]
call fcn.004223f0
mov eax, dword [ebp - 0x74]
mov edi, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x130], eax
mov byte [ebp - 4], 0x21
mov eax, dword [ebp - 0x48]
cmp eax, 7
jbe 0x41c3b4
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c3aa
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c5d5
push edx
push ecx
call fcn.004392c8
add esp, 8
mov eax, dword [ebp - 0x60]
cmp eax, 7
jbe 0x41c3fd
lea ecx, [eax*2 + 2]
mov eax, dword [ebp - 0x130]
mov edx, eax
cmp ecx, 0x1000
jb 0x41c3f3
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0x130], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x41c5d5
mov eax, dword [ebp - 0x130]
push ecx
push eax
call fcn.004392c8
add esp, 8
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x41c43b
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41c431
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c5d5
push ecx
push edx
call fcn.004392c8
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp ecx, 7
jbe 0x41c48d
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41c483
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c5d5
push ecx
push edx
call fcn.004392c8
add esp, 8
inc dword [ebp - 0x134]
mov edx, dword [ebp - 0x138]
jmp 0x41bf01
push 0x647798
push str.file_ver
lea ecx, [ebp - 0x158]
call fcn.0042c930
lea ecx, [ebp - 0x110]
push ecx
mov ecx, eax
call fcn.0042bd30
mov ecx, dword [ebp - 0x174]
push eax
call fcn.0041f2a0
mov ecx, dword [ebp - 0xfc]
cmp ecx, 0xf
jbe 0x41c507
mov edx, dword [ebp - 0x110]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41c4fd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c5d5
push ecx
push edx
call fcn.004392c8
add esp, 8
push 0x6477a5
push str.file_gray
lea ecx, [ebp - 0x158]
call fcn.0042c930
mov ecx, eax
call fcn.0042c4e0
mov ecx, dword [ebp - 0x178]
mov byte [ecx], al
mov eax, 0x6bca1af3
mov ecx, dword [ebp - 0x16c]
sub esi, ecx
imul esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push ecx
mov ecx, dword [ebp - 0x170]
call fcn.00421ef0
mov esi, dword [ebp - 0x98]
mov eax, 0x2aaaaaab
sub edi, esi
imul edi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x41c579
mov ecx, dword [ebp - 0x15c]
push eax
push esi
call fcn.004220c0
lea ecx, [ebp - 0x98]
mov byte [ebp - 0x129], 1
call fcn.0041efa0
lea ecx, [ebp - 0x16c]
call fcn.0041f040
jmp 0x41c59f
mov byte [ebp - 0x129], 0
lea ecx, [ebp - 0x158]
call fcn.0042bbe0
mov al, byte [ebp - 0x129]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043928a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x14
call fcn.004012e0
call fcn.0049452a
nop
pop ss
mov esi, -1105788863
inc ecx
add byte [edi], dl
mov esi, 0xbe170041
inc ecx
add byte [edi], dl
mov esi, 0xbe170041
inc ecx
add byte [ebx], dh
mov bh, 0x41
add byte [edi + esi*4 + 0x41], ah
add byte [esi - 0x61ffbe3c], bl
les eax, [ecx]
sahf
les eax, [ecx]
sahf
les eax, [ecx]
sahf
les eax, [ecx]
sahf
les eax, [ecx]
adc eax, 0x460041bf
mov edi, -859045823
int3