Function at 0x5f7f40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
sub esp, 0x2c
lea edx, [ebp - 0x18]
push 4
mov eax, dword [ebp + 8]
push eax
push edx
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
call fcn.00611150
mov edi, eax
add esp, 0x10
test edi, edi
je 0x5f7ff2
movzx ecx, byte [ebp + 0x13]
lea edx, [ebp + 0x1c]
and ecx, 0x80
shr ecx, 7
mov dword [ebp - 0x28], ecx
je 0x5f7f95
lea edx, [ebp + 0x1f]
and edx, 0xfffffffc
add edx, 4
mov eax, dword [edx - 4]
jmp 0x5f7f97
xor eax, eax
mov ecx, eax
shr ecx, 0xf
movzx esi, byte [ebp + 0x10]
and ecx, 1
and esi, 1
mov dword [ebp - 0x24], ecx
or esi, ecx
je 0x5f7fe1
cmp dword [ebp - 0x28], 0
je 0x5f7fd6
test al, 0x10
je 0x5f7fd6
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 0x5f7fd6
cmp byte [ecx + 2], 0x4e
je 0x5f87f7
movzx eax, di
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push str.unknown
push ebx
push 2
push edi
call fcn.0060b140
add esp, 0x10
mov ecx, dword [ebp - 0x18]
movzx esi, byte [ebp + 0x10]
mov eax, esi
and eax, 1
and esi, 2
movzx edx, byte [ecx + 0x1a4]
and edx, 0xfffffffe
or edx, eax
mov byte [ecx + 0x1a4], dl
mov edi, dword [ebp - 0x18]
movzx ebx, byte [ebp + 0x12]
shr ebx, 5
and ebx, 1
movzx eax, byte [edi + 0x1a4]
shl ebx, 2
and eax, 0xfffffffb
or eax, ebx
mov byte [edi + 0x1a4], al
mov ecx, dword [ebp - 0x18]
movzx edi, byte [ebp + 0x13]
movzx edx, byte [ecx + 0x1a4]
and edx, 0xfffffffd
or edx, esi
mov esi, edi
mov byte [ecx + 0x1a4], dl
xor ecx, ecx
mov ebx, dword [ebp - 0x18]
shr esi, 1
and esi, 1
movzx eax, byte [ebx + 0x1a7]
shl esi, 3
and eax, 0xfffffff7
or eax, esi
mov byte [ebx + 0x1a7], al
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x150], ecx
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x9c], ecx
mov ebx, dword [ebp - 0x18]
mov dword [ebx + 0x114], ecx
mov esi, dword [ebp - 0x18]
and byte [esi + 0x1ad], 0xf7
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0xd8]
mov edx, dword [ecx + 0xdc]
mov dword [ecx + 0xd0], eax
mov dword [ecx + 0xd4], edx
mov esi, dword [ebp - 0x18]
test edi, 0x80
je 0x5f8222
lea eax, [ebp + 0x1f]
and eax, 0xfffffffc
lea edx, [eax + 4]
mov ebx, dword [edx - 4]
test esi, esi
je 0x5f8224
test bl, 0x20
je 0x5f80e1
or byte [esi + 0x1ab], 0x40
mov esi, dword [ebp - 0x18]
and byte [esi + 0x1ad], 0xbf
test ebx, 0x2000
je 0x5f80fa
mov edx, dword [ebp - 0x18]
or byte [edx + 0x1ad], 0x40
mov edx, dword [ebp - 0x18]
and byte [edx + 0x1ad], 0x7f
test ebx, 0x4000
je 0x5f8116
mov edx, dword [ebp - 0x18]
or byte [edx + 0x1ad], 0x80
mov edx, dword [ebp - 0x18]
and byte [edx + 0x1ae], 0xef
test ebx, 0x8000
je 0x5f8132
mov edx, dword [ebp - 0x18]
or byte [edx + 0x1ae], 0x10
mov edx, dword [ebp - 0x18]
and byte [edx + 0x1ae], 0xdf
test ebx, 0x10000
je 0x5f814e
mov edx, dword [ebp - 0x18]
or byte [edx + 0x1ae], 0x20
mov edx, dword [ebp - 0x18]
and byte [edx + 0x1ae], 0xbf
test ebx, 0x20000
je 0x5f816a
mov edx, dword [ebp - 0x18]
or byte [edx + 0x1ae], 0x40
mov edx, dword [ebp - 0x18]
and byte [edx + 0x1ae], 0x7f
test ebx, 0x40000
je 0x5f8186
mov edx, dword [ebp - 0x18]
or byte [edx + 0x1ae], 0x80
mov edx, dword [ebp - 0x18]
and byte [edx + 0x1af], 0xfe
test ebx, 0x80000
je 0x5f81a2
mov edx, dword [ebp - 0x18]
or byte [edx + 0x1af], 1
test bl, 0x10
je 0x5f821d
add eax, 7
and eax, 0xfffffffc
mov esi, dword [eax]
add eax, 7
and eax, 0xfffffffc
cmp byte [esi], 0x38
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
je 0x5f9131
cmp byte [esi], 0xb
je 0x5f8e87
cmp byte [esi], 0x38
je 0x5f8d8c
cmp byte [esi], 0x38
je 0x5f8cb8
cmp byte [esi], 0x38
je 0x5f8bbc
cmp byte [esi], 0x38
je 0x5f8a86
cmp byte [esi], 0x38
je 0x5f89b2
cmp byte [esi], 0x38
je 0x5f88e2
cmp byte [esi], 1
je 0x5f821d
push 0x243
push str.for_wseq.c
push 2
push 8
call fcn.0060b140
add esp, 0x10
mov esi, dword [ebp - 0x18]
jmp 0x5f8224
xor ebx, ebx
test byte [esi + 0x1a1], 0x20
je 0x5f9454
test byte [esi + 0x1a1], 0x40
je 0x5f82b1
mov eax, dword [esi + 0x20]
test eax, eax
je 0x5f916a
test byte [eax + 0x44], 2
je 0x5f827e
mov edx, 0x2f
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x20]
mov dword [ecx + 0x3c], edx
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x5f8271
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x7c], edx
mov eax, 0x2f
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx edx, byte [esi + 0x1ae]
mov eax, 0x2f
and edx, 0x10
movzx ecx, byte [esi + 0x1a4]
push eax
shr edx, 1
and ecx, 7
push eax
or ecx, edx
push ecx
push 0xffffffffffffffff
push esi
call fcn.0061aa20
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
test byte [esi + 0x1a2], 0x40
je 0x5f8334
mov eax, dword [esi + 0x20]
test eax, eax
je 0x5f9184
test byte [eax + 0x44], 2
je 0x5f8301
mov dword [eax + 0x38], 0x100
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x20]
mov dword [edx + 0x3c], 0x1f
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x7c]
test eax, eax
je 0x5f82f4
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x7c], edx
mov eax, 0x100
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx eax, byte [esi + 0x1ae]
and eax, 0x10
movzx edx, byte [esi + 0x1a4]
push 0x1f
shr eax, 1
and edx, 7
push 0x100
or edx, eax
push edx
push 0xffffffffffffffff
push esi
call fcn.0061aa20
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx edx, byte [esi + 0x1a3]
test dl, 8
je 0x5f83da
test byte [esi + 0x1a0], 4
jne 0x5f83da
test esi, esi
je 0x5f8360
movzx eax, word [esi + 0x18a]
test eax, eax
jg 0x5f83da
mov eax, dword [esi + 0x20]
test eax, eax
je 0x5f919e
test byte [eax + 0x44], 2
je 0x5f83a7
mov dword [eax + 0x38], 0x103
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x20]
mov dword [edx + 0x3c], 0x1f
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x7c]
test eax, eax
je 0x5f839a
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x7c], edx
mov eax, 0x103
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx eax, byte [esi + 0x1ae]
and eax, 0x10
movzx edx, byte [esi + 0x1a4]
push 0x1f
shr eax, 1
and edx, 7
push 0x103
or edx, eax
push edx
push 0xffffffffffffffff
push esi
call fcn.0061aa20
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx eax, byte [esi + 0x1ab]
test al, 2
jne 0x5f83f1
test al, 4
jne 0x5f83f1
test al, 0x10
jne 0x5f83f1
test al, 0x20
je 0x5f8468
mov eax, dword [esi + 0x20]
test eax, eax
je 0x5f91b8
test byte [eax + 0x44], 2
je 0x5f8435
mov edx, 0x72
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x20]
mov dword [ecx + 0x3c], edx
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x5f8428
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x7c], edx
mov eax, 0x72
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx edx, byte [esi + 0x1ae]
mov eax, 0x72
and edx, 0x10
movzx ecx, byte [esi + 0x1a4]
push eax
shr edx, 1
and ecx, 7
push eax
or ecx, edx
push ecx
push 0xffffffffffffffff
push esi
call fcn.0061aa20
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
test dl, 4
je 0x5f8576
mov edx, dword [esi + 0xd0]
mov eax, dword [esi + 0xd4]
sub edx, dword [esi + 0xd8]
sub eax, dword [esi + 0xdc]
or edx, eax
je 0x5f8540
test byte [esi + 0x1a5], 4
jne 0x5f9271
mov eax, dword [esi + 0xd0]
mov edx, dword [esi + 0xd4]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
xor edx, edx
mov eax, dword [esi + 0x104]
call fcn.005fd900
mov ecx, eax
mov eax, 0xffffffff
sub ecx, eax
sub edx, eax
or ecx, edx
je 0x5f91d2
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0xd0]
mov edx, dword [ecx + 0xd4]
mov dword [ecx + 0xe0], eax
mov dword [ecx + 0xe4], edx
mov edi, dword [ebp - 0x18]
mov ebx, dword [edi + 0xd0]
mov esi, dword [edi + 0xd4]
mov dword [edi + 0xd8], ebx
mov dword [edi + 0xdc], esi
xor esi, esi
mov eax, dword [ebp - 0x18]
mov dword [eax + 0xe8], esi
mov dword [eax + 0xec], esi
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xe8]
mov dword [ecx + 0x110], edx
mov ebx, dword [ebp - 0x18]
and byte [ebx + 0x1a5], 0xfd
mov edi, dword [ebp - 0x18]
mov dword [edi + 0xb0], esi
mov esi, dword [ebp - 0x18]
jmp 0x5f8572
mov edx, dword [esi + 0xe8]
mov eax, edx
mov ecx, dword [esi + 0xec]
or eax, ecx
je 0x5f8576
add dword [esi + 0xe0], edx
adc dword [esi + 0xe4], ecx
xor eax, eax
mov edx, dword [ebp - 0x18]
mov dword [edx + 0xe8], eax
mov dword [edx + 0xec], eax
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x5f8585
movzx eax, word [esi + 0x18a]
test eax, eax
jg 0x5f8759
push 0
push esi
call fcn.006230f0
add esp, 8
test eax, eax
je 0x5f8602
mov eax, dword [esi + 0x20]
test eax, eax
je 0x5f941f
test byte [eax + 0x44], 2
je 0x5f85cf
mov edx, 0x26
mov dword [eax + 0x38], edx
mov eax, dword [esi + 0x20]
mov dword [eax + 0x3c], edx
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x5f85c2
xor edx, edx
mov dword [eax + 4], edx
mov dword [esi + 0x7c], edx
mov eax, 0x26
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx edx, byte [esi + 0x1ae]
mov eax, 0x26
and edx, 0x10
movzx ecx, byte [esi + 0x1a4]
push eax
shr edx, 1
and ecx, 7
push eax
or ecx, edx
push ecx
push 0xffffffffffffffff
push esi
call fcn.0061aa20
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movsx eax, byte [esi + 0x18c]
dec eax
cmp eax, 7
ja 0x5f86b4
movzx eax, byte [eax + 0x742ba4]
add eax, 0x5f8621
jmp eax
push 0x2a6
push str.for_wseq.c
push 2
push 8
call fcn.0060b140
add esp, 0x10
mov eax, dword [ebp - 0x18]
and byte [eax + 0x1a7], 0xfe
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x104]
call fcn.005fd8b0
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x138], eax
mov dword [ecx + 0x13c], edx
mov esi, dword [ebp - 0x18]
test byte [esi + 0x1ac], 4
je 0x5f8742
mov eax, dword [esi + 0xd8]
mov edi, eax
mov ecx, dword [esi + 0x138]
sub edi, ecx
mov ebx, dword [esi + 0xdc]
mov dword [ebp - 0x24], edi
mov edi, ebx
mov edx, dword [esi + 0x13c]
sbb edi, edx
mov dword [ebp - 0x28], edi
jb 0x5f8731
mov edi, dword [ebp - 0x24]
or edi, dword [ebp - 0x28]
je 0x5f8731
mov edx, ebx
jmp 0x5f8733
mov eax, ecx
mov dword [esi + 0x138], eax
mov dword [esi + 0x13c], edx
mov esi, dword [ebp - 0x18]
mov dword [esi + 0x140], 0
mov eax, dword [ebp - 0x18]
and byte [eax + 0x1a7], 0xfd
mov esi, dword [ebp - 0x18]
and byte [esi + 0x1a7], 0xbf
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x98], 0
mov edx, dword [ebp - 0x18]
or byte [edx + 0x1a7], 0x20
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x164], 7
jne 0x5f87aa
test byte [edx + 0x1a8], 0x40
je 0x5f87aa
test edx, edx
je 0x5f879b
movzx eax, word [edx + 0x18a]
test eax, eax
jg 0x5f87aa
mov eax, dword [edx + 0x50]
mov byte [eax], 0x4b
mov edx, dword [ebp - 0x18]
inc dword [edx + 0x50]
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x164], 7
jne 0x5f87bd
or byte [edx + 0x1a9], 0x10
mov edx, dword [ebp - 0x18]
push dword [ebp + 0x18]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
mov dword [edx + 0x170], 0xffffffff
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x178], 0
mov edx, dword [ebp - 0x18]
and byte [edx + 0x1aa], 0xdf
call fcn.005f97e0
add esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
lea edx, [ebp - 0x28]
push edx
push ebx
call fcn.00612690
add esp, 8
test eax, eax
jne 0x5f7fd6
mov ebx, dword [ebp - 0x28]
movzx edx, byte [ebp + 0x10]
and edx, 1
and byte [ebx + 0x1ad], 0xf7
mov ebx, dword [ebp - 0x28]
movzx ecx, byte [ebx + 0x1a4]
and ecx, 0xfffffffe
or ecx, edx
mov byte [ebx + 0x1a4], cl
mov ebx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
shl ecx, 4
movzx edx, byte [ebx + 0x1ae]
and edx, 0xffffffef
or edx, ecx
mov byte [ebx + 0x1ae], dl
mov ecx, dword [ebp - 0x28]
mov edx, dword [esi]
mov dword [ecx + 0x114], edx
mov edx, dword [ebp - 0x28]
mov esi, dword [esi + 4]
mov dword [edx + 0x9c], esi
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x5f88cd
test byte [edx + 0x44], 2
je 0x5f889f
mov dword [edx + 0x38], edi
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], edi
mov ebx, dword [ebp - 0x28]
mov edx, dword [ebx + 0x7c]
test edx, edx
je 0x5f8895
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x7c], ecx
mov eax, edi
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 edi
shr eax, 1
and edx, 7
push edi
or edx, eax
push edx
push 0xffffffffffffffff
push ecx
call fcn.0061aa20
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push ecx
push edi
push edi
push 0
call fcn.00609b70
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp byte [esi + 2], 0x53
jne 0x5f8202
push 3
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
push eax
push 0x53
push dword [edx]
push dword [edx + 4]
call fcn.005e9520
add esp, 0x14
test eax, eax
jne 0x5f8936
mov edi, dword [ebp - 0x18]
add esi, 4
movzx eax, byte [edi + 0x19b]
mov byte [edi + 0x19c], al
mov edx, dword [ebp - 0x18]
or byte [edx + 0x1ab], 0x20
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov byte [eax + 0x19b], cl
jmp 0x5f8202
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x5f899d
test byte [edx + 0x44], 2
je 0x5f896f
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebx + 0x7c]
test edx, edx
je 0x5f8967
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x18]
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.0061aa20
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.00609b70
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp byte [esi + 2], 0x51
jne 0x5f81f9
push 3
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
push eax
push 0x51
push dword [edx]
push dword [edx + 4]
call fcn.005e9520
add esp, 0x14
test eax, eax
jne 0x5f8a0a
mov edi, dword [ebp - 0x18]
add esi, 4
add dword [ebp - 0x28], 8
movzx eax, byte [edi + 0x197]
mov byte [edi + 0x198], al
mov edx, dword [ebp - 0x18]
or byte [edx + 0x1ab], 0x10
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov byte [eax + 0x197], cl
jmp 0x5f81f9
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x5f8a71
test byte [edx + 0x44], 2
je 0x5f8a43
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebx + 0x7c]
test edx, edx
je 0x5f8a3b
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x18]
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.0061aa20
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.00609b70
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp byte [esi + 2], 0x3c
jne 0x5f81f0
test ebx, 0x80000
je 0x5f8aa2
test ebx, 0x20000
jne 0x5f8aa8
jmp 0x5f8ab7
test byte [ebp + 0x12], 4
jne 0x5f8ab7
push 0
push 0x2fc
call fcn.0060b140
add esp, 8
push 3
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
push eax
push 0x3c
push dword [edx]
push dword [edx + 4]
call fcn.005e9520
add esp, 0x14
test eax, eax
jne 0x5f8b40
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + 0x1a6]
mov eax, edx
shr edx, 1
and eax, 0xfffffffb
and edx, 1
shl edx, 2
or eax, edx
mov byte [ecx + 0x1a6], al
mov edi, dword [ebp - 0x18]
or byte [edi + 0x1ab], 8
mov eax, dword [ebp - 0x1c]
cmp eax, 2
jne 0x5f8b27
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ebp + 0x12]
shr edx, 2
and edx, 1
movzx eax, byte [ecx + 0x1a6]
add edx, edx
and eax, 0xfffffffd
or eax, edx
mov byte [ecx + 0x1a6], al
jmp 0x5f8b34
cmp eax, 1
mov eax, dword [ebp - 0x18]
and byte [eax + 0x1a6], 0xfd
add dword [ebp - 0x28], 8
add esi, 4
jmp 0x5f81f0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x5f8ba7
test byte [edx + 0x44], 2
je 0x5f8b79
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebx + 0x7c]
test edx, edx
je 0x5f8b71
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x18]
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.0061aa20
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.00609b70
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp byte [esi + 2], 0x3b
jne 0x5f81e7
push 3
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
push eax
push 0x3b
push dword [edx]
push dword [edx + 4]
call fcn.005e9520
add esp, 0x14
test eax, eax
jne 0x5f8c3c
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx + 0x191]
mov byte [edx + 0x192], al
mov ecx, dword [ebp - 0x18]
or byte [ecx + 0x1ab], 4
mov eax, dword [ebp - 0x1c]
cmp eax, 2
je 0x5f8c26
cmp eax, 1
jne 0x5f8c15
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x191], 0x27
jmp 0x5f8c30
cmp eax, 3
jne 0x5f8c26
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x191], 0x22
jmp 0x5f8c30
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x191], 0
add dword [ebp - 0x28], 8
add esi, 4
jmp 0x5f81e7
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x5f8ca3
test byte [edx + 0x44], 2
je 0x5f8c75
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebx + 0x7c]
test edx, edx
je 0x5f8c6d
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x18]
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.0061aa20
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.00609b70
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp byte [esi + 2], 0x52
jne 0x5f81de
push 3
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
push eax
push 0x52
push dword [edx]
push dword [edx + 4]
call fcn.005e9520
add esp, 0x14
test eax, eax
jne 0x5f8d10
mov edi, dword [ebp - 0x18]
add esi, 4
add dword [ebp - 0x28], 8
movzx eax, byte [edi + 0x199]
mov byte [edi + 0x19a], al
mov edx, dword [ebp - 0x18]
or byte [edx + 0x1ab], 2
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov byte [eax + 0x199], cl
jmp 0x5f81de
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x5f8d77
test byte [edx + 0x44], 2
je 0x5f8d49
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebx + 0x7c]
test edx, edx
je 0x5f8d41
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x18]
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.0061aa20
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.00609b70
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp byte [esi + 2], 6
jne 0x5f81d5
push 3
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
push eax
push 6
push dword [edx]
push dword [edx + 4]
call fcn.005e9520
add esp, 0x14
test eax, eax
jne 0x5f8e0b
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + 0x1a3]
mov eax, edx
shr edx, 5
and eax, 0xffffffbf
and edx, 1
shl edx, 6
or eax, edx
mov byte [ecx + 0x1a3], al
mov edi, dword [ebp - 0x18]
or byte [edi + 0x1ab], 1
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x5f8df5
cmp eax, 2
jne 0x5f8df5
mov eax, dword [ebp - 0x18]
or byte [eax + 0x1a3], 0x20
jmp 0x5f8dff
mov eax, dword [ebp - 0x18]
and byte [eax + 0x1a3], 0xdf
add dword [ebp - 0x28], 8
add esi, 4
jmp 0x5f81d5
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x5f8e72
test byte [edx + 0x44], 2
je 0x5f8e44
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebx + 0x7c]
test edx, edx
je 0x5f8e3c
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x18]
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.0061aa20
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.00609b70
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp byte [esi + 2], 0x4f
jne 0x5f81cc
mov eax, dword [ebp - 0x18]
test byte [eax + 0x1a3], 4
jne 0x5f8f98
test byte [eax + 0x1a1], 0x20
jne 0x5f8f21
mov edx, dword [eax + 0x20]
test edx, edx
je 0x5f9059
test byte [edx + 0x44], 2
je 0x5f8eee
mov eax, 0x6d
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x5f8ee1
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x18]
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.0061aa20
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 0x5f9073
test byte [edx + 0x44], 2
je 0x5f8f68
mov dword [edx + 0x38], 0x6e
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x20]
mov dword [edx + 0x3c], 0x1f
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x7c]
test eax, eax
je 0x5f8f5b
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x18]
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.0061aa20
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
test eax, eax
je 0x5f8fa7
movzx edx, word [eax + 0x18a]
test edx, edx
jg 0x5f8fe2
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx]
add ecx, 0xffffffff
mov edi, dword [edx + 4]
adc edi, 0xffffffff
add edx, 8
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xd4], edi
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], edx
xor edx, edx
mov ecx, dword [eax + 0xd4]
sub ecx, edx
jl 0x5f908a
add esi, 4
jmp 0x5f81cc
mov edx, dword [eax + 0x20]
test edx, edx
je 0x5f9117
test byte [edx + 0x44], 2
je 0x5f9026
mov eax, 0x10f
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x5f9019
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x18]
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.0061aa20
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.00609b70
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.00609b70
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 0x5f90fd
test byte [edx + 0x44], 2
je 0x5f90ca
mov eax, 0x6f
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x5f90bd
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x18]
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.0061aa20
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.00609b70
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.00609b70
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp byte [esi + 2], 0x4e
jne 0x5f81c3
add esi, 4
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax]
mov dword [ecx + 0x114], edx
mov edx, dword [ebp - 0x18]
mov edi, dword [eax + 4]
add eax, 8
mov dword [ebp - 0x28], eax
mov dword [edx + 0x9c], edi
mov ecx, dword [ebp - 0x18]
and byte [ecx + 0x1ad], 0xf7
jmp 0x5f81c3
push esi
mov eax, 0x2f
push eax
push eax
push 1
call fcn.00609b70
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push esi
push 0x1f
push 0x100
push 1
call fcn.00609b70
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push esi
push 0x1f
push 0x103
push 1
call fcn.00609b70
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push esi
mov eax, 0x72
push eax
push eax
push 1
call fcn.00609b70
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x108], eax
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x5f9257
test byte [eax + 0x44], 2
je 0x5f9224
mov edx, 0x26
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x20]
mov dword [ecx + 0x3c], edx
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x5f9217
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x18]
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.0061aa20
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.00609b70
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov edi, dword [esi + 0x4c]
mov eax, dword [esi + 0x54]
sub eax, edi
mov dword [ebp - 0x24], eax
test esi, esi
je 0x5f928a
mov eax, dword [esi + 0x168]
test eax, eax
jne 0x5f928f
mov eax, 0x20000
cmp eax, dword [ebp - 0x24]
jae 0x5f9302
mov ebx, dword [ebp - 0x24]
test esi, esi
je 0x5f92a5
mov edx, dword [esi + 0x168]
test edx, edx
jne 0x5f92aa
mov edx, 0x20000
mov dword [ebp - 0x28], edx
push 0
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x28]
push edi
push dword [esi + 0x104]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x5f92d0
mov dword [ebp - 0x28], 0xffffffff
jmp 0x5f9329
mov edx, dword [ebp - 0x20]
add edi, edx
sub ebx, edx
test esi, esi
je 0x5f92e5
mov eax, dword [esi + 0x168]
test eax, eax
jne 0x5f92ea
mov eax, 0x20000
cmp ebx, eax
jae 0x5f92f1
mov dword [ebp - 0x28], ebx
test ebx, ebx
je 0x5f92f9
test edx, edx
ja 0x5f92ad
mov dword [ebp - 0x28], 1
jmp 0x5f9329
push 0
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
push edi
push dword [esi + 0x104]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov eax, 0xffffffff
je 0x5f9326
mov eax, 1
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
xor ebx, ebx
cdq
add eax, dword [esi + 0xe0]
mov ecx, dword [esi + 0x4c]
mov dword [esi + 0x54], ecx
adc edx, dword [esi + 0xe4]
add ecx, dword [esi + 0x118]
and byte [esi + 0x1a5], 0xfb
mov dword [esi + 0x58], ecx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe4], edx
mov dword [esi + 0xd8], eax
mov dword [esi + 0xdc], edx
cmp dword [ebp - 0x28], 0xffffffff
je 0x5f9383
mov esi, dword [ebp - 0x18]
jmp 0x5f849e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x108], eax
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x5f9405
test byte [eax + 0x44], 2
je 0x5f93d2
mov edx, 0x26
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x20]
mov dword [ecx + 0x3c], edx
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x5f93c5
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x18]
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.0061aa20
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.00609b70
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push esi
mov eax, 0x26
push eax
push eax
push 1
call fcn.00609b70
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx edx, byte [esi + 0x1a0]
movzx eax, byte [ebp + 0x10]
and edx, 0xfffffffe
shr eax, 7
or edx, eax
mov byte [esi + 0x1a0], dl
movzx esi, byte [ebp + 0x12]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], esi
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 - 0x18]
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 - 0x18]
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 - 0x18]
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 - 0x18]
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 - 0x18]
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 - 0x18]
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 - 0x18]
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 - 0x18]
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 - 0x18]
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 - 0x18]
movzx eax, byte [edi + 0x1a9]
and eax, 0xffffffdf
or eax, edx
mov edx, ebx
mov byte [edi + 0x1a9], al
mov edi, ebx
mov esi, dword [ebp - 0x18]
shr edx, 9
and edx, 1
movzx eax, byte [esi + 0x1a1]
and eax, 0xfffffff9
or eax, ecx
mov byte [esi + 0x1a1], al
mov esi, ebx
mov ecx, dword [ebp - 0x18]
and esi, 0xffffff80
shl edx, 3
shr edi, 0xa
movzx eax, byte [ecx + 0x1ac]
and eax, 0xfffffff7
or eax, edx
mov byte [ecx + 0x1ac], al
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 0x18]
movzx eax, byte [edi + 0x1ab]
and eax, 0x7f
or eax, esi
mov esi, ebx
mov byte [edi + 0x1ab], al
mov eax, ebx
mov ecx, dword [ebp - 0x18]
mov edi, ebx
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 - 0x18]
shr eax, 0xf
and eax, 1
movzx edx, byte [esi + 0x1ae]
shl eax, 4
and edx, 0xffffffef
or edx, eax
mov byte [esi + 0x1ae], dl
mov esi, dword [ebp - 0x18]
shr edi, 0x10
and edi, 1
movzx ecx, byte [esi + 0x1ae]
shl edi, 5
and ecx, 0xffffffdf
or ecx, edi
mov edi, ebx
mov byte [esi + 0x1ae], cl
mov esi, ebx
mov edx, dword [ebp - 0x18]
shr edi, 0x11
and edi, 1
movzx eax, byte [edx + 0x1ae]
shl edi, 6
and eax, 0xffffffbf
or eax, edi
mov byte [edx + 0x1ae], al
mov ecx, dword [ebp - 0x18]
shr esi, 0xb
and esi, 0xffffff80
movzx eax, byte [ecx + 0x1ae]
and eax, 0x7f
or eax, esi
mov byte [ecx + 0x1ae], al
mov edx, dword [ebp - 0x18]
shr ebx, 0x13
and ebx, 1
movzx eax, byte [edx + 0x1af]
and eax, 0xfffffffe
or eax, ebx
mov byte [edx + 0x1af], al
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax + 0x1ac]
btr ecx, 4
jb 0x5f96f6
mov edx, dword [ebp - 0x28]
and edx, 1
shl edx, 4
or ecx, edx
mov byte [eax + 0x1ac], cl
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
and esi, 1
mov ebx, esi
movzx ecx, byte [eax + 0x1a5]
shl ebx, 5
and ecx, 0xffffffdf
or ecx, ebx
movzx edx, byte [ebp + 0x11]
mov byte [eax + 0x1a5], cl
test esi, esi
jne 0x5f9727
movsx eax, dl
test eax, eax
je 0x5f973a
cmp eax, 0xffffffff
je 0x5f973a
mov eax, dword [ebp - 0x18]
or byte [eax + 0x1a5], 0x10
mov ecx, dword [ebp - 0x18]
mov byte [ecx + 0x190], dl
push 2
push 4
push 1
push dword [ebp - 0x18]
call fcn.005eb2f0
add esp, 0x10
test eax, eax
je 0x5f97b6
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x5f97be
test byte [edx + 0x44], 2
je 0x5f9788
mov dword [edx + 0x38], eax
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x20]
mov dword [ecx + 0x3c], eax
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebx + 0x7c]
test edx, edx
je 0x5f9780
xor ecx, ecx
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x18]
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.0061aa20
add esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov esi, dword [ebp - 0x18]
jmp 0x5f8231
push ecx
push eax
push eax
push 2
call fcn.00609b70
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret