Function at 0x42a990
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 0x42a9ac
mov edx, dword [edi + 0x3c]
mov ebx, dword [edi + 0x40]
test ebx, ebx
je 0x42a9b9
neg ebx
add ebx, edx
jmp 0x42a9be
mov ebx, edx
sub ebx, dword [edi + 0x38]
movsx eax, byte [edi + 0x15c]
lea ecx, [ebx + 4]
cmp ecx, dword [edi + 0xec]
jbe 0x42a9fe
cmp eax, 1
je 0x42a9fe
push 0x200
push edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
call fcn.0042f180
mov ecx, dword [ebp - 0x14]
add esp, 8
mov edx, dword [ebp - 0x18]
test eax, eax
jne 0x42b8b8
movsx eax, byte [edi + 0x15c]
dec eax
cmp eax, 7
ja case.0x42aa08.3
jmp dword [eax*4 + 0x4d2684]
cmp byte [edi + 0x15e], 1
je case.0x42aa08.5
test byte [edi + 0x175], 0x40
jne case.0x42aa08.5
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42aa7b
cmp byte [eax + 0x1e], 0
je 0x42aa7b
cmp dword [edi + 0x13c], 1
je case.0x42aa08.5
cmp dword [0x4f7de0], 0
je 0x42aa7b
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov edx, dword [edi + 0x144]
je 0x42aa69
cmp edx, 0xfffffffa
je case.0x42aa08.5
cmp edx, 1
je case.0x42aa08.5
cmp edx, 2
je case.0x42aa08.5
mov eax, dword [edi + 0x40]
test eax, eax
je 0x42b953
mov byte [eax + ebx], 0xd
mov eax, dword [edi + 0x40]
mov byte [eax + ebx + 1], 0xa
add ebx, 2
jmp case.0x42aa08.5
cmp byte [edi + 0x15e], 1
je case.0x42aa08.5
test byte [edi + 0x175], 0x40
jne case.0x42aa08.5
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42ab06
cmp byte [eax + 0x1e], 0
je 0x42ab06
cmp dword [edi + 0x13c], 1
je case.0x42aa08.5
cmp dword [0x4f7de0], 0
je 0x42ab06
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov edx, dword [edi + 0x144]
je 0x42aaf4
cmp edx, 0xfffffffa
je case.0x42aa08.5
cmp edx, 1
je case.0x42aa08.5
cmp edx, 2
je case.0x42aa08.5
mov eax, dword [edi + 0x40]
test eax, eax
je 0x42b9f9
mov byte [eax + ebx], 0xd
inc ebx
jmp case.0x42aa08.5
cmp byte [edi + 0x15e], 1
je case.0x42aa08.5
test byte [edi + 0x175], 0x40
jne case.0x42aa08.5
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42ab87
cmp byte [eax + 0x1e], 0
je 0x42ab87
cmp dword [edi + 0x13c], 1
je case.0x42aa08.5
cmp dword [0x4f7de0], 0
je 0x42ab87
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov edx, dword [edi + 0x144]
je 0x42ab75
cmp edx, 0xfffffffa
je case.0x42aa08.5
cmp edx, 1
je case.0x42aa08.5
cmp edx, 2
je case.0x42aa08.5
mov eax, dword [edi + 0x40]
test eax, eax
je 0x42b96a
mov byte [eax + ebx], 0xa
inc ebx
jmp case.0x42aa08.5
mov eax, dword [edi + 0x40]
add ebx, 0xfffffffc
mov dword [ebp - 0x10], ebx
test eax, eax
je 0x42b977
test byte [edi + 0x175], 0x20
je 0x42abe1
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 0x42ac0b
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 0x42ac33
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 0x42ac50
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.0x42aa08.5
mov eax, dword [edi + 0xf8]
cmp ebx, eax
jae 0x42ac75
sub eax, ebx
push eax
push 0x20
push edx
call fcn.004b5ec0
add esp, 0xc
mov ebx, dword [edi + 0xf8]
test byte [edi + 0x170], 4
je case.0x42aa08.5
test byte [edi + 0x172], 0x40
je case.0x42aa08.5
test byte [edi + 0x173], 8
je case.0x42aa08.5
cmp byte [edi + 0x15e], 1
je case.0x42aa08.5
test byte [edi + 0x175], 0x40
jne case.0x42aa08.5
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42acf0
cmp byte [eax + 0x1e], 0
je 0x42acf0
cmp dword [edi + 0x13c], 1
je case.0x42aa08.5
cmp dword [0x4f7de0], 0
je 0x42acf0
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov edx, dword [edi + 0x144]
je 0x42ace6
cmp edx, 0xfffffffa
je case.0x42aa08.5
cmp edx, 1
je case.0x42aa08.5
cmp edx, 2
je case.0x42aa08.5
mov eax, dword [edi + 0x40]
test eax, eax
je 0x42b9e4
mov byte [eax + ebx - 2], 0xd
mov eax, dword [edi + 0x40]
mov byte [eax + ebx - 1], 0xa
jmp case.0x42aa08.5
push 0x3ce
push str.for_put.c
push 2
push 8
call fcn.0041a850
add esp, 0x10
mov ecx, dword [edi + 0x40]
test ecx, ecx
je 0x42ad2b
mov esi, ecx
jmp 0x42ad2e
mov esi, dword [edi + 0x38]
movsx eax, byte [edi + 0x15e]
cmp eax, 2
jne 0x42af1c
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x42adb6
cmp byte [edx + 0x1c], 0
jne 0x42ad51
cmp byte [edx + 0x1d], 0
je 0x42adaf
cmp byte [edx + 0x20], 0
je 0x42ad8c
cmp dword [edi + 0x13c], 1
je 0x42adaf
cmp dword [0x4f7de0], 0
je 0x42ad8c
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov ecx, dword [edi + 0x144]
je 0x42ad82
cmp ecx, 0xfffffffa
je 0x42adaf
cmp ecx, 1
je 0x42adaf
cmp ecx, 2
je 0x42adaf
mov eax, edi
lea edx, [ebp - 0x10]
mov ecx, 1
mov byte [ebp - 0x10], 0xa
call fcn.0042a31c
cmp eax, 0xffffffff
je 0x42ba06
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x42adb6
mov byte [edx + 0x1c], 0
mov edx, dword [edi + 0x7c]
test byte [edi + 0x170], 4
je 0x42add5
test byte [edi + 0x172], 0x40
je 0x42add5
test byte [edi + 0x173], 8
jne 0x42ae6e
movsx ecx, byte [edi + 0x15c]
cmp ecx, 6
je 0x42ae6e
movzx eax, byte [edi + 0x175]
cmp ecx, 8
mov dword [ebp - 0x14], eax
je 0x42ae66
test byte [ebp - 0x14], 0x40
jne 0x42ae66
test edx, edx
je 0x42ae41
cmp byte [edx + 0x1e], 0
je 0x42ae41
mov ecx, dword [edi + 0x13c]
cmp ecx, 1
je 0x42ae7e
cmp dword [0x4f7de0], 0
je 0x42ae41
mov eax, dword [edi + 0x144]
mov dword [ebp - 0x18], eax
movzx eax, byte [edi + 0x178]
test eax, 0x80
je 0x42ae35
cmp dword [ebp - 0x18], 0xfffffffa
je 0x42ae7e
cmp dword [ebp - 0x18], 1
je 0x42ae7e
cmp dword [ebp - 0x18], 2
je 0x42ae7e
mov eax, dword [edi + 0x40]
test eax, eax
je 0x42ba24
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 0x42ae7e
mov ecx, dword [edi + 0x13c]
jmp 0x42ae7e
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 0x42aed2
cmp byte [edx + 0x1e], 0
je 0x42aed2
cmp ecx, 1
je 0x42aec9
cmp dword [0x4f7de0], 0
je 0x42aede
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov ecx, dword [edi + 0x144]
je 0x42aebb
cmp ecx, 0xfffffffa
je 0x42aec9
cmp ecx, 2
je 0x42aec9
cmp ecx, 1
jne 0x42ba73
mov byte [edx + 0x20], 1
jmp 0x42b86a
cmp ecx, 1
je 0x42af0b
cmp dword [0x4f7de0], 0
je 0x42b86a
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov ecx, dword [edi + 0x144]
je 0x42aefd
cmp ecx, 0xfffffffa
je 0x42af0b
cmp ecx, 2
je 0x42af0b
cmp ecx, 1
jne 0x42b86a
test edx, edx
je 0x42b86a
mov byte [edx + 0x20], 0
jmp 0x42b86a
cmp eax, 1
jne 0x42b7e1
cmp ebx, 5
lea edx, [ebx + 1]
je 0x42af2f
mov edx, ebx
test ecx, ecx
je 0x42af38
lea esi, [ecx + 4]
jmp 0x42af3e
mov esi, dword [edi + 0x38]
add esi, 4
test ecx, ecx
lea ebx, [edx - 4]
je 0x42ba30
movsx eax, byte [ecx + 5]
cmp eax, 0x31
ja case.0x42af56.1
jmp dword [eax*4 + 0x4d26c0]
movzx eax, byte [edi + 0x170]
test al, 2
je 0x42b0d9
cmp dword [edi + 0x13c], 1
je 0x42afb0
cmp dword [0x4f7de0], 0
je 0x42b0d9
mov ecx, dword [edi + 0x144]
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edi + 0x178]
test ecx, 0x80
je 0x42afa0
cmp dword [ebp - 0x18], 0xfffffffa
je 0x42afb0
cmp dword [ebp - 0x18], 2
je 0x42afb0
cmp dword [ebp - 0x18], 1
jne 0x42b0d9
mov ecx, dword [edi + 0x7c]
inc esi
test ecx, ecx
je 0x42b083
cmp byte [ecx + 0x1e], 0
je 0x42b036
and eax, 4
shr eax, 2
test eax, eax
je 0x42afd7
cmp byte [ecx + 0x20], 0
je 0x42afd7
lea ebx, [edx - 5]
jmp 0x42b01b
cmp byte [ecx + 0x1c], 0
jne 0x42afe3
cmp byte [ecx + 0x1d], 0
je 0x42b017
test eax, eax
je 0x42b008
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 0x42b011
mov byte [esi], 0xc
lea ebx, [edx - 5]
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jne 0x42b01b
jmp 0x42b02d
inc esi
lea ebx, [edx - 6]
mov byte [ecx + 0x1c], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x42b02d
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x20], 1
jmp 0x42b86a
cmp byte [ecx + 0x20], 0
je 0x42b052
test al, 4
je 0x42b047
mov byte [esi + ebx - 1], 0xd
jmp 0x42b0ad
inc esi
lea ebx, [edx - 5]
mov byte [ebx + esi - 1], 0xd
jmp 0x42b0ad
cmp byte [ecx + 0x1c], 0
jne 0x42b05e
cmp byte [ecx + 0x1d], 0
je 0x42b083
test al, 4
je 0x42b0a5
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 0x42b0ad
test al, 4
je 0x42b0a5
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 0x42b0ad
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 0x42b86a
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x42b866
jmp 0x42b86a
mov ecx, dword [edi + 0x7c]
inc esi
test ecx, ecx
je 0x42b112
cmp byte [ecx + 0x1c], 0
jne 0x42b0ed
cmp byte [ecx + 0x1d], 0
je 0x42b112
test al, 4
je 0x42b134
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 0x42b13c
test al, 4
je 0x42b134
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 0x42b13c
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 0x42b86a
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x42b866
jmp 0x42b86a
movzx eax, byte [edi + 0x170]
test al, 2
je 0x42b2e4
cmp dword [edi + 0x13c], 1
je 0x42b1bb
cmp dword [0x4f7de0], 0
je 0x42b2e4
mov ecx, dword [edi + 0x144]
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edi + 0x178]
test ecx, 0x80
je 0x42b1ab
cmp dword [ebp - 0x18], 0xfffffffa
je 0x42b1bb
cmp dword [ebp - 0x18], 2
je 0x42b1bb
cmp dword [ebp - 0x18], 1
jne 0x42b2e4
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x42b298
cmp byte [ecx + 0x1e], 0
je 0x42b23d
and eax, 4
shr eax, 2
test eax, eax
je 0x42b1e2
cmp byte [ecx + 0x20], 0
je 0x42b1e2
inc esi
lea ebx, [edx - 5]
jmp 0x42b222
cmp byte [ecx + 0x1c], 0
jne 0x42b1ee
cmp byte [ecx + 0x1d], 0
je 0x42b21c
test eax, eax
je 0x42b209
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 0x42b216
mov eax, 0xa
mov byte [esi], al
mov byte [esi + 1], al
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jne 0x42b222
jmp 0x42b234
add esi, 2
lea ebx, [edx - 6]
mov byte [ecx + 0x1c], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x42b234
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x20], 1
jmp 0x42b86a
cmp byte [ecx + 0x20], 0
je 0x42b25c
test al, 4
je 0x42b24f
inc esi
mov byte [esi + ebx - 1], 0xd
jmp 0x42b2b8
add esi, 2
lea ebx, [edx - 5]
mov byte [ebx + esi - 1], 0xd
jmp 0x42b2b8
cmp byte [ecx + 0x1c], 0
jne 0x42b268
cmp byte [ecx + 0x1d], 0
je 0x42b298
test al, 4
je 0x42b285
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 0x42b2b8
mov eax, 0xa
mov byte [esi], al
mov byte [esi + 1], al
mov byte [esi + ebx], 0xd
lea ebx, [edx - 3]
jmp 0x42b2b8
test al, 4
je 0x42b2af
mov eax, 0xd
mov byte [esi], al
mov byte [esi + 1], 0xa
mov byte [esi + ebx], al
lea ebx, [edx - 3]
jmp 0x42b2b8
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 0x42b86a
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x42b866
jmp 0x42b86a
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x42b327
cmp byte [ecx + 0x1c], 0
jne 0x42b2f7
cmp byte [ecx + 0x1d], 0
je 0x42b327
test al, 4
je 0x42b314
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 0x42b347
mov eax, 0xa
mov byte [esi], al
mov byte [esi + 1], al
mov byte [esi + ebx], 0xd
lea ebx, [edx - 3]
jmp 0x42b347
test al, 4
je 0x42b33e
mov eax, 0xd
mov byte [esi], al
mov byte [esi + 1], 0xa
mov byte [esi + ebx], al
lea ebx, [edx - 3]
jmp 0x42b347
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 0x42b86a
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x42b866
jmp 0x42b86a
movzx eax, byte [edi + 0x170]
test al, 2
je 0x42b451
cmp dword [edi + 0x13c], 1
je 0x42b3c6
cmp dword [0x4f7de0], 0
je 0x42b451
mov ecx, dword [edi + 0x144]
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edi + 0x178]
test ecx, 0x80
je 0x42b3b6
cmp dword [ebp - 0x18], 0xfffffffa
je 0x42b3c6
cmp dword [ebp - 0x18], 2
je 0x42b3c6
cmp dword [ebp - 0x18], 1
jne 0x42b451
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x42b404
cmp byte [ecx + 0x1e], 0
je 0x42b404
test al, 4
je 0x42b3e3
cmp byte [ecx + 0x20], 0
je 0x42b3e3
inc esi
lea ebx, [edx - 5]
jmp 0x42b3e9
add esi, 2
lea ebx, [edx - 6]
mov byte [ecx + 0x1c], 0
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42b3fb
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x20], 1
jmp 0x42b86a
test al, 4
je 0x42b41a
test ecx, ecx
je 0x42b41a
cmp byte [ecx + 0x20], 0
je 0x42b41a
inc esi
mov byte [esi + ebx - 1], 0xd
jmp 0x42b425
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 0x42b86a
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x42b866
jmp 0x42b86a
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 0x42b86a
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x42b866
jmp 0x42b86a
test byte [edi + 0x170], 2
je 0x42b56d
cmp dword [edi + 0x13c], 1
je 0x42b4d2
cmp dword [0x4f7de0], 0
je 0x42b56d
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov ecx, dword [edi + 0x144]
je 0x42b4c4
cmp ecx, 0xfffffffa
je 0x42b4d2
cmp ecx, 2
je 0x42b4d2
cmp ecx, 1
jne 0x42b56d
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42b542
cmp byte [eax + 0x1e], 0
je 0x42b51c
cmp byte [eax + 0x1c], 0
jne 0x42b4eb
cmp byte [eax + 0x1d], 0
je 0x42b4fb
inc esi
lea ebx, [edx - 5]
mov byte [esi], 0xa
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x42b501
jmp 0x42b513
add esi, 2
lea ebx, [edx - 6]
mov byte [eax + 0x1c], 0
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42b513
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x20], 1
jmp 0x42b86a
cmp byte [eax + 0x20], 0
je 0x42b52a
add esi, 2
lea ebx, [edx - 6]
jmp 0x42b54c
cmp byte [eax + 0x1c], 0
jne 0x42b536
cmp byte [eax + 0x1d], 0
je 0x42b542
inc esi
lea ebx, [edx - 5]
mov byte [esi], 0xa
mov eax, dword [edi + 0x7c]
jmp 0x42b548
add esi, 2
lea ebx, [edx - 6]
test eax, eax
je 0x42b553
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 0x42b866
jmp 0x42b86a
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42b58c
cmp byte [eax + 0x1c], 0
jne 0x42b580
cmp byte [eax + 0x1d], 0
je 0x42b58c
inc esi
lea ebx, [edx - 5]
mov byte [esi], 0xa
mov eax, dword [edi + 0x7c]
jmp 0x42b592
add esi, 2
lea ebx, [edx - 6]
test eax, eax
je 0x42b59d
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 0x42b866
jmp 0x42b86a
test byte [edi + 0x170], 2
je 0x42b65a
cmp dword [edi + 0x13c], 1
je 0x42b5fd
cmp dword [0x4f7de0], 0
je 0x42b65a
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov ecx, dword [edi + 0x144]
je 0x42b5f3
cmp ecx, 0xfffffffa
je 0x42b5fd
cmp ecx, 2
je 0x42b5fd
cmp ecx, 1
jne 0x42b65a
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x42b60a
movzx eax, byte [ecx + 0x1e]
jmp 0x42b60c
xor eax, eax
add esi, 2
lea ebx, [edx - 6]
test eax, eax
je 0x42b635
test ecx, ecx
je 0x42b62c
mov byte [ecx + 0x1c], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x42b62c
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x20], 1
jmp 0x42b86a
test ecx, ecx
je 0x42b640
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 0x42b866
jmp 0x42b86a
mov eax, dword [edi + 0x7c]
add esi, 2
test eax, eax
lea ebx, [edx - 6]
je 0x42b66e
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 0x42b866
jmp 0x42b86a
movzx eax, byte [edi + 0x170]
test al, 2
je 0x42b78e
cmp dword [edi + 0x13c], 1
je 0x42b6db
cmp dword [0x4f7de0], 0
je 0x42b78e
mov ecx, dword [edi + 0x144]
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edi + 0x178]
test ecx, 0x80
je 0x42b6cb
cmp dword [ebp - 0x18], 0xfffffffa
je 0x42b6db
cmp dword [ebp - 0x18], 2
je 0x42b6db
cmp dword [ebp - 0x18], 1
jne 0x42b78e
mov ecx, dword [edi + 0x7c]
inc esi
test ecx, ecx
je 0x42b759
cmp byte [ecx + 0x1e], 0
je 0x42b732
test al, 4
je 0x42b6f8
cmp byte [ecx + 0x20], 0
je 0x42b6f8
lea ebx, [edx - 5]
jmp 0x42b717
cmp byte [ecx + 0x1c], 0
jne 0x42b704
cmp byte [ecx + 0x1d], 0
je 0x42b713
mov byte [esi], 0xa
lea ebx, [edx - 5]
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jne 0x42b717
jmp 0x42b729
inc esi
lea ebx, [edx - 6]
mov byte [ecx + 0x1c], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x42b729
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x20], 1
jmp 0x42b86a
cmp byte [ecx + 0x20], 0
je 0x42b743
test al, 4
je 0x42b759
mov byte [esi + ebx - 1], 0xd
jmp 0x42b762
cmp byte [ecx + 0x1c], 0
jne 0x42b74f
cmp byte [ecx + 0x1d], 0
je 0x42b759
mov byte [esi], 0xa
mov byte [esi + ebx - 1], 0xd
jmp 0x42b762
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 0x42b86a
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x42b866
jmp 0x42b86a
mov eax, dword [edi + 0x7c]
inc esi
test eax, eax
je 0x42b7ac
cmp byte [eax + 0x1c], 0
jne 0x42b7a2
cmp byte [eax + 0x1d], 0
je 0x42b7ac
mov byte [esi], 0xa
mov byte [esi + ebx - 1], 0xd
jmp 0x42b7b5
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 0x42b86a
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x42b866
jmp 0x42b86a
mov eax, dword [edi + 0x7c]
test eax, eax
mov edx, dword [edi + 0x13c]
je 0x42b830
cmp byte [eax + 0x1e], 0
je 0x42b830
cmp edx, 1
je 0x42b82a
cmp dword [0x4f7de0], 0
je 0x42b83c
movzx edx, byte [edi + 0x178]
test edx, 0x80
mov ecx, dword [edi + 0x144]
je 0x42b81c
cmp ecx, 0xfffffffa
je 0x42b82a
cmp ecx, 2
je 0x42b82a
cmp ecx, 1
jne 0x42ba61
mov byte [eax + 0x20], 1
jmp 0x42b86a
cmp edx, 1
je 0x42b862
cmp dword [0x4f7de0], 0
je 0x42b86a
movzx edx, byte [edi + 0x178]
test edx, 0x80
mov ecx, dword [edi + 0x144]
je 0x42b858
cmp ecx, 0xfffffffa
je 0x42b862
cmp ecx, 2
je 0x42b862
cmp ecx, 1
jne 0x42b86a
test eax, eax
je 0x42b86a
mov byte [eax + 0x20], 0
mov eax, edi
mov edx, esi
mov ecx, ebx
call fcn.0042a31c
and byte [edi + 0x174], 0xbf
cmp eax, 0xffffffff
je 0x42ba06
test byte [edi + 0x175], 8
je 0x42b8a9
push dword [edi + 0xe4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x42ba3c
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.0042f180
mov ecx, dword [ebp - 0x14]
add esp, 8
mov edx, dword [ebp - 0x18]
test eax, eax
je 0x42a9f7
mov eax, dword [edi + 0x18]
test eax, eax
je 0x42b937
test byte [eax + 0x44], 2
je 0x42b910
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 0x42b901
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.0042ecb0
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.004187a0
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.0x42aa08.5
mov eax, dword [edi + 0x38]
mov byte [eax + ebx], 0xa
inc ebx
jmp case.0x42aa08.5
test byte [edi + 0x175], 0x20
je 0x42b9b2
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 0x42ac0b
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 0x42ac0b
mov eax, dword [edi + 0x38]
mov byte [eax + ebx - 2], 0xd
mov edx, dword [edi + 0x38]
mov byte [edx + ebx - 1], 0xa
jmp case.0x42aa08.5
mov eax, dword [edi + 0x38]
mov byte [eax + ebx], 0xd
inc ebx
jmp case.0x42aa08.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 0x42ae50
mov eax, dword [edi + 0x38]
movsx eax, byte [eax + 5]
jmp 0x42af4d
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 [0x4f7de0], 0
jne 0x42b83e
jmp 0x42b86a
cmp dword [0x4f7de0], 0
jne 0x42aee4
jmp 0x42b86a