Function at 0x428260
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 0x42827c
mov edx, dword [edi + 0x3c]
mov ebx, dword [edi + 0x40]
test ebx, ebx
je 0x428289
neg ebx
add ebx, edx
jmp 0x42828e
mov ebx, edx
sub ebx, dword [edi + 0x38]
movsx eax, byte [edi + 0x15c]
lea ecx, [ebx + 4]
cmp ecx, dword [edi + 0xec]
jbe 0x4282ce
cmp eax, 1
je 0x4282ce
push 0x200
push edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
call fcn.0042b120
mov ecx, dword [ebp - 0x14]
add esp, 8
mov edx, dword [ebp - 0x18]
test eax, eax
jne 0x429188
movsx eax, byte [edi + 0x15c]
dec eax
cmp eax, 7
ja case.0x4282d8.3
jmp dword [eax*4 + 0x4ddfb0]
cmp byte [edi + 0x15e], 1
je case.0x4282d8.5
test byte [edi + 0x175], 0x40
jne case.0x4282d8.5
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42834b
cmp byte [eax + 0x1e], 0
je 0x42834b
cmp dword [edi + 0x13c], 1
je case.0x4282d8.5
cmp dword [0x5045e0], 0
je 0x42834b
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov edx, dword [edi + 0x144]
je 0x428339
cmp edx, 0xfffffffa
je case.0x4282d8.5
cmp edx, 1
je case.0x4282d8.5
cmp edx, 2
je case.0x4282d8.5
mov eax, dword [edi + 0x40]
test eax, eax
je 0x429223
mov byte [eax + ebx], 0xd
mov eax, dword [edi + 0x40]
mov byte [eax + ebx + 1], 0xa
add ebx, 2
jmp case.0x4282d8.5
cmp byte [edi + 0x15e], 1
je case.0x4282d8.5
test byte [edi + 0x175], 0x40
jne case.0x4282d8.5
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x4283d6
cmp byte [eax + 0x1e], 0
je 0x4283d6
cmp dword [edi + 0x13c], 1
je case.0x4282d8.5
cmp dword [0x5045e0], 0
je 0x4283d6
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov edx, dword [edi + 0x144]
je 0x4283c4
cmp edx, 0xfffffffa
je case.0x4282d8.5
cmp edx, 1
je case.0x4282d8.5
cmp edx, 2
je case.0x4282d8.5
mov eax, dword [edi + 0x40]
test eax, eax
je 0x4292c9
mov byte [eax + ebx], 0xd
inc ebx
jmp case.0x4282d8.5
cmp byte [edi + 0x15e], 1
je case.0x4282d8.5
test byte [edi + 0x175], 0x40
jne case.0x4282d8.5
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x428457
cmp byte [eax + 0x1e], 0
je 0x428457
cmp dword [edi + 0x13c], 1
je case.0x4282d8.5
cmp dword [0x5045e0], 0
je 0x428457
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov edx, dword [edi + 0x144]
je 0x428445
cmp edx, 0xfffffffa
je case.0x4282d8.5
cmp edx, 1
je case.0x4282d8.5
cmp edx, 2
je case.0x4282d8.5
mov eax, dword [edi + 0x40]
test eax, eax
je 0x42923a
mov byte [eax + ebx], 0xa
inc ebx
jmp case.0x4282d8.5
mov eax, dword [edi + 0x40]
add ebx, 0xfffffffc
mov dword [ebp - 0x10], ebx
test eax, eax
je 0x429247
test byte [edi + 0x175], 0x20
je 0x4284b1
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 0x4284db
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 0x428503
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 0x428520
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.0x4282d8.5
mov eax, dword [edi + 0xf8]
cmp ebx, eax
jae 0x428545
sub eax, ebx
push eax
push 0x20
push edx
call fcn.004bfb10
add esp, 0xc
mov ebx, dword [edi + 0xf8]
test byte [edi + 0x170], 4
je case.0x4282d8.5
test byte [edi + 0x172], 0x40
je case.0x4282d8.5
test byte [edi + 0x173], 8
je case.0x4282d8.5
cmp byte [edi + 0x15e], 1
je case.0x4282d8.5
test byte [edi + 0x175], 0x40
jne case.0x4282d8.5
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x4285c0
cmp byte [eax + 0x1e], 0
je 0x4285c0
cmp dword [edi + 0x13c], 1
je case.0x4282d8.5
cmp dword [0x5045e0], 0
je 0x4285c0
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov edx, dword [edi + 0x144]
je 0x4285b6
cmp edx, 0xfffffffa
je case.0x4282d8.5
cmp edx, 1
je case.0x4282d8.5
cmp edx, 2
je case.0x4282d8.5
mov eax, dword [edi + 0x40]
test eax, eax
je 0x4292b4
mov byte [eax + ebx - 2], 0xd
mov eax, dword [edi + 0x40]
mov byte [eax + ebx - 1], 0xa
jmp case.0x4282d8.5
push 0x3ce
push str.for_put.c
push 2
push 8
call fcn.00411860
add esp, 0x10
mov ecx, dword [edi + 0x40]
test ecx, ecx
je 0x4285fb
mov esi, ecx
jmp 0x4285fe
mov esi, dword [edi + 0x38]
movsx eax, byte [edi + 0x15e]
cmp eax, 2
jne 0x4287ec
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x428686
cmp byte [edx + 0x1c], 0
jne 0x428621
cmp byte [edx + 0x1d], 0
je 0x42867f
cmp byte [edx + 0x20], 0
je 0x42865c
cmp dword [edi + 0x13c], 1
je 0x42867f
cmp dword [0x5045e0], 0
je 0x42865c
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov ecx, dword [edi + 0x144]
je 0x428652
cmp ecx, 0xfffffffa
je 0x42867f
cmp ecx, 1
je 0x42867f
cmp ecx, 2
je 0x42867f
mov eax, edi
lea edx, [ebp - 0x10]
mov ecx, 1
mov byte [ebp - 0x10], 0xa
call fcn.00427bec
cmp eax, 0xffffffff
je 0x4292d6
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x428686
mov byte [edx + 0x1c], 0
mov edx, dword [edi + 0x7c]
test byte [edi + 0x170], 4
je 0x4286a5
test byte [edi + 0x172], 0x40
je 0x4286a5
test byte [edi + 0x173], 8
jne 0x42873e
movsx ecx, byte [edi + 0x15c]
cmp ecx, 6
je 0x42873e
movzx eax, byte [edi + 0x175]
cmp ecx, 8
mov dword [ebp - 0x14], eax
je 0x428736
test byte [ebp - 0x14], 0x40
jne 0x428736
test edx, edx
je 0x428711
cmp byte [edx + 0x1e], 0
je 0x428711
mov ecx, dword [edi + 0x13c]
cmp ecx, 1
je 0x42874e
cmp dword [0x5045e0], 0
je 0x428711
mov eax, dword [edi + 0x144]
mov dword [ebp - 0x18], eax
movzx eax, byte [edi + 0x178]
test eax, 0x80
je 0x428705
cmp dword [ebp - 0x18], 0xfffffffa
je 0x42874e
cmp dword [ebp - 0x18], 1
je 0x42874e
cmp dword [ebp - 0x18], 2
je 0x42874e
mov eax, dword [edi + 0x40]
test eax, eax
je 0x4292f4
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 0x42874e
mov ecx, dword [edi + 0x13c]
jmp 0x42874e
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 0x4287a2
cmp byte [edx + 0x1e], 0
je 0x4287a2
cmp ecx, 1
je 0x428799
cmp dword [0x5045e0], 0
je 0x4287ae
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov ecx, dword [edi + 0x144]
je 0x42878b
cmp ecx, 0xfffffffa
je 0x428799
cmp ecx, 2
je 0x428799
cmp ecx, 1
jne 0x429343
mov byte [edx + 0x20], 1
jmp 0x42913a
cmp ecx, 1
je 0x4287db
cmp dword [0x5045e0], 0
je 0x42913a
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov ecx, dword [edi + 0x144]
je 0x4287cd
cmp ecx, 0xfffffffa
je 0x4287db
cmp ecx, 2
je 0x4287db
cmp ecx, 1
jne 0x42913a
test edx, edx
je 0x42913a
mov byte [edx + 0x20], 0
jmp 0x42913a
cmp eax, 1
jne 0x4290b1
cmp ebx, 5
lea edx, [ebx + 1]
je 0x4287ff
mov edx, ebx
test ecx, ecx
je 0x428808
lea esi, [ecx + 4]
jmp 0x42880e
mov esi, dword [edi + 0x38]
add esi, 4
test ecx, ecx
lea ebx, [edx - 4]
je 0x429300
movsx eax, byte [ecx + 5]
cmp eax, 0x31
ja case.0x428826.1
jmp dword [eax*4 + 0x4ddfe0]
movzx eax, byte [edi + 0x170]
test al, 2
je 0x4289a9
cmp dword [edi + 0x13c], 1
je 0x428880
cmp dword [0x5045e0], 0
je 0x4289a9
mov ecx, dword [edi + 0x144]
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edi + 0x178]
test ecx, 0x80
je 0x428870
cmp dword [ebp - 0x18], 0xfffffffa
je 0x428880
cmp dword [ebp - 0x18], 2
je 0x428880
cmp dword [ebp - 0x18], 1
jne 0x4289a9
mov ecx, dword [edi + 0x7c]
inc esi
test ecx, ecx
je 0x428953
cmp byte [ecx + 0x1e], 0
je 0x428906
and eax, 4
shr eax, 2
test eax, eax
je 0x4288a7
cmp byte [ecx + 0x20], 0
je 0x4288a7
lea ebx, [edx - 5]
jmp 0x4288eb
cmp byte [ecx + 0x1c], 0
jne 0x4288b3
cmp byte [ecx + 0x1d], 0
je 0x4288e7
test eax, eax
je 0x4288d8
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 0x4288e1
mov byte [esi], 0xc
lea ebx, [edx - 5]
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jne 0x4288eb
jmp 0x4288fd
inc esi
lea ebx, [edx - 6]
mov byte [ecx + 0x1c], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x4288fd
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x20], 1
jmp 0x42913a
cmp byte [ecx + 0x20], 0
je 0x428922
test al, 4
je 0x428917
mov byte [esi + ebx - 1], 0xd
jmp 0x42897d
inc esi
lea ebx, [edx - 5]
mov byte [ebx + esi - 1], 0xd
jmp 0x42897d
cmp byte [ecx + 0x1c], 0
jne 0x42892e
cmp byte [ecx + 0x1d], 0
je 0x428953
test al, 4
je 0x428975
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 0x42897d
test al, 4
je 0x428975
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 0x42897d
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 0x42913a
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x429136
jmp 0x42913a
mov ecx, dword [edi + 0x7c]
inc esi
test ecx, ecx
je 0x4289e2
cmp byte [ecx + 0x1c], 0
jne 0x4289bd
cmp byte [ecx + 0x1d], 0
je 0x4289e2
test al, 4
je 0x428a04
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 0x428a0c
test al, 4
je 0x428a04
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 0x428a0c
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 0x42913a
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x429136
jmp 0x42913a
movzx eax, byte [edi + 0x170]
test al, 2
je 0x428bb4
cmp dword [edi + 0x13c], 1
je 0x428a8b
cmp dword [0x5045e0], 0
je 0x428bb4
mov ecx, dword [edi + 0x144]
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edi + 0x178]
test ecx, 0x80
je 0x428a7b
cmp dword [ebp - 0x18], 0xfffffffa
je 0x428a8b
cmp dword [ebp - 0x18], 2
je 0x428a8b
cmp dword [ebp - 0x18], 1
jne 0x428bb4
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x428b68
cmp byte [ecx + 0x1e], 0
je 0x428b0d
and eax, 4
shr eax, 2
test eax, eax
je 0x428ab2
cmp byte [ecx + 0x20], 0
je 0x428ab2
inc esi
lea ebx, [edx - 5]
jmp 0x428af2
cmp byte [ecx + 0x1c], 0
jne 0x428abe
cmp byte [ecx + 0x1d], 0
je 0x428aec
test eax, eax
je 0x428ad9
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 0x428ae6
mov eax, 0xa
mov byte [esi], al
mov byte [esi + 1], al
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jne 0x428af2
jmp 0x428b04
add esi, 2
lea ebx, [edx - 6]
mov byte [ecx + 0x1c], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x428b04
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x20], 1
jmp 0x42913a
cmp byte [ecx + 0x20], 0
je 0x428b2c
test al, 4
je 0x428b1f
inc esi
mov byte [esi + ebx - 1], 0xd
jmp 0x428b88
add esi, 2
lea ebx, [edx - 5]
mov byte [ebx + esi - 1], 0xd
jmp 0x428b88
cmp byte [ecx + 0x1c], 0
jne 0x428b38
cmp byte [ecx + 0x1d], 0
je 0x428b68
test al, 4
je 0x428b55
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 0x428b88
mov eax, 0xa
mov byte [esi], al
mov byte [esi + 1], al
mov byte [esi + ebx], 0xd
lea ebx, [edx - 3]
jmp 0x428b88
test al, 4
je 0x428b7f
mov eax, 0xd
mov byte [esi], al
mov byte [esi + 1], 0xa
mov byte [esi + ebx], al
lea ebx, [edx - 3]
jmp 0x428b88
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 0x42913a
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x429136
jmp 0x42913a
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x428bf7
cmp byte [ecx + 0x1c], 0
jne 0x428bc7
cmp byte [ecx + 0x1d], 0
je 0x428bf7
test al, 4
je 0x428be4
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 0x428c17
mov eax, 0xa
mov byte [esi], al
mov byte [esi + 1], al
mov byte [esi + ebx], 0xd
lea ebx, [edx - 3]
jmp 0x428c17
test al, 4
je 0x428c0e
mov eax, 0xd
mov byte [esi], al
mov byte [esi + 1], 0xa
mov byte [esi + ebx], al
lea ebx, [edx - 3]
jmp 0x428c17
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 0x42913a
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x429136
jmp 0x42913a
movzx eax, byte [edi + 0x170]
test al, 2
je 0x428d21
cmp dword [edi + 0x13c], 1
je 0x428c96
cmp dword [0x5045e0], 0
je 0x428d21
mov ecx, dword [edi + 0x144]
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edi + 0x178]
test ecx, 0x80
je 0x428c86
cmp dword [ebp - 0x18], 0xfffffffa
je 0x428c96
cmp dword [ebp - 0x18], 2
je 0x428c96
cmp dword [ebp - 0x18], 1
jne 0x428d21
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x428cd4
cmp byte [ecx + 0x1e], 0
je 0x428cd4
test al, 4
je 0x428cb3
cmp byte [ecx + 0x20], 0
je 0x428cb3
inc esi
lea ebx, [edx - 5]
jmp 0x428cb9
add esi, 2
lea ebx, [edx - 6]
mov byte [ecx + 0x1c], 0
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x428ccb
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x20], 1
jmp 0x42913a
test al, 4
je 0x428cea
test ecx, ecx
je 0x428cea
cmp byte [ecx + 0x20], 0
je 0x428cea
inc esi
mov byte [esi + ebx - 1], 0xd
jmp 0x428cf5
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 0x42913a
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x429136
jmp 0x42913a
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 0x42913a
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x429136
jmp 0x42913a
test byte [edi + 0x170], 2
je 0x428e3d
cmp dword [edi + 0x13c], 1
je 0x428da2
cmp dword [0x5045e0], 0
je 0x428e3d
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov ecx, dword [edi + 0x144]
je 0x428d94
cmp ecx, 0xfffffffa
je 0x428da2
cmp ecx, 2
je 0x428da2
cmp ecx, 1
jne 0x428e3d
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x428e12
cmp byte [eax + 0x1e], 0
je 0x428dec
cmp byte [eax + 0x1c], 0
jne 0x428dbb
cmp byte [eax + 0x1d], 0
je 0x428dcb
inc esi
lea ebx, [edx - 5]
mov byte [esi], 0xa
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x428dd1
jmp 0x428de3
add esi, 2
lea ebx, [edx - 6]
mov byte [eax + 0x1c], 0
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x428de3
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x20], 1
jmp 0x42913a
cmp byte [eax + 0x20], 0
je 0x428dfa
add esi, 2
lea ebx, [edx - 6]
jmp 0x428e1c
cmp byte [eax + 0x1c], 0
jne 0x428e06
cmp byte [eax + 0x1d], 0
je 0x428e12
inc esi
lea ebx, [edx - 5]
mov byte [esi], 0xa
mov eax, dword [edi + 0x7c]
jmp 0x428e18
add esi, 2
lea ebx, [edx - 6]
test eax, eax
je 0x428e23
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 0x429136
jmp 0x42913a
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x428e5c
cmp byte [eax + 0x1c], 0
jne 0x428e50
cmp byte [eax + 0x1d], 0
je 0x428e5c
inc esi
lea ebx, [edx - 5]
mov byte [esi], 0xa
mov eax, dword [edi + 0x7c]
jmp 0x428e62
add esi, 2
lea ebx, [edx - 6]
test eax, eax
je 0x428e6d
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 0x429136
jmp 0x42913a
test byte [edi + 0x170], 2
je 0x428f2a
cmp dword [edi + 0x13c], 1
je 0x428ecd
cmp dword [0x5045e0], 0
je 0x428f2a
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov ecx, dword [edi + 0x144]
je 0x428ec3
cmp ecx, 0xfffffffa
je 0x428ecd
cmp ecx, 2
je 0x428ecd
cmp ecx, 1
jne 0x428f2a
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x428eda
movzx eax, byte [ecx + 0x1e]
jmp 0x428edc
xor eax, eax
add esi, 2
lea ebx, [edx - 6]
test eax, eax
je 0x428f05
test ecx, ecx
je 0x428efc
mov byte [ecx + 0x1c], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x428efc
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x20], 1
jmp 0x42913a
test ecx, ecx
je 0x428f10
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 0x429136
jmp 0x42913a
mov eax, dword [edi + 0x7c]
add esi, 2
test eax, eax
lea ebx, [edx - 6]
je 0x428f3e
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 0x429136
jmp 0x42913a
movzx eax, byte [edi + 0x170]
test al, 2
je 0x42905e
cmp dword [edi + 0x13c], 1
je 0x428fab
cmp dword [0x5045e0], 0
je 0x42905e
mov ecx, dword [edi + 0x144]
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edi + 0x178]
test ecx, 0x80
je 0x428f9b
cmp dword [ebp - 0x18], 0xfffffffa
je 0x428fab
cmp dword [ebp - 0x18], 2
je 0x428fab
cmp dword [ebp - 0x18], 1
jne 0x42905e
mov ecx, dword [edi + 0x7c]
inc esi
test ecx, ecx
je 0x429029
cmp byte [ecx + 0x1e], 0
je 0x429002
test al, 4
je 0x428fc8
cmp byte [ecx + 0x20], 0
je 0x428fc8
lea ebx, [edx - 5]
jmp 0x428fe7
cmp byte [ecx + 0x1c], 0
jne 0x428fd4
cmp byte [ecx + 0x1d], 0
je 0x428fe3
mov byte [esi], 0xa
lea ebx, [edx - 5]
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jne 0x428fe7
jmp 0x428ff9
inc esi
lea ebx, [edx - 6]
mov byte [ecx + 0x1c], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x428ff9
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x20], 1
jmp 0x42913a
cmp byte [ecx + 0x20], 0
je 0x429013
test al, 4
je 0x429029
mov byte [esi + ebx - 1], 0xd
jmp 0x429032
cmp byte [ecx + 0x1c], 0
jne 0x42901f
cmp byte [ecx + 0x1d], 0
je 0x429029
mov byte [esi], 0xa
mov byte [esi + ebx - 1], 0xd
jmp 0x429032
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 0x42913a
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x429136
jmp 0x42913a
mov eax, dword [edi + 0x7c]
inc esi
test eax, eax
je 0x42907c
cmp byte [eax + 0x1c], 0
jne 0x429072
cmp byte [eax + 0x1d], 0
je 0x42907c
mov byte [esi], 0xa
mov byte [esi + ebx - 1], 0xd
jmp 0x429085
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 0x42913a
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x429136
jmp 0x42913a
mov eax, dword [edi + 0x7c]
test eax, eax
mov edx, dword [edi + 0x13c]
je 0x429100
cmp byte [eax + 0x1e], 0
je 0x429100
cmp edx, 1
je 0x4290fa
cmp dword [0x5045e0], 0
je 0x42910c
movzx edx, byte [edi + 0x178]
test edx, 0x80
mov ecx, dword [edi + 0x144]
je 0x4290ec
cmp ecx, 0xfffffffa
je 0x4290fa
cmp ecx, 2
je 0x4290fa
cmp ecx, 1
jne 0x429331
mov byte [eax + 0x20], 1
jmp 0x42913a
cmp edx, 1
je 0x429132
cmp dword [0x5045e0], 0
je 0x42913a
movzx edx, byte [edi + 0x178]
test edx, 0x80
mov ecx, dword [edi + 0x144]
je 0x429128
cmp ecx, 0xfffffffa
je 0x429132
cmp ecx, 2
je 0x429132
cmp ecx, 1
jne 0x42913a
test eax, eax
je 0x42913a
mov byte [eax + 0x20], 0
mov eax, edi
mov edx, esi
mov ecx, ebx
call fcn.00427bec
and byte [edi + 0x174], 0xbf
cmp eax, 0xffffffff
je 0x4292d6
test byte [edi + 0x175], 8
je 0x429179
push dword [edi + 0xe4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x42930c
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.0042b120
mov ecx, dword [ebp - 0x14]
add esp, 8
mov edx, dword [ebp - 0x18]
test eax, eax
je 0x4282c7
mov eax, dword [edi + 0x18]
test eax, eax
je 0x429207
test byte [eax + 0x44], 2
je 0x4291e0
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 0x4291d1
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.00433b70
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.0040f7b0
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.0x4282d8.5
mov eax, dword [edi + 0x38]
mov byte [eax + ebx], 0xa
inc ebx
jmp case.0x4282d8.5
test byte [edi + 0x175], 0x20
je 0x429282
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 0x4284db
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 0x4284db
mov eax, dword [edi + 0x38]
mov byte [eax + ebx - 2], 0xd
mov edx, dword [edi + 0x38]
mov byte [edx + ebx - 1], 0xa
jmp case.0x4282d8.5
mov eax, dword [edi + 0x38]
mov byte [eax + ebx], 0xd
inc ebx
jmp case.0x4282d8.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 0x428720
mov eax, dword [edi + 0x38]
movsx eax, byte [eax + 5]
jmp 0x42881d
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 [0x5045e0], 0
jne 0x42910e
jmp 0x42913a
cmp dword [0x5045e0], 0
jne 0x4287b4
jmp 0x42913a