Function at 0x429e20
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 0x429e3c
mov edx, dword [edi + 0x3c]
mov ebx, dword [edi + 0x40]
test ebx, ebx
je 0x429e49
neg ebx
add ebx, edx
jmp 0x429e4e
mov ebx, edx
sub ebx, dword [edi + 0x38]
movsx eax, byte [edi + 0x15c]
lea ecx, [ebx + 4]
cmp ecx, dword [edi + 0xec]
jbe 0x429e8e
cmp eax, 1
je 0x429e8e
push 0x200
push edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
call fcn.00433180
mov ecx, dword [ebp - 0x14]
add esp, 8
mov edx, dword [ebp - 0x18]
test eax, eax
jne 0x42ad48
movsx eax, byte [edi + 0x15c]
dec eax
cmp eax, 7
ja case.0x429e98.3
jmp dword [eax*4 + 0x4e4cd4]
cmp byte [edi + 0x15e], 1
je case.0x429e98.5
test byte [edi + 0x175], 0x40
jne case.0x429e98.5
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x429f0b
cmp byte [eax + 0x1e], 0
je 0x429f0b
cmp dword [edi + 0x13c], 1
je case.0x429e98.5
cmp dword [0x50cc40], 0
je 0x429f0b
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov edx, dword [edi + 0x144]
je 0x429ef9
cmp edx, 0xfffffffa
je case.0x429e98.5
cmp edx, 1
je case.0x429e98.5
cmp edx, 2
je case.0x429e98.5
mov eax, dword [edi + 0x40]
test eax, eax
je 0x42ade3
mov byte [eax + ebx], 0xd
mov eax, dword [edi + 0x40]
mov byte [eax + ebx + 1], 0xa
add ebx, 2
jmp case.0x429e98.5
cmp byte [edi + 0x15e], 1
je case.0x429e98.5
test byte [edi + 0x175], 0x40
jne case.0x429e98.5
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x429f96
cmp byte [eax + 0x1e], 0
je 0x429f96
cmp dword [edi + 0x13c], 1
je case.0x429e98.5
cmp dword [0x50cc40], 0
je 0x429f96
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov edx, dword [edi + 0x144]
je 0x429f84
cmp edx, 0xfffffffa
je case.0x429e98.5
cmp edx, 1
je case.0x429e98.5
cmp edx, 2
je case.0x429e98.5
mov eax, dword [edi + 0x40]
test eax, eax
je 0x42ae89
mov byte [eax + ebx], 0xd
inc ebx
jmp case.0x429e98.5
cmp byte [edi + 0x15e], 1
je case.0x429e98.5
test byte [edi + 0x175], 0x40
jne case.0x429e98.5
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42a017
cmp byte [eax + 0x1e], 0
je 0x42a017
cmp dword [edi + 0x13c], 1
je case.0x429e98.5
cmp dword [0x50cc40], 0
je 0x42a017
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov edx, dword [edi + 0x144]
je 0x42a005
cmp edx, 0xfffffffa
je case.0x429e98.5
cmp edx, 1
je case.0x429e98.5
cmp edx, 2
je case.0x429e98.5
mov eax, dword [edi + 0x40]
test eax, eax
je 0x42adfa
mov byte [eax + ebx], 0xa
inc ebx
jmp case.0x429e98.5
mov eax, dword [edi + 0x40]
add ebx, 0xfffffffc
mov dword [ebp - 0x10], ebx
test eax, eax
je 0x42ae07
test byte [edi + 0x175], 0x20
je 0x42a071
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 0x42a09b
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 0x42a0c3
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 0x42a0e0
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.0x429e98.5
mov eax, dword [edi + 0xf8]
cmp ebx, eax
jae 0x42a105
sub eax, ebx
push eax
push 0x20
push edx
call fcn.004c60d0
add esp, 0xc
mov ebx, dword [edi + 0xf8]
test byte [edi + 0x170], 4
je case.0x429e98.5
test byte [edi + 0x172], 0x40
je case.0x429e98.5
test byte [edi + 0x173], 8
je case.0x429e98.5
cmp byte [edi + 0x15e], 1
je case.0x429e98.5
test byte [edi + 0x175], 0x40
jne case.0x429e98.5
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42a180
cmp byte [eax + 0x1e], 0
je 0x42a180
cmp dword [edi + 0x13c], 1
je case.0x429e98.5
cmp dword [0x50cc40], 0
je 0x42a180
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov edx, dword [edi + 0x144]
je 0x42a176
cmp edx, 0xfffffffa
je case.0x429e98.5
cmp edx, 1
je case.0x429e98.5
cmp edx, 2
je case.0x429e98.5
mov eax, dword [edi + 0x40]
test eax, eax
je 0x42ae74
mov byte [eax + ebx - 2], 0xd
mov eax, dword [edi + 0x40]
mov byte [eax + ebx - 1], 0xa
jmp case.0x429e98.5
push 0x3ce
push str.for_put.c
push 2
push 8
call fcn.004220a0
add esp, 0x10
mov ecx, dword [edi + 0x40]
test ecx, ecx
je 0x42a1bb
mov esi, ecx
jmp 0x42a1be
mov esi, dword [edi + 0x38]
movsx eax, byte [edi + 0x15e]
cmp eax, 2
jne 0x42a3ac
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x42a246
cmp byte [edx + 0x1c], 0
jne 0x42a1e1
cmp byte [edx + 0x1d], 0
je 0x42a23f
cmp byte [edx + 0x20], 0
je 0x42a21c
cmp dword [edi + 0x13c], 1
je 0x42a23f
cmp dword [0x50cc40], 0
je 0x42a21c
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov ecx, dword [edi + 0x144]
je 0x42a212
cmp ecx, 0xfffffffa
je 0x42a23f
cmp ecx, 1
je 0x42a23f
cmp ecx, 2
je 0x42a23f
mov eax, edi
lea edx, [ebp - 0x10]
mov ecx, 1
mov byte [ebp - 0x10], 0xa
call fcn.004297ac
cmp eax, 0xffffffff
je 0x42ae96
mov edx, dword [edi + 0x7c]
test edx, edx
je 0x42a246
mov byte [edx + 0x1c], 0
mov edx, dword [edi + 0x7c]
test byte [edi + 0x170], 4
je 0x42a265
test byte [edi + 0x172], 0x40
je 0x42a265
test byte [edi + 0x173], 8
jne 0x42a2fe
movsx ecx, byte [edi + 0x15c]
cmp ecx, 6
je 0x42a2fe
movzx eax, byte [edi + 0x175]
cmp ecx, 8
mov dword [ebp - 0x14], eax
je 0x42a2f6
test byte [ebp - 0x14], 0x40
jne 0x42a2f6
test edx, edx
je 0x42a2d1
cmp byte [edx + 0x1e], 0
je 0x42a2d1
mov ecx, dword [edi + 0x13c]
cmp ecx, 1
je 0x42a30e
cmp dword [0x50cc40], 0
je 0x42a2d1
mov eax, dword [edi + 0x144]
mov dword [ebp - 0x18], eax
movzx eax, byte [edi + 0x178]
test eax, 0x80
je 0x42a2c5
cmp dword [ebp - 0x18], 0xfffffffa
je 0x42a30e
cmp dword [ebp - 0x18], 1
je 0x42a30e
cmp dword [ebp - 0x18], 2
je 0x42a30e
mov eax, dword [edi + 0x40]
test eax, eax
je 0x42aeb4
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 0x42a30e
mov ecx, dword [edi + 0x13c]
jmp 0x42a30e
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 0x42a362
cmp byte [edx + 0x1e], 0
je 0x42a362
cmp ecx, 1
je 0x42a359
cmp dword [0x50cc40], 0
je 0x42a36e
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov ecx, dword [edi + 0x144]
je 0x42a34b
cmp ecx, 0xfffffffa
je 0x42a359
cmp ecx, 2
je 0x42a359
cmp ecx, 1
jne 0x42af03
mov byte [edx + 0x20], 1
jmp 0x42acfa
cmp ecx, 1
je 0x42a39b
cmp dword [0x50cc40], 0
je 0x42acfa
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov ecx, dword [edi + 0x144]
je 0x42a38d
cmp ecx, 0xfffffffa
je 0x42a39b
cmp ecx, 2
je 0x42a39b
cmp ecx, 1
jne 0x42acfa
test edx, edx
je 0x42acfa
mov byte [edx + 0x20], 0
jmp 0x42acfa
cmp eax, 1
jne 0x42ac71
cmp ebx, 5
lea edx, [ebx + 1]
je 0x42a3bf
mov edx, ebx
test ecx, ecx
je 0x42a3c8
lea esi, [ecx + 4]
jmp 0x42a3ce
mov esi, dword [edi + 0x38]
add esi, 4
test ecx, ecx
lea ebx, [edx - 4]
je 0x42aec0
movsx eax, byte [ecx + 5]
cmp eax, 0x31
ja case.0x42a3e6.1
jmp dword [eax*4 + 0x4e4d00]
movzx eax, byte [edi + 0x170]
test al, 2
je 0x42a569
cmp dword [edi + 0x13c], 1
je 0x42a440
cmp dword [0x50cc40], 0
je 0x42a569
mov ecx, dword [edi + 0x144]
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edi + 0x178]
test ecx, 0x80
je 0x42a430
cmp dword [ebp - 0x18], 0xfffffffa
je 0x42a440
cmp dword [ebp - 0x18], 2
je 0x42a440
cmp dword [ebp - 0x18], 1
jne 0x42a569
mov ecx, dword [edi + 0x7c]
inc esi
test ecx, ecx
je 0x42a513
cmp byte [ecx + 0x1e], 0
je 0x42a4c6
and eax, 4
shr eax, 2
test eax, eax
je 0x42a467
cmp byte [ecx + 0x20], 0
je 0x42a467
lea ebx, [edx - 5]
jmp 0x42a4ab
cmp byte [ecx + 0x1c], 0
jne 0x42a473
cmp byte [ecx + 0x1d], 0
je 0x42a4a7
test eax, eax
je 0x42a498
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 0x42a4a1
mov byte [esi], 0xc
lea ebx, [edx - 5]
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jne 0x42a4ab
jmp 0x42a4bd
inc esi
lea ebx, [edx - 6]
mov byte [ecx + 0x1c], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x42a4bd
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x20], 1
jmp 0x42acfa
cmp byte [ecx + 0x20], 0
je 0x42a4e2
test al, 4
je 0x42a4d7
mov byte [esi + ebx - 1], 0xd
jmp 0x42a53d
inc esi
lea ebx, [edx - 5]
mov byte [ebx + esi - 1], 0xd
jmp 0x42a53d
cmp byte [ecx + 0x1c], 0
jne 0x42a4ee
cmp byte [ecx + 0x1d], 0
je 0x42a513
test al, 4
je 0x42a535
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 0x42a53d
test al, 4
je 0x42a535
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 0x42a53d
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 0x42acfa
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x42acf6
jmp 0x42acfa
mov ecx, dword [edi + 0x7c]
inc esi
test ecx, ecx
je 0x42a5a2
cmp byte [ecx + 0x1c], 0
jne 0x42a57d
cmp byte [ecx + 0x1d], 0
je 0x42a5a2
test al, 4
je 0x42a5c4
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 0x42a5cc
test al, 4
je 0x42a5c4
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 0x42a5cc
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 0x42acfa
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x42acf6
jmp 0x42acfa
movzx eax, byte [edi + 0x170]
test al, 2
je 0x42a774
cmp dword [edi + 0x13c], 1
je 0x42a64b
cmp dword [0x50cc40], 0
je 0x42a774
mov ecx, dword [edi + 0x144]
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edi + 0x178]
test ecx, 0x80
je 0x42a63b
cmp dword [ebp - 0x18], 0xfffffffa
je 0x42a64b
cmp dword [ebp - 0x18], 2
je 0x42a64b
cmp dword [ebp - 0x18], 1
jne 0x42a774
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x42a728
cmp byte [ecx + 0x1e], 0
je 0x42a6cd
and eax, 4
shr eax, 2
test eax, eax
je 0x42a672
cmp byte [ecx + 0x20], 0
je 0x42a672
inc esi
lea ebx, [edx - 5]
jmp 0x42a6b2
cmp byte [ecx + 0x1c], 0
jne 0x42a67e
cmp byte [ecx + 0x1d], 0
je 0x42a6ac
test eax, eax
je 0x42a699
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 0x42a6a6
mov eax, 0xa
mov byte [esi], al
mov byte [esi + 1], al
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jne 0x42a6b2
jmp 0x42a6c4
add esi, 2
lea ebx, [edx - 6]
mov byte [ecx + 0x1c], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x42a6c4
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x20], 1
jmp 0x42acfa
cmp byte [ecx + 0x20], 0
je 0x42a6ec
test al, 4
je 0x42a6df
inc esi
mov byte [esi + ebx - 1], 0xd
jmp 0x42a748
add esi, 2
lea ebx, [edx - 5]
mov byte [ebx + esi - 1], 0xd
jmp 0x42a748
cmp byte [ecx + 0x1c], 0
jne 0x42a6f8
cmp byte [ecx + 0x1d], 0
je 0x42a728
test al, 4
je 0x42a715
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 0x42a748
mov eax, 0xa
mov byte [esi], al
mov byte [esi + 1], al
mov byte [esi + ebx], 0xd
lea ebx, [edx - 3]
jmp 0x42a748
test al, 4
je 0x42a73f
mov eax, 0xd
mov byte [esi], al
mov byte [esi + 1], 0xa
mov byte [esi + ebx], al
lea ebx, [edx - 3]
jmp 0x42a748
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 0x42acfa
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x42acf6
jmp 0x42acfa
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x42a7b7
cmp byte [ecx + 0x1c], 0
jne 0x42a787
cmp byte [ecx + 0x1d], 0
je 0x42a7b7
test al, 4
je 0x42a7a4
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 0x42a7d7
mov eax, 0xa
mov byte [esi], al
mov byte [esi + 1], al
mov byte [esi + ebx], 0xd
lea ebx, [edx - 3]
jmp 0x42a7d7
test al, 4
je 0x42a7ce
mov eax, 0xd
mov byte [esi], al
mov byte [esi + 1], 0xa
mov byte [esi + ebx], al
lea ebx, [edx - 3]
jmp 0x42a7d7
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 0x42acfa
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x42acf6
jmp 0x42acfa
movzx eax, byte [edi + 0x170]
test al, 2
je 0x42a8e1
cmp dword [edi + 0x13c], 1
je 0x42a856
cmp dword [0x50cc40], 0
je 0x42a8e1
mov ecx, dword [edi + 0x144]
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edi + 0x178]
test ecx, 0x80
je 0x42a846
cmp dword [ebp - 0x18], 0xfffffffa
je 0x42a856
cmp dword [ebp - 0x18], 2
je 0x42a856
cmp dword [ebp - 0x18], 1
jne 0x42a8e1
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x42a894
cmp byte [ecx + 0x1e], 0
je 0x42a894
test al, 4
je 0x42a873
cmp byte [ecx + 0x20], 0
je 0x42a873
inc esi
lea ebx, [edx - 5]
jmp 0x42a879
add esi, 2
lea ebx, [edx - 6]
mov byte [ecx + 0x1c], 0
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42a88b
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x20], 1
jmp 0x42acfa
test al, 4
je 0x42a8aa
test ecx, ecx
je 0x42a8aa
cmp byte [ecx + 0x20], 0
je 0x42a8aa
inc esi
mov byte [esi + ebx - 1], 0xd
jmp 0x42a8b5
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 0x42acfa
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x42acf6
jmp 0x42acfa
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 0x42acfa
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x42acf6
jmp 0x42acfa
test byte [edi + 0x170], 2
je 0x42a9fd
cmp dword [edi + 0x13c], 1
je 0x42a962
cmp dword [0x50cc40], 0
je 0x42a9fd
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov ecx, dword [edi + 0x144]
je 0x42a954
cmp ecx, 0xfffffffa
je 0x42a962
cmp ecx, 2
je 0x42a962
cmp ecx, 1
jne 0x42a9fd
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42a9d2
cmp byte [eax + 0x1e], 0
je 0x42a9ac
cmp byte [eax + 0x1c], 0
jne 0x42a97b
cmp byte [eax + 0x1d], 0
je 0x42a98b
inc esi
lea ebx, [edx - 5]
mov byte [esi], 0xa
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x42a991
jmp 0x42a9a3
add esi, 2
lea ebx, [edx - 6]
mov byte [eax + 0x1c], 0
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42a9a3
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
mov byte [eax + 0x20], 1
jmp 0x42acfa
cmp byte [eax + 0x20], 0
je 0x42a9ba
add esi, 2
lea ebx, [edx - 6]
jmp 0x42a9dc
cmp byte [eax + 0x1c], 0
jne 0x42a9c6
cmp byte [eax + 0x1d], 0
je 0x42a9d2
inc esi
lea ebx, [edx - 5]
mov byte [esi], 0xa
mov eax, dword [edi + 0x7c]
jmp 0x42a9d8
add esi, 2
lea ebx, [edx - 6]
test eax, eax
je 0x42a9e3
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 0x42acf6
jmp 0x42acfa
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x42aa1c
cmp byte [eax + 0x1c], 0
jne 0x42aa10
cmp byte [eax + 0x1d], 0
je 0x42aa1c
inc esi
lea ebx, [edx - 5]
mov byte [esi], 0xa
mov eax, dword [edi + 0x7c]
jmp 0x42aa22
add esi, 2
lea ebx, [edx - 6]
test eax, eax
je 0x42aa2d
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 0x42acf6
jmp 0x42acfa
test byte [edi + 0x170], 2
je 0x42aaea
cmp dword [edi + 0x13c], 1
je 0x42aa8d
cmp dword [0x50cc40], 0
je 0x42aaea
movzx eax, byte [edi + 0x178]
test eax, 0x80
mov ecx, dword [edi + 0x144]
je 0x42aa83
cmp ecx, 0xfffffffa
je 0x42aa8d
cmp ecx, 2
je 0x42aa8d
cmp ecx, 1
jne 0x42aaea
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x42aa9a
movzx eax, byte [ecx + 0x1e]
jmp 0x42aa9c
xor eax, eax
add esi, 2
lea ebx, [edx - 6]
test eax, eax
je 0x42aac5
test ecx, ecx
je 0x42aabc
mov byte [ecx + 0x1c], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x42aabc
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x20], 1
jmp 0x42acfa
test ecx, ecx
je 0x42aad0
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 0x42acf6
jmp 0x42acfa
mov eax, dword [edi + 0x7c]
add esi, 2
test eax, eax
lea ebx, [edx - 6]
je 0x42aafe
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 0x42acf6
jmp 0x42acfa
movzx eax, byte [edi + 0x170]
test al, 2
je 0x42ac1e
cmp dword [edi + 0x13c], 1
je 0x42ab6b
cmp dword [0x50cc40], 0
je 0x42ac1e
mov ecx, dword [edi + 0x144]
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edi + 0x178]
test ecx, 0x80
je 0x42ab5b
cmp dword [ebp - 0x18], 0xfffffffa
je 0x42ab6b
cmp dword [ebp - 0x18], 2
je 0x42ab6b
cmp dword [ebp - 0x18], 1
jne 0x42ac1e
mov ecx, dword [edi + 0x7c]
inc esi
test ecx, ecx
je 0x42abe9
cmp byte [ecx + 0x1e], 0
je 0x42abc2
test al, 4
je 0x42ab88
cmp byte [ecx + 0x20], 0
je 0x42ab88
lea ebx, [edx - 5]
jmp 0x42aba7
cmp byte [ecx + 0x1c], 0
jne 0x42ab94
cmp byte [ecx + 0x1d], 0
je 0x42aba3
mov byte [esi], 0xa
lea ebx, [edx - 5]
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jne 0x42aba7
jmp 0x42abb9
inc esi
lea ebx, [edx - 6]
mov byte [ecx + 0x1c], 0
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x42abb9
mov byte [ecx + 0x1d], 0
mov ecx, dword [edi + 0x7c]
mov byte [ecx + 0x20], 1
jmp 0x42acfa
cmp byte [ecx + 0x20], 0
je 0x42abd3
test al, 4
je 0x42abe9
mov byte [esi + ebx - 1], 0xd
jmp 0x42abf2
cmp byte [ecx + 0x1c], 0
jne 0x42abdf
cmp byte [ecx + 0x1d], 0
je 0x42abe9
mov byte [esi], 0xa
mov byte [esi + ebx - 1], 0xd
jmp 0x42abf2
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 0x42acfa
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x42acf6
jmp 0x42acfa
mov eax, dword [edi + 0x7c]
inc esi
test eax, eax
je 0x42ac3c
cmp byte [eax + 0x1c], 0
jne 0x42ac32
cmp byte [eax + 0x1d], 0
je 0x42ac3c
mov byte [esi], 0xa
mov byte [esi + ebx - 1], 0xd
jmp 0x42ac45
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 0x42acfa
mov byte [eax + 0x1d], 0
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x42acf6
jmp 0x42acfa
mov eax, dword [edi + 0x7c]
test eax, eax
mov edx, dword [edi + 0x13c]
je 0x42acc0
cmp byte [eax + 0x1e], 0
je 0x42acc0
cmp edx, 1
je 0x42acba
cmp dword [0x50cc40], 0
je 0x42accc
movzx edx, byte [edi + 0x178]
test edx, 0x80
mov ecx, dword [edi + 0x144]
je 0x42acac
cmp ecx, 0xfffffffa
je 0x42acba
cmp ecx, 2
je 0x42acba
cmp ecx, 1
jne 0x42aef1
mov byte [eax + 0x20], 1
jmp 0x42acfa
cmp edx, 1
je 0x42acf2
cmp dword [0x50cc40], 0
je 0x42acfa
movzx edx, byte [edi + 0x178]
test edx, 0x80
mov ecx, dword [edi + 0x144]
je 0x42ace8
cmp ecx, 0xfffffffa
je 0x42acf2
cmp ecx, 2
je 0x42acf2
cmp ecx, 1
jne 0x42acfa
test eax, eax
je 0x42acfa
mov byte [eax + 0x20], 0
mov eax, edi
mov edx, esi
mov ecx, ebx
call fcn.004297ac
and byte [edi + 0x174], 0xbf
cmp eax, 0xffffffff
je 0x42ae96
test byte [edi + 0x175], 8
je 0x42ad39
push dword [edi + 0xe4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x42aecc
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.00433180
mov ecx, dword [ebp - 0x14]
add esp, 8
mov edx, dword [ebp - 0x18]
test eax, eax
je 0x429e87
mov eax, dword [edi + 0x18]
test eax, eax
je 0x42adc7
test byte [eax + 0x44], 2
je 0x42ada0
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 0x42ad91
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.0042e140
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.0041fff0
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.0x429e98.5
mov eax, dword [edi + 0x38]
mov byte [eax + ebx], 0xa
inc ebx
jmp case.0x429e98.5
test byte [edi + 0x175], 0x20
je 0x42ae42
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 0x42a09b
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 0x42a09b
mov eax, dword [edi + 0x38]
mov byte [eax + ebx - 2], 0xd
mov edx, dword [edi + 0x38]
mov byte [edx + ebx - 1], 0xa
jmp case.0x429e98.5
mov eax, dword [edi + 0x38]
mov byte [eax + ebx], 0xd
inc ebx
jmp case.0x429e98.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 0x42a2e0
mov eax, dword [edi + 0x38]
movsx eax, byte [eax + 5]
jmp 0x42a3dd
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 [0x50cc40], 0
jne 0x42acce
jmp 0x42acfa
cmp dword [0x50cc40], 0
jne 0x42a374
jmp 0x42acfa