Function at 0x5c6ec0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
sub esp, 0x28
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
cmp edi, 0xfffffffb
je 0x5c8793
push 2
push esi
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.005e0a20
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x5c6f81
movzx ecx, byte [ebp + 0x13]
lea edx, [ebp + 0x1c]
and ecx, 0x80
mov dword [ebp - 0x2c], edx
shr ecx, 7
mov dword [ebp - 0x34], ecx
je 0x5c6f21
lea edx, [ebp + 0x1f]
and edx, 0xfffffffc
add edx, 4
mov dword [ebp - 0x2c], edx
mov eax, dword [edx - 4]
jmp 0x5c6f23
xor eax, eax
mov edx, eax
shr edx, 0xf
movzx ecx, byte [ebp + 0x10]
and edx, 1
and ecx, 1
mov dword [ebp - 0x30], edx
or ecx, edx
je 0x5c6f70
cmp dword [ebp - 0x34], 0
je 0x5c6f65
test al, 0x10
je 0x5c6f65
mov edx, dword [ebp - 0x2c]
add edx, 3
and edx, 0xfffffffc
mov ecx, dword [edx]
add edx, 7
and edx, 0xfffffffc
cmp byte [ecx], 0x38
mov esi, dword [edx]
jne 0x5c6f65
cmp byte [ecx + 2], 0x4e
je 0x5c7958
movzx eax, bx
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push str.unknown
push edi
push 2
push ebx
call fcn.005b16e0
add esp, 0x10
mov eax, dword [ebp - 0x14]
movzx ecx, byte [ebp + 0x10]
mov edx, ecx
and edx, 1
and ecx, 2
movzx ebx, byte [eax + 0x1a4]
and ebx, 0xfffffffe
or ebx, edx
mov byte [eax + 0x1a4], bl
mov edx, dword [ebp - 0x14]
movzx ebx, byte [ebp + 0x12]
shr ebx, 5
and ebx, 1
movzx eax, byte [edx + 0x1a4]
shl ebx, 2
and eax, 0xfffffffb
or eax, ebx
mov byte [edx + 0x1a4], al
mov eax, dword [ebp - 0x14]
movzx edx, byte [eax + 0x1a4]
and edx, 0xfffffffd
or edx, ecx
mov byte [eax + 0x1a4], dl
xor edx, edx
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x9c], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x114], edx
mov ecx, dword [ebp - 0x14]
and byte [ecx + 0x1ad], 0xf7
mov eax, dword [ebp - 0x14]
movzx ecx, byte [ebp + 0x13]
mov ebx, dword [eax + 0xd8]
mov edx, dword [eax + 0xdc]
mov dword [eax + 0xd0], ebx
mov dword [eax + 0xd4], edx
mov edx, dword [ebp - 0x14]
test ecx, 0x80
je 0x5c7189
lea eax, [ebp + 0x1f]
and eax, 0xfffffffc
lea ecx, [eax + 4]
mov ebx, dword [ecx - 4]
test edx, edx
je 0x5c718b
test bl, 0x20
je 0x5c7048
or byte [edx + 0x1ab], 0x40
mov edx, dword [ebp - 0x14]
and byte [edx + 0x1ad], 0xbf
test ebx, 0x2000
je 0x5c7061
mov edx, dword [ebp - 0x14]
or byte [edx + 0x1ad], 0x40
mov edx, dword [ebp - 0x14]
and byte [edx + 0x1ad], 0x7f
test ebx, 0x4000
je 0x5c707d
mov edx, dword [ebp - 0x14]
or byte [edx + 0x1ad], 0x80
mov edx, dword [ebp - 0x14]
and byte [edx + 0x1ae], 0xef
test ebx, 0x8000
je 0x5c7099
mov edx, dword [ebp - 0x14]
or byte [edx + 0x1ae], 0x10
mov edx, dword [ebp - 0x14]
and byte [edx + 0x1ae], 0xdf
test ebx, 0x10000
je 0x5c70b5
mov edx, dword [ebp - 0x14]
or byte [edx + 0x1ae], 0x20
mov edx, dword [ebp - 0x14]
and byte [edx + 0x1ae], 0xbf
test ebx, 0x20000
je 0x5c70d1
mov edx, dword [ebp - 0x14]
or byte [edx + 0x1ae], 0x40
mov edx, dword [ebp - 0x14]
and byte [edx + 0x1ae], 0x7f
test ebx, 0x40000
je 0x5c70ed
mov edx, dword [ebp - 0x14]
or byte [edx + 0x1ae], 0x80
mov edx, dword [ebp - 0x14]
and byte [edx + 0x1af], 0xfe
test ebx, 0x80000
je 0x5c7109
mov edx, dword [ebp - 0x14]
or byte [edx + 0x1af], 1
test bl, 0x10
je 0x5c7184
add eax, 7
and eax, 0xfffffffc
mov edx, dword [eax]
add eax, 7
and eax, 0xfffffffc
cmp byte [edx], 0x38
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
je 0x5c82ee
cmp byte [edx], 0xb
je 0x5c8038
cmp byte [edx], 0x38
je 0x5c7f31
cmp byte [edx], 0x38
je 0x5c7e57
cmp byte [edx], 0x38
je 0x5c7d55
cmp byte [edx], 0x38
je 0x5c7c07
cmp byte [edx], 0x38
je 0x5c7b2d
cmp byte [edx], 0x38
je 0x5c7a57
cmp byte [edx], 1
je 0x5c7184
push 0x371
push str.for_rseq_lis.c
push 2
push 8
call fcn.005b16e0
add esp, 0x10
mov edx, dword [ebp - 0x14]
jmp 0x5c718b
xor ebx, ebx
mov ecx, ebx
shr ecx, 0xa
mov dword [ebp - 0x2c], ecx
mov ecx, ebx
shr ecx, 0xf
and ecx, 1
movzx eax, byte [edx + 0x1ae]
shl ecx, 4
and eax, 0xffffffef
or eax, ecx
mov byte [edx + 0x1ae], al
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], ecx
test byte [eax + 0x1a1], 0x20
jne 0x5c74ec
cmp dword [eax + 0x124], 0xfffffffb
je 0x5c74ec
mov dword [ebp - 0x30], edi
movzx edx, byte [eax + 0x1a0]
movzx edi, byte [ebp + 0x10]
and edx, 0xfffffffe
shr edi, 7
or edx, edi
mov byte [eax + 0x1a0], dl
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x20], esi
movzx esi, byte [ebp + 0x12]
shr esi, 2
and esi, 1
movzx eax, byte [edi + 0x1a0]
add esi, esi
and eax, 0xfffffffd
or eax, esi
mov byte [edi + 0x1a0], al
movzx edi, byte [ebp + 0x13]
mov esi, edi
shr esi, 3
and esi, 1
mov edx, dword [ebp - 0x14]
movzx ecx, byte [edx + 0x1a0]
lea eax, [esi*4]
and ecx, 0xfffffffb
or ecx, eax
mov byte [edx + 0x1a0], cl
mov ecx, edi
mov edx, dword [ebp - 0x14]
shr ecx, 2
and ecx, 1
movzx eax, byte [edx + 0x1a0]
shl ecx, 3
and eax, 0xfffffff7
or eax, ecx
mov byte [edx + 0x1a0], al
mov eax, edi
mov ecx, dword [ebp - 0x14]
shr eax, 6
and eax, 1
movzx edx, byte [ecx + 0x1a0]
shl eax, 4
and edx, 0xffffffef
or edx, eax
mov byte [ecx + 0x1a0], dl
mov edx, esi
mov ecx, dword [ebp - 0x14]
shl edx, 5
shl esi, 3
movzx eax, byte [ecx + 0x1a0]
and eax, 0xffffffdf
or eax, edx
mov byte [ecx + 0x1a0], al
mov eax, edi
mov edx, dword [ebp - 0x14]
shr eax, 4
and eax, 1
movzx ecx, byte [edx + 0x1a9]
shl eax, 2
and ecx, 0xfffffffb
or ecx, eax
mov byte [edx + 0x1a9], cl
mov eax, dword [ebp - 0x14]
shr edi, 5
and edi, 1
movzx edx, byte [eax + 0x1a9]
and edx, 0xfffffff7
or edx, esi
mov esi, edi
mov byte [eax + 0x1a9], dl
mov edx, dword [ebp - 0x14]
shl esi, 6
shl edi, 7
movzx eax, byte [edx + 0x1a0]
and eax, 0xffffffbf
or eax, esi
mov byte [edx + 0x1a0], al
mov edx, ebx
mov esi, dword [ebp - 0x14]
shr edx, 1
and edx, 1
movzx ecx, byte [esi + 0x1a0]
and ecx, 0x7f
or ecx, edi
mov edi, ebx
mov byte [esi + 0x1a0], cl
and edi, 1
mov esi, dword [ebp - 0x14]
mov ecx, ebx
shl edx, 5
shr ecx, 2
movzx eax, byte [esi + 0x1a1]
and ecx, 3
and eax, 0xfffffffe
add ecx, ecx
or eax, edi
mov byte [esi + 0x1a1], al
mov edi, dword [ebp - 0x14]
movzx eax, byte [edi + 0x1a9]
and eax, 0xffffffdf
or eax, edx
mov byte [edi + 0x1a9], al
mov edi, ebx
mov esi, dword [ebp - 0x14]
shr edi, 9
and edi, 1
movzx eax, byte [esi + 0x1a1]
and eax, 0xfffffff9
or eax, ecx
mov byte [esi + 0x1a1], al
mov esi, ebx
mov ecx, dword [ebp - 0x14]
and esi, 0xffffff80
shl edi, 3
movzx edx, byte [ecx + 0x1ac]
and edx, 0xfffffff7
or edx, edi
mov byte [ecx + 0x1ac], dl
mov edi, dword [ebp - 0x14]
movzx eax, byte [edi + 0x1ab]
and eax, 0x7f
or eax, esi
mov esi, ebx
mov byte [edi + 0x1ab], al
mov edi, ebx
mov ecx, dword [ebp - 0x14]
shr esi, 7
and esi, 0xffffff80
movzx edx, byte [ecx + 0x1ad]
and edx, 0x7f
or edx, esi
mov byte [ecx + 0x1ad], dl
mov esi, dword [ebp - 0x14]
shr edi, 0x10
and edi, 1
movzx eax, byte [esi + 0x1ae]
and eax, 0xffffffef
or eax, dword [ebp - 0x28]
mov byte [esi + 0x1ae], al
mov esi, ebx
mov ecx, dword [ebp - 0x14]
shl edi, 5
shr esi, 0x11
movzx edx, byte [ecx + 0x1ae]
and esi, 1
and edx, 0xffffffdf
or edx, edi
mov byte [ecx + 0x1ae], dl
mov edx, ebx
mov edi, dword [ebp - 0x14]
shl esi, 6
shr edx, 0xb
movzx eax, byte [edi + 0x1ae]
and edx, 0xffffff80
and eax, 0xffffffbf
or eax, esi
mov byte [edi + 0x1ae], al
mov esi, dword [ebp - 0x14]
shr ebx, 0x13
and ebx, 1
movzx ecx, byte [esi + 0x1ae]
and ecx, 0x7f
or ecx, edx
mov byte [esi + 0x1ae], cl
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x20]
movzx eax, byte [edx + 0x1af]
and eax, 0xfffffffe
or eax, ebx
mov byte [edx + 0x1af], al
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ecx + 0x1ac]
btr eax, 4
jb 0x5c7469
mov edx, dword [ebp - 0x2c]
and edx, 1
shl edx, 4
or eax, edx
mov byte [ecx + 0x1ac], al
mov ecx, dword [ebp - 0x14]
mov eax, 1
push eax
push eax
push eax
push ecx
call fcn.005c6ba0
add esp, 0x10
test eax, eax
je 0x5c74e9
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x5c832d
test byte [edx + 0x44], 2
je 0x5c74bb
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x7c]
test edx, edx
je 0x5c74b3
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x7c], ecx
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push eax
push eax
movzx eax, byte [ecx + 0x1ae]
and eax, 0x10
movzx edx, byte [ecx + 0x1a4]
shr eax, 1
and edx, 7
or edx, eax
push edx
push 0xffffffffffffffff
push ecx
call fcn.005e8d00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1a3]
test cl, 0x10
je 0x5c7572
mov edx, dword [eax + 0x20]
test edx, edx
je 0x5c8342
test byte [edx + 0x44], 2
je 0x5c753f
mov dword [edx + 0x38], 0x102
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x20]
mov dword [edx + 0x3c], 0x1f
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x7c]
test eax, eax
je 0x5c7532
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x7c], edx
mov eax, 0x102
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx edx, byte [eax + 0x1ae]
and edx, 0x10
movzx ecx, byte [eax + 0x1a4]
push 0x1f
shr edx, 1
and ecx, 7
push 0x102
or ecx, edx
push ecx
push 0xffffffffffffffff
push eax
call fcn.005e8d00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
test byte [eax + 0x1a2], 0x40
jne 0x5c7611
cmp edi, 0xfffffffb
je 0x5c7611
test eax, eax
je 0x5c7597
movzx edx, word [eax + 0x18a]
test edx, edx
jg 0x5c7611
mov edx, dword [eax + 0x20]
test edx, edx
je 0x5c835c
test byte [edx + 0x44], 2
je 0x5c75de
mov dword [edx + 0x38], 0x101
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x20]
mov dword [edx + 0x3c], 0x1f
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x7c]
test eax, eax
je 0x5c75d1
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x7c], edx
mov eax, 0x101
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx edx, byte [eax + 0x1ae]
and edx, 0x10
movzx ecx, byte [eax + 0x1a4]
push 0x1f
shr edx, 1
and ecx, 7
push 0x101
or ecx, edx
push ecx
push 0xffffffffffffffff
push eax
call fcn.005e8d00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
test cl, 8
je 0x5c769d
test byte [eax + 0x1a0], 4
jne 0x5c769d
mov edx, dword [eax + 0x20]
test edx, edx
je 0x5c8376
test byte [edx + 0x44], 2
je 0x5c766a
mov dword [edx + 0x38], 0x103
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x20]
mov dword [edx + 0x3c], 0x1f
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x7c]
test eax, eax
je 0x5c765d
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x7c], edx
mov eax, 0x103
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx edx, byte [eax + 0x1ae]
and edx, 0x10
movzx ecx, byte [eax + 0x1a4]
push 0x1f
shr edx, 1
and ecx, 7
push 0x103
or ecx, edx
push ecx
push 0xffffffffffffffff
push eax
call fcn.005e8d00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov edi, dword [eax + 0x74]
test eax, eax
je 0x5c76af
movzx edx, word [eax + 0x18a]
test edx, edx
jg 0x5c76d9
mov dword [edi + 0x28], 0
mov eax, 0x28
xor edx, edx
mov dword [edi + eax - 4], edx
mov dword [edi + eax - 8], edx
mov dword [edi + eax - 0xc], edx
mov dword [edi + eax - 0x10], edx
mov dword [edi + eax - 0x14], edx
sub eax, 0x14
jne 0x5c76bd
mov eax, dword [ebp - 0x14]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
or byte [eax + 0x1aa], 0x10
mov ebx, dword [ebp - 0x14]
test byte [ebx + 0x1a3], 4
je 0x5c77ad
mov eax, dword [ebx + 0x94]
test eax, eax
je 0x5c8755
cmp byte [eax + 0x1f], 0
jne 0x5c7712
test byte [ebx + 0x1ac], 2
je 0x5c771b
mov dword [ebp - 0x18], 1
jmp 0x5c7722
mov dword [ebp - 0x18], 0
test byte [ebx + 0x1a5], 4
jne 0x5c85ad
mov eax, dword [ebx + 0x4c]
mov dword [ebp - 0x1c], eax
test byte [ebx + 0x1a4], 8
jne 0x5c83a4
mov eax, dword [ebx + 0xe0]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0xd0]
mov edx, dword [ebx + 0xf0]
add edx, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
add edx, eax
mov dword [ebx + 0x50], edx
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x110]
test edx, edx
je 0x5c7780
mov eax, dword [ebx + 0x50]
sub edx, eax
add edx, dword [ebx + 0x4c]
mov dword [ebx + 0xb0], edx
mov ebx, dword [ebp - 0x14]
cmp dword [ebp - 0x18], 0
jne 0x5c779e
mov eax, dword [ebx + 0x50]
mov dword [ebx + 0x64], eax
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x94]
test eax, eax
jne 0x5c77bb
jmp 0x5c8390
mov eax, dword [ebx + 0x94]
test eax, eax
jne 0x5c77bb
jmp 0x5c8390
mov eax, dword [ebx + 0x94]
test eax, eax
je 0x5c8390
cmp byte [eax + 0x1f], 0
je 0x5c7807
test ebx, ebx
je 0x5c77d4
movzx eax, word [ebx + 0x18a]
test eax, eax
jg 0x5c78bf
mov eax, dword [ebx + 0x50]
mov dword [ebx + 0x5c], eax
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x5c77f0
movzx eax, word [edx + 0x18a]
test eax, eax
jg 0x5c78bf
mov eax, dword [edx + 0x94]
test eax, eax
je 0x5c78bf
mov byte [eax + 0x1f], 0
jmp 0x5c78bf
test ebx, ebx
je 0x5c781a
movzx eax, word [ebx + 0x18a]
test eax, eax
jg 0x5c78bf
xor eax, eax
push eax
push eax
push ebx
call fcn.005f7ed0
add esp, 0xc
test eax, eax
je 0x5c7896
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x5c8769
test byte [edx + 0x44], 2
je 0x5c7868
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x7c]
test edx, edx
je 0x5c7860
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x7c], ecx
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push eax
push eax
movzx eax, byte [ecx + 0x1ae]
and eax, 0x10
movzx edx, byte [ecx + 0x1a4]
shr eax, 1
and edx, 7
or edx, eax
push edx
push 0xffffffffffffffff
push ecx
call fcn.005e8d00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x14]
add dword [eax + 0xb8], 1
adc dword [eax + 0xbc], 0
mov edx, dword [ebp - 0x14]
and byte [edx + 0x1a7], 0xfb
mov ecx, dword [ebp - 0x14]
and byte [ecx + 0x1a7], 0x7f
or byte [edi + 0x2a], 0x10
add edi, 4
push edi
push 0
push 0x802
call fcn.005c09a0
add esp, 0xc
test eax, eax
je 0x5c7941
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x5c877e
test byte [edx + 0x44], 2
je 0x5c7913
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x7c]
test edx, edx
je 0x5c790b
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x7c], ecx
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push eax
push eax
movzx eax, byte [ecx + 0x1ae]
and eax, 0x10
movzx edx, byte [ecx + 0x1a4]
shr eax, 1
and edx, 7
or edx, eax
push edx
push 0xffffffffffffffff
push ecx
call fcn.005e8d00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push dword [ebp + 0x18]
push dword [ebp - 0x10]
push esi
call fcn.005c8930
add esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
lea edx, [ebp - 0x34]
push edx
push edi
call fcn.005e1f60
add esp, 8
test eax, eax
jne 0x5c6f65
mov edi, dword [ebp - 0x34]
xor edx, edx
mov dword [edi + 0x9c], edx
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x114], edx
mov edx, dword [ebp - 0x34]
and byte [edx + 0x1ad], 0xf7
mov edi, dword [ebp - 0x34]
movzx edx, byte [ebp + 0x10]
and edx, 1
movzx ecx, byte [edi + 0x1a4]
and ecx, 0xfffffffe
or ecx, edx
mov byte [edi + 0x1a4], cl
mov edi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
shl ecx, 4
movzx edx, byte [edi + 0x1ae]
and edx, 0xffffffef
or edx, ecx
mov byte [edi + 0x1ae], dl
mov ecx, dword [ebp - 0x34]
mov edx, dword [esi]
mov dword [ecx + 0x114], edx
mov edx, dword [ebp - 0x34]
mov esi, dword [esi + 4]
mov dword [edx + 0x9c], esi
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x5c7a42
test byte [edx + 0x44], 2
je 0x5c7a14
mov dword [edx + 0x38], ebx
mov edx, dword [ebp - 0x34]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], ebx
mov esi, dword [ebp - 0x34]
mov edx, dword [esi + 0x7c]
test edx, edx
je 0x5c7a0a
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x7c], ecx
mov eax, ebx
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx eax, byte [ecx + 0x1ae]
and eax, 0x10
movzx edx, byte [ecx + 0x1a4]
push ebx
shr eax, 1
and edx, 7
push ebx
or edx, eax
push edx
push 0xffffffffffffffff
push ecx
call fcn.005e8d00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push ecx
push ebx
push ebx
push 0
call fcn.005b0150
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp byte [edx + 2], 0x53
jne 0x5c7169
push 3
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x34]
push eax
push 0x53
push dword [ecx]
push dword [ecx + 4]
mov dword [ebp - 0x30], edx
call fcn.005c59f0
mov edx, dword [ebp - 0x30]
add esp, 0x14
test eax, eax
jne 0x5c7ab1
mov ecx, dword [ebp - 0x14]
add edx, 4
movzx eax, byte [ecx + 0x19b]
mov byte [ecx + 0x19c], al
mov eax, dword [ebp - 0x14]
or byte [eax + 0x1ab], 0x20
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
mov byte [ecx + 0x19b], al
jmp 0x5c7169
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x5c7b18
test byte [edx + 0x44], 2
je 0x5c7aea
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x7c]
test edx, edx
je 0x5c7ae2
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x7c], ecx
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push eax
push eax
movzx eax, byte [ecx + 0x1ae]
and eax, 0x10
movzx edx, byte [ecx + 0x1a4]
shr eax, 1
and edx, 7
or edx, eax
push edx
push 0xffffffffffffffff
push ecx
call fcn.005e8d00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push ecx
push eax
push eax
push 1
call fcn.005b0150
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp byte [edx + 2], 0x51
jne 0x5c7160
push 3
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x34]
push eax
push 0x51
push dword [ecx]
push dword [ecx + 4]
mov dword [ebp - 0x30], edx
call fcn.005c59f0
mov edx, dword [ebp - 0x30]
add esp, 0x14
test eax, eax
jne 0x5c7b8b
mov ecx, dword [ebp - 0x14]
add edx, 4
add dword [ebp - 0x28], 8
movzx eax, byte [ecx + 0x197]
mov byte [ecx + 0x198], al
mov eax, dword [ebp - 0x14]
or byte [eax + 0x1ab], 0x10
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
mov byte [ecx + 0x197], al
jmp 0x5c7160
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x5c7bf2
test byte [edx + 0x44], 2
je 0x5c7bc4
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x7c]
test edx, edx
je 0x5c7bbc
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x7c], ecx
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push eax
push eax
movzx eax, byte [ecx + 0x1ae]
and eax, 0x10
movzx edx, byte [ecx + 0x1a4]
shr eax, 1
and edx, 7
or edx, eax
push edx
push 0xffffffffffffffff
push ecx
call fcn.005e8d00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push ecx
push eax
push eax
push 1
call fcn.005b0150
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp byte [edx + 2], 0x3c
jne 0x5c7157
test ebx, 0x80000
je 0x5c7c23
test ebx, 0x20000
jne 0x5c7c29
jmp 0x5c7c3e
test byte [ebp + 0x12], 4
jne 0x5c7c3e
push 0
push 0x2fc
mov dword [ebp - 0x30], edx
call fcn.005b16e0
mov edx, dword [ebp - 0x30]
add esp, 8
push 3
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x34]
push eax
push 0x3c
push dword [ecx]
push dword [ecx + 4]
mov dword [ebp - 0x30], edx
call fcn.005c59f0
mov edx, dword [ebp - 0x30]
add esp, 0x14
test eax, eax
jne 0x5c7cd9
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x14]
movzx ecx, byte [ebx + 0x1a6]
mov eax, ecx
shr ecx, 1
and eax, 0xfffffffb
and ecx, 1
shl ecx, 2
or eax, ecx
mov byte [ebx + 0x1a6], al
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x2c]
or byte [eax + 0x1ab], 8
mov eax, dword [ebp - 0x34]
cmp eax, 2
jne 0x5c7cc0
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x14]
movzx ecx, byte [ebp + 0x12]
shr ecx, 2
and ecx, 1
movzx eax, byte [ebx + 0x1a6]
add ecx, ecx
and eax, 0xfffffffd
or eax, ecx
mov byte [ebx + 0x1a6], al
mov ebx, dword [ebp - 0x2c]
jmp 0x5c7ccd
cmp eax, 1
mov eax, dword [ebp - 0x14]
and byte [eax + 0x1a6], 0xfd
add dword [ebp - 0x28], 8
add edx, 4
jmp 0x5c7157
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x5c7d40
test byte [edx + 0x44], 2
je 0x5c7d12
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x7c]
test edx, edx
je 0x5c7d0a
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x7c], ecx
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push eax
push eax
movzx eax, byte [ecx + 0x1ae]
and eax, 0x10
movzx edx, byte [ecx + 0x1a4]
shr eax, 1
and edx, 7
or edx, eax
push edx
push 0xffffffffffffffff
push ecx
call fcn.005e8d00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push ecx
push eax
push eax
push 1
call fcn.005b0150
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp byte [edx + 2], 0x3b
jne 0x5c714e
push 3
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x34]
push eax
push 0x3b
push dword [ecx]
push dword [ecx + 4]
mov dword [ebp - 0x30], edx
call fcn.005c59f0
mov edx, dword [ebp - 0x30]
add esp, 0x14
test eax, eax
jne 0x5c7ddb
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ecx + 0x191]
mov byte [ecx + 0x192], al
mov eax, dword [ebp - 0x14]
or byte [eax + 0x1ab], 4
mov eax, dword [ebp - 0x34]
cmp eax, 2
je 0x5c7dc5
cmp eax, 1
jne 0x5c7db4
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x191], 0x27
jmp 0x5c7dcf
cmp eax, 3
jne 0x5c7dc5
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x191], 0x22
jmp 0x5c7dcf
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x191], 0
add dword [ebp - 0x28], 8
add edx, 4
jmp 0x5c714e
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x5c7e42
test byte [edx + 0x44], 2
je 0x5c7e14
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x7c]
test edx, edx
je 0x5c7e0c
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x7c], ecx
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push eax
push eax
movzx eax, byte [ecx + 0x1ae]
and eax, 0x10
movzx edx, byte [ecx + 0x1a4]
shr eax, 1
and edx, 7
or edx, eax
push edx
push 0xffffffffffffffff
push ecx
call fcn.005e8d00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push ecx
push eax
push eax
push 1
call fcn.005b0150
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp byte [edx + 2], 0x52
jne 0x5c7145
push 3
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x34]
push eax
push 0x52
push dword [ecx]
push dword [ecx + 4]
mov dword [ebp - 0x30], edx
call fcn.005c59f0
mov edx, dword [ebp - 0x30]
add esp, 0x14
test eax, eax
jne 0x5c7eb5
mov ecx, dword [ebp - 0x14]
add edx, 4
add dword [ebp - 0x28], 8
movzx eax, byte [ecx + 0x199]
mov byte [ecx + 0x19a], al
mov eax, dword [ebp - 0x14]
or byte [eax + 0x1ab], 2
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
mov byte [ecx + 0x199], al
jmp 0x5c7145
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x5c7f1c
test byte [edx + 0x44], 2
je 0x5c7eee
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x7c]
test edx, edx
je 0x5c7ee6
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x7c], ecx
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push eax
push eax
movzx eax, byte [ecx + 0x1ae]
and eax, 0x10
movzx edx, byte [ecx + 0x1a4]
shr eax, 1
and edx, 7
or edx, eax
push edx
push 0xffffffffffffffff
push ecx
call fcn.005e8d00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push ecx
push eax
push eax
push 1
call fcn.005b0150
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp byte [edx + 2], 6
jne 0x5c713c
push 3
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x34]
push eax
push 6
push dword [ecx]
push dword [ecx + 4]
mov dword [ebp - 0x30], edx
call fcn.005c59f0
mov edx, dword [ebp - 0x30]
add esp, 0x14
test eax, eax
jne 0x5c7fbc
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x14]
movzx ecx, byte [ebx + 0x1a3]
mov eax, ecx
shr ecx, 5
and eax, 0xffffffbf
and ecx, 1
shl ecx, 6
or eax, ecx
mov byte [ebx + 0x1a3], al
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x2c]
or byte [eax + 0x1ab], 1
mov eax, dword [ebp - 0x34]
cmp eax, 1
je 0x5c7fa6
cmp eax, 2
jne 0x5c7fa6
mov eax, dword [ebp - 0x14]
or byte [eax + 0x1a3], 0x20
jmp 0x5c7fb0
mov eax, dword [ebp - 0x14]
and byte [eax + 0x1a3], 0xdf
add dword [ebp - 0x28], 8
add edx, 4
jmp 0x5c713c
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x5c8023
test byte [edx + 0x44], 2
je 0x5c7ff5
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x7c]
test edx, edx
je 0x5c7fed
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x7c], ecx
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push eax
push eax
movzx eax, byte [ecx + 0x1ae]
and eax, 0x10
movzx edx, byte [ecx + 0x1a4]
shr eax, 1
and edx, 7
or edx, eax
push edx
push 0xffffffffffffffff
push ecx
call fcn.005e8d00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push ecx
push eax
push eax
push 1
call fcn.005b0150
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp byte [edx + 2], 0x4f
jne 0x5c7133
mov eax, dword [ebp - 0x14]
test byte [eax + 0x1a3], 4
jne 0x5c8149
test byte [eax + 0x1a1], 0x20
jne 0x5c80d2
mov edx, dword [eax + 0x20]
test edx, edx
je 0x5c8216
test byte [edx + 0x44], 2
je 0x5c809f
mov eax, 0x6d
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x5c8092
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x7c], edx
mov eax, 0x6d
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx ecx, byte [eax + 0x1ae]
mov edx, 0x6d
and ecx, 0x10
movzx ebx, byte [eax + 0x1a4]
push edx
shr ecx, 1
and ebx, 7
push edx
or ebx, ecx
push ebx
push 0xffffffffffffffff
push eax
call fcn.005e8d00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov edx, dword [eax + 0x20]
test edx, edx
je 0x5c8230
test byte [edx + 0x44], 2
je 0x5c8119
mov dword [edx + 0x38], 0x6e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x20]
mov dword [edx + 0x3c], 0x1f
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x7c]
test eax, eax
je 0x5c810c
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x7c], edx
mov eax, 0x6e
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx edx, byte [eax + 0x1ae]
and edx, 0x10
movzx ecx, byte [eax + 0x1a4]
push 0x1f
shr edx, 1
and ecx, 7
push 0x6e
or ecx, edx
push ecx
push 0xffffffffffffffff
push eax
call fcn.005e8d00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
test eax, eax
je 0x5c8158
movzx ecx, word [eax + 0x18a]
test ecx, ecx
jg 0x5c819f
mov dword [ebp - 0x30], edx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], ebx
mov ecx, dword [edx]
add ecx, 0xffffffff
mov ebx, dword [edx + 4]
adc ebx, 0xffffffff
add edx, 8
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xd4], ebx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], edx
xor edx, edx
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xd4]
sub ecx, edx
mov edx, dword [ebp - 0x30]
jl 0x5c8247
add edx, 4
jmp 0x5c7133
mov edx, dword [eax + 0x20]
test edx, edx
je 0x5c82d4
test byte [edx + 0x44], 2
je 0x5c81e3
mov eax, 0x10f
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x5c81d6
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x7c], edx
mov eax, 0x10f
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx ecx, byte [eax + 0x1ae]
mov edx, 0x10f
and ecx, 0x10
movzx ebx, byte [eax + 0x1a4]
push edx
shr ecx, 1
and ebx, 7
push edx
or ebx, ecx
push ebx
push 0xffffffffffffffff
push eax
call fcn.005e8d00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push eax
mov eax, 0x6d
push eax
push eax
push 1
call fcn.005b0150
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push eax
push 0x1f
push 0x6e
push 1
call fcn.005b0150
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov edx, dword [eax + 0x20]
test edx, edx
je 0x5c82ba
test byte [edx + 0x44], 2
je 0x5c8287
mov eax, 0x6f
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x5c827a
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x7c], edx
mov eax, 0x6f
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx ecx, byte [eax + 0x1ae]
mov edx, 0x6f
and ecx, 0x10
movzx ebx, byte [eax + 0x1a4]
push edx
shr ecx, 1
and ebx, 7
push edx
or ebx, ecx
push ebx
push 0xffffffffffffffff
push eax
call fcn.005e8d00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push eax
mov eax, 0x6f
push eax
push eax
push 1
call fcn.005b0150
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push eax
mov eax, 0x10f
push eax
push eax
push 1
call fcn.005b0150
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp byte [edx + 2], 0x4e
jne 0x5c712a
add edx, 4
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x14]
mov ecx, dword [eax]
mov dword [ebx + 0x114], ecx
mov ebx, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
add eax, 8
mov dword [ebp - 0x28], eax
mov dword [ebx + 0x9c], ecx
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x2c]
and byte [ecx + 0x1ad], 0xf7
jmp 0x5c712a
push ecx
push eax
push eax
push 2
call fcn.005b0150
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push eax
push 0x1f
push 0x102
push 1
call fcn.005b0150
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push eax
push 0x1f
push 0x101
push 1
call fcn.005b0150
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push eax
push 0x1f
push 0x103
push 1
call fcn.005b0150
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx eax, word [ebx + 0x18a]
test eax, eax
jle 0x5c780b
jmp 0x5c78bf
cmp eax, dword [ebx + 0x68]
je 0x5c8402
mov dword [ebp - 0x28], ebx
mov ecx, dword [ebx + 0xe0]
mov edx, dword [ebx + 0xe4]
mov eax, dword [ebx + 0xd0]
mov ebx, dword [ebx + 0xd4]
mov dword [ebp - 0x30], ebx
mov ebx, eax
sub ebx, ecx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x28]
sbb ecx, edx
mov dword [ebp - 0x2c], edx
jl 0x5c8402
mov dword [ebp - 0x28], ebx
mov ecx, eax
mov edx, dword [ebx + 0xe8]
add edx, dword [ebp - 0x20]
mov ebx, dword [ebx + 0xec]
adc ebx, dword [ebp - 0x2c]
sub ecx, edx
mov edx, dword [ebp - 0x30]
sbb edx, ebx
mov ebx, dword [ebp - 0x28]
jl 0x5c7751
push 0
mov edx, dword [ebx + 0xd0]
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebx + 0xd4]
push edx
push dword [ebx + 0x104]
mov dword [ebp - 0x30], edx
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, eax
mov dword [ebp - 0x30], ecx
cmp ecx, 0xffffffff
je 0x5c8588
mov edx, dword [ebp - 0x2c]
mov eax, 0xffffffff
sub ecx, eax
sub edx, eax
or ecx, edx
je 0x5c84e9
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebx + 0xd0]
mov ecx, dword [ebx + 0xd4]
mov dword [ebx + 0xd8], edx
mov dword [ebx + 0xdc], ecx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0xd0]
mov edx, dword [ecx + 0xd4]
mov dword [ecx + 0xe0], eax
xor eax, eax
mov dword [ecx + 0xe4], edx
mov ebx, dword [ebp - 0x14]
mov dword [ebx + 0xf0], eax
mov dword [ebx + 0xf4], eax
mov edx, dword [ebp - 0x14]
mov dword [edx + 0xe8], eax
mov dword [edx + 0xec], eax
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebx + 0xe8]
mov dword [ebx + 0x110], ecx
mov edx, dword [ebp - 0x14]
and byte [edx + 0x1a5], 0xfd
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xb0], eax
mov ebx, dword [ebp - 0x14]
mov dword [ebx + 0x64], eax
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x94]
test eax, eax
je 0x5c8390
mov byte [eax + 0x1f], 0
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x94]
jmp 0x5c77a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x108], eax
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x5c856e
test byte [eax + 0x44], 2
je 0x5c853b
mov edx, 0x27
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x20]
mov dword [ecx + 0x3c], edx
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x5c852e
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x7c], edx
mov eax, 0x27
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx edx, byte [ebx + 0x1ae]
mov eax, 0x27
and edx, 0x10
movzx ecx, byte [ebx + 0x1a4]
push eax
shr edx, 1
and ecx, 7
push eax
or ecx, edx
push ecx
push 0xffffffffffffffff
push ebx
call fcn.005e8d00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push ebx
mov eax, 0x27
push eax
push eax
push 1
call fcn.005b0150
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x5c85a2
mov eax, 0xffffffff
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
jmp 0x5c84e9
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
jmp 0x5c8437
mov eax, dword [ebx + 0x168]
test eax, eax
mov edx, dword [ebx + 0x4c]
jne 0x5c85bf
mov eax, 0x20000
mov ecx, dword [ebx + 0x54]
sub ecx, edx
mov dword [ebp - 0x28], ecx
cmp ecx, eax
ja 0x5c85f4
push 0
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x28]
push edx
push dword [ebx + 0x104]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov eax, 0xffffffff
je 0x5c85ef
mov eax, 1
mov dword [ebp - 0x30], eax
jmp 0x5c865f
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edi
mov edi, edx
mov dword [ebp - 0x20], esi
mov esi, eax
push 0
lea ecx, [ebp - 0x24]
push ecx
push esi
push edi
push dword [ebx + 0x104]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x5c8628
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x30], 0xffffffff
jmp 0x5c865f
mov ecx, dword [ebx + 0x168]
test ecx, ecx
mov edx, dword [ebp - 0x24]
jne 0x5c863a
mov ecx, 0x20000
mov eax, dword [ebp - 0x30]
add edi, edx
sub eax, edx
cmp eax, ecx
mov dword [ebp - 0x30], eax
jae 0x5c864a
mov esi, eax
test eax, eax
je 0x5c8652
test edx, edx
ja 0x5c8601
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x30], 1
mov eax, dword [ebp - 0x28]
xor edx, edx
mov dword [ebx + 0xc8], edx
mov dword [ebx + 0xcc], edx
cdq
add eax, dword [ebx + 0xe0]
mov ecx, dword [ebx + 0x4c]
mov dword [ebx + 0x54], ecx
adc edx, dword [ebx + 0xe4]
add ecx, dword [ebx + 0x118]
and byte [ebx + 0x1a5], 0xfb
mov dword [ebx + 0x58], ecx
mov dword [ebx + 0xe0], eax
mov dword [ebx + 0xe4], edx
mov dword [ebx + 0xd8], eax
mov dword [ebx + 0xdc], edx
cmp dword [ebp - 0x30], 0xffffffff
je 0x5c86b9
mov ebx, dword [ebp - 0x14]
jmp 0x5c772f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x108], eax
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x5c873b
test byte [eax + 0x44], 2
je 0x5c8708
mov edx, 0x26
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x20]
mov dword [ecx + 0x3c], edx
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x5c86fb
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x7c], edx
mov eax, 0x26
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx edx, byte [ebx + 0x1ae]
mov eax, 0x26
and edx, 0x10
movzx ecx, byte [ebx + 0x1a4]
push eax
shr edx, 1
and ecx, 7
push eax
or ecx, edx
push ecx
push 0xffffffffffffffff
push ebx
call fcn.005e8d00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push ebx
mov eax, 0x26
push eax
push eax
push 1
call fcn.005b0150
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx eax, word [ebx + 0x18a]
test eax, eax
jle 0x5c7709
jmp 0x5c7712
push ecx
push eax
push eax
push 1
call fcn.005b0150
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push ecx
push eax
push eax
push 1
call fcn.005b0150
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push 2
push esi
lea eax, [ebp - 0x14]
push eax
push 0xfffffffffffffffa
call fcn.005e0a20
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x5c6f81
movzx ecx, byte [ebp + 0x13]
lea edx, [ebp + 0x1c]
and ecx, 0x80
mov dword [ebp - 0x2c], edx
shr ecx, 7
mov dword [ebp - 0x34], ecx
je 0x5c87d7
lea edx, [ebp + 0x1f]
and edx, 0xfffffffc
add edx, 4
mov dword [ebp - 0x2c], edx
mov eax, dword [edx - 4]
jmp 0x5c87d9
xor eax, eax
mov edx, eax
shr edx, 0xf
movzx ecx, byte [ebp + 0x10]
and edx, 1
and ecx, 1
mov dword [ebp - 0x30], edx
or ecx, edx
je 0x5c8822
cmp dword [ebp - 0x34], 0
je 0x5c8817
test al, 0x10
je 0x5c8817
mov edx, dword [ebp - 0x2c]
add edx, 3
and edx, 0xfffffffc
mov ecx, dword [edx]
add edx, 7
and edx, 0xfffffffc
cmp byte [ecx], 0x38
mov esi, dword [edx]
jne 0x5c8817
cmp byte [ecx + 2], 0x4e
je 0x5c8836
movzx eax, bx
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push str.unknown
push 0xfffffffffffffffb
push 2
push ebx
call fcn.005b16e0
jmp 0x5c6f7e
lea edx, [ebp - 0x34]
push edx
push 0xfffffffffffffffb
call fcn.005e1f60
add esp, 8
test eax, eax
jne 0x5c8817
mov edx, dword [ebp - 0x34]
xor edi, edi
mov dword [edx + 0x9c], edi
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x114], edi
mov edx, dword [ebp - 0x34]
and byte [edx + 0x1ad], 0xf7
mov eax, dword [ebp - 0x34]
movzx edx, byte [ebp + 0x10]
and edx, 1
movzx ecx, byte [eax + 0x1a4]
and ecx, 0xfffffffe
or ecx, edx
mov byte [eax + 0x1a4], cl
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
shl ecx, 4
movzx edx, byte [eax + 0x1ae]
and edx, 0xffffffef
or edx, ecx
mov byte [eax + 0x1ae], dl
mov ecx, dword [ebp - 0x34]
mov edx, dword [esi]
mov dword [ecx + 0x114], edx
mov edx, dword [ebp - 0x34]
mov esi, dword [esi + 4]
mov dword [edx + 0x9c], esi
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x5c891b
test byte [edx + 0x44], 2
je 0x5c88ed
mov dword [edx + 0x38], ebx
mov edx, dword [ebp - 0x34]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], ebx
mov esi, dword [ebp - 0x34]
mov edx, dword [esi + 0x7c]
test edx, edx
je 0x5c88e3
mov dword [edx + 4], edi
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x7c], edi
mov eax, ebx
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx eax, byte [ecx + 0x1ae]
and eax, 0x10
movzx edx, byte [ecx + 0x1a4]
push ebx
shr eax, 1
and edx, 7
push ebx
or edx, eax
push edx
push 0xffffffffffffffff
push ecx
call fcn.005e8d00
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push ecx
push ebx
push ebx
push 0
call fcn.005b0150
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret