Function at 0x42df30
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
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 0x42df4c
mov edx, dword [edi + 0x3c]
mov esi, dword [edi + 0x40]
test esi, esi
je 0x42df59
neg esi
add esi, edx
jmp 0x42df5e
mov esi, edx
sub esi, dword [edi + 0x38]
movsx ebx, byte [edi + 0x154]
lea ecx, [esi + 4]
cmp ecx, dword [edi + 0xec]
jbe 0x42df9e
cmp ebx, 1
je 0x42df9e
push 0x200
push edi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
call fcn.00430f50
mov ecx, dword [ebp - 0x18]
add esp, 8
mov edx, dword [ebp - 0x1c]
test eax, eax
jne 0x42ef8e
movsx ebx, byte [edi + 0x154]
dec ebx
cmp ebx, 7
ja case.0x42dfa8.3
jmp dword [ebx*4 + 0x4e5330]
cmp byte [edi + 0x156], 1
je case.0x42dfa8.5
test byte [edi + 0x16d], 0x40
jne case.0x42dfa8.5
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x42e01e
movzx edx, byte [edx + 0x1e]
test edx, edx
je 0x42e01e
cmp dword [edi + 0x138], 1
je case.0x42dfa8.5
cmp dword [0x5115c0], 0
je 0x42e01e
movzx edx, byte [edi + 0x170]
test edx, 0x80
mov ecx, dword [edi + 0x140]
je 0x42e00c
cmp ecx, 0xfffffffa
je case.0x42dfa8.5
cmp ecx, 1
je case.0x42dfa8.5
cmp ecx, 2
je case.0x42dfa8.5
mov edx, dword [edi + 0x40]
test edx, edx
je 0x42f032
mov byte [edx + esi], 0xd
mov edx, dword [edi + 0x40]
mov byte [edx + esi + 1], 0xa
add esi, 2
jmp case.0x42dfa8.5
cmp byte [edi + 0x156], 1
je case.0x42dfa8.5
test byte [edi + 0x16d], 0x40
jne case.0x42dfa8.5
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x42e0ac
movzx edx, byte [edx + 0x1e]
test edx, edx
je 0x42e0ac
cmp dword [edi + 0x138], 1
je case.0x42dfa8.5
cmp dword [0x5115c0], 0
je 0x42e0ac
movzx edx, byte [edi + 0x170]
test edx, 0x80
mov ecx, dword [edi + 0x140]
je 0x42e09a
cmp ecx, 0xfffffffa
je case.0x42dfa8.5
cmp ecx, 1
je case.0x42dfa8.5
cmp ecx, 2
je case.0x42dfa8.5
mov edx, dword [edi + 0x40]
test edx, edx
je 0x42f0de
mov byte [edx + esi], 0xd
inc esi
jmp case.0x42dfa8.5
cmp byte [edi + 0x156], 1
je case.0x42dfa8.5
test byte [edi + 0x16d], 0x40
jne case.0x42dfa8.5
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x42e130
movzx edx, byte [edx + 0x1e]
test edx, edx
je 0x42e130
cmp dword [edi + 0x138], 1
je case.0x42dfa8.5
cmp dword [0x5115c0], 0
je 0x42e130
movzx edx, byte [edi + 0x170]
test edx, 0x80
mov ecx, dword [edi + 0x140]
je 0x42e11e
cmp ecx, 0xfffffffa
je case.0x42dfa8.5
cmp ecx, 1
je case.0x42dfa8.5
cmp ecx, 2
je case.0x42dfa8.5
mov edx, dword [edi + 0x40]
test edx, edx
je 0x42f049
mov byte [edx + esi], 0xa
inc esi
jmp case.0x42dfa8.5
add esi, 0xfffffffc
mov edx, esi
and edx, 0xff
mov ebx, dword [edi + 0x40]
test ebx, ebx
mov dword [ebp - 0x10], esi
je 0x42f056
test byte [edi + 0x16d], 0x20
je 0x42e19d
mov eax, esi
shr eax, 0x18
mov byte [ebx], al
mov ebx, dword [edi + 0x40]
mov dword [ebp - 0x18], eax
mov eax, esi
shr eax, 0x10
movzx eax, al
mov byte [ebx + 1], al
mov ebx, dword [edi + 0x40]
shr esi, 8
mov dword [ebp - 0x1c], eax
mov eax, esi
and eax, 0xff
mov byte [ebx + 2], al
mov esi, dword [edi + 0x40]
mov dword [ebp - 0x14], eax
mov byte [esi + 3], dl
jmp 0x42e1ca
movzx edx, byte [ebp - 0x10]
mov byte [ebx], dl
mov esi, dword [edi + 0x40]
movzx eax, byte [ebp - 0xf]
mov dword [ebp - 0x14], eax
mov byte [esi + 1], al
mov eax, dword [edi + 0x40]
movzx ebx, byte [ebp - 0xe]
mov dword [ebp - 0x1c], ebx
mov byte [eax + 2], bl
mov ebx, dword [edi + 0x40]
movzx eax, byte [ebp - 0xd]
mov dword [ebp - 0x18], eax
mov byte [ebx + 3], al
test byte [edi + 0x16d], 0x20
je 0x42e1f5
mov esi, dword [edi + 0x3c]
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
mov byte [esi], al
mov eax, dword [edi + 0x3c]
mov byte [eax + 1], bl
mov ebx, dword [edi + 0x3c]
mov eax, dword [ebp - 0x14]
mov byte [ebx + 2], al
mov esi, dword [edi + 0x3c]
mov byte [esi + 3], dl
jmp 0x42e215
mov esi, dword [edi + 0x3c]
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
mov byte [esi], dl
mov edx, dword [edi + 0x3c]
mov byte [edx + 1], al
mov esi, dword [edi + 0x3c]
mov eax, dword [ebp - 0x18]
mov byte [esi + 2], bl
mov edx, dword [edi + 0x3c]
mov byte [edx + 3], al
mov esi, ecx
jmp case.0x42dfa8.5
mov ecx, dword [edi + 0xf8]
cmp esi, ecx
jae 0x42e23a
sub ecx, esi
push ecx
push 0x20
push edx
call fcn.004c9070
add esp, 0xc
mov esi, dword [edi + 0xf8]
test byte [edi + 0x168], 4
je case.0x42dfa8.5
test byte [edi + 0x16a], 0x40
je case.0x42dfa8.5
test byte [edi + 0x16b], 8
je case.0x42dfa8.5
cmp byte [edi + 0x156], 1
je case.0x42dfa8.5
test byte [edi + 0x16d], 0x40
jne case.0x42dfa8.5
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x42e2bc
movzx edx, byte [edx + 0x1e]
test edx, edx
je 0x42e2bc
cmp dword [edi + 0x138], 1
je case.0x42dfa8.5
cmp dword [0x5115c0], 0
je 0x42e2bc
movzx edx, byte [edi + 0x170]
test edx, 0x80
mov ecx, dword [edi + 0x140]
je 0x42e2b2
cmp ecx, 0xfffffffa
je case.0x42dfa8.5
cmp ecx, 1
je case.0x42dfa8.5
cmp ecx, 2
je case.0x42dfa8.5
mov edx, dword [edi + 0x40]
test edx, edx
je 0x42f0c9
mov byte [edx + esi - 2], 0xd
mov edx, dword [edi + 0x40]
mov byte [edx + esi - 1], 0xa
jmp case.0x42dfa8.5
push 0x3c3
push str.for_put.c
push 2
push 8
call fcn.00413d20
add esp, 0x10
mov ecx, dword [edi + 0x40]
test ecx, ecx
je 0x42e2f7
mov ebx, ecx
jmp 0x42e2fa
mov ebx, dword [edi + 0x38]
movsx edx, byte [edi + 0x156]
cmp edx, 2
jne 0x42e4f5
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x42e389
movzx ecx, byte [edx + 0x1c]
test ecx, ecx
jne 0x42e321
movzx ecx, byte [edx + 0x1d]
test ecx, ecx
je 0x42e382
movzx ecx, byte [edx + 0x20]
test ecx, ecx
je 0x42e35f
cmp dword [edi + 0x138], 1
je 0x42e382
cmp dword [0x5115c0], 0
je 0x42e35f
movzx ecx, byte [edi + 0x170]
test ecx, 0x80
mov eax, dword [edi + 0x140]
je 0x42e355
cmp eax, 0xfffffffa
je 0x42e382
cmp eax, 1
je 0x42e382
cmp eax, 2
je 0x42e382
mov eax, edi
lea edx, [ebp - 0x14]
mov ecx, 1
mov byte [ebp - 0x14], 0xa
call fcn.0042d97c
cmp eax, 0xffffffff
je 0x42f0eb
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x42e389
mov byte [edx + 0x1c], 0
mov edx, dword [edi + 0x7c]
test byte [edi + 0x168], 4
je 0x42e3a8
test byte [edi + 0x16a], 0x40
je 0x42e3a8
test byte [edi + 0x16b], 8
jne 0x42e443
movsx ecx, byte [edi + 0x154]
cmp ecx, 6
je 0x42e443
movzx eax, byte [edi + 0x16d]
cmp ecx, 8
mov dword [ebp - 0x18], eax
je 0x42e43b
test byte [ebp - 0x18], 0x40
jne 0x42e43b
test edx, edx
je 0x42e416
movzx ecx, byte [edx + 0x1e]
test ecx, ecx
je 0x42e416
mov ecx, dword [edi + 0x138]
cmp ecx, 1
je 0x42e453
cmp dword [0x5115c0], 0
je 0x42e416
mov eax, dword [edi + 0x140]
mov dword [ebp - 0x1c], eax
movzx eax, byte [edi + 0x170]
test eax, 0x80
je 0x42e40a
cmp dword [ebp - 0x1c], 0xfffffffa
je 0x42e453
cmp dword [ebp - 0x1c], 1
je 0x42e453
cmp dword [ebp - 0x1c], 2
je 0x42e453
mov edx, dword [edi + 0x40]
test edx, edx
je 0x42f109
mov byte [edx + esi], 0xa
movzx eax, byte [edi + 0x16d]
inc esi
mov ecx, dword [edi + 0x138]
mov edx, dword [edi + 0x7c]
mov dword [ebp - 0x18], eax
jmp 0x42e453
mov ecx, dword [edi + 0x138]
jmp 0x42e453
movzx eax, byte [edi + 0x16d]
mov ecx, dword [edi + 0x138]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
and eax, 0xffffffbf
mov byte [edi + 0x16d], al
test edx, edx
je 0x42e4aa
movzx eax, byte [edx + 0x1e]
test eax, eax
je 0x42e4aa
cmp ecx, 1
je 0x42e4a1
cmp dword [0x5115c0], 0
je 0x42e4b6
movzx ecx, byte [edi + 0x170]
test ecx, 0x80
mov eax, dword [edi + 0x140]
je 0x42e493
cmp eax, 0xfffffffa
je 0x42e4a1
cmp eax, 2
je 0x42e4a1
cmp eax, 1
jne 0x42f163
mov byte [edx + 0x20], 1
jmp 0x42ef40
cmp ecx, 1
je 0x42e4e4
cmp dword [0x5115c0], 0
je 0x42ef40
movzx ecx, byte [edi + 0x170]
test ecx, 0x80
mov eax, dword [edi + 0x140]
je 0x42e4d6
cmp eax, 0xfffffffa
je 0x42e4e4
cmp eax, 2
je 0x42e4e4
cmp eax, 1
jne 0x42ef40
test edx, edx
je 0x42ef40
mov byte [edx + 0x20], 0
jmp 0x42ef40
cmp edx, 1
jne 0x42eeb1
cmp esi, 5
lea edx, [esi + 1]
je 0x42e508
mov edx, esi
test ecx, ecx
je 0x42e511
lea ebx, [ecx + 4]
jmp 0x42e517
mov ebx, dword [edi + 0x38]
add ebx, 4
test ecx, ecx
lea esi, [edx - 4]
je 0x42f115
movsx ecx, byte [ecx + 5]
cmp ecx, 0x31
ja case.0x42e52f.1
jmp dword [ecx*4 + 0x4e5360]
movzx eax, byte [edi + 0x168]
test al, 2
je 0x42e6f0
cmp dword [edi + 0x138], 1
je 0x42e589
cmp dword [0x5115c0], 0
je 0x42e6f0
mov ecx, dword [edi + 0x140]
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [edi + 0x170]
test ecx, 0x80
je 0x42e579
cmp dword [ebp - 0x1c], 0xfffffffa
je 0x42e589
cmp dword [ebp - 0x1c], 2
je 0x42e589
cmp dword [ebp - 0x1c], 1
jne 0x42e6f0
mov ecx, dword [edi + 0x7c]
inc ebx
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x42e696
movzx ecx, byte [ecx + 0x1e]
test ecx, ecx
je 0x42e63a
and eax, 4
shr eax, 2
test eax, eax
je 0x42e5be
mov ecx, dword [ebp - 0x1c]
movzx esi, byte [ecx + 0x20]
test esi, esi
je 0x42e5be
lea esi, [edx - 5]
jmp 0x42e611
mov ecx, dword [ebp - 0x1c]
movzx esi, byte [ecx + 0x1c]
test esi, esi
jne 0x42e5d1
movzx esi, byte [ecx + 0x1d]
test esi, esi
je 0x42e60d
test eax, eax
je 0x42e5f9
add ebx, 0xfffffffc
mov eax, 0xd
lea esi, [edx - 1]
mov byte [ebx], 0xa
mov byte [ebx + 1], 0xc
mov byte [ebx + 2], al
mov byte [ebx + 3], 0x20
mov byte [ebx + 4], al
mov edx, dword [edi + 0x7c]
mov dword [ebp - 0x1c], edx
jmp 0x42e605
mov byte [ebx], 0xc
lea esi, [edx - 5]
mov edx, dword [edi + 0x7c]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
jne 0x42e611
jmp 0x42e62e
inc ebx
lea esi, [edx - 6]
mov edx, dword [ebp - 0x1c]
mov byte [edx + 0x1c], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
mov dword [ebp - 0x1c], ecx
je 0x42e62e
mov edx, ecx
mov byte [edx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov byte [edx + 0x20], 1
jmp 0x42ef40
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x20]
test ecx, ecx
je 0x42e65b
test al, 4
je 0x42e650
mov byte [ebx + esi - 1], 0xd
jmp 0x42e6c0
inc ebx
lea esi, [edx - 5]
mov byte [esi + ebx - 1], 0xd
jmp 0x42e6c0
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1c]
test ecx, ecx
jne 0x42e671
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1d]
test ecx, ecx
je 0x42e696
test al, 4
je 0x42e6b8
add ebx, 0xfffffffc
mov eax, 0xd
mov byte [ebx], 0xa
mov byte [ebx + 1], 0xc
mov byte [ebx + 2], al
mov byte [ebx + 3], 0x20
mov byte [ebx + 4], al
mov byte [ebx + esi + 3], al
mov esi, edx
jmp 0x42e6c0
test al, 4
je 0x42e6b8
add ebx, 0xfffffffd
mov eax, 0xd
mov byte [ebx], 0xc
mov byte [ebx + 1], al
mov byte [ebx + 2], 0x20
mov byte [ebx + 3], al
mov byte [ebx + esi + 2], al
lea esi, [edx - 1]
jmp 0x42e6c0
mov byte [ebx], 0xc
mov byte [ebx + esi - 1], 0xd
mov edx, dword [edi + 0x7c]
mov byte [edx + 0x1c], 1
mov ecx, dword [edi + 0x7c]
mov dword [ecx + 0x10], edi
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x42ef40
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x42ef40
mov byte [edx + 0x20], 0
jmp 0x42ef40
mov ecx, dword [edi + 0x7c]
inc ebx
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x42e733
movzx ecx, byte [ecx + 0x1c]
test ecx, ecx
jne 0x42e70e
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1d]
test ecx, ecx
je 0x42e733
test al, 4
je 0x42e755
add ebx, 0xfffffffc
mov eax, 0xd
mov byte [ebx], 0xa
mov byte [ebx + 1], 0xc
mov byte [ebx + 2], al
mov byte [ebx + 3], 0x20
mov byte [ebx + 4], al
mov byte [ebx + esi + 3], al
mov esi, edx
jmp 0x42e75d
test al, 4
je 0x42e755
add ebx, 0xfffffffd
mov eax, 0xd
mov byte [ebx], 0xc
mov byte [ebx + 1], al
mov byte [ebx + 2], 0x20
mov byte [ebx + 3], al
mov byte [ebx + esi + 2], al
lea esi, [edx - 1]
jmp 0x42e75d
mov byte [ebx], 0xc
mov byte [ebx + esi - 1], 0xd
mov edx, dword [edi + 0x7c]
mov byte [edx + 0x1c], 1
mov ecx, dword [edi + 0x7c]
mov dword [ecx + 0x10], edi
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x42ef40
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x42ef40
mov byte [edx + 0x20], 0
jmp 0x42ef40
movzx eax, byte [edi + 0x168]
test al, 2
je 0x42e94a
cmp dword [edi + 0x138], 1
je 0x42e7e0
cmp dword [0x5115c0], 0
je 0x42e94a
mov ecx, dword [edi + 0x140]
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [edi + 0x170]
test ecx, 0x80
je 0x42e7d0
cmp dword [ebp - 0x1c], 0xfffffffa
je 0x42e7e0
cmp dword [ebp - 0x1c], 2
je 0x42e7e0
cmp dword [ebp - 0x1c], 1
jne 0x42e94a
mov ecx, dword [edi + 0x7c]
test ecx, ecx
mov dword [ebp - 0x1c], ecx
je 0x42e8fa
movzx ecx, byte [ecx + 0x1e]
test ecx, ecx
je 0x42e890
and eax, 4
shr eax, 2
test eax, eax
je 0x42e815
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x20]
test ecx, ecx
je 0x42e815
inc ebx
lea esi, [edx - 5]
jmp 0x42e867
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1c]
test ecx, ecx
jne 0x42e82b
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1d]
test ecx, ecx
je 0x42e861
test eax, eax
je 0x42e849
dec ebx
mov eax, 0xa
lea esi, [edx - 3]
mov byte [ebx], al
mov byte [ebx + 1], 0xd
mov byte [ebx + 2], al
mov edx, dword [edi + 0x7c]
mov dword [ebp - 0x1c], edx
jmp 0x42e859
mov edx, 0xa
mov byte [ebx], dl
mov byte [ebx + 1], dl
mov ecx, dword [edi + 0x7c]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
jne 0x42e867
jmp 0x42e884
add ebx, 2
lea esi, [edx - 6]
mov edx, dword [ebp - 0x1c]
mov byte [edx + 0x1c], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
mov dword [ebp - 0x1c], ecx
je 0x42e884
mov edx, ecx
mov byte [edx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov byte [edx + 0x20], 1
jmp 0x42ef40
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x20]
test ecx, ecx
je 0x42e8b4
test al, 4
je 0x42e8a7
inc ebx
mov byte [ebx + esi - 1], 0xd
jmp 0x42e91a
add ebx, 2
lea esi, [edx - 5]
mov byte [esi + ebx - 1], 0xd
jmp 0x42e91a
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1c]
test ecx, ecx
jne 0x42e8ca
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1d]
test ecx, ecx
je 0x42e8fa
test al, 4
je 0x42e8e7
dec ebx
mov eax, 0xa
mov byte [ebx], al
mov byte [ebx + 1], 0xd
mov byte [ebx + 2], al
mov byte [ebx + esi + 1], 0xd
lea esi, [edx - 2]
jmp 0x42e91a
mov eax, 0xa
mov byte [ebx], al
mov byte [ebx + 1], al
mov byte [ebx + esi], 0xd
lea esi, [edx - 3]
jmp 0x42e91a
test al, 4
je 0x42e911
mov eax, 0xd
mov byte [ebx], al
mov byte [ebx + 1], 0xa
mov byte [ebx + esi], al
lea esi, [edx - 3]
jmp 0x42e91a
inc ebx
mov byte [ebx], 0xa
mov byte [ebx + esi - 1], 0xd
mov edx, dword [edi + 0x7c]
mov byte [edx + 0x1c], 1
mov ecx, dword [edi + 0x7c]
mov dword [ecx + 0x10], edi
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x42ef40
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x42ef40
mov byte [edx + 0x20], 0
jmp 0x42ef40
mov ecx, dword [edi + 0x7c]
test ecx, ecx
mov dword [ebp - 0x1c], ecx
je 0x42e997
movzx ecx, byte [ecx + 0x1c]
test ecx, ecx
jne 0x42e967
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x1d]
test ecx, ecx
je 0x42e997
test al, 4
je 0x42e984
dec ebx
mov eax, 0xa
mov byte [ebx], al
mov byte [ebx + 1], 0xd
mov byte [ebx + 2], al
mov byte [ebx + esi + 1], 0xd
lea esi, [edx - 2]
jmp 0x42e9b7
mov eax, 0xa
mov byte [ebx], al
mov byte [ebx + 1], al
mov byte [ebx + esi], 0xd
lea esi, [edx - 3]
jmp 0x42e9b7
test al, 4
je 0x42e9ae
mov eax, 0xd
mov byte [ebx], al
mov byte [ebx + 1], 0xa
mov byte [ebx + esi], al
lea esi, [edx - 3]
jmp 0x42e9b7
inc ebx
mov byte [ebx], 0xa
mov byte [ebx + esi - 1], 0xd
mov edx, dword [edi + 0x7c]
mov byte [edx + 0x1c], 1
mov ecx, dword [edi + 0x7c]
mov dword [ecx + 0x10], edi
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x42ef40
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x42ef40
mov byte [edx + 0x20], 0
jmp 0x42ef40
movzx eax, byte [edi + 0x168]
test al, 2
je 0x42eadd
cmp dword [edi + 0x138], 1
je 0x42ea3a
cmp dword [0x5115c0], 0
je 0x42eadd
mov ecx, dword [edi + 0x140]
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [edi + 0x170]
test ecx, 0x80
je 0x42ea2a
cmp dword [ebp - 0x1c], 0xfffffffa
je 0x42ea3a
cmp dword [ebp - 0x1c], 2
je 0x42ea3a
cmp dword [ebp - 0x1c], 1
jne 0x42eadd
mov ecx, dword [edi + 0x7c]
test ecx, ecx
mov dword [ebp - 0x1c], ecx
je 0x42ea85
movzx ecx, byte [ecx + 0x1e]
test ecx, ecx
je 0x42ea85
test al, 4
je 0x42ea61
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + 0x20]
test ecx, ecx
je 0x42ea61
inc ebx
lea esi, [edx - 5]
jmp 0x42ea67
add ebx, 2
lea esi, [edx - 6]
mov edx, dword [ebp - 0x1c]
mov byte [edx + 0x1c], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x42ea7c
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
mov byte [edx + 0x20], 1
jmp 0x42ef40
test al, 4
je 0x42eaa2
cmp dword [ebp - 0x1c], 0
je 0x42eaa2
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + 0x20]
test ecx, ecx
je 0x42eaa2
inc ebx
mov byte [ebx + esi - 1], 0xd
jmp 0x42eaad
add ebx, 2
lea esi, [edx - 5]
mov byte [esi + ebx - 1], 0xd
mov edx, dword [edi + 0x7c]
mov byte [edx + 0x1c], 1
mov ecx, dword [edi + 0x7c]
mov dword [ecx + 0x10], edi
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x42ef40
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x42ef40
mov byte [edx + 0x20], 0
jmp 0x42ef40
add ebx, 2
lea esi, [edx - 5]
mov byte [esi + ebx - 1], 0xd
mov edx, dword [edi + 0x7c]
mov byte [edx + 0x1c], 1
mov ecx, dword [edi + 0x7c]
mov dword [ecx + 0x10], edi
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x42ef40
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x42ef40
mov byte [edx + 0x20], 0
jmp 0x42ef40
test byte [edi + 0x168], 2
je 0x42ec0d
cmp dword [edi + 0x138], 1
je 0x42eb62
cmp dword [0x5115c0], 0
je 0x42ec0d
movzx eax, byte [edi + 0x170]
test eax, 0x80
mov ecx, dword [edi + 0x140]
je 0x42eb54
cmp ecx, 0xfffffffa
je 0x42eb62
cmp ecx, 2
je 0x42eb62
cmp ecx, 1
jne 0x42ec0d
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42ebde
movzx ecx, byte [eax + 0x1e]
test ecx, ecx
je 0x42ebb2
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x42eb81
movzx ecx, byte [eax + 0x1d]
test ecx, ecx
je 0x42eb91
inc ebx
lea esi, [edx - 5]
mov byte [ebx], 0xa
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x42eb97
jmp 0x42eba9
add ebx, 2
lea esi, [edx - 6]
mov byte [eax + 0x1c], 0
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42eba9
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x20], 1
jmp 0x42ef40
movzx ecx, byte [eax + 0x20]
test ecx, ecx
je 0x42ebc2
add ebx, 2
lea esi, [edx - 6]
jmp 0x42ebe8
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x42ebd2
movzx ecx, byte [eax + 0x1d]
test ecx, ecx
je 0x42ebde
inc ebx
lea esi, [edx - 5]
mov byte [ebx], 0xa
mov eax, dword [edi + 0x7c]
jmp 0x42ebe4
add ebx, 2
lea esi, [edx - 6]
test eax, eax
je 0x42ebef
mov byte [eax + 0x1c], 0
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x1d], 1
mov edx, dword [edi + 0x7c]
mov dword [edx + 0x10], edi
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x42ef40
mov byte [edx + 0x20], 0
jmp 0x42ef40
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42ec30
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x42ec24
movzx ecx, byte [eax + 0x1d]
test ecx, ecx
je 0x42ec30
inc ebx
lea esi, [edx - 5]
mov byte [ebx], 0xa
mov eax, dword [edi + 0x7c]
jmp 0x42ec36
add ebx, 2
lea esi, [edx - 6]
test eax, eax
je 0x42ec41
mov byte [eax + 0x1c], 0
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x1d], 1
mov edx, dword [edi + 0x7c]
mov dword [edx + 0x10], edi
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x42ef40
mov byte [edx + 0x20], 0
jmp 0x42ef40
test byte [edi + 0x168], 2
je 0x42ed06
cmp dword [edi + 0x138], 1
je 0x42eca5
cmp dword [0x5115c0], 0
je 0x42ed06
movzx eax, byte [edi + 0x170]
test eax, 0x80
mov ecx, dword [edi + 0x140]
je 0x42ec9b
cmp ecx, 0xfffffffa
je 0x42eca5
cmp ecx, 2
je 0x42eca5
cmp ecx, 1
jne 0x42ed06
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42ecb2
movzx ecx, byte [eax + 0x1e]
jmp 0x42ecb4
xor ecx, ecx
add ebx, 2
lea esi, [edx - 6]
test ecx, ecx
je 0x42ecdd
test eax, eax
je 0x42ecd4
mov byte [eax + 0x1c], 0
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42ecd4
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x20], 1
jmp 0x42ef40
test eax, eax
je 0x42ece8
mov byte [eax + 0x1c], 0
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x1d], 1
mov edx, dword [edi + 0x7c]
mov dword [edx + 0x10], edi
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x42ef40
mov byte [edx + 0x20], 0
jmp 0x42ef40
add ebx, 2
lea esi, [edx - 6]
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x42ed1a
mov byte [edx + 0x1c], 0
mov edx, dword [edi + 0x7c]
mov byte [edx + 0x1d], 1
mov edx, dword [edi + 0x7c]
mov dword [edx + 0x10], edi
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x42ef40
mov byte [edx + 0x20], 0
jmp 0x42ef40
movzx ecx, byte [edi + 0x168]
test cl, 2
mov dword [ebp - 0x1c], ecx
je 0x42ee56
cmp dword [edi + 0x138], 1
je 0x42ed89
cmp dword [0x5115c0], 0
je 0x42ee56
movzx ecx, byte [edi + 0x170]
test ecx, 0x80
mov eax, dword [edi + 0x140]
je 0x42ed7b
cmp eax, 0xfffffffa
je 0x42ed89
cmp eax, 2
je 0x42ed89
cmp eax, 1
jne 0x42ee56
mov eax, dword [edi + 0x7c]
inc ebx
test eax, eax
je 0x42ee1d
movzx ecx, byte [eax + 0x1e]
test ecx, ecx
je 0x42edee
test byte [ebp - 0x1c], 4
je 0x42edb0
movzx ecx, byte [eax + 0x20]
test ecx, ecx
je 0x42edb0
lea esi, [edx - 5]
jmp 0x42edd3
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x42edc0
movzx ecx, byte [eax + 0x1d]
test ecx, ecx
je 0x42edcf
mov byte [ebx], 0xa
lea esi, [edx - 5]
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x42edd3
jmp 0x42ede5
inc ebx
lea esi, [edx - 6]
mov byte [eax + 0x1c], 0
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42ede5
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x20], 1
jmp 0x42ef40
movzx ecx, byte [eax + 0x20]
test ecx, ecx
je 0x42ee03
test byte [ebp - 0x1c], 4
je 0x42ee1d
mov byte [ebx + esi - 1], 0xd
jmp 0x42ee26
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x42ee13
movzx ecx, byte [eax + 0x1d]
test ecx, ecx
je 0x42ee1d
mov byte [ebx], 0xa
mov byte [ebx + esi - 1], 0xd
jmp 0x42ee26
inc ebx
lea esi, [edx - 5]
mov byte [esi + ebx - 1], 0xd
mov edx, dword [edi + 0x7c]
mov byte [edx + 0x1c], 1
mov ecx, dword [edi + 0x7c]
mov dword [ecx + 0x10], edi
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x42ef40
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x42ef40
mov byte [edx + 0x20], 0
jmp 0x42ef40
mov eax, dword [edi + 0x7c]
inc ebx
test eax, eax
je 0x42ee78
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x42ee6e
movzx ecx, byte [eax + 0x1d]
test ecx, ecx
je 0x42ee78
mov byte [ebx], 0xa
mov byte [ebx + esi - 1], 0xd
jmp 0x42ee81
inc ebx
lea esi, [edx - 5]
mov byte [esi + ebx - 1], 0xd
mov edx, dword [edi + 0x7c]
mov byte [edx + 0x1c], 1
mov ecx, dword [edi + 0x7c]
mov dword [ecx + 0x10], edi
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x42ef40
mov byte [edx + 0x1d], 0
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x42ef40
mov byte [edx + 0x20], 0
jmp 0x42ef40
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42f146
mov ecx, dword [edi + 0x138]
movzx edx, byte [eax + 0x1e]
test edx, edx
je 0x42ef06
cmp ecx, 1
je 0x42ef00
cmp dword [0x5115c0], 0
je 0x42ef12
movzx edx, byte [edi + 0x170]
test edx, 0x80
mov ecx, dword [edi + 0x140]
je 0x42eef2
cmp ecx, 0xfffffffa
je 0x42ef00
cmp ecx, 2
je 0x42ef00
cmp ecx, 1
jne 0x42f151
mov byte [eax + 0x20], 1
jmp 0x42ef40
cmp ecx, 1
je 0x42ef38
cmp dword [0x5115c0], 0
je 0x42ef40
movzx edx, byte [edi + 0x170]
test edx, 0x80
mov ecx, dword [edi + 0x140]
je 0x42ef2e
cmp ecx, 0xfffffffa
je 0x42ef38
cmp ecx, 2
je 0x42ef38
cmp ecx, 1
jne 0x42ef40
test eax, eax
je 0x42ef40
mov byte [eax + 0x20], 0
mov eax, edi
mov edx, ebx
mov ecx, esi
call fcn.0042d97c
and byte [edi + 0x16c], 0xbf
cmp eax, 0xffffffff
je 0x42f0eb
test byte [edi + 0x16d], 8
je 0x42ef7f
push dword [edi + 0xe4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x42f121
and byte [edi + 0x16d], 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 - 0x1c], edx
mov dword [ebp - 0x18], ecx
call fcn.00430f50
mov ecx, dword [ebp - 0x18]
add esp, 8
mov edx, dword [ebp - 0x1c]
test eax, eax
je 0x42df97
mov eax, dword [edi + 0x18]
test eax, eax
je 0x42f013
test byte [eax + 0x44], 2
je 0x42efe9
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 0x42efd7
xor edx, edx
mov dword [eax + 4], edx
mov dword [edi + 0x64], edx
mov eax, 0x42
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov eax, 0x42
push eax
movzx edx, byte [edi + 0x16c]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push edi
call fcn.00435d00
add esp, 0x14
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
push edi
mov eax, 0x42
push eax
push eax
push 1
call fcn.00411c20
add esp, 0x10
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x38]
mov byte [edx + esi], 0xd
mov ecx, dword [edi + 0x38]
mov byte [ecx + esi + 1], 0xa
add esi, 2
jmp case.0x42dfa8.5
mov edx, dword [edi + 0x38]
mov byte [edx + esi], 0xa
inc esi
jmp case.0x42dfa8.5
test byte [edi + 0x16d], 0x20
je 0x42f094
mov esi, dword [edi + 0x38]
movzx edx, byte [ebp - 0xd]
movzx eax, byte [ebp - 0xe]
mov byte [esi], dl
mov ebx, dword [edi + 0x38]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov byte [ebx + 1], al
mov eax, dword [edi + 0x38]
movzx edx, byte [ebp - 0xf]
mov dword [ebp - 0x14], edx
mov byte [eax + 2], dl
mov ebx, dword [edi + 0x38]
movzx edx, byte [ebp - 0x10]
mov byte [ebx + 3], dl
jmp 0x42e1ca
mov esi, dword [edi + 0x38]
movzx edx, byte [ebp - 0x10]
movzx eax, byte [ebp - 0xf]
mov byte [esi], dl
mov ebx, dword [edi + 0x38]
mov dword [ebp - 0x14], eax
mov byte [ebx + 1], al
mov eax, dword [edi + 0x38]
movzx ebx, byte [ebp - 0xe]
mov dword [ebp - 0x1c], ebx
mov byte [eax + 2], bl
mov esi, dword [edi + 0x38]
movzx eax, byte [ebp - 0xd]
mov dword [ebp - 0x18], eax
mov byte [esi + 3], al
jmp 0x42e1ca
mov edx, dword [edi + 0x38]
mov byte [edx + esi - 2], 0xd
mov ecx, dword [edi + 0x38]
mov byte [ecx + esi - 1], 0xa
jmp case.0x42dfa8.5
mov edx, dword [edi + 0x38]
mov byte [edx + esi], 0xd
inc esi
jmp case.0x42dfa8.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 edx, dword [edi + 0x38]
mov byte [edx + esi], 0xa
jmp 0x42e425
mov ecx, dword [edi + 0x38]
movsx ecx, byte [ecx + 5]
jmp 0x42e526
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xe8], eax
mov eax, 0x26
and byte [edi + 0x16d], 0xf7
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x138]
jmp 0x42ef06
cmp dword [0x5115c0], 0
jne 0x42ef14
jmp 0x42ef40
cmp dword [0x5115c0], 0
jne 0x42e4bc
jmp 0x42ef40