Function at 0x422473
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3bc
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], ebx
mov edi, dword [eax + 4]
test edi, edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], eax
je 0x4233ce
xor eax, eax
mov ebx, 1
mov esi, dword [edi + 0x58]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov edx, dword [esi + 0xc]
cmp edx, 1
jle 0x421734
lea eax, [edx - 1]
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
movzx eax, byte [esi + 0x4f]
test al, 0x10
je 0x42177a
test al, 0x20
je 0x42177a
mov ecx, dword [ebp + 0xc]
movsx ecx, byte [ecx]
cmp ecx, 2
je 0x422849
and eax, 0xffffffdf
cmp ecx, 1
je 0x42282e
and eax, 0xffffffbf
push edi
mov byte [esi + 0x4f], al
mov dword [ebp - 0x38], edx
call fcn.0043c3e0
mov edx, dword [ebp - 0x38]
add esp, 4
test eax, eax
jne 0x4227bd
movzx eax, byte [esi + 0x4f]
test al, 0x10
je 0x421726
test al, 0x20
jne 0x42339b
mov edx, dword [ebp - 4]
mov dword [esi + 0xc], edx
or eax, 0x20
mov byte [esi + 0x4f], al
jmp 0x42177a
mov eax, dword [ebp + 0xc]
movsx edx, byte [eax]
cmp edx, 2
je 0x42337c
movzx eax, byte [esi + 0x4f]
and eax, 0xffffffdf
cmp edx, 1
je 0x423361
and eax, 0xffffffbf
push edi
mov byte [esi + 0x4f], al
call fcn.0043c3e0
add esp, 4
test eax, eax
jne 0x4232f0
movzx eax, byte [esi + 0x4f]
test al, 0x10
je 0x42177a
test al, 0x20
jne 0x422864
movsx edx, byte [esi + 0x48]
add edx, 0xfffffffe
cmp edx, 0x1a
ja case.0x421791.3
mov edx, dword [edx*4 + 0x4db540]
jmp edx
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x1c0], eax
mov eax, dword [edi + 0x3c]
mov ecx, dword [esi + 0x38]
mov dword [ebp - 0x1b4], ecx
mov edx, dword [edi + 0x44]
mov dword [ebp - 0x1bc], edx
add ecx, eax
cmp edx, ecx
jae 0x4217f9
mov edx, ecx
sub edx, dword [ebp - 0x1bc]
cmp edx, 0x200
mov eax, dword [edi + 0xf8]
jge 0x4217d2
mov edx, 0x200
shr eax, 3
cmp edx, eax
jge 0x4217db
mov edx, eax
push edx
push edi
call fcn.00430710
add esp, 8
test eax, eax
jne 0x4228aa
mov edx, dword [esi + 0x38]
mov eax, dword [edi + 0x3c]
mov dword [ebp - 0x1b4], edx
cmp dword [ebp - 0x1b4], 0
jg 0x42287e
mov edx, dword [edi + 0x4c]
cmp eax, edx
mov dword [edi + 0x128], 0
ja 0x421819
mov eax, edx
mov dword [edi + 0x4c], eax
or byte [edi + 0x171], 0x80
jmp 0x4216b9
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x421847
movzx eax, byte [edx + 0x1e]
test eax, eax
je 0x421847
mov byte [edx + 0x1e], 0
mov dword [ebp - 0x1b8], 1
jmp 0x421851
mov dword [ebp - 0x1b8], 0
movzx eax, byte [edi + 0x16d]
test al, 0x40
je 0x421869
cmp byte [edi + 0x156], 1
je 0x42292f
push edi
call fcn.0042bd00
add esp, 4
test eax, eax
jne 0x422a0a
add dword [edi + 0x98], 1
push 0
push edi
adc dword [edi + 0x9c], 0
and byte [edi + 0x16f], 0xfb
call fcn.0042d1f0
add esp, 8
test eax, eax
jne 0x422985
movsx eax, byte [edi + 0x154]
mov dword [ebp - 0x1c4], eax
lea eax, [eax - 1]
cmp eax, 7
ja case.default.0x4218c2
mov eax, dword [eax*4 + 0x4db5c0]
jmp eax
mov ecx, dword [edi + 0x40]
test ecx, ecx
je 0x4218d0
mov dword [edi + 0x3c], ecx
jmp 0x4218d6
mov ecx, dword [edi + 0x38]
mov dword [edi + 0x3c], ecx
mov eax, dword [edi + 0xf8]
movzx edx, byte [edi + 0x168]
lea eax, [ecx + eax - 1]
mov dword [edi + 0x44], eax
jmp 0x421a06
mov eax, dword [edi + 0x18]
test eax, eax
je 0x422966
test byte [eax + 0x44], 2
je 0x42192f
mov edx, 0x2c
mov dword [eax + 0x38], edx
mov eax, dword [edi + 0x18]
mov dword [eax + 0x3c], edx
mov edx, dword [edi + 0x64]
test edx, edx
je 0x42191d
xor eax, eax
mov dword [edx + 4], eax
mov dword [edi + 0x64], eax
mov eax, 0x2c
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, 0x2c
push eax
movzx edx, byte [edi + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push edi
call fcn.00430230
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x40]
test ecx, ecx
je 0x421965
add ecx, 4
jmp 0x42196b
mov ecx, dword [edi + 0x38]
add ecx, 4
mov eax, dword [edi + 0xf8]
mov dword [edi + 0x3c], ecx
movzx edx, byte [edi + 0x168]
lea eax, [ecx + eax - 8]
mov dword [edi + 0x44], eax
jmp 0x421a06
mov ecx, dword [edi + 0x40]
test ecx, ecx
je 0x421993
mov dword [edi + 0x3c], ecx
jmp 0x421999
mov ecx, dword [edi + 0x38]
mov dword [edi + 0x3c], ecx
mov eax, dword [edi + 0xf8]
movzx edx, byte [edi + 0x168]
test dl, 4
mov dword [ebp - 0x1ec], eax
lea eax, [ecx + eax]
je 0x4219cf
test byte [edi + 0x16a], 0x40
je 0x4219cf
test byte [edi + 0x16b], 8
je 0x4219cf
cmp dword [ebp - 0x1c4], 1
je 0x4219d4
mov dword [edi + 0x44], eax
jmp 0x421a06
mov eax, dword [ebp - 0x1ec]
lea eax, [ecx + eax - 2]
mov dword [edi + 0x44], eax
jmp 0x421a06
push 0x464
push str.for_wseq_fmt.c
push 2
push 8
call fcn.00418920
add esp, 0x10
movzx edx, byte [edi + 0x168]
mov ecx, dword [edi + 0x3c]
mov eax, dword [edi + 0x44]
test dl, 4
je 0x421a26
test byte [edi + 0x16a], 0x40
je 0x421a26
test byte [edi + 0x16b], 8
je 0x421a26
cmp byte [edi + 0x154], 1
je 0x421a73
movsx edx, byte [edi + 0x156]
cmp edx, 2
jne 0x421a4e
movsx edx, byte [edi + 0x154]
cmp edx, 7
je 0x421a73
cmp edx, 6
je 0x421a73
cmp edx, 8
je 0x421a73
dec eax
mov dword [edi + 0x44], eax
jmp 0x421a73
cmp edx, 1
jne 0x421a73
movsx edx, byte [edi + 0x154]
cmp edx, 7
je 0x421a6d
cmp edx, 6
je 0x421a6d
cmp edx, 8
je 0x421a6d
dec eax
mov dword [edi + 0x44], eax
add ecx, 5
mov dword [edi + 0x3c], ecx
sub eax, ecx
push eax
push 0x20
push ecx
mov dword [edi + 0x48], ecx
mov dword [edi + 0x4c], ecx
call fcn.004b9290
add esp, 0xc
mov dword [edi + 0x128], 0
cmp dword [ebp - 0x1b8], 0
je 0x4216b9
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x1e], 1
jmp 0x4216b9
cmp ebx, 2
jge 0x4216b9
jmp 0x422a7b
test byte [edi + 0x168], 4
je 0x421ad3
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x1e], 1
mov edx, dword [edi + 0x7c]
mov dword [edx + 0xc], edi
jmp 0x4216b9
or byte [edi + 0x16d], 0x40
jmp 0x4216b9
mov edx, dword [ebp + 0xc]
movsx edx, byte [edx]
cmp edx, 1
je 0x422f0b
cmp edx, 2
je 0x422eec
test byte [esi + 0x4e], 0x20
jne 0x421ba2
test byte [edi + 0x168], 2
je 0x421b38
test eax, 0x80
je 0x421b38
push ebx
lea eax, [ebp - 0x36c]
push eax
lea edx, [ebp - 0x1d8]
push edx
lea ecx, [ebp + 0x10]
push ecx
lea eax, [ebp + 0xc]
push eax
call fcn.00431460
add esp, 0x14
test eax, eax
jne 0x422d77
mov eax, dword [edi + 0x18]
test eax, eax
je 0x422d58
test byte [eax + 0x44], 2
je 0x421b78
mov edx, 0x69
mov dword [eax + 0x38], edx
mov eax, dword [edi + 0x18]
mov dword [eax + 0x3c], edx
mov edx, dword [edi + 0x64]
test edx, edx
je 0x421b66
xor eax, eax
mov dword [edx + 4], eax
mov dword [edi + 0x64], eax
mov eax, 0x69
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, 0x69
push eax
movzx edx, byte [edi + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push edi
call fcn.00430230
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x421bc1
movzx eax, byte [edx + 0x1e]
test eax, eax
je 0x421bc1
mov byte [edx + 0x1e], 0
mov dword [ebp - 0x1c8], 1
jmp 0x421bcb
mov dword [ebp - 0x1c8], 0
cmp dword [edi + 0x128], 0
je 0x421bf9
movzx eax, byte [edi + 0x171]
test eax, 0x80
mov dword [edi + 0x128], 0
jne 0x421bf9
cmp dword [edi + 0x130], 0
jne 0x421e44
movzx eax, byte [edi + 0x16d]
test al, 0x40
je 0x421c11
cmp byte [edi + 0x156], 1
je 0x422da0
push edi
call fcn.0042bd00
add esp, 4
test eax, eax
jne 0x422e7b
add dword [edi + 0x98], 1
push 0
push edi
adc dword [edi + 0x9c], 0
and byte [edi + 0x16f], 0xfb
call fcn.0042d1f0
add esp, 8
test eax, eax
jne 0x422df6
movsx eax, byte [edi + 0x154]
mov dword [ebp - 0x1e4], eax
lea eax, [eax - 1]
cmp eax, 7
ja case.default.0x421c6a
mov eax, dword [eax*4 + 0x4db5e0]
jmp eax
mov ecx, dword [edi + 0x40]
test ecx, ecx
je 0x421c78
mov dword [edi + 0x3c], ecx
jmp 0x421c7e
mov ecx, dword [edi + 0x38]
mov dword [edi + 0x3c], ecx
mov eax, dword [edi + 0xf8]
movzx edx, byte [edi + 0x168]
lea eax, [ecx + eax - 1]
mov dword [edi + 0x44], eax
jmp 0x421dae
mov eax, dword [edi + 0x18]
test eax, eax
je 0x422dd7
test byte [eax + 0x44], 2
je 0x421cd7
mov edx, 0x2c
mov dword [eax + 0x38], edx
mov eax, dword [edi + 0x18]
mov dword [eax + 0x3c], edx
mov edx, dword [edi + 0x64]
test edx, edx
je 0x421cc5
xor eax, eax
mov dword [edx + 4], eax
mov dword [edi + 0x64], eax
mov eax, 0x2c
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, 0x2c
push eax
movzx edx, byte [edi + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push edi
call fcn.00430230
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x40]
test ecx, ecx
je 0x421d0d
add ecx, 4
jmp 0x421d13
mov ecx, dword [edi + 0x38]
add ecx, 4
mov eax, dword [edi + 0xf8]
mov dword [edi + 0x3c], ecx
movzx edx, byte [edi + 0x168]
lea eax, [ecx + eax - 8]
mov dword [edi + 0x44], eax
jmp 0x421dae
mov ecx, dword [edi + 0x40]
test ecx, ecx
je 0x421d3b
mov dword [edi + 0x3c], ecx
jmp 0x421d41
mov ecx, dword [edi + 0x38]
mov dword [edi + 0x3c], ecx
mov eax, dword [edi + 0xf8]
movzx edx, byte [edi + 0x168]
test dl, 4
mov dword [ebp - 0x3b8], eax
lea eax, [ecx + eax]
je 0x421d77
test byte [edi + 0x16a], 0x40
je 0x421d77
test byte [edi + 0x16b], 8
je 0x421d77
cmp dword [ebp - 0x1e4], 1
je 0x421d7c
mov dword [edi + 0x44], eax
jmp 0x421dae
mov eax, dword [ebp - 0x3b8]
lea eax, [ecx + eax - 2]
mov dword [edi + 0x44], eax
jmp 0x421dae
push 0x534
push str.for_wseq_fmt.c
push 2
push 8
call fcn.00418920
add esp, 0x10
movzx edx, byte [edi + 0x168]
mov ecx, dword [edi + 0x3c]
mov eax, dword [edi + 0x44]
test dl, 4
je 0x421dce
test byte [edi + 0x16a], 0x40
je 0x421dce
test byte [edi + 0x16b], 8
je 0x421dce
cmp byte [edi + 0x154], 1
je 0x421e1b
movsx edx, byte [edi + 0x156]
cmp edx, 2
jne 0x421df6
movsx edx, byte [edi + 0x154]
cmp edx, 7
je 0x421e1b
cmp edx, 6
je 0x421e1b
cmp edx, 8
je 0x421e1b
dec eax
mov dword [edi + 0x44], eax
jmp 0x421e1b
cmp edx, 1
jne 0x421e1b
movsx edx, byte [edi + 0x154]
cmp edx, 7
je 0x421e15
cmp edx, 6
je 0x421e15
cmp edx, 8
je 0x421e15
dec eax
mov dword [edi + 0x44], eax
add ecx, 5
mov dword [edi + 0x3c], ecx
sub eax, ecx
push eax
push 0x20
push ecx
mov dword [edi + 0x48], ecx
mov dword [edi + 0x4c], 0
call fcn.004b9290
add esp, 0xc
mov dword [edi + 0x130], 1
and byte [edi + 0x171], 0x7f
cmp dword [ebp - 0x1c8], 0
je 0x421e54
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x1e], 1
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x4c], eax
jmp 0x4216b9
cmp ebx, 1
jle 0x421f3b
mov eax, dword [ebp - 0x36c]
cmp eax, 7
je 0x421e7c
cmp eax, 8
jne 0x421f09
cmp dword [ebp - 0x20], 0
je 0x421e9b
mov eax, dword [ebp - 0x1cc]
dec ebx
add dword [ebp - 0x1d8], eax
mov dword [ebp - 0x20], 0
jmp 0x42212f
cmp dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x368]
je 0x421eaf
mov eax, 1
xor ecx, ecx
mov dword [ebp - 0x20], eax
test edx, edx
jle 0x421ee3
mov dword [ebp - 0x1b0], edi
xor eax, eax
mov edi, dword [ebp + eax*4 - 0x1ac]
sub edi, dword [ebp + eax*4 - 0xb4]
imul edi, dword [ebp + eax*4 - 0x130]
inc eax
add ecx, edi
cmp eax, edx
jl 0x421ec0
mov edi, dword [ebp - 0x1b0]
add ecx, dword [ebp - 0x364]
lea eax, [ebp - 0x36c]
push eax
mov dword [ebp - 0x1d8], ecx
lea edx, [ebp - 0x1ac]
push edx
push 0
call fcn.00430930
add esp, 0xc
jmp 0x421f24
mov edx, dword [ebp - 0x20]
test edx, edx
mov eax, dword [ebp - 0x1cc]
je 0x421f1b
mov edx, 0
add dword [ebp - 0x1d8], eax
mov dword [ebp - 0x20], edx
mov dword [edi + 0x128], 0
dec ebx
or byte [edi + 0x171], 0x80
jmp 0x42212f
lea eax, [ebp - 0x36c]
push eax
lea edx, [ebp - 0x1d8]
push edx
lea ecx, [ebp + 0x10]
push ecx
lea ebx, [ebp + 0xc]
push ebx
call fcn.004311f0
add esp, 0x10
test eax, eax
jne 0x42327f
mov ecx, dword [ebp - 0x1d0]
cmp ecx, 2
je 0x4233ad
cmp ecx, 1
je 0x422a8a
mov eax, dword [ebp - 0x36c]
cmp eax, 7
jl 0x42209b
cmp eax, 8
jg 0x42209b
mov ebx, dword [ebp - 0x1cc]
test ebx, ebx
je 0x421fa8
mov eax, dword [ebp - 0x1d4]
cdq
idiv ebx
mov ebx, eax
jmp 0x421fbb
test byte [edi + 0x168], 2
je 0x42208d
mov ebx, dword [ebp - 0x1d4]
test ebx, ebx
je 0x42208f
cmp ecx, 0x34
je 0x421fd2
cmp ecx, 0x1c
jl 0x421fdf
cmp ecx, 0x2c
jg 0x421fdf
mov eax, 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
jmp 0x421fe6
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x368]
test eax, eax
jle 0x422032
mov dword [ebp - 0x1b0], edi
xor ecx, ecx
lea edi, [ecx*8]
lea edi, [edi + ecx*4]
mov edx, dword [ebp + edi - 0x35c]
mov edi, dword [ebp + edi - 0x358]
mov dword [ebp + ecx*4 - 0xb4], edx
mov dword [ebp + ecx*4 - 0x130], edi
mov dword [ebp + ecx*4 - 0x1ac], edx
inc ecx
cmp ecx, eax
jl 0x421ff8
mov edi, dword [ebp - 0x1b0]
test eax, eax
mov ecx, 0
jle 0x422064
mov dword [ebp - 0x1b0], edi
xor edx, edx
mov edi, dword [ebp + edx*4 - 0x1ac]
sub edi, dword [ebp + edx*4 - 0xb4]
imul edi, dword [ebp + edx*4 - 0x130]
inc edx
add ecx, edi
cmp edx, eax
jl 0x422041
mov edi, dword [ebp - 0x1b0]
add ecx, dword [ebp - 0x364]
lea eax, [ebp - 0x36c]
push eax
mov dword [ebp - 0x1d8], ecx
lea edx, [ebp - 0x1ac]
push edx
push 0
call fcn.00430930
add esp, 0xc
jmp 0x42211e
xor ebx, ebx
mov dword [ebp - 0x18], 1
jmp 0x422135
cmp eax, 6
je 0x4220a5
cmp eax, 5
jne 0x4220fc
movzx ecx, byte [edi + 0x168]
and ecx, 2
mov eax, dword [ebp - 0x1cc]
shr ecx, 1
mov ebx, dword [ebp - 0x1d4]
test eax, eax
mov dword [ebp - 0x1dc], eax
je 0x4220da
mov eax, ebx
cdq
mov ebx, dword [ebp - 0x1dc]
idiv ebx
mov ebx, eax
test ecx, ecx
jne 0x4220e5
jmp 0x42212f
test ecx, ecx
jne 0x4220e3
mov ebx, 0
je 0x42212f
test ebx, ebx
jne 0x42211e
mov dword [edi + 0x128], 1
mov dword [ebp - 0x18], 1
jmp 0x422135
cmp ecx, 0x34
je 0x42210b
cmp ecx, 0x1c
jl 0x422119
cmp ecx, 0x2c
jg 0x422119
mov dword [ebp - 0x20], 1
mov ebx, 2
jmp 0x42211e
mov ebx, 1
mov dword [edi + 0x128], 0
or byte [edi + 0x171], 0x80
cmp dword [ebp - 0x18], 0
je 0x422151
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x422148
mov dword [esi + 0xc], 2
jmp 0x4216b9
inc eax
mov dword [esi + 0xc], eax
jmp 0x4216b9
mov eax, dword [esi]
and byte [esi + 0x4f], 0xf7
movsx ecx, byte [esi + 0x48]
movzx edx, byte [eax + 0x16e]
test edx, 0x80
je 0x42218d
mov eax, dword [ecx*4 + 0x4dd8a0]
test eax, eax
je 0x42218d
mov edx, dword [ebp - 0x1d0]
movsx eax, byte [eax + edx]
test eax, eax
je 0x42218d
mov dword [ebp - 0x1d0], eax
movsx ecx, byte [esi + 0x48]
lea eax, [ecx - 0x13]
cmp eax, 0x20
ja case.default.0x4221a0
mov eax, dword [eax*4 + 0x4db600]
jmp eax
mov edx, dword [esi + 0x38]
test edx, edx
jne 0x4221e1
movzx eax, byte [esi + 0x50]
or eax, 2
mov byte [esi + 0x50], al
mov edx, dword [ebp - 0x1d0]
mov dword [ebp - 0x2c], eax
movsx edx, word [edx*2 + 0x4dd740]
cmp edx, 0xffffffff
mov dword [esi + 0x38], edx
je 0x422f19
add ecx, 0xffffffd8
cmp ecx, 0x20
jb 0x4225f4
jmp 0x422623
add ecx, 0xffffffd8
cmp ecx, 0x20
jb 0x4225f4
movzx eax, byte [esi + 0x50]
mov dword [ebp - 0x2c], eax
jmp 0x422623
mov eax, dword [ebp - 0x1d0]
movsx edx, word [eax*2 + 0x4dd740]
cmp edx, 0xffffffff
mov dword [esi + 0x38], edx
je 0x422f40
add ecx, 0xffffffd8
cmp ecx, 0x20
jb 0x4225f4
jmp 0x4221ed
mov edx, dword [esi + 0x38]
test edx, edx
jne 0x42225f
movzx eax, byte [esi + 0x50]
or eax, 2
mov byte [esi + 0x50], al
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1d0]
movsx edx, byte [eax + 0x4ddb0d]
cmp edx, 0xffffffff
mov dword [esi + 0x38], edx
je 0x422f67
add ecx, 0xffffffd8
cmp ecx, 0x20
jb 0x4225f4
jmp 0x422623
add ecx, 0xffffffd8
cmp ecx, 0x20
jb 0x4225f4
jmp 0x4221ed
mov edx, dword [esi + 0x38]
test edx, edx
jne 0x4222a2
movzx eax, byte [esi + 0x50]
add ecx, 0xffffffd8
or eax, 2
mov byte [esi + 0x50], al
cmp ecx, 0x20
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1d0]
movsx edx, byte [eax + 0x4ddafb]
mov dword [esi + 0x38], edx
jb 0x4225f4
jmp 0x422623
add ecx, 0xffffffd8
cmp ecx, 0x20
jb 0x4225f4
jmp 0x4221ed
mov edx, dword [esi + 0x38]
test edx, edx
jne 0x422343
mov eax, dword [ebp - 0x1d0]
cmp eax, 0x19
mov dword [ebp - 0x3bc], eax
jge 0x422f8e
cmp dword [ebp - 0x3bc], 5
jl 0x422313
cmp dword [ebp - 0x3bc], 0x11
jg 0x422313
movzx eax, byte [esi + 0x50]
add ecx, 0xffffffd8
or eax, 2
mov byte [esi + 0x50], al
cmp ecx, 0x20
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1d0]
movsx edx, byte [eax + 0x4ddafb]
mov dword [esi + 0x38], edx
jb 0x4225f4
jmp 0x422623
cmp dword [ebp - 0x3bc], 0x39
je 0x422329
cmp dword [ebp - 0x3bc], 0x38
jne 0x42252e
add ecx, 0xffffffd8
mov edx, dword [ebp - 0x1cc]
cmp ecx, 0x20
mov dword [esi + 0x38], edx
jb 0x4225f4
jmp 0x4221ed
add ecx, 0xffffffd8
cmp ecx, 0x20
jb 0x4225f4
jmp 0x4221ed
mov edx, dword [esi + 0x38]
test edx, edx
mov eax, dword [ebp - 0x1d0]
jne 0x4223a0
cmp eax, 5
jl 0x422387
cmp eax, 0x11
jg 0x422387
or byte [esi + 0x50], 2
mov eax, dword [ebp - 0x1d0]
movsx edx, byte [eax + 0x4ddafb]
mov dword [esi + 0x38], edx
mov eax, dword [ebp - 0x1d0]
jmp 0x4223a0
cmp eax, 0x39
je 0x422391
cmp eax, 0x38
jne 0x4223a0
mov edx, dword [ebp - 0x1cc]
mov dword [esi + 0x38], edx
mov eax, dword [ebp - 0x1d0]
cmp eax, 0x19
jge case.0x4221a0.30
add ecx, 0xffffffd8
cmp ecx, 0x20
jb 0x4225f4
jmp 0x4221ed
mov edx, dword [esi + 0x38]
test edx, edx
jne 0x4223f2
movzx eax, byte [esi + 0x50]
add ecx, 0xffffffd8
or eax, 2
mov byte [esi + 0x50], al
mov edx, dword [ebp - 0x1d0]
mov dword [ebp - 0x2c], eax
movsx eax, word [esi + 0x40]
movsx edx, word [edx*8 + 0x4dd6fa]
add edx, eax
mov dword [esi + 0x38], edx
cmp ecx, 0x20
jb 0x4225f4
jmp 0x422623
add ecx, 0xffffffd8
cmp ecx, 0x20
jb 0x4225f4
jmp 0x4221ed
add ecx, 0xffffffd8
cmp ecx, 0x20
jb 0x4225f4
jmp 0x422619
mov eax, dword [ebp - 0x1d0]
movsx edx, byte [eax + 0x4ddb0d]
cmp edx, 0xffffffff
mov dword [esi + 0x38], edx
je 0x422ff2
add ecx, 0xffffffd8
cmp ecx, 0x20
jb 0x4225f4
jmp 0x4221ed
mov eax, dword [ebp - 0x1d0]
cmp eax, 5
jl 0x42252e
cmp eax, 0x11
jg 0x42252e
add ecx, 0xffffffd8
mov edx, 2
mov dword [esi + 0x38], 2
cmp ecx, 0x20
jb 0x4225f4
jmp 0x4221ed
mov eax, dword [ebp - 0x1d0]
cmp eax, 5
jl 0x42252e
cmp eax, 0x11
jg 0x42252e
add ecx, 0xffffffd8
movsx edx, byte [eax + 0x4ddafb]
cmp ecx, 0x20
mov dword [esi + 0x38], edx
jb 0x4225f4
jmp 0x4221ed
mov eax, dword [ebp - 0x1d0]
cmp eax, 0x19
mov dword [ebp - 0x3b4], eax
jge 0x423019
cmp dword [ebp - 0x3b4], 5
jl 0x4224e8
cmp dword [ebp - 0x3b4], 0x11
jg 0x4224e8
add ecx, 0xffffffd8
cmp ecx, 0x20
movsx edx, byte [eax + 0x4ddafb]
mov dword [esi + 0x38], edx
jb 0x4225f4
jmp 0x4221ed
cmp dword [ebp - 0x3b4], 0x39
je 0x4224fa
cmp dword [ebp - 0x3b4], 0x38
jne 0x42252e
add ecx, 0xffffffd8
mov edx, dword [ebp - 0x1cc]
cmp ecx, 0x20
mov dword [esi + 0x38], edx
jb 0x4225f4
jmp 0x4221ed
mov eax, dword [ebp - 0x1d0]
cmp eax, 0x19
mov dword [ebp - 0x1e0], eax
jl 0x42252e
cmp dword [ebp - 0x1e0], 0x34
jle 0x42259a
add ecx, 0xffffffd8
mov eax, 0x3d
cmp ecx, 0x20
jb 0x4225f6
mov edx, dword [edi + 0x18]
test edx, edx
je 0x423066
test byte [edx + 0x44], 2
je 0x422575
mov dword [edx + 0x38], eax
mov edx, dword [edi + 0x18]
mov dword [edx + 0x3c], eax
mov ecx, dword [edi + 0x64]
test ecx, ecx
je 0x422568
xor edx, edx
mov dword [ecx + 4], edx
mov dword [edi + 0x64], edx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [edi + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push edi
call fcn.00430230
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
add ecx, 0xffffffd8
cmp ecx, 0x20
movsx edx, word [eax*8 + 0x4dd6f8]
mov dword [ebp - 0x370], edx
mov dword [esi + 0x38], edx
movzx edx, word [eax*8 + 0x4dd6fc]
movzx eax, word [eax*8 + 0x4dd6fe]
mov word [esi + 0x40], dx
mov word [esi + 0x42], ax
mov edx, dword [ebp - 0x370]
jb 0x4225f4
jmp 0x4221ed
add ecx, 0xffffffd8
mov edx, dword [ebp - 0x1cc]
cmp ecx, 0x20
mov dword [esi + 0x38], edx
jb 0x4225f4
jmp 0x4221ed
add ecx, 0xffffffd8
cmp ecx, 0x20
jae 0x422619
xor eax, eax
mov edx, 1
shl edx, cl
test dl, 0x25
je 0x422611
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0x38]
cmp ecx, edx
jge 0x42260e
mov ecx, edx
mov dword [esi + 0x38], ecx
test eax, eax
jne 0x42253f
movzx eax, byte [esi + 0x50]
mov edx, dword [esi + 0x38]
mov dword [ebp - 0x2c], eax
test byte [ebp - 0x2c], 2
je 0x4226cd
cmp edx, 0x40
ja 0x422644
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x3b0]
mov dword [ebp - 0x28], eax
jmp 0x422661
lea eax, [ebp - 0x28]
push eax
push 0
push edx
call fcn.00410470
add esp, 0xc
test eax, eax
jne 0x4230f1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
push dword [esi + 0x38]
push 0x20
push eax
call fcn.004b9290
push dword [ebp - 0x28]
push esi
lea eax, [ebp - 0x1d8]
push eax
call fcn.004314f0
add esp, 0x18
test eax, eax
je 0x42269c
cmp eax, 0x3f
jne 0x423080
test byte [edi + 0x16f], 8
jne 0x42269c
mov dword [esi + 0x10], 0x3f
mov edx, dword [esi + 0x38]
test edx, edx
je 0x4226b8
mov eax, dword [ebp - 0x28]
cmp byte [eax], 0x20
jne 0x4226cd
inc eax
mov dword [ebp - 0x28], eax
mov edx, dword [esi + 0x38]
dec edx
mov dword [esi + 0x38], edx
jne 0x4226a3
movsx eax, word [esi + 0x40]
test eax, eax
jne 0x4226cd
mov dword [esi + 0x38], 1
dec dword [ebp - 0x28]
mov edx, dword [esi + 0x38]
mov ecx, dword [edi + 0x3c]
mov dword [ebp - 0x30], ecx
mov eax, dword [edi + 0x44]
mov dword [ebp - 0x34], eax
add ecx, edx
cmp eax, ecx
jae 0x422714
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x34]
add eax, edx
cmp eax, 0x200
mov edx, dword [edi + 0xf8]
jge 0x4226f9
mov eax, 0x200
shr edx, 3
cmp eax, edx
jge 0x422702
mov eax, edx
push eax
push edi
call fcn.00430710
add esp, 8
test eax, eax
jne 0x4231fa
movzx eax, byte [esi + 0x50]
test al, 2
je 0x422788
cmp dword [esi + 0x38], 0
je 0x422765
mov edx, dword [ebp - 0x28]
mov ecx, dword [edi + 0x3c]
movzx eax, byte [edx]
mov byte [ecx], al
inc dword [edi + 0x3c]
inc dword [ebp - 0x28]
mov eax, dword [esi + 0x38]
dec eax
je 0x423162
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 0x28]
movsx eax, byte [eax]
cmp eax, 0x20
je 0x423162
mov edx, dword [edi + 0x3c]
mov byte [edx], al
inc dword [edi + 0x3c]
inc dword [ebp - 0x28]
mov eax, dword [esi + 0x38]
dec eax
jne 0x42273d
jmp 0x423162
and eax, 0xfffffffd
mov byte [esi + 0x50], al
mov dword [esi + 0x38], 0
cmp dword [ebp - 0x24], 0
je 0x422783
push dword [ebp - 0x24]
call fcn.00410530
add esp, 4
mov edx, dword [edi + 0x3c]
jmp 0x4227ac
push dword [edi + 0x3c]
push esi
lea eax, [ebp - 0x1d8]
push eax
call fcn.004314f0
add esp, 0xc
test eax, eax
jne 0x42316b
mov edx, dword [edi + 0x3c]
add edx, dword [esi + 0x38]
mov dword [edi + 0x3c], edx
mov eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x4227b5
mov edx, eax
mov dword [edi + 0x4c], edx
jmp 0x4216b9
mov edx, dword [edi + 0x18]
test edx, edx
je 0x422814
test byte [edx + 0x44], 2
je 0x4227ef
mov dword [edx + 0x38], eax
mov edx, dword [edi + 0x18]
mov dword [edx + 0x3c], eax
mov ecx, dword [edi + 0x64]
test ecx, ecx
je 0x4227e2
xor edx, edx
mov dword [ecx + 4], edx
mov dword [edi + 0x64], edx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [edi + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push edi
call fcn.00430230
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push edi
push eax
push eax
push 1
call fcn.00416830
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x20], 0
jne 0x4216f9
cmp ebx, 1
jg 0x4216f9
or eax, 0x40
jmp 0x4216fc
cmp dword [ebp - 0x20], 0
jne 0x4216ed
cmp ebx, 1
jg 0x4216ed
or eax, 0x20
jmp 0x4216f9
mov eax, dword [esi + 0xc]
test eax, eax
jle 0x42286f
inc eax
mov dword [esi + 0xc], eax
xor eax, eax
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x1e8], ebx
xor ecx, ecx
mov ebx, dword [ebp - 0x1c0]
movzx edx, byte [ecx + ebx]
inc ecx
mov byte [eax], dl
mov eax, dword [edi + 0x3c]
inc eax
mov dword [edi + 0x3c], eax
cmp ecx, dword [esi + 0x38]
jl 0x42288c
mov ebx, dword [ebp - 0x1e8]
jmp 0x421806
mov eax, dword [edi + 0x18]
test eax, eax
je 0x422910
test byte [eax + 0x44], 2
je 0x4228e6
mov edx, 0x42
mov dword [eax + 0x38], edx
mov eax, dword [edi + 0x18]
mov dword [eax + 0x3c], edx
mov edx, dword [edi + 0x64]
test edx, edx
je 0x4228d4
xor eax, eax
mov dword [edx + 4], eax
mov dword [edi + 0x64], eax
mov eax, 0x42
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, 0x42
push eax
movzx edx, byte [edi + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push edi
call fcn.00430230
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push edi
mov eax, 0x42
push eax
push eax
push 1
call fcn.00416830
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x38]
movsx edx, byte [ecx + 5]
cmp edx, 0x20
je 0x422959
cmp edx, 0x2b
jne 0x42294b
mov byte [ecx + 5], 0
movzx eax, byte [edi + 0x16d]
and eax, 0xffffffbf
mov byte [edi + 0x16d], al
jmp 0x421869
mov byte [ecx + 5], 0x24
movzx eax, byte [edi + 0x16d]
jmp 0x42294b
push edi
mov eax, 0x2c
push eax
push eax
push 1
call fcn.00416830
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x18]
test eax, eax
je 0x4229eb
test byte [eax + 0x44], 2
je 0x4229c1
mov edx, 0x26
mov dword [eax + 0x38], edx
mov eax, dword [edi + 0x18]
mov dword [eax + 0x3c], edx
mov edx, dword [edi + 0x64]
test edx, edx
je 0x4229af
xor eax, eax
mov dword [edx + 4], eax
mov dword [edi + 0x64], eax
mov eax, 0x26
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, 0x26
push eax
movzx edx, byte [edi + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push edi
call fcn.00430230
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push edi
mov eax, 0x26
push eax
push eax
push 1
call fcn.00416830
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x18]
test edx, edx
je 0x422a61
test byte [edx + 0x44], 2
je 0x422a3c
mov dword [edx + 0x38], eax
mov edx, dword [edi + 0x18]
mov dword [edx + 0x3c], eax
mov ecx, dword [edi + 0x64]
test ecx, ecx
je 0x422a2f
xor edx, edx
mov dword [ecx + 4], edx
mov dword [edi + 0x64], edx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [edi + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push edi
call fcn.00430230
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push edi
push eax
push eax
push 1
call fcn.00416830
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
movsx eax, byte [eax]
cmp eax, 1
jne 0x422c94
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x422a9d
movzx eax, byte [eax + 0x1e]
test eax, eax
jne 0x422b81
cmp dword [edi + 0x128], 0
jne 0x422ab5
cmp dword [ebp - 0x18], 0
je 0x422ae5
cmp dword [edi + 0x130], 0
je 0x422ae5
movzx eax, byte [edi + 0x171]
test eax, 0x80
mov dword [edi + 0x128], 0
je 0x422ad8
and eax, 0x7f
mov byte [edi + 0x171], al
jmp 0x422ae5
cmp dword [edi + 0x130], 0
jne 0x422b81
movzx eax, byte [edi + 0x16d]
test al, 0x40
je 0x422afd
cmp byte [edi + 0x156], 1
je 0x422d21
push edi
call fcn.0042bd00
add esp, 4
test eax, eax
je 0x422b65
mov edx, dword [edi + 0x18]
test edx, edx
je 0x422cd3
test byte [edx + 0x44], 2
je 0x422b40
mov dword [edx + 0x38], eax
mov edx, dword [edi + 0x18]
mov dword [edx + 0x3c], eax
mov ecx, dword [edi + 0x64]
test ecx, ecx
je 0x422b33
xor edx, edx
mov dword [ecx + 4], edx
mov dword [edi + 0x64], edx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [edi + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push edi
call fcn.00430230
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
add dword [edi + 0x98], 1
adc dword [edi + 0x9c], 0
and byte [edi + 0x16f], 0xfb
and byte [edi + 0x171], 0x7f
movzx eax, byte [esi + 0x4f]
test al, 2
je 0x422bf9
push dword [esi + 4]
and eax, 0xfffffffd
mov byte [esi + 0x4f], al
call fcn.00410530
add esp, 4
test eax, eax
je 0x422bf9
mov edx, dword [edi + 0x18]
test edx, edx
je 0x422ced
test byte [edx + 0x44], 2
je 0x422bd4
mov dword [edx + 0x38], eax
mov edx, dword [edi + 0x18]
mov dword [edx + 0x3c], eax
mov ecx, dword [edi + 0x64]
test ecx, ecx
je 0x422bc7
xor edx, edx
mov dword [ecx + 4], edx
mov dword [edi + 0x64], edx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [edi + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push edi
call fcn.00430230
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x10]
test edx, edx
je 0x422c61
mov eax, dword [edi + 0x18]
test eax, eax
je 0x422d07
test byte [eax + 0x44], 2
je 0x422c3c
mov dword [eax + 0x38], edx
mov edx, dword [edi + 0x18]
mov eax, dword [esi + 0x10]
mov dword [edx + 0x3c], eax
mov edx, dword [edi + 0x64]
test edx, edx
je 0x422c2c
xor eax, eax
mov dword [edx + 4], eax
mov dword [edi + 0x64], eax
mov eax, dword [esi + 0x10]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push edx
movzx eax, byte [edi + 0x16c]
push edx
and eax, 7
push eax
push 0xffffffffffffffff
push edi
call fcn.00430230
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push dword [edi + 0x100]
and byte [edi + 0x16c], 0xdc
and byte [edi + 0x16e], 0xf7
call fcn.004293f0
add esp, 4
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov dword [edx + 4], 0
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x422caf
xor eax, eax
mov dword [esi + 0xc], 2
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp + 0x10]
push eax
lea edx, [ebp + 0xc]
push edx
call fcn.00431150
add esp, 0xc
cmp eax, 2
je 0x422c99
cmp eax, 1
jne 0x4216b9
jmp 0x422a8a
push edi
push eax
push eax
push 1
call fcn.00416830
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push edi
push eax
push eax
push 1
call fcn.00416830
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push edi
push edx
push edx
push 1
call fcn.00416830
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x38]
movsx edx, byte [ecx + 5]
cmp edx, 0x20
je 0x422d4b
cmp edx, 0x2b
jne 0x422d3d
mov byte [ecx + 5], 0
movzx eax, byte [edi + 0x16d]
and eax, 0xffffffbf
mov byte [edi + 0x16d], al
jmp 0x422afd
mov byte [ecx + 5], 0x24
movzx eax, byte [edi + 0x16d]
jmp 0x422d3d
push edi
mov eax, 0x69
push eax
push eax
push 1
call fcn.00416830
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
cmp byte [eax], 2
jne 0x422a8a
cmp ebx, 2
jge 0x422a8a
xor eax, eax
mov dword [esi + 0xc], 2
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
leave
ret
mov ecx, dword [edi + 0x38]
movsx edx, byte [ecx + 5]
cmp edx, 0x20
je 0x422dca
cmp edx, 0x2b
jne 0x422dbc
mov byte [ecx + 5], 0
movzx eax, byte [edi + 0x16d]
and eax, 0xffffffbf
mov byte [edi + 0x16d], al
jmp 0x421c11
mov byte [ecx + 5], 0x24
movzx eax, byte [edi + 0x16d]
jmp 0x422dbc
push edi
mov eax, 0x2c
push eax
push eax
push 1
call fcn.00416830
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x18]
test eax, eax
je 0x422e5c
test byte [eax + 0x44], 2
je 0x422e32
mov edx, 0x26
mov dword [eax + 0x38], edx
mov eax, dword [edi + 0x18]
mov dword [eax + 0x3c], edx
mov edx, dword [edi + 0x64]
test edx, edx
je 0x422e20
xor eax, eax
mov dword [edx + 4], eax
mov dword [edi + 0x64], eax
mov eax, 0x26
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, 0x26
push eax
movzx edx, byte [edi + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push edi
call fcn.00430230
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push edi
mov eax, 0x26
push eax
push eax
push 1
call fcn.00416830
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x18]
test edx, edx
je 0x422ed2
test byte [edx + 0x44], 2
je 0x422ead
mov dword [edx + 0x38], eax
mov edx, dword [edi + 0x18]
mov dword [edx + 0x3c], eax
mov ecx, dword [edi + 0x64]
test ecx, ecx
je 0x422ea0
xor edx, edx
mov dword [ecx + 4], edx
mov dword [edi + 0x64], edx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [edi + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push edi
call fcn.00430230
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push edi
push eax
push eax
push 1
call fcn.00416830
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
cmp ebx, 2
jge 0x421ba2
xor eax, eax
mov dword [esi + 0xc], 2
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
cmp ebx, 2
jl 0x422a8a
jmp 0x421ba2
mov edx, dword [ebp - 0x1cc]
add ecx, 0xffffffd8
shl edx, 3
cmp edx, 0x11
jge 0x422f2f
mov edx, 0x11
mov dword [esi + 0x38], edx
cmp ecx, 0x20
jb 0x4225f4
jmp 0x422623
mov edx, dword [ebp - 0x1cc]
add ecx, 0xffffffd8
shl edx, 3
cmp edx, 0x11
jge 0x422f56
mov edx, 0x11
mov dword [esi + 0x38], edx
cmp ecx, 0x20
jb 0x4225f4
jmp 0x4221ed
mov eax, dword [ebp - 0x1cc]
add ecx, 0xffffffd8
lea edx, [eax + eax*2]
cmp edx, 7
jge 0x422f7d
mov edx, 7
mov dword [esi + 0x38], edx
cmp ecx, 0x20
jb 0x4225f4
jmp 0x422623
cmp dword [ebp - 0x3bc], 0x34
jg 0x422313
mov edx, eax
movzx eax, byte [esi + 0x50]
or eax, 2
movsx edx, word [edx*8 + 0x4dd6f8]
mov dword [ebp - 0x2c], eax
mov byte [esi + 0x50], al
movsx eax, word [esi + 0x40]
test eax, eax
mov dword [esi + 0x38], edx
jne 0x422fcf
mov eax, dword [ebp - 0x3bc]
movzx eax, word [eax*8 + 0x4dd6fc]
mov word [esi + 0x40], ax
mov eax, dword [ebp - 0x3bc]
add ecx, 0xffffffd8
cmp ecx, 0x20
movzx eax, word [eax*8 + 0x4dd6fe]
mov word [esi + 0x42], ax
jb 0x4225f4
jmp 0x422623
mov eax, dword [ebp - 0x1cc]
add ecx, 0xffffffd8
lea edx, [eax + eax*2]
cmp edx, 7
jge 0x423008
mov edx, 7
mov dword [esi + 0x38], edx
cmp ecx, 0x20
jb 0x4225f4
jmp 0x4221ed
cmp dword [ebp - 0x3b4], 0x34
jg 0x4224e8
add ecx, 0xffffffd8
cmp ecx, 0x20
movsx edx, word [eax*8 + 0x4dd6f8]
mov dword [ebp - 0x370], edx
mov dword [esi + 0x38], edx
movzx edx, word [eax*8 + 0x4dd6fc]
movzx eax, word [eax*8 + 0x4dd6fe]
mov word [esi + 0x40], dx
mov word [esi + 0x42], ax
mov edx, dword [ebp - 0x370]
jb 0x4225f4
jmp 0x4221ed
push edi
push eax
push eax
push 1
call fcn.00416830
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x18]
test edx, edx
je 0x4230d7
test byte [edx + 0x44], 2
je 0x4230b2
mov dword [edx + 0x38], eax
mov edx, dword [edi + 0x18]
mov dword [edx + 0x3c], eax
mov ecx, dword [edi + 0x64]
test ecx, ecx
je 0x4230a5
xor edx, edx
mov dword [ecx + 4], edx
mov dword [edi + 0x64], edx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [edi + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push edi
call fcn.00430230
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push edi
push eax
push eax
push 1
call fcn.00416830
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x18]
test edx, edx
je 0x423148
test byte [edx + 0x44], 2
je 0x423123
mov dword [edx + 0x38], eax
mov edx, dword [edi + 0x18]
mov dword [edx + 0x3c], eax
mov ecx, dword [edi + 0x64]
test ecx, ecx
je 0x423116
xor edx, edx
mov dword [ecx + 4], edx
mov dword [edi + 0x64], edx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [edi + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push edi
call fcn.00430230
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push edi
push eax
push eax
push 1
call fcn.00416830
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
movzx eax, byte [esi + 0x50]
jmp 0x422765
cmp eax, 0x3f
jne 0x423189
test byte [edi + 0x16f], 8
jne 0x4227a3
mov dword [esi + 0x10], 0x3f
jmp 0x4227a3
mov edx, dword [edi + 0x18]
test edx, edx
je 0x4231e0
test byte [edx + 0x44], 2
je 0x4231bb
mov dword [edx + 0x38], eax
mov edx, dword [edi + 0x18]
mov dword [edx + 0x3c], eax
mov ecx, dword [edi + 0x64]
test ecx, ecx
je 0x4231ae
xor edx, edx
mov dword [ecx + 4], edx
mov dword [edi + 0x64], edx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [edi + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push edi
call fcn.00430230
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push edi
push eax
push eax
push 1
call fcn.00416830
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x18]
test eax, eax
je 0x423260
test byte [eax + 0x44], 2
je 0x423236
mov edx, 0x42
mov dword [eax + 0x38], edx
mov eax, dword [edi + 0x18]
mov dword [eax + 0x3c], edx
mov edx, dword [edi + 0x64]
test edx, edx
je 0x423224
xor eax, eax
mov dword [edx + 4], eax
mov dword [edi + 0x64], eax
mov eax, 0x42
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov eax, 0x42
push eax
movzx edx, byte [edi + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push edi
call fcn.00430230
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push edi
mov eax, 0x42
push eax
push eax
push 1
call fcn.00416830
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x18]
test edx, edx
je 0x4232d6
test byte [edx + 0x44], 2
je 0x4232b1
mov dword [edx + 0x38], eax
mov edx, dword [edi + 0x18]
mov dword [edx + 0x3c], eax
mov ecx, dword [edi + 0x64]
test ecx, ecx
je 0x4232a4
xor edx, edx
mov dword [ecx + 4], edx
mov dword [edi + 0x64], edx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [edi + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push edi
call fcn.00430230
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push edi
push eax
push eax
push 1
call fcn.00416830
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x18]
test edx, edx
je 0x423347
test byte [edx + 0x44], 2
je 0x423322
mov dword [edx + 0x38], eax
mov edx, dword [edi + 0x18]
mov dword [edx + 0x3c], eax
mov ecx, dword [edi + 0x64]
test ecx, ecx
je 0x423315
xor edx, edx
mov dword [ecx + 4], edx
mov dword [edi + 0x64], edx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push eax
movzx edx, byte [edi + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push edi
call fcn.00430230
add esp, 0x14
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push edi
push eax
push eax
push 1
call fcn.00416830
add esp, 0x10
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x20], 0
jne 0x421753
cmp ebx, 1
jg 0x421753
or eax, 0x40
jmp 0x421756
cmp dword [ebp - 0x20], 0
jne 0x421743
cmp ebx, 1
jg 0x421743
movzx eax, byte [esi + 0x4f]
or eax, 0x20
jmp 0x421753
xor eax, eax
mov dword [esi + 0xc], edx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0xc]
test edx, edx
mov ebx, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
lea ecx, [edx + 1]
jne 0x4233c2
mov ecx, 2
xor eax, eax
mov dword [esi + 0xc], ecx
mov esi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
xor eax, eax
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret