Function at 0x4277a0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov edx, dword [edi + 0x4c]
test edx, edx
jne 0x4277bc
mov edx, dword [edi + 0x3c]
mov ebx, dword [edi + 0x40]
test ebx, ebx
je 0x4277c9
neg ebx
add ebx, edx
jmp 0x4277ce
mov ebx, edx
sub ebx, dword [edi + 0x38]
movsx eax, byte [edi + 0x15c]
lea ecx, [ebx + 4]
cmp ecx, dword [edi + 0xec]
jbe 0x42780e
cmp eax, 1
je 0x42780e
push 0x200
push edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
call fcn.00430af0
mov ecx, dword [ebp - 0x14]
add esp, 8
mov edx, dword [ebp - 0x18]
test eax, eax
jne 0x4286c8
movsx eax, byte [edi + 0x15c]
dec eax
cmp eax, 7
ja case.0x427818.3
jmp dword [eax*4 + 0x4e2cd4]
cmp byte [edi + 0x15e], 1
je case.0x427818.5
test byte [edi + 0x175], 0x40
jne case.0x427818.5
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42788b
cmp byte [eax + 0x1e], 0
je 0x42788b
cmp dword [edi + 0x13c], 1
je case.0x427818.5
cmp dword [0x50bf40], 0
je 0x42788b
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov edx, dword [edi + 0x144]
je 0x427879
cmp edx, 0xfffffffa
je case.0x427818.5
cmp edx, 1
je case.0x427818.5
cmp edx, 2
je case.0x427818.5
mov eax, dword [edi + 0x40]
test eax, eax
je 0x428763
mov byte [eax + ebx], 0xd
mov eax, dword [edi + 0x40]
mov byte [eax + ebx + 1], 0xa
add ebx, 2
jmp case.0x427818.5
cmp byte [edi + 0x15e], 1
je case.0x427818.5
test byte [edi + 0x175], 0x40
jne case.0x427818.5
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x427916
cmp byte [eax + 0x1e], 0
je 0x427916
cmp dword [edi + 0x13c], 1
je case.0x427818.5
cmp dword [0x50bf40], 0
je 0x427916
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov edx, dword [edi + 0x144]
je 0x427904
cmp edx, 0xfffffffa
je case.0x427818.5
cmp edx, 1
je case.0x427818.5
cmp edx, 2
je case.0x427818.5
mov eax, dword [edi + 0x40]
test eax, eax
je 0x428809
mov byte [eax + ebx], 0xd
inc ebx
jmp case.0x427818.5
cmp byte [edi + 0x15e], 1
je case.0x427818.5
test byte [edi + 0x175], 0x40
jne case.0x427818.5
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x427997
cmp byte [eax + 0x1e], 0
je 0x427997
cmp dword [edi + 0x13c], 1
je case.0x427818.5
cmp dword [0x50bf40], 0
je 0x427997
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov edx, dword [edi + 0x144]
je 0x427985
cmp edx, 0xfffffffa
je case.0x427818.5
cmp edx, 1
je case.0x427818.5
cmp edx, 2
je case.0x427818.5
mov eax, dword [edi + 0x40]
test eax, eax
je 0x42877a
mov byte [eax + ebx], 0xa
inc ebx
jmp case.0x427818.5
mov eax, dword [edi + 0x40]
add ebx, 0xfffffffc
mov dword [ebp - 0x10], ebx
test eax, eax
je 0x428787
test byte [edi + 0x175], 0x20
je 0x4279f1
mov edx, ebx
shr edx, 0x18
mov byte [eax], dl
mov eax, ebx
mov esi, dword [edi + 0x40]
shr eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [esi + 1], al
mov eax, dword [edi + 0x40]
mov dword [ebp - 0x18], edx
mov edx, ebx
shr edx, 8
mov byte [eax + 2], dl
mov esi, dword [edi + 0x40]
mov byte [esi + 3], bl
jmp 0x427a1b
movzx ebx, byte [ebp - 0x10]
mov byte [eax], bl
mov esi, dword [edi + 0x40]
movzx edx, byte [ebp - 0xf]
movzx eax, byte [ebp - 0xe]
mov byte [esi + 1], dl
mov esi, dword [edi + 0x40]
mov dword [ebp - 0x14], eax
mov byte [esi + 2], al
mov esi, dword [edi + 0x40]
movzx eax, byte [ebp - 0xd]
mov dword [ebp - 0x18], eax
mov byte [esi + 3], al
test byte [edi + 0x175], 0x20
je 0x427a43
mov esi, dword [edi + 0x3c]
mov eax, dword [ebp - 0x18]
mov byte [esi], al
mov esi, dword [edi + 0x3c]
mov eax, dword [ebp - 0x14]
mov byte [esi + 1], al
mov eax, dword [edi + 0x3c]
mov byte [eax + 2], dl
mov edx, dword [edi + 0x3c]
mov byte [edx + 3], bl
jmp 0x427a60
mov esi, dword [edi + 0x3c]
mov byte [esi], bl
mov eax, dword [edi + 0x3c]
mov byte [eax + 1], dl
mov ebx, dword [edi + 0x3c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov byte [ebx + 2], dl
mov edx, dword [edi + 0x3c]
mov byte [edx + 3], al
mov ebx, ecx
jmp case.0x427818.5
mov eax, dword [edi + 0xf8]
cmp ebx, eax
jae 0x427a85
sub eax, ebx
push eax
push 0x20
push edx
call fcn.004c49d0
add esp, 0xc
mov ebx, dword [edi + 0xf8]
test byte [edi + 0x170], 4
je case.0x427818.5
test byte [edi + 0x172], 0x40
je case.0x427818.5
test byte [edi + 0x173], 8
je case.0x427818.5
cmp byte [edi + 0x15e], 1
je case.0x427818.5
test byte [edi + 0x175], 0x40
jne case.0x427818.5
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x427b00
cmp byte [eax + 0x1e], 0
je 0x427b00
cmp dword [edi + 0x13c], 1
je case.0x427818.5
cmp dword [0x50bf40], 0
je 0x427b00
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov edx, dword [edi + 0x144]
je 0x427af6
cmp edx, 0xfffffffa
je case.0x427818.5
cmp edx, 1
je case.0x427818.5
cmp edx, 2
je case.0x427818.5
mov eax, dword [edi + 0x40]
test eax, eax
je 0x4287f4
mov byte [eax + ebx - 2], 0xd
mov eax, dword [edi + 0x40]
mov byte [eax + ebx - 1], 0xa
jmp case.0x427818.5
push 0x3ce
push str.for_put.c
push 2
push 8
call fcn.0041fa10
add esp, 0x10
mov ecx, dword [edi + 0x40]
test ecx, ecx
je 0x427b3b
mov esi, ecx
jmp 0x427b3e
mov esi, dword [edi + 0x38]
movsx eax, byte [edi + 0x15e]
cmp eax, 2
jne 0x427d2c
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x427bc6
cmp byte [edx + 0x1c], 0
jne 0x427b61
cmp byte [edx + 0x1d], 0
je 0x427bbf
cmp byte [edx + 0x20], 0
je 0x427b9c
cmp dword [edi + 0x13c], 1
je 0x427bbf
cmp dword [0x50bf40], 0
je 0x427b9c
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov ecx, dword [edi + 0x144]
je 0x427b92
cmp ecx, 0xfffffffa
je 0x427bbf
cmp ecx, 1
je 0x427bbf
cmp ecx, 2
je 0x427bbf
mov eax, edi
lea edx, [ebp - 0x10]
mov ecx, 1
mov byte [ebp - 0x10], 0xa
call fcn.0042712c
cmp eax, 0xffffffff
je 0x428816
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x427bc6
mov byte [edx + 0x1c], 0
mov edx, dword [edi + 0x7c]
test byte [edi + 0x170], 4
je 0x427be5
test byte [edi + 0x172], 0x40
je 0x427be5
test byte [edi + 0x173], 8
jne 0x427c7e
movsx ecx, byte [edi + 0x15c]
cmp ecx, 6
je 0x427c7e
movzx eax, byte [edi + 0x175]
cmp ecx, 8
mov dword [ebp - 0x14], eax
je 0x427c76
test byte [ebp - 0x14], 0x40
jne 0x427c76
test edx, edx
je 0x427c51
cmp byte [edx + 0x1e], 0
je 0x427c51
mov ecx, dword [edi + 0x13c]
cmp ecx, 1
je 0x427c8e
cmp dword [0x50bf40], 0
je 0x427c51
mov eax, dword [edi + 0x144]
mov dword [ebp - 0x18], eax
movzx eax, byte [edi + 0x178]
test eax, 0x80
je 0x427c45
cmp dword [ebp - 0x18], 0xfffffffa
je 0x427c8e
cmp dword [ebp - 0x18], 1
je 0x427c8e
cmp dword [ebp - 0x18], 2
je 0x427c8e
mov eax, dword [edi + 0x40]
test eax, eax
je 0x428834
mov byte [eax + ebx], 0xa
movzx eax, byte [edi + 0x175]
inc ebx
mov ecx, dword [edi + 0x13c]
mov edx, dword [edi + 0x7c]
mov dword [ebp - 0x14], eax
jmp 0x427c8e
mov ecx, dword [edi + 0x13c]
jmp 0x427c8e
movzx eax, byte [edi + 0x175]
mov ecx, dword [edi + 0x13c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
and eax, 0xffffffbf
mov byte [edi + 0x175], al
test edx, edx
je 0x427ce2
cmp byte [edx + 0x1e], 0
je 0x427ce2
cmp ecx, 1
je 0x427cd9
cmp dword [0x50bf40], 0
je 0x427cee
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov ecx, dword [edi + 0x144]
je 0x427ccb
cmp ecx, 0xfffffffa
je 0x427cd9
cmp ecx, 2
je 0x427cd9
cmp ecx, 1
jne 0x428883
mov byte [edx + 0x20], 1
jmp 0x42867a
cmp ecx, 1
je 0x427d1b
cmp dword [0x50bf40], 0
je 0x42867a
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov ecx, dword [edi + 0x144]
je 0x427d0d
cmp ecx, 0xfffffffa
je 0x427d1b
cmp ecx, 2
je 0x427d1b
cmp ecx, 1
jne 0x42867a
test edx, edx
je 0x42867a
mov byte [edx + 0x20], 0
jmp 0x42867a
cmp eax, 1
jne 0x4285f1
cmp ebx, 5
lea edx, [ebx + 1]
je 0x427d3f
mov edx, ebx
test ecx, ecx
je 0x427d48
lea esi, [ecx + 4]
jmp 0x427d4e
mov esi, dword [edi + 0x38]
add esi, 4
test ecx, ecx
lea ebx, [edx - 4]
je 0x428840
movsx eax, byte [ecx + 5]
cmp eax, 0x31
ja case.0x427d66.1
jmp dword [eax*4 + 0x4e2d00]
movzx eax, byte [edi + 0x170]
test al, 2
je 0x427ee9
cmp dword [edi + 0x13c], 1
je 0x427dc0
cmp dword [0x50bf40], 0
je 0x427ee9
mov ecx, dword [edi + 0x144]
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edi + 0x178]
test ecx, 0x80
je 0x427db0
cmp dword [ebp - 0x18], 0xfffffffa
je 0x427dc0
cmp dword [ebp - 0x18], 2
je 0x427dc0
cmp dword [ebp - 0x18], 1
jne 0x427ee9
mov ecx, dword [edi + 0x7c]
inc esi
test ecx, ecx
je 0x427e93
cmp byte [ecx + 0x1e], 0
je 0x427e46
and eax, 4
shr eax, 2
test eax, eax
je 0x427de7
cmp byte [ecx + 0x20], 0
je 0x427de7
lea ebx, [edx - 5]
jmp 0x427e2b
cmp byte [ecx + 0x1c], 0
jne 0x427df3
cmp byte [ecx + 0x1d], 0
je 0x427e27
test eax, eax
je 0x427e18
add esi, 0xfffffffc
mov eax, 0xd
lea ebx, [edx - 1]
mov byte [esi], 0xa
mov byte [esi + 1], 0xc
mov byte [esi + 2], al
mov byte [esi + 3], 0x20
mov byte [esi + 4], al
mov ecx, dword [edi + 0x7c]
jmp 0x427e21
mov byte [esi], 0xc
lea ebx, [edx - 5]
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jne 0x427e2b
jmp 0x427e3d
inc esi
lea ebx, [edx - 6]
mov byte [ecx + 0x1c], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x427e3d
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x20], 1
jmp 0x42867a
cmp byte [ecx + 0x20], 0
je 0x427e62
test al, 4
je 0x427e57
mov byte [esi + ebx - 1], 0xd
jmp 0x427ebd
inc esi
lea ebx, [edx - 5]
mov byte [ebx + esi - 1], 0xd
jmp 0x427ebd
cmp byte [ecx + 0x1c], 0
jne 0x427e6e
cmp byte [ecx + 0x1d], 0
je 0x427e93
test al, 4
je 0x427eb5
add esi, 0xfffffffc
mov eax, 0xd
mov byte [esi], 0xa
mov byte [esi + 1], 0xc
mov byte [esi + 2], al
mov byte [esi + 3], 0x20
mov byte [esi + 4], al
mov byte [esi + ebx + 3], al
mov ebx, edx
jmp 0x427ebd
test al, 4
je 0x427eb5
add esi, 0xfffffffd
mov eax, 0xd
mov byte [esi], 0xc
mov byte [esi + 1], al
mov byte [esi + 2], 0x20
mov byte [esi + 3], al
mov byte [esi + ebx + 2], al
lea ebx, [edx - 1]
jmp 0x427ebd
mov byte [esi], 0xc
mov byte [esi + ebx - 1], 0xd
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x1c], 1
mov edx, dword [edi + 0x7c]
mov dword [edx + 0x10], edi
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42867a
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x428676
jmp 0x42867a
mov ecx, dword [edi + 0x7c]
inc esi
test ecx, ecx
je 0x427f22
cmp byte [ecx + 0x1c], 0
jne 0x427efd
cmp byte [ecx + 0x1d], 0
je 0x427f22
test al, 4
je 0x427f44
add esi, 0xfffffffc
mov eax, 0xd
mov byte [esi], 0xa
mov byte [esi + 1], 0xc
mov byte [esi + 2], al
mov byte [esi + 3], 0x20
mov byte [esi + 4], al
mov byte [esi + ebx + 3], al
mov ebx, edx
jmp 0x427f4c
test al, 4
je 0x427f44
add esi, 0xfffffffd
mov eax, 0xd
mov byte [esi], 0xc
mov byte [esi + 1], al
mov byte [esi + 2], 0x20
mov byte [esi + 3], al
mov byte [esi + ebx + 2], al
lea ebx, [edx - 1]
jmp 0x427f4c
mov byte [esi], 0xc
mov byte [esi + ebx - 1], 0xd
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x1c], 1
mov edx, dword [edi + 0x7c]
mov dword [edx + 0x10], edi
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42867a
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x428676
jmp 0x42867a
movzx eax, byte [edi + 0x170]
test al, 2
je 0x4280f4
cmp dword [edi + 0x13c], 1
je 0x427fcb
cmp dword [0x50bf40], 0
je 0x4280f4
mov ecx, dword [edi + 0x144]
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edi + 0x178]
test ecx, 0x80
je 0x427fbb
cmp dword [ebp - 0x18], 0xfffffffa
je 0x427fcb
cmp dword [ebp - 0x18], 2
je 0x427fcb
cmp dword [ebp - 0x18], 1
jne 0x4280f4
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x4280a8
cmp byte [ecx + 0x1e], 0
je 0x42804d
and eax, 4
shr eax, 2
test eax, eax
je 0x427ff2
cmp byte [ecx + 0x20], 0
je 0x427ff2
inc esi
lea ebx, [edx - 5]
jmp 0x428032
cmp byte [ecx + 0x1c], 0
jne 0x427ffe
cmp byte [ecx + 0x1d], 0
je 0x42802c
test eax, eax
je 0x428019
dec esi
mov eax, 0xa
lea ebx, [edx - 3]
mov byte [esi], al
mov byte [esi + 1], 0xd
mov byte [esi + 2], al
mov ecx, dword [edi + 0x7c]
jmp 0x428026
mov eax, 0xa
mov byte [esi], al
mov byte [esi + 1], al
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jne 0x428032
jmp 0x428044
add esi, 2
lea ebx, [edx - 6]
mov byte [ecx + 0x1c], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x428044
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x20], 1
jmp 0x42867a
cmp byte [ecx + 0x20], 0
je 0x42806c
test al, 4
je 0x42805f
inc esi
mov byte [esi + ebx - 1], 0xd
jmp 0x4280c8
add esi, 2
lea ebx, [edx - 5]
mov byte [ebx + esi - 1], 0xd
jmp 0x4280c8
cmp byte [ecx + 0x1c], 0
jne 0x428078
cmp byte [ecx + 0x1d], 0
je 0x4280a8
test al, 4
je 0x428095
dec esi
mov eax, 0xa
mov byte [esi], al
mov byte [esi + 1], 0xd
mov byte [esi + 2], al
mov byte [esi + ebx + 1], 0xd
lea ebx, [edx - 2]
jmp 0x4280c8
mov eax, 0xa
mov byte [esi], al
mov byte [esi + 1], al
mov byte [esi + ebx], 0xd
lea ebx, [edx - 3]
jmp 0x4280c8
test al, 4
je 0x4280bf
mov eax, 0xd
mov byte [esi], al
mov byte [esi + 1], 0xa
mov byte [esi + ebx], al
lea ebx, [edx - 3]
jmp 0x4280c8
inc esi
mov byte [esi], 0xa
mov byte [esi + ebx - 1], 0xd
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x1c], 1
mov edx, dword [edi + 0x7c]
mov dword [edx + 0x10], edi
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42867a
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x428676
jmp 0x42867a
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x428137
cmp byte [ecx + 0x1c], 0
jne 0x428107
cmp byte [ecx + 0x1d], 0
je 0x428137
test al, 4
je 0x428124
dec esi
mov eax, 0xa
mov byte [esi], al
mov byte [esi + 1], 0xd
mov byte [esi + 2], al
mov byte [esi + ebx + 1], 0xd
lea ebx, [edx - 2]
jmp 0x428157
mov eax, 0xa
mov byte [esi], al
mov byte [esi + 1], al
mov byte [esi + ebx], 0xd
lea ebx, [edx - 3]
jmp 0x428157
test al, 4
je 0x42814e
mov eax, 0xd
mov byte [esi], al
mov byte [esi + 1], 0xa
mov byte [esi + ebx], al
lea ebx, [edx - 3]
jmp 0x428157
inc esi
mov byte [esi], 0xa
mov byte [esi + ebx - 1], 0xd
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x1c], 1
mov edx, dword [edi + 0x7c]
mov dword [edx + 0x10], edi
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42867a
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x428676
jmp 0x42867a
movzx eax, byte [edi + 0x170]
test al, 2
je 0x428261
cmp dword [edi + 0x13c], 1
je 0x4281d6
cmp dword [0x50bf40], 0
je 0x428261
mov ecx, dword [edi + 0x144]
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edi + 0x178]
test ecx, 0x80
je 0x4281c6
cmp dword [ebp - 0x18], 0xfffffffa
je 0x4281d6
cmp dword [ebp - 0x18], 2
je 0x4281d6
cmp dword [ebp - 0x18], 1
jne 0x428261
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x428214
cmp byte [ecx + 0x1e], 0
je 0x428214
test al, 4
je 0x4281f3
cmp byte [ecx + 0x20], 0
je 0x4281f3
inc esi
lea ebx, [edx - 5]
jmp 0x4281f9
add esi, 2
lea ebx, [edx - 6]
mov byte [ecx + 0x1c], 0
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42820b
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x20], 1
jmp 0x42867a
test al, 4
je 0x42822a
test ecx, ecx
je 0x42822a
cmp byte [ecx + 0x20], 0
je 0x42822a
inc esi
mov byte [esi + ebx - 1], 0xd
jmp 0x428235
add esi, 2
lea ebx, [edx - 5]
mov byte [ebx + esi - 1], 0xd
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x1c], 1
mov edx, dword [edi + 0x7c]
mov dword [edx + 0x10], edi
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42867a
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x428676
jmp 0x42867a
add esi, 2
lea ebx, [edx - 5]
mov byte [ebx + esi - 1], 0xd
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x1c], 1
mov edx, dword [edi + 0x7c]
mov dword [edx + 0x10], edi
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42867a
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x428676
jmp 0x42867a
test byte [edi + 0x170], 2
je 0x42837d
cmp dword [edi + 0x13c], 1
je 0x4282e2
cmp dword [0x50bf40], 0
je 0x42837d
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov ecx, dword [edi + 0x144]
je 0x4282d4
cmp ecx, 0xfffffffa
je 0x4282e2
cmp ecx, 2
je 0x4282e2
cmp ecx, 1
jne 0x42837d
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x428352
cmp byte [eax + 0x1e], 0
je 0x42832c
cmp byte [eax + 0x1c], 0
jne 0x4282fb
cmp byte [eax + 0x1d], 0
je 0x42830b
inc esi
lea ebx, [edx - 5]
mov byte [esi], 0xa
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x428311
jmp 0x428323
add esi, 2
lea ebx, [edx - 6]
mov byte [eax + 0x1c], 0
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x428323
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x20], 1
jmp 0x42867a
cmp byte [eax + 0x20], 0
je 0x42833a
add esi, 2
lea ebx, [edx - 6]
jmp 0x42835c
cmp byte [eax + 0x1c], 0
jne 0x428346
cmp byte [eax + 0x1d], 0
je 0x428352
inc esi
lea ebx, [edx - 5]
mov byte [esi], 0xa
mov eax, dword [edi + 0x7c]
jmp 0x428358
add esi, 2
lea ebx, [edx - 6]
test eax, eax
je 0x428363
mov byte [eax + 0x1c], 0
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x1d], 1
mov eax, dword [edi + 0x7c]
mov dword [eax + 0x10], edi
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x428676
jmp 0x42867a
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42839c
cmp byte [eax + 0x1c], 0
jne 0x428390
cmp byte [eax + 0x1d], 0
je 0x42839c
inc esi
lea ebx, [edx - 5]
mov byte [esi], 0xa
mov eax, dword [edi + 0x7c]
jmp 0x4283a2
add esi, 2
lea ebx, [edx - 6]
test eax, eax
je 0x4283ad
mov byte [eax + 0x1c], 0
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x1d], 1
mov eax, dword [edi + 0x7c]
mov dword [eax + 0x10], edi
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x428676
jmp 0x42867a
test byte [edi + 0x170], 2
je 0x42846a
cmp dword [edi + 0x13c], 1
je 0x42840d
cmp dword [0x50bf40], 0
je 0x42846a
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov ecx, dword [edi + 0x144]
je 0x428403
cmp ecx, 0xfffffffa
je 0x42840d
cmp ecx, 2
je 0x42840d
cmp ecx, 1
jne 0x42846a
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x42841a
movzx eax, byte [ecx + 0x1e]
jmp 0x42841c
xor eax, eax
add esi, 2
lea ebx, [edx - 6]
test eax, eax
je 0x428445
test ecx, ecx
je 0x42843c
mov byte [ecx + 0x1c], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x42843c
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x20], 1
jmp 0x42867a
test ecx, ecx
je 0x428450
mov byte [ecx + 0x1c], 0
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x1d], 1
mov eax, dword [edi + 0x7c]
mov dword [eax + 0x10], edi
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x428676
jmp 0x42867a
mov eax, dword [edi + 0x7c]
add esi, 2
test eax, eax
lea ebx, [edx - 6]
je 0x42847e
mov byte [eax + 0x1c], 0
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x1d], 1
mov eax, dword [edi + 0x7c]
mov dword [eax + 0x10], edi
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x428676
jmp 0x42867a
movzx eax, byte [edi + 0x170]
test al, 2
je 0x42859e
cmp dword [edi + 0x13c], 1
je 0x4284eb
cmp dword [0x50bf40], 0
je 0x42859e
mov ecx, dword [edi + 0x144]
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edi + 0x178]
test ecx, 0x80
je 0x4284db
cmp dword [ebp - 0x18], 0xfffffffa
je 0x4284eb
cmp dword [ebp - 0x18], 2
je 0x4284eb
cmp dword [ebp - 0x18], 1
jne 0x42859e
mov ecx, dword [edi + 0x7c]
inc esi
test ecx, ecx
je 0x428569
cmp byte [ecx + 0x1e], 0
je 0x428542
test al, 4
je 0x428508
cmp byte [ecx + 0x20], 0
je 0x428508
lea ebx, [edx - 5]
jmp 0x428527
cmp byte [ecx + 0x1c], 0
jne 0x428514
cmp byte [ecx + 0x1d], 0
je 0x428523
mov byte [esi], 0xa
lea ebx, [edx - 5]
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jne 0x428527
jmp 0x428539
inc esi
lea ebx, [edx - 6]
mov byte [ecx + 0x1c], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x428539
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x20], 1
jmp 0x42867a
cmp byte [ecx + 0x20], 0
je 0x428553
test al, 4
je 0x428569
mov byte [esi + ebx - 1], 0xd
jmp 0x428572
cmp byte [ecx + 0x1c], 0
jne 0x42855f
cmp byte [ecx + 0x1d], 0
je 0x428569
mov byte [esi], 0xa
mov byte [esi + ebx - 1], 0xd
jmp 0x428572
inc esi
lea ebx, [edx - 5]
mov byte [ebx + esi - 1], 0xd
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x1c], 1
mov edx, dword [edi + 0x7c]
mov dword [edx + 0x10], edi
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42867a
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x428676
jmp 0x42867a
mov eax, dword [edi + 0x7c]
inc esi
test eax, eax
je 0x4285bc
cmp byte [eax + 0x1c], 0
jne 0x4285b2
cmp byte [eax + 0x1d], 0
je 0x4285bc
mov byte [esi], 0xa
mov byte [esi + ebx - 1], 0xd
jmp 0x4285c5
inc esi
lea ebx, [edx - 5]
mov byte [ebx + esi - 1], 0xd
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x1c], 1
mov edx, dword [edi + 0x7c]
mov dword [edx + 0x10], edi
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42867a
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x428676
jmp 0x42867a
mov eax, dword [edi + 0x7c]
test eax, eax
mov edx, dword [edi + 0x13c]
je 0x428640
cmp byte [eax + 0x1e], 0
je 0x428640
cmp edx, 1
je 0x42863a
cmp dword [0x50bf40], 0
je 0x42864c
movzx edx, byte [edi + 0x178]
test edx, 0x80
mov ecx, dword [edi + 0x144]
je 0x42862c
cmp ecx, 0xfffffffa
je 0x42863a
cmp ecx, 2
je 0x42863a
cmp ecx, 1
jne 0x428871
mov byte [eax + 0x20], 1
jmp 0x42867a
cmp edx, 1
je 0x428672
cmp dword [0x50bf40], 0
je 0x42867a
movzx edx, byte [edi + 0x178]
test edx, 0x80
mov ecx, dword [edi + 0x144]
je 0x428668
cmp ecx, 0xfffffffa
je 0x428672
cmp ecx, 2
je 0x428672
cmp ecx, 1
jne 0x42867a
test eax, eax
je 0x42867a
mov byte [eax + 0x20], 0
mov eax, edi
mov edx, esi
mov ecx, ebx
call fcn.0042712c
and byte [edi + 0x174], 0xbf
cmp eax, 0xffffffff
je 0x428816
test byte [edi + 0x175], 8
je 0x4286b9
push dword [edi + 0xe4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x42884c
and byte [edi + 0x175], 0xf7
xor eax, eax
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
push 4
push edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
call fcn.00430af0
mov ecx, dword [ebp - 0x14]
add esp, 8
mov edx, dword [ebp - 0x18]
test eax, eax
je 0x427807
mov eax, dword [edi + 0x18]
test eax, eax
je 0x428747
test byte [eax + 0x44], 2
je 0x428720
mov edx, 0x42
mov dword [eax + 0x38], edx
mov eax, dword [edi + 0x18]
mov dword [eax + 0x3c], edx
mov eax, dword [edi + 0x64]
test eax, eax
je 0x428711
xor edx, edx
mov dword [eax + 4], edx
mov dword [edi + 0x64], edx
mov eax, 0x42
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov eax, 0x42
push eax
movzx edx, byte [edi + 0x174]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push edi
call fcn.0042bac0
add esp, 0x14
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
push edi
mov eax, 0x42
push eax
push eax
push 1
call fcn.0041d960
add esp, 0x10
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x38]
mov byte [eax + ebx], 0xd
mov edx, dword [edi + 0x38]
mov byte [edx + ebx + 1], 0xa
add ebx, 2
jmp case.0x427818.5
mov eax, dword [edi + 0x38]
mov byte [eax + ebx], 0xa
inc ebx
jmp case.0x427818.5
test byte [edi + 0x175], 0x20
je 0x4287c2
mov ebx, dword [edi + 0x38]
movzx edx, byte [ebp - 0xd]
movzx eax, byte [ebp - 0xe]
mov byte [ebx], dl
mov esi, dword [edi + 0x38]
mov dword [ebp - 0x18], edx
movzx edx, byte [ebp - 0xf]
mov byte [esi + 1], al
mov ebx, dword [edi + 0x38]
mov dword [ebp - 0x14], eax
mov byte [ebx + 2], dl
mov eax, dword [edi + 0x38]
movzx ebx, byte [ebp - 0x10]
mov byte [eax + 3], bl
jmp 0x427a1b
mov edx, dword [edi + 0x38]
movzx ebx, byte [ebp - 0x10]
mov byte [edx], bl
mov eax, dword [edi + 0x38]
movzx edx, byte [ebp - 0xf]
mov byte [eax + 1], dl
mov esi, dword [edi + 0x38]
movzx eax, byte [ebp - 0xe]
mov dword [ebp - 0x14], eax
mov byte [esi + 2], al
mov esi, dword [edi + 0x38]
movzx eax, byte [ebp - 0xd]
mov dword [ebp - 0x18], eax
mov byte [esi + 3], al
jmp 0x427a1b
mov eax, dword [edi + 0x38]
mov byte [eax + ebx - 2], 0xd
mov edx, dword [edi + 0x38]
mov byte [edx + ebx - 1], 0xa
jmp case.0x427818.5
mov eax, dword [edi + 0x38]
mov byte [eax + ebx], 0xd
inc ebx
jmp case.0x427818.5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xe8], eax
mov eax, 0x26
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x38]
mov byte [eax + ebx], 0xa
jmp 0x427c60
mov eax, dword [edi + 0x38]
movsx eax, byte [eax + 5]
jmp 0x427d5d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xe8], eax
mov eax, 0x26
and byte [edi + 0x175], 0xf7
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
cmp dword [0x50bf40], 0
jne 0x42864e
jmp 0x42867a
cmp dword [0x50bf40], 0
jne 0x427cf4
jmp 0x42867a