Function at 0x426c20
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 0x426c3c
mov edx, dword [edi + 0x3c]
mov ebx, dword [edi + 0x40]
test ebx, ebx
je 0x426c49
neg ebx
add ebx, edx
jmp 0x426c4e
mov ebx, edx
sub ebx, dword [edi + 0x38]
movsx eax, byte [edi + 0x15c]
lea ecx, [ebx + 4]
cmp ecx, dword [edi + 0xec]
jbe 0x426c8e
cmp eax, 1
je 0x426c8e
push 0x200
push edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
call fcn.0042ff60
mov ecx, dword [ebp - 0x14]
add esp, 8
mov edx, dword [ebp - 0x18]
test eax, eax
jne 0x427b48
movsx eax, byte [edi + 0x15c]
dec eax
cmp eax, 7
ja case.0x426c98.3
jmp dword [eax*4 + 0x4e3a74]
cmp byte [edi + 0x15e], 1
je case.0x426c98.5
test byte [edi + 0x175], 0x40
jne case.0x426c98.5
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x426d0b
cmp byte [eax + 0x1e], 0
je 0x426d0b
cmp dword [edi + 0x13c], 1
je case.0x426c98.5
cmp dword [0x512ea0], 0
je 0x426d0b
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov edx, dword [edi + 0x144]
je 0x426cf9
cmp edx, 0xfffffffa
je case.0x426c98.5
cmp edx, 1
je case.0x426c98.5
cmp edx, 2
je case.0x426c98.5
mov eax, dword [edi + 0x40]
test eax, eax
je 0x427be3
mov byte [eax + ebx], 0xd
mov eax, dword [edi + 0x40]
mov byte [eax + ebx + 1], 0xa
add ebx, 2
jmp case.0x426c98.5
cmp byte [edi + 0x15e], 1
je case.0x426c98.5
test byte [edi + 0x175], 0x40
jne case.0x426c98.5
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x426d96
cmp byte [eax + 0x1e], 0
je 0x426d96
cmp dword [edi + 0x13c], 1
je case.0x426c98.5
cmp dword [0x512ea0], 0
je 0x426d96
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov edx, dword [edi + 0x144]
je 0x426d84
cmp edx, 0xfffffffa
je case.0x426c98.5
cmp edx, 1
je case.0x426c98.5
cmp edx, 2
je case.0x426c98.5
mov eax, dword [edi + 0x40]
test eax, eax
je 0x427c89
mov byte [eax + ebx], 0xd
inc ebx
jmp case.0x426c98.5
cmp byte [edi + 0x15e], 1
je case.0x426c98.5
test byte [edi + 0x175], 0x40
jne case.0x426c98.5
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x426e17
cmp byte [eax + 0x1e], 0
je 0x426e17
cmp dword [edi + 0x13c], 1
je case.0x426c98.5
cmp dword [0x512ea0], 0
je 0x426e17
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov edx, dword [edi + 0x144]
je 0x426e05
cmp edx, 0xfffffffa
je case.0x426c98.5
cmp edx, 1
je case.0x426c98.5
cmp edx, 2
je case.0x426c98.5
mov eax, dword [edi + 0x40]
test eax, eax
je 0x427bfa
mov byte [eax + ebx], 0xa
inc ebx
jmp case.0x426c98.5
mov eax, dword [edi + 0x40]
add ebx, 0xfffffffc
mov dword [ebp - 0x10], ebx
test eax, eax
je 0x427c07
test byte [edi + 0x175], 0x20
je 0x426e71
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 0x426e9b
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 0x426ec3
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 0x426ee0
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.0x426c98.5
mov eax, dword [edi + 0xf8]
cmp ebx, eax
jae 0x426f05
sub eax, ebx
push eax
push 0x20
push edx
call fcn.004c5a70
add esp, 0xc
mov ebx, dword [edi + 0xf8]
test byte [edi + 0x170], 4
je case.0x426c98.5
test byte [edi + 0x172], 0x40
je case.0x426c98.5
test byte [edi + 0x173], 8
je case.0x426c98.5
cmp byte [edi + 0x15e], 1
je case.0x426c98.5
test byte [edi + 0x175], 0x40
jne case.0x426c98.5
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x426f80
cmp byte [eax + 0x1e], 0
je 0x426f80
cmp dword [edi + 0x13c], 1
je case.0x426c98.5
cmp dword [0x512ea0], 0
je 0x426f80
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov edx, dword [edi + 0x144]
je 0x426f76
cmp edx, 0xfffffffa
je case.0x426c98.5
cmp edx, 1
je case.0x426c98.5
cmp edx, 2
je case.0x426c98.5
mov eax, dword [edi + 0x40]
test eax, eax
je 0x427c74
mov byte [eax + ebx - 2], 0xd
mov eax, dword [edi + 0x40]
mov byte [eax + ebx - 1], 0xa
jmp case.0x426c98.5
push 0x3ce
push str.for_put.c
push 2
push 8
call fcn.0041eea0
add esp, 0x10
mov ecx, dword [edi + 0x40]
test ecx, ecx
je 0x426fbb
mov esi, ecx
jmp 0x426fbe
mov esi, dword [edi + 0x38]
movsx eax, byte [edi + 0x15e]
cmp eax, 2
jne 0x4271ac
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x427046
cmp byte [edx + 0x1c], 0
jne 0x426fe1
cmp byte [edx + 0x1d], 0
je 0x42703f
cmp byte [edx + 0x20], 0
je 0x42701c
cmp dword [edi + 0x13c], 1
je 0x42703f
cmp dword [0x512ea0], 0
je 0x42701c
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov ecx, dword [edi + 0x144]
je 0x427012
cmp ecx, 0xfffffffa
je 0x42703f
cmp ecx, 1
je 0x42703f
cmp ecx, 2
je 0x42703f
mov eax, edi
lea edx, [ebp - 0x10]
mov ecx, 1
mov byte [ebp - 0x10], 0xa
call fcn.004265ac
cmp eax, 0xffffffff
je 0x427c96
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x427046
mov byte [edx + 0x1c], 0
mov edx, dword [edi + 0x7c]
test byte [edi + 0x170], 4
je 0x427065
test byte [edi + 0x172], 0x40
je 0x427065
test byte [edi + 0x173], 8
jne 0x4270fe
movsx ecx, byte [edi + 0x15c]
cmp ecx, 6
je 0x4270fe
movzx eax, byte [edi + 0x175]
cmp ecx, 8
mov dword [ebp - 0x14], eax
je 0x4270f6
test byte [ebp - 0x14], 0x40
jne 0x4270f6
test edx, edx
je 0x4270d1
cmp byte [edx + 0x1e], 0
je 0x4270d1
mov ecx, dword [edi + 0x13c]
cmp ecx, 1
je 0x42710e
cmp dword [0x512ea0], 0
je 0x4270d1
mov eax, dword [edi + 0x144]
mov dword [ebp - 0x18], eax
movzx eax, byte [edi + 0x178]
test eax, 0x80
je 0x4270c5
cmp dword [ebp - 0x18], 0xfffffffa
je 0x42710e
cmp dword [ebp - 0x18], 1
je 0x42710e
cmp dword [ebp - 0x18], 2
je 0x42710e
mov eax, dword [edi + 0x40]
test eax, eax
je 0x427cb4
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 0x42710e
mov ecx, dword [edi + 0x13c]
jmp 0x42710e
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 0x427162
cmp byte [edx + 0x1e], 0
je 0x427162
cmp ecx, 1
je 0x427159
cmp dword [0x512ea0], 0
je 0x42716e
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov ecx, dword [edi + 0x144]
je 0x42714b
cmp ecx, 0xfffffffa
je 0x427159
cmp ecx, 2
je 0x427159
cmp ecx, 1
jne 0x427d03
mov byte [edx + 0x20], 1
jmp 0x427afa
cmp ecx, 1
je 0x42719b
cmp dword [0x512ea0], 0
je 0x427afa
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov ecx, dword [edi + 0x144]
je 0x42718d
cmp ecx, 0xfffffffa
je 0x42719b
cmp ecx, 2
je 0x42719b
cmp ecx, 1
jne 0x427afa
test edx, edx
je 0x427afa
mov byte [edx + 0x20], 0
jmp 0x427afa
cmp eax, 1
jne 0x427a71
cmp ebx, 5
lea edx, [ebx + 1]
je 0x4271bf
mov edx, ebx
test ecx, ecx
je 0x4271c8
lea esi, [ecx + 4]
jmp 0x4271ce
mov esi, dword [edi + 0x38]
add esi, 4
test ecx, ecx
lea ebx, [edx - 4]
je 0x427cc0
movsx eax, byte [ecx + 5]
cmp eax, 0x31
ja case.0x4271e6.1
jmp dword [eax*4 + 0x4e3aa0]
movzx eax, byte [edi + 0x170]
test al, 2
je 0x427369
cmp dword [edi + 0x13c], 1
je 0x427240
cmp dword [0x512ea0], 0
je 0x427369
mov ecx, dword [edi + 0x144]
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edi + 0x178]
test ecx, 0x80
je 0x427230
cmp dword [ebp - 0x18], 0xfffffffa
je 0x427240
cmp dword [ebp - 0x18], 2
je 0x427240
cmp dword [ebp - 0x18], 1
jne 0x427369
mov ecx, dword [edi + 0x7c]
inc esi
test ecx, ecx
je 0x427313
cmp byte [ecx + 0x1e], 0
je 0x4272c6
and eax, 4
shr eax, 2
test eax, eax
je 0x427267
cmp byte [ecx + 0x20], 0
je 0x427267
lea ebx, [edx - 5]
jmp 0x4272ab
cmp byte [ecx + 0x1c], 0
jne 0x427273
cmp byte [ecx + 0x1d], 0
je 0x4272a7
test eax, eax
je 0x427298
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 0x4272a1
mov byte [esi], 0xc
lea ebx, [edx - 5]
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jne 0x4272ab
jmp 0x4272bd
inc esi
lea ebx, [edx - 6]
mov byte [ecx + 0x1c], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x4272bd
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x20], 1
jmp 0x427afa
cmp byte [ecx + 0x20], 0
je 0x4272e2
test al, 4
je 0x4272d7
mov byte [esi + ebx - 1], 0xd
jmp 0x42733d
inc esi
lea ebx, [edx - 5]
mov byte [ebx + esi - 1], 0xd
jmp 0x42733d
cmp byte [ecx + 0x1c], 0
jne 0x4272ee
cmp byte [ecx + 0x1d], 0
je 0x427313
test al, 4
je 0x427335
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 0x42733d
test al, 4
je 0x427335
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 0x42733d
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 0x427afa
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x427af6
jmp 0x427afa
mov ecx, dword [edi + 0x7c]
inc esi
test ecx, ecx
je 0x4273a2
cmp byte [ecx + 0x1c], 0
jne 0x42737d
cmp byte [ecx + 0x1d], 0
je 0x4273a2
test al, 4
je 0x4273c4
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 0x4273cc
test al, 4
je 0x4273c4
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 0x4273cc
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 0x427afa
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x427af6
jmp 0x427afa
movzx eax, byte [edi + 0x170]
test al, 2
je 0x427574
cmp dword [edi + 0x13c], 1
je 0x42744b
cmp dword [0x512ea0], 0
je 0x427574
mov ecx, dword [edi + 0x144]
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edi + 0x178]
test ecx, 0x80
je 0x42743b
cmp dword [ebp - 0x18], 0xfffffffa
je 0x42744b
cmp dword [ebp - 0x18], 2
je 0x42744b
cmp dword [ebp - 0x18], 1
jne 0x427574
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x427528
cmp byte [ecx + 0x1e], 0
je 0x4274cd
and eax, 4
shr eax, 2
test eax, eax
je 0x427472
cmp byte [ecx + 0x20], 0
je 0x427472
inc esi
lea ebx, [edx - 5]
jmp 0x4274b2
cmp byte [ecx + 0x1c], 0
jne 0x42747e
cmp byte [ecx + 0x1d], 0
je 0x4274ac
test eax, eax
je 0x427499
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 0x4274a6
mov eax, 0xa
mov byte [esi], al
mov byte [esi + 1], al
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jne 0x4274b2
jmp 0x4274c4
add esi, 2
lea ebx, [edx - 6]
mov byte [ecx + 0x1c], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x4274c4
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x20], 1
jmp 0x427afa
cmp byte [ecx + 0x20], 0
je 0x4274ec
test al, 4
je 0x4274df
inc esi
mov byte [esi + ebx - 1], 0xd
jmp 0x427548
add esi, 2
lea ebx, [edx - 5]
mov byte [ebx + esi - 1], 0xd
jmp 0x427548
cmp byte [ecx + 0x1c], 0
jne 0x4274f8
cmp byte [ecx + 0x1d], 0
je 0x427528
test al, 4
je 0x427515
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 0x427548
mov eax, 0xa
mov byte [esi], al
mov byte [esi + 1], al
mov byte [esi + ebx], 0xd
lea ebx, [edx - 3]
jmp 0x427548
test al, 4
je 0x42753f
mov eax, 0xd
mov byte [esi], al
mov byte [esi + 1], 0xa
mov byte [esi + ebx], al
lea ebx, [edx - 3]
jmp 0x427548
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 0x427afa
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x427af6
jmp 0x427afa
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x4275b7
cmp byte [ecx + 0x1c], 0
jne 0x427587
cmp byte [ecx + 0x1d], 0
je 0x4275b7
test al, 4
je 0x4275a4
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 0x4275d7
mov eax, 0xa
mov byte [esi], al
mov byte [esi + 1], al
mov byte [esi + ebx], 0xd
lea ebx, [edx - 3]
jmp 0x4275d7
test al, 4
je 0x4275ce
mov eax, 0xd
mov byte [esi], al
mov byte [esi + 1], 0xa
mov byte [esi + ebx], al
lea ebx, [edx - 3]
jmp 0x4275d7
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 0x427afa
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x427af6
jmp 0x427afa
movzx eax, byte [edi + 0x170]
test al, 2
je 0x4276e1
cmp dword [edi + 0x13c], 1
je 0x427656
cmp dword [0x512ea0], 0
je 0x4276e1
mov ecx, dword [edi + 0x144]
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edi + 0x178]
test ecx, 0x80
je 0x427646
cmp dword [ebp - 0x18], 0xfffffffa
je 0x427656
cmp dword [ebp - 0x18], 2
je 0x427656
cmp dword [ebp - 0x18], 1
jne 0x4276e1
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x427694
cmp byte [ecx + 0x1e], 0
je 0x427694
test al, 4
je 0x427673
cmp byte [ecx + 0x20], 0
je 0x427673
inc esi
lea ebx, [edx - 5]
jmp 0x427679
add esi, 2
lea ebx, [edx - 6]
mov byte [ecx + 0x1c], 0
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42768b
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x20], 1
jmp 0x427afa
test al, 4
je 0x4276aa
test ecx, ecx
je 0x4276aa
cmp byte [ecx + 0x20], 0
je 0x4276aa
inc esi
mov byte [esi + ebx - 1], 0xd
jmp 0x4276b5
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 0x427afa
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x427af6
jmp 0x427afa
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 0x427afa
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x427af6
jmp 0x427afa
test byte [edi + 0x170], 2
je 0x4277fd
cmp dword [edi + 0x13c], 1
je 0x427762
cmp dword [0x512ea0], 0
je 0x4277fd
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov ecx, dword [edi + 0x144]
je 0x427754
cmp ecx, 0xfffffffa
je 0x427762
cmp ecx, 2
je 0x427762
cmp ecx, 1
jne 0x4277fd
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x4277d2
cmp byte [eax + 0x1e], 0
je 0x4277ac
cmp byte [eax + 0x1c], 0
jne 0x42777b
cmp byte [eax + 0x1d], 0
je 0x42778b
inc esi
lea ebx, [edx - 5]
mov byte [esi], 0xa
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x427791
jmp 0x4277a3
add esi, 2
lea ebx, [edx - 6]
mov byte [eax + 0x1c], 0
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x4277a3
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x20], 1
jmp 0x427afa
cmp byte [eax + 0x20], 0
je 0x4277ba
add esi, 2
lea ebx, [edx - 6]
jmp 0x4277dc
cmp byte [eax + 0x1c], 0
jne 0x4277c6
cmp byte [eax + 0x1d], 0
je 0x4277d2
inc esi
lea ebx, [edx - 5]
mov byte [esi], 0xa
mov eax, dword [edi + 0x7c]
jmp 0x4277d8
add esi, 2
lea ebx, [edx - 6]
test eax, eax
je 0x4277e3
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 0x427af6
jmp 0x427afa
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42781c
cmp byte [eax + 0x1c], 0
jne 0x427810
cmp byte [eax + 0x1d], 0
je 0x42781c
inc esi
lea ebx, [edx - 5]
mov byte [esi], 0xa
mov eax, dword [edi + 0x7c]
jmp 0x427822
add esi, 2
lea ebx, [edx - 6]
test eax, eax
je 0x42782d
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 0x427af6
jmp 0x427afa
test byte [edi + 0x170], 2
je 0x4278ea
cmp dword [edi + 0x13c], 1
je 0x42788d
cmp dword [0x512ea0], 0
je 0x4278ea
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov ecx, dword [edi + 0x144]
je 0x427883
cmp ecx, 0xfffffffa
je 0x42788d
cmp ecx, 2
je 0x42788d
cmp ecx, 1
jne 0x4278ea
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x42789a
movzx eax, byte [ecx + 0x1e]
jmp 0x42789c
xor eax, eax
add esi, 2
lea ebx, [edx - 6]
test eax, eax
je 0x4278c5
test ecx, ecx
je 0x4278bc
mov byte [ecx + 0x1c], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x4278bc
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x20], 1
jmp 0x427afa
test ecx, ecx
je 0x4278d0
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 0x427af6
jmp 0x427afa
mov eax, dword [edi + 0x7c]
add esi, 2
test eax, eax
lea ebx, [edx - 6]
je 0x4278fe
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 0x427af6
jmp 0x427afa
movzx eax, byte [edi + 0x170]
test al, 2
je 0x427a1e
cmp dword [edi + 0x13c], 1
je 0x42796b
cmp dword [0x512ea0], 0
je 0x427a1e
mov ecx, dword [edi + 0x144]
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edi + 0x178]
test ecx, 0x80
je 0x42795b
cmp dword [ebp - 0x18], 0xfffffffa
je 0x42796b
cmp dword [ebp - 0x18], 2
je 0x42796b
cmp dword [ebp - 0x18], 1
jne 0x427a1e
mov ecx, dword [edi + 0x7c]
inc esi
test ecx, ecx
je 0x4279e9
cmp byte [ecx + 0x1e], 0
je 0x4279c2
test al, 4
je 0x427988
cmp byte [ecx + 0x20], 0
je 0x427988
lea ebx, [edx - 5]
jmp 0x4279a7
cmp byte [ecx + 0x1c], 0
jne 0x427994
cmp byte [ecx + 0x1d], 0
je 0x4279a3
mov byte [esi], 0xa
lea ebx, [edx - 5]
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jne 0x4279a7
jmp 0x4279b9
inc esi
lea ebx, [edx - 6]
mov byte [ecx + 0x1c], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x4279b9
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x20], 1
jmp 0x427afa
cmp byte [ecx + 0x20], 0
je 0x4279d3
test al, 4
je 0x4279e9
mov byte [esi + ebx - 1], 0xd
jmp 0x4279f2
cmp byte [ecx + 0x1c], 0
jne 0x4279df
cmp byte [ecx + 0x1d], 0
je 0x4279e9
mov byte [esi], 0xa
mov byte [esi + ebx - 1], 0xd
jmp 0x4279f2
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 0x427afa
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x427af6
jmp 0x427afa
mov eax, dword [edi + 0x7c]
inc esi
test eax, eax
je 0x427a3c
cmp byte [eax + 0x1c], 0
jne 0x427a32
cmp byte [eax + 0x1d], 0
je 0x427a3c
mov byte [esi], 0xa
mov byte [esi + ebx - 1], 0xd
jmp 0x427a45
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 0x427afa
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x427af6
jmp 0x427afa
mov eax, dword [edi + 0x7c]
test eax, eax
mov edx, dword [edi + 0x13c]
je 0x427ac0
cmp byte [eax + 0x1e], 0
je 0x427ac0
cmp edx, 1
je 0x427aba
cmp dword [0x512ea0], 0
je 0x427acc
movzx edx, byte [edi + 0x178]
test edx, 0x80
mov ecx, dword [edi + 0x144]
je 0x427aac
cmp ecx, 0xfffffffa
je 0x427aba
cmp ecx, 2
je 0x427aba
cmp ecx, 1
jne 0x427cf1
mov byte [eax + 0x20], 1
jmp 0x427afa
cmp edx, 1
je 0x427af2
cmp dword [0x512ea0], 0
je 0x427afa
movzx edx, byte [edi + 0x178]
test edx, 0x80
mov ecx, dword [edi + 0x144]
je 0x427ae8
cmp ecx, 0xfffffffa
je 0x427af2
cmp ecx, 2
je 0x427af2
cmp ecx, 1
jne 0x427afa
test eax, eax
je 0x427afa
mov byte [eax + 0x20], 0
mov eax, edi
mov edx, esi
mov ecx, ebx
call fcn.004265ac
and byte [edi + 0x174], 0xbf
cmp eax, 0xffffffff
je 0x427c96
test byte [edi + 0x175], 8
je 0x427b39
push dword [edi + 0xe4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x427ccc
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.0042ff60
mov ecx, dword [ebp - 0x14]
add esp, 8
mov edx, dword [ebp - 0x18]
test eax, eax
je 0x426c87
mov eax, dword [edi + 0x18]
test eax, eax
je 0x427bc7
test byte [eax + 0x44], 2
je 0x427ba0
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 0x427b91
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.0042af40
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.0041cdf0
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.0x426c98.5
mov eax, dword [edi + 0x38]
mov byte [eax + ebx], 0xa
inc ebx
jmp case.0x426c98.5
test byte [edi + 0x175], 0x20
je 0x427c42
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 0x426e9b
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 0x426e9b
mov eax, dword [edi + 0x38]
mov byte [eax + ebx - 2], 0xd
mov edx, dword [edi + 0x38]
mov byte [edx + ebx - 1], 0xa
jmp case.0x426c98.5
mov eax, dword [edi + 0x38]
mov byte [eax + ebx], 0xd
inc ebx
jmp case.0x426c98.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 0x4270e0
mov eax, dword [edi + 0x38]
movsx eax, byte [eax + 5]
jmp 0x4271dd
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 [0x512ea0], 0
jne 0x427ace
jmp 0x427afa
cmp dword [0x512ea0], 0
jne 0x427174
jmp 0x427afa