Function at 0x4240a0
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 0x4240bc
mov edx, dword [edi + 0x3c]
mov ebx, dword [edi + 0x40]
test ebx, ebx
je 0x4240c9
neg ebx
add ebx, edx
jmp 0x4240ce
mov ebx, edx
sub ebx, dword [edi + 0x38]
movsx eax, byte [edi + 0x15c]
lea ecx, [ebx + 4]
cmp ecx, dword [edi + 0xec]
jbe 0x42410e
cmp eax, 1
je 0x42410e
push 0x200
push edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
call fcn.00426f60
mov ecx, dword [ebp - 0x14]
add esp, 8
mov edx, dword [ebp - 0x18]
test eax, eax
jne 0x424fc8
movsx eax, byte [edi + 0x15c]
dec eax
cmp eax, 7
ja case.0x424118.3
jmp dword [eax*4 + 0x4ce0d0]
cmp byte [edi + 0x15e], 1
je case.0x424118.5
test byte [edi + 0x175], 0x40
jne case.0x424118.5
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42418b
cmp byte [eax + 0x1e], 0
je 0x42418b
cmp dword [edi + 0x13c], 1
je case.0x424118.5
cmp dword [0x4f4560], 0
je 0x42418b
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov edx, dword [edi + 0x144]
je 0x424179
cmp edx, 0xfffffffa
je case.0x424118.5
cmp edx, 1
je case.0x424118.5
cmp edx, 2
je case.0x424118.5
mov eax, dword [edi + 0x40]
test eax, eax
je 0x425063
mov byte [eax + ebx], 0xd
mov eax, dword [edi + 0x40]
mov byte [eax + ebx + 1], 0xa
add ebx, 2
jmp case.0x424118.5
cmp byte [edi + 0x15e], 1
je case.0x424118.5
test byte [edi + 0x175], 0x40
jne case.0x424118.5
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x424216
cmp byte [eax + 0x1e], 0
je 0x424216
cmp dword [edi + 0x13c], 1
je case.0x424118.5
cmp dword [0x4f4560], 0
je 0x424216
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov edx, dword [edi + 0x144]
je 0x424204
cmp edx, 0xfffffffa
je case.0x424118.5
cmp edx, 1
je case.0x424118.5
cmp edx, 2
je case.0x424118.5
mov eax, dword [edi + 0x40]
test eax, eax
je 0x425109
mov byte [eax + ebx], 0xd
inc ebx
jmp case.0x424118.5
cmp byte [edi + 0x15e], 1
je case.0x424118.5
test byte [edi + 0x175], 0x40
jne case.0x424118.5
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x424297
cmp byte [eax + 0x1e], 0
je 0x424297
cmp dword [edi + 0x13c], 1
je case.0x424118.5
cmp dword [0x4f4560], 0
je 0x424297
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov edx, dword [edi + 0x144]
je 0x424285
cmp edx, 0xfffffffa
je case.0x424118.5
cmp edx, 1
je case.0x424118.5
cmp edx, 2
je case.0x424118.5
mov eax, dword [edi + 0x40]
test eax, eax
je 0x42507a
mov byte [eax + ebx], 0xa
inc ebx
jmp case.0x424118.5
mov eax, dword [edi + 0x40]
add ebx, 0xfffffffc
mov dword [ebp - 0x10], ebx
test eax, eax
je 0x425087
test byte [edi + 0x175], 0x20
je 0x4242f1
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 0x42431b
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 0x424343
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 0x424360
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.0x424118.5
mov eax, dword [edi + 0xf8]
cmp ebx, eax
jae 0x424385
sub eax, ebx
push eax
push 0x20
push edx
call fcn.004b38f0
add esp, 0xc
mov ebx, dword [edi + 0xf8]
test byte [edi + 0x170], 4
je case.0x424118.5
test byte [edi + 0x172], 0x40
je case.0x424118.5
test byte [edi + 0x173], 8
je case.0x424118.5
cmp byte [edi + 0x15e], 1
je case.0x424118.5
test byte [edi + 0x175], 0x40
jne case.0x424118.5
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x424400
cmp byte [eax + 0x1e], 0
je 0x424400
cmp dword [edi + 0x13c], 1
je case.0x424118.5
cmp dword [0x4f4560], 0
je 0x424400
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov edx, dword [edi + 0x144]
je 0x4243f6
cmp edx, 0xfffffffa
je case.0x424118.5
cmp edx, 1
je case.0x424118.5
cmp edx, 2
je case.0x424118.5
mov eax, dword [edi + 0x40]
test eax, eax
je 0x4250f4
mov byte [eax + ebx - 2], 0xd
mov eax, dword [edi + 0x40]
mov byte [eax + ebx - 1], 0xa
jmp case.0x424118.5
push 0x3ce
push str.for_put.c
push 2
push 8
call fcn.00412330
add esp, 0x10
mov ecx, dword [edi + 0x40]
test ecx, ecx
je 0x42443b
mov esi, ecx
jmp 0x42443e
mov esi, dword [edi + 0x38]
movsx eax, byte [edi + 0x15e]
cmp eax, 2
jne 0x42462c
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x4244c6
cmp byte [edx + 0x1c], 0
jne 0x424461
cmp byte [edx + 0x1d], 0
je 0x4244bf
cmp byte [edx + 0x20], 0
je 0x42449c
cmp dword [edi + 0x13c], 1
je 0x4244bf
cmp dword [0x4f4560], 0
je 0x42449c
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov ecx, dword [edi + 0x144]
je 0x424492
cmp ecx, 0xfffffffa
je 0x4244bf
cmp ecx, 1
je 0x4244bf
cmp ecx, 2
je 0x4244bf
mov eax, edi
lea edx, [ebp - 0x10]
mov ecx, 1
mov byte [ebp - 0x10], 0xa
call fcn.00423a2c
cmp eax, 0xffffffff
je 0x425116
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x4244c6
mov byte [edx + 0x1c], 0
mov edx, dword [edi + 0x7c]
test byte [edi + 0x170], 4
je 0x4244e5
test byte [edi + 0x172], 0x40
je 0x4244e5
test byte [edi + 0x173], 8
jne 0x42457e
movsx ecx, byte [edi + 0x15c]
cmp ecx, 6
je 0x42457e
movzx eax, byte [edi + 0x175]
cmp ecx, 8
mov dword [ebp - 0x14], eax
je 0x424576
test byte [ebp - 0x14], 0x40
jne 0x424576
test edx, edx
je 0x424551
cmp byte [edx + 0x1e], 0
je 0x424551
mov ecx, dword [edi + 0x13c]
cmp ecx, 1
je 0x42458e
cmp dword [0x4f4560], 0
je 0x424551
mov eax, dword [edi + 0x144]
mov dword [ebp - 0x18], eax
movzx eax, byte [edi + 0x178]
test eax, 0x80
je 0x424545
cmp dword [ebp - 0x18], 0xfffffffa
je 0x42458e
cmp dword [ebp - 0x18], 1
je 0x42458e
cmp dword [ebp - 0x18], 2
je 0x42458e
mov eax, dword [edi + 0x40]
test eax, eax
je 0x425134
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 0x42458e
mov ecx, dword [edi + 0x13c]
jmp 0x42458e
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 0x4245e2
cmp byte [edx + 0x1e], 0
je 0x4245e2
cmp ecx, 1
je 0x4245d9
cmp dword [0x4f4560], 0
je 0x4245ee
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov ecx, dword [edi + 0x144]
je 0x4245cb
cmp ecx, 0xfffffffa
je 0x4245d9
cmp ecx, 2
je 0x4245d9
cmp ecx, 1
jne 0x425183
mov byte [edx + 0x20], 1
jmp 0x424f7a
cmp ecx, 1
je 0x42461b
cmp dword [0x4f4560], 0
je 0x424f7a
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov ecx, dword [edi + 0x144]
je 0x42460d
cmp ecx, 0xfffffffa
je 0x42461b
cmp ecx, 2
je 0x42461b
cmp ecx, 1
jne 0x424f7a
test edx, edx
je 0x424f7a
mov byte [edx + 0x20], 0
jmp 0x424f7a
cmp eax, 1
jne 0x424ef1
cmp ebx, 5
lea edx, [ebx + 1]
je 0x42463f
mov edx, ebx
test ecx, ecx
je 0x424648
lea esi, [ecx + 4]
jmp 0x42464e
mov esi, dword [edi + 0x38]
add esi, 4
test ecx, ecx
lea ebx, [edx - 4]
je 0x425140
movsx eax, byte [ecx + 5]
cmp eax, 0x31
ja case.0x424666.1
jmp dword [eax*4 + 0x4ce100]
movzx eax, byte [edi + 0x170]
test al, 2
je 0x4247e9
cmp dword [edi + 0x13c], 1
je 0x4246c0
cmp dword [0x4f4560], 0
je 0x4247e9
mov ecx, dword [edi + 0x144]
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edi + 0x178]
test ecx, 0x80
je 0x4246b0
cmp dword [ebp - 0x18], 0xfffffffa
je 0x4246c0
cmp dword [ebp - 0x18], 2
je 0x4246c0
cmp dword [ebp - 0x18], 1
jne 0x4247e9
mov ecx, dword [edi + 0x7c]
inc esi
test ecx, ecx
je 0x424793
cmp byte [ecx + 0x1e], 0
je 0x424746
and eax, 4
shr eax, 2
test eax, eax
je 0x4246e7
cmp byte [ecx + 0x20], 0
je 0x4246e7
lea ebx, [edx - 5]
jmp 0x42472b
cmp byte [ecx + 0x1c], 0
jne 0x4246f3
cmp byte [ecx + 0x1d], 0
je 0x424727
test eax, eax
je 0x424718
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 0x424721
mov byte [esi], 0xc
lea ebx, [edx - 5]
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jne 0x42472b
jmp 0x42473d
inc esi
lea ebx, [edx - 6]
mov byte [ecx + 0x1c], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x42473d
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x20], 1
jmp 0x424f7a
cmp byte [ecx + 0x20], 0
je 0x424762
test al, 4
je 0x424757
mov byte [esi + ebx - 1], 0xd
jmp 0x4247bd
inc esi
lea ebx, [edx - 5]
mov byte [ebx + esi - 1], 0xd
jmp 0x4247bd
cmp byte [ecx + 0x1c], 0
jne 0x42476e
cmp byte [ecx + 0x1d], 0
je 0x424793
test al, 4
je 0x4247b5
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 0x4247bd
test al, 4
je 0x4247b5
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 0x4247bd
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 0x424f7a
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x424f76
jmp 0x424f7a
mov ecx, dword [edi + 0x7c]
inc esi
test ecx, ecx
je 0x424822
cmp byte [ecx + 0x1c], 0
jne 0x4247fd
cmp byte [ecx + 0x1d], 0
je 0x424822
test al, 4
je 0x424844
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 0x42484c
test al, 4
je 0x424844
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 0x42484c
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 0x424f7a
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x424f76
jmp 0x424f7a
movzx eax, byte [edi + 0x170]
test al, 2
je 0x4249f4
cmp dword [edi + 0x13c], 1
je 0x4248cb
cmp dword [0x4f4560], 0
je 0x4249f4
mov ecx, dword [edi + 0x144]
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edi + 0x178]
test ecx, 0x80
je 0x4248bb
cmp dword [ebp - 0x18], 0xfffffffa
je 0x4248cb
cmp dword [ebp - 0x18], 2
je 0x4248cb
cmp dword [ebp - 0x18], 1
jne 0x4249f4
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x4249a8
cmp byte [ecx + 0x1e], 0
je 0x42494d
and eax, 4
shr eax, 2
test eax, eax
je 0x4248f2
cmp byte [ecx + 0x20], 0
je 0x4248f2
inc esi
lea ebx, [edx - 5]
jmp 0x424932
cmp byte [ecx + 0x1c], 0
jne 0x4248fe
cmp byte [ecx + 0x1d], 0
je 0x42492c
test eax, eax
je 0x424919
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 0x424926
mov eax, 0xa
mov byte [esi], al
mov byte [esi + 1], al
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jne 0x424932
jmp 0x424944
add esi, 2
lea ebx, [edx - 6]
mov byte [ecx + 0x1c], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x424944
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x20], 1
jmp 0x424f7a
cmp byte [ecx + 0x20], 0
je 0x42496c
test al, 4
je 0x42495f
inc esi
mov byte [esi + ebx - 1], 0xd
jmp 0x4249c8
add esi, 2
lea ebx, [edx - 5]
mov byte [ebx + esi - 1], 0xd
jmp 0x4249c8
cmp byte [ecx + 0x1c], 0
jne 0x424978
cmp byte [ecx + 0x1d], 0
je 0x4249a8
test al, 4
je 0x424995
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 0x4249c8
mov eax, 0xa
mov byte [esi], al
mov byte [esi + 1], al
mov byte [esi + ebx], 0xd
lea ebx, [edx - 3]
jmp 0x4249c8
test al, 4
je 0x4249bf
mov eax, 0xd
mov byte [esi], al
mov byte [esi + 1], 0xa
mov byte [esi + ebx], al
lea ebx, [edx - 3]
jmp 0x4249c8
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 0x424f7a
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x424f76
jmp 0x424f7a
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x424a37
cmp byte [ecx + 0x1c], 0
jne 0x424a07
cmp byte [ecx + 0x1d], 0
je 0x424a37
test al, 4
je 0x424a24
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 0x424a57
mov eax, 0xa
mov byte [esi], al
mov byte [esi + 1], al
mov byte [esi + ebx], 0xd
lea ebx, [edx - 3]
jmp 0x424a57
test al, 4
je 0x424a4e
mov eax, 0xd
mov byte [esi], al
mov byte [esi + 1], 0xa
mov byte [esi + ebx], al
lea ebx, [edx - 3]
jmp 0x424a57
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 0x424f7a
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x424f76
jmp 0x424f7a
movzx eax, byte [edi + 0x170]
test al, 2
je 0x424b61
cmp dword [edi + 0x13c], 1
je 0x424ad6
cmp dword [0x4f4560], 0
je 0x424b61
mov ecx, dword [edi + 0x144]
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edi + 0x178]
test ecx, 0x80
je 0x424ac6
cmp dword [ebp - 0x18], 0xfffffffa
je 0x424ad6
cmp dword [ebp - 0x18], 2
je 0x424ad6
cmp dword [ebp - 0x18], 1
jne 0x424b61
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x424b14
cmp byte [ecx + 0x1e], 0
je 0x424b14
test al, 4
je 0x424af3
cmp byte [ecx + 0x20], 0
je 0x424af3
inc esi
lea ebx, [edx - 5]
jmp 0x424af9
add esi, 2
lea ebx, [edx - 6]
mov byte [ecx + 0x1c], 0
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x424b0b
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x20], 1
jmp 0x424f7a
test al, 4
je 0x424b2a
test ecx, ecx
je 0x424b2a
cmp byte [ecx + 0x20], 0
je 0x424b2a
inc esi
mov byte [esi + ebx - 1], 0xd
jmp 0x424b35
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 0x424f7a
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x424f76
jmp 0x424f7a
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 0x424f7a
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x424f76
jmp 0x424f7a
test byte [edi + 0x170], 2
je 0x424c7d
cmp dword [edi + 0x13c], 1
je 0x424be2
cmp dword [0x4f4560], 0
je 0x424c7d
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov ecx, dword [edi + 0x144]
je 0x424bd4
cmp ecx, 0xfffffffa
je 0x424be2
cmp ecx, 2
je 0x424be2
cmp ecx, 1
jne 0x424c7d
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x424c52
cmp byte [eax + 0x1e], 0
je 0x424c2c
cmp byte [eax + 0x1c], 0
jne 0x424bfb
cmp byte [eax + 0x1d], 0
je 0x424c0b
inc esi
lea ebx, [edx - 5]
mov byte [esi], 0xa
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x424c11
jmp 0x424c23
add esi, 2
lea ebx, [edx - 6]
mov byte [eax + 0x1c], 0
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x424c23
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x20], 1
jmp 0x424f7a
cmp byte [eax + 0x20], 0
je 0x424c3a
add esi, 2
lea ebx, [edx - 6]
jmp 0x424c5c
cmp byte [eax + 0x1c], 0
jne 0x424c46
cmp byte [eax + 0x1d], 0
je 0x424c52
inc esi
lea ebx, [edx - 5]
mov byte [esi], 0xa
mov eax, dword [edi + 0x7c]
jmp 0x424c58
add esi, 2
lea ebx, [edx - 6]
test eax, eax
je 0x424c63
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 0x424f76
jmp 0x424f7a
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x424c9c
cmp byte [eax + 0x1c], 0
jne 0x424c90
cmp byte [eax + 0x1d], 0
je 0x424c9c
inc esi
lea ebx, [edx - 5]
mov byte [esi], 0xa
mov eax, dword [edi + 0x7c]
jmp 0x424ca2
add esi, 2
lea ebx, [edx - 6]
test eax, eax
je 0x424cad
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 0x424f76
jmp 0x424f7a
test byte [edi + 0x170], 2
je 0x424d6a
cmp dword [edi + 0x13c], 1
je 0x424d0d
cmp dword [0x4f4560], 0
je 0x424d6a
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov ecx, dword [edi + 0x144]
je 0x424d03
cmp ecx, 0xfffffffa
je 0x424d0d
cmp ecx, 2
je 0x424d0d
cmp ecx, 1
jne 0x424d6a
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x424d1a
movzx eax, byte [ecx + 0x1e]
jmp 0x424d1c
xor eax, eax
add esi, 2
lea ebx, [edx - 6]
test eax, eax
je 0x424d45
test ecx, ecx
je 0x424d3c
mov byte [ecx + 0x1c], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x424d3c
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x20], 1
jmp 0x424f7a
test ecx, ecx
je 0x424d50
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 0x424f76
jmp 0x424f7a
mov eax, dword [edi + 0x7c]
add esi, 2
test eax, eax
lea ebx, [edx - 6]
je 0x424d7e
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 0x424f76
jmp 0x424f7a
movzx eax, byte [edi + 0x170]
test al, 2
je 0x424e9e
cmp dword [edi + 0x13c], 1
je 0x424deb
cmp dword [0x4f4560], 0
je 0x424e9e
mov ecx, dword [edi + 0x144]
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edi + 0x178]
test ecx, 0x80
je 0x424ddb
cmp dword [ebp - 0x18], 0xfffffffa
je 0x424deb
cmp dword [ebp - 0x18], 2
je 0x424deb
cmp dword [ebp - 0x18], 1
jne 0x424e9e
mov ecx, dword [edi + 0x7c]
inc esi
test ecx, ecx
je 0x424e69
cmp byte [ecx + 0x1e], 0
je 0x424e42
test al, 4
je 0x424e08
cmp byte [ecx + 0x20], 0
je 0x424e08
lea ebx, [edx - 5]
jmp 0x424e27
cmp byte [ecx + 0x1c], 0
jne 0x424e14
cmp byte [ecx + 0x1d], 0
je 0x424e23
mov byte [esi], 0xa
lea ebx, [edx - 5]
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jne 0x424e27
jmp 0x424e39
inc esi
lea ebx, [edx - 6]
mov byte [ecx + 0x1c], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x424e39
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x20], 1
jmp 0x424f7a
cmp byte [ecx + 0x20], 0
je 0x424e53
test al, 4
je 0x424e69
mov byte [esi + ebx - 1], 0xd
jmp 0x424e72
cmp byte [ecx + 0x1c], 0
jne 0x424e5f
cmp byte [ecx + 0x1d], 0
je 0x424e69
mov byte [esi], 0xa
mov byte [esi + ebx - 1], 0xd
jmp 0x424e72
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 0x424f7a
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x424f76
jmp 0x424f7a
mov eax, dword [edi + 0x7c]
inc esi
test eax, eax
je 0x424ebc
cmp byte [eax + 0x1c], 0
jne 0x424eb2
cmp byte [eax + 0x1d], 0
je 0x424ebc
mov byte [esi], 0xa
mov byte [esi + ebx - 1], 0xd
jmp 0x424ec5
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 0x424f7a
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x424f76
jmp 0x424f7a
mov eax, dword [edi + 0x7c]
test eax, eax
mov edx, dword [edi + 0x13c]
je 0x424f40
cmp byte [eax + 0x1e], 0
je 0x424f40
cmp edx, 1
je 0x424f3a
cmp dword [0x4f4560], 0
je 0x424f4c
movzx edx, byte [edi + 0x178]
test edx, 0x80
mov ecx, dword [edi + 0x144]
je 0x424f2c
cmp ecx, 0xfffffffa
je 0x424f3a
cmp ecx, 2
je 0x424f3a
cmp ecx, 1
jne 0x425171
mov byte [eax + 0x20], 1
jmp 0x424f7a
cmp edx, 1
je 0x424f72
cmp dword [0x4f4560], 0
je 0x424f7a
movzx edx, byte [edi + 0x178]
test edx, 0x80
mov ecx, dword [edi + 0x144]
je 0x424f68
cmp ecx, 0xfffffffa
je 0x424f72
cmp ecx, 2
je 0x424f72
cmp ecx, 1
jne 0x424f7a
test eax, eax
je 0x424f7a
mov byte [eax + 0x20], 0
mov eax, edi
mov edx, esi
mov ecx, ebx
call fcn.00423a2c
and byte [edi + 0x174], 0xbf
cmp eax, 0xffffffff
je 0x425116
test byte [edi + 0x175], 8
je 0x424fb9
push dword [edi + 0xe4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x42514c
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.00426f60
mov ecx, dword [ebp - 0x14]
add esp, 8
mov edx, dword [ebp - 0x18]
test eax, eax
je 0x424107
mov eax, dword [edi + 0x18]
test eax, eax
je 0x425047
test byte [eax + 0x44], 2
je 0x425020
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 0x425011
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.0042b280
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.00410280
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.0x424118.5
mov eax, dword [edi + 0x38]
mov byte [eax + ebx], 0xa
inc ebx
jmp case.0x424118.5
test byte [edi + 0x175], 0x20
je 0x4250c2
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 0x42431b
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 0x42431b
mov eax, dword [edi + 0x38]
mov byte [eax + ebx - 2], 0xd
mov edx, dword [edi + 0x38]
mov byte [edx + ebx - 1], 0xa
jmp case.0x424118.5
mov eax, dword [edi + 0x38]
mov byte [eax + ebx], 0xd
inc ebx
jmp case.0x424118.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 0x424560
mov eax, dword [edi + 0x38]
movsx eax, byte [eax + 5]
jmp 0x42465d
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 [0x4f4560], 0
jne 0x424f4e
jmp 0x424f7a
cmp dword [0x4f4560], 0
jne 0x4245f4
jmp 0x424f7a